-
Notifications
You must be signed in to change notification settings - Fork 12k
refactor(all): Repackaging #2056
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
Conversation
892a5be
to
0f1adc5
Compare
"includes": [ | ||
"./custom-typings.d.ts" | ||
"blueprints/*/files/**/*", | ||
"**/*.spec.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.
What spec files are these?
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.
We'll move acceptance specs into this package later on. I can remove if you want.
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.
I'm going to remove and put back. This tsconfig was copied from the one in ast-tools.
return files | ||
.map((fileName) => path.relative(packagesRoot, fileName)) | ||
.filter((fileName) => { | ||
if (/^angular-cli.blueprints/.test(fileName)) { |
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.
Shouldn't this be /^angular-cli\/blueprints/
instead? There doesn't seem to be any file with angular-cli.blueprints
in it's name.
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.
It's a regex, so .
will match both /
and \
. Changed it to clearre.
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.
That didn't even occur to me, but of course it makes sense.
What is the goal/reason for this mega PR. |
Clarified the text. |
…ild-webpack is now a JS file)
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. |
Moving Angular-CLI into
packages/
and building the angular-cli.The published packages will now have JavaScript only (with their d.ts), instead of being a mix of TypeScript and JavaScript, and it won't have the hacks of having a custom require extension to load the TypeScript.
Our development flow will be more streamlined, tools are going to be better (no more undefined symbols that are actually defined), and the npm packages will boot up way faster (since there's no more compilation during runtime).
Locally nothing changes, use
npm link
and run your localng
. Using thenpm
releases though it should be all javascript from the release.The E2E tests also now uses the
dist
folder output to install in the new E2E app, making sure the process works for an app published to npm.Note: Even though we're following the lerna structure, we won't be using their tool anytime soon.