Skip to content

Conversation

mhevery
Copy link
Contributor

@mhevery mhevery commented Aug 27, 2016

  • rebase
  • update tscikle to be compatible with tsc@next
  • update tslint to the @dev tag to be compatible with tsc@next
  • shrinkwrap typescript
  • ? bundle all testing stuff into a single file? (outDir -> outFile)
  • resolve any CI issues
  • double check all package.json's module and typings entries
  • verify rollup's globals configuration for RxJS

@googlebot
Copy link

We found a Contributor License Agreement for you (the sender of this pull request) and all commit authors, but as best as we can tell these commits were authored by someone else. If that's the case, please add them to this pull request and have them confirm that they're okay with these commits being contributed to Google. If we're mistaken and you did author these commits, just reply here to confirm.

@mhevery mhevery mentioned this pull request Aug 27, 2016
7 tasks
@mhevery mhevery force-pushed the repackaging-2.0 branch 5 times, most recently from 74e5a12 to 61a07b6 Compare August 28, 2016 03:34
@mhevery
Copy link
Contributor Author

mhevery commented Aug 28, 2016

I attempted to shrinkwrap by cloning https://github.com/mhevery/tsickle and https://github.com/mhevery/tslint, but it did not seem to work. Will wait on monday.

@mhevery mhevery force-pushed the repackaging-2.0 branch 10 times, most recently from b1d2656 to a96e3ac Compare August 29, 2016 23:14
@@ -67,9 +67,6 @@ export declare class DefaultUrlSerializer implements UrlSerializer {
}

/** @stable */
export declare type ErrorHandler = (error: any) => any;
Copy link
Contributor

Choose a reason for hiding this comment

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

is this intentional?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes, ErrorHandler is exported by core not by router.

]
},
BaseConfig));
} else if (platform == 'router') {
Copy link
Contributor

Choose a reason for hiding this comment

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

what happened here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

added new route comment

@mhevery mhevery force-pushed the repackaging-2.0 branch 4 times, most recently from 0a8890e to 1c5f158 Compare August 30, 2016 20:41
@IgorMinar IgorMinar added pr_state: LGTM action: merge The PR is ready for merge by the caretaker cla: yes and removed cla: no labels Aug 30, 2016
find ${DESTDIR} -type f -name '*.d.ts' -print0 | xargs -0 sed -i '' -e 's/\(^ *(static |private )*\)*readonly */\1/g'
find ${DESTDIR} -type f -name '*.d.ts' -print0 | xargs -0 sed -i '' -E 's/^( +)abstract ([[:alnum:]]+\:)/\1\2/g'
find ${DESTDIR} -type f -name '*.d.ts' -print0 | xargs -0 sed -i '' -e 's/\(^ *(static |private )*\)*readonly */\1/g'
find ${DESTDIR} -type f -name '*.d.ts' -print0 | xargs -0 sed -i '' -e 's/\/\/\/ <reference types="node" \/>//g'
Copy link
Contributor

Choose a reason for hiding this comment

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

@vicb vicb merged commit 9796579 into angular:master Aug 31, 2016
@IgorMinar
Copy link
Contributor

Martin, make sure that you don't have any deep imports into the "src"
directory within angular packages. You should only import stuff from the
top level entry points (e.g. @angular/core, @angular/core/testing).

in your case it looks like you are using webpack 1, which should by default
consume the umd bundles as directed via package.json's main entry. The main
reason why this wouldn't work is when you have a deep import into the
package.

On Wed, Aug 31, 2016 at 5:32 AM Martin-Wegner notifications@github.com
wrote:

OK my whole application does not work anymore :(

lang.js?c27c:21 Uncaught SyntaxError: Unexpected token export


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#11120 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AANM6P0hj1VXATAyFXue5IjxzbYooDhQks5qlXRtgaJpZM4Jun95
.

@Martin-Luft
Copy link

@IgorMinar thanks, you are right, the ng2-bootstrap folks use deep imports :(

@pkozlowski-opensource
Copy link
Member

@Martin-Wegner this would be a good time to explore a library that is not using private APIs: https://github.com/ng-bootstrap/ng-bootstrap :-)

@Martin-Luft
Copy link

@pkozlowski-opensource thanks for the hint, but your issue ng-bootstrap/ng-bootstrap#646 scares me from using it...

@pkozlowski-opensource
Copy link
Member

ng-bootstrap/ng-bootstrap#646 is for our demo page, nothing to do with the library itself.

hbkrunal pushed a commit to hbkrunal/angular that referenced this pull request Sep 15, 2016
@mhevery mhevery deleted the repackaging-2.0 branch June 2, 2017 17:07
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker cla: no
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants