Skip to content

Don't include the world in the published packages#2516

Merged
richvdh merged 1 commit intodevelopfrom
rav/no_pack_world
Oct 26, 2016
Merged

Don't include the world in the published packages#2516
richvdh merged 1 commit intodevelopfrom
rav/no_pack_world

Conversation

@richvdh
Copy link
Copy Markdown
Member

@richvdh richvdh commented Oct 26, 2016

We ended up including all sorts of stuff in our published packages. Let's take
the opposite approach and include useful stuff rather than exclude unuseful
stuff.

We ended up including all sorts of stuff in our published packages. Let's take
the opposite approach and include useful stuff rather than exclude unuseful
stuff.
Comment thread package.json
"start:prod": "parallelshell \"npm run start:emojione\" \"npm run start:js:prod\" \"npm run start:skins:css\" \"http-server -c 1 vector\"",
"clean": "rimraf build lib vector/olm.* vector/bundle.* vector/emojione",
"prepublish": "npm run build:css && npm run build:compile",
"prepublish": "npm run build:compile",
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm assuming this is actually part of the last PR, but ok :)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, pretty much. I just realised there was no point running build:css here.

@dbkr dbkr assigned richvdh and unassigned dbkr Oct 26, 2016
@richvdh richvdh merged commit bd0e121 into develop Oct 26, 2016
dbkr added a commit to matrix-org/matrix-js-sdk that referenced this pull request Oct 31, 2016
Include files explicitly rather than excluding them with .npmignore

As element-hq/element-web#2516
dbkr added a commit to matrix-org/matrix-react-sdk that referenced this pull request Nov 1, 2016
To avoid publishing whatever happens to be in the working copy.

Equivalent of element-hq/element-web#2516
for react-sdk.
@richvdh richvdh deleted the rav/no_pack_world branch November 30, 2016 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants