New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A few NPM changes #3609
A few NPM changes #3609
Conversation
I need to fix one thing in the publish script, which is copying over "index.js" from http. |
I fixed issues with copying over index*, package.json, and pubspec.yaml into the angular2 distribution. Still need to test installing and using http on a sample project. |
I'm going to remove 406a4c4 from this PR and not block the release on that one, since it will require more work to make module paths play well with residing in a different context. I.e. the |
Alright, PR reduced to bundles and typings. |
@@ -6,11 +6,12 @@ ROOT_DIR=$(cd $(dirname $0)/../..; pwd) | |||
cd $ROOT_DIR | |||
|
|||
gulp clean | |||
gulp build.js.prod build.js.dev build.js.cjs benchpress.bundle | |||
gulp build.js.prod build.js.dev build.js.cjs benchpress.bundle bundles.js docs/typings |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could probably remove the first three builds here since they are also called by bundles.js.
Reviewed with @alexeagle and he gave verbal LGTM after I make changes we discussed. |
The same bundles that are published to https://code.angularjs.org are now included in a "bundles" folder inside the npm distribution. Closes angular#3555
This makes it simple to run the `tsd link` command in a project to automatically include paths to typings files. The definitions also include transitive dependencies of rx.d.ts and es6-promise.d.ts. Closes angular#3590
User @jeffbcross does not have PR merging privlidges. |
|
||
NPM_DIR=$ROOT_DIR/dist/npm | ||
rm -fr $NPM_DIR | ||
FILES='!(test|e2e_test|docs)' | ||
DTS_FILES='*.d.ts' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: call this DTS_FILES_GLOB? Or just inline it? It's rather unlikely to change, ever.
LGTM! |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
I still want to do some manual testing and output comparisons locally, so please don't auto-submit. I'll add a comment once I've finished those.