-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Added pre/postpublish tasks #144
Conversation
is it not easier to add some .ts files to |
not need to recreate PRs, just squash commits or git commit --ammend and force push to your master |
That would work as well. If that is your preference I can update the PR?
Yes. I took the non-optimal hard approach. I won't be doing that again. |
yes please |
Sure I can do it without gulp and tie it to the |
sounds awesome to me |
# Conflicts: # package.json
ok, looks good, thx PS: I will squash commits anyway :) |
oh, crap
|
|
@martinmcwhorter what if I will check this idea again if you will be able to run it with 'https://github.com/AngularClass/angular2-webpack-starter' |
Where is the work flow is that happening? Is that on npm publish? |
@martinmcwhorter I have compiled, removed .ts files |
can we speed up this pull? i am using https://github.com/AngularClass/angular2-webpack-starter the the project doesn't compile
after i remove all .ts files from node_modules/ng2-bootstrap/ leaving only .d.ts and .js |
checkout my example
to make the ERROR in ./~/ng2-bootstrap/components/ng2-bootstrap-config.ts
there is a comment this is a whole change is here fkowal/angular2-webpack-starter@504cc0a |
what if I will push compiled files to dist folder? |
from what i understand
typescript prefers ng2-bootstrap/ng2-bootstrap.ts over ng2-bootstrap/ng2-boostrap.d.ts and .js if there is no .ts file typescript will use ng2-bootstrap/ng2-bootstrap.d.ts info Having .d.ts and .js in ng2-bootstrap/dist/ would require users to use Speaking as a user it wouldn't be my preference. Also looking and angular2 node_module, .ts are in /ts and .d.ts, .js are in / |
yeah, agreed |
Let me know if i can help ill Join gitter if that helps |
how can we make progress with issue? |
eventually solved with 686ef90 |
Great news |
So the reason why I failed last time, my sentiments about source maps :) |
@fkowal can you please check and approve that it is working fine for you? |
@valorkin it looks like it's working on it's own after upgrade i noticed that my extended version, that i was using stopped working
i am not quite sure where the problem is it's probably not even related to the ng2-bootstrap itself |
Great work on this. Thanks! |
gulp prepublish
Will MOVE the source *.ts (but not *.d.ts) files to ts/ directory before publishing to npm.
gulp postpublish
Will MOVE the source .ts (!.d.ts) file back from the ts/ directory after publishing npm.