Skip to content
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

feat: remove unused dependencies and update peerDependencies #387

Merged
merged 2 commits into from
Dec 9, 2017
Merged

feat: remove unused dependencies and update peerDependencies #387

merged 2 commits into from
Dec 9, 2017

Conversation

alan-agius4
Copy link
Member

@alan-agius4 alan-agius4 commented Dec 9, 2017

I'm submitting a...

[ ] Bug Fix
[x] Feature
[ ] Other (Refactoring, Added tests, Documentation, ...)

Checklist

  • Commit Messages follow the Conventional Commits pattern
    • A feature commit message is prefixed "feat:"
    • A bugfix commit message is prefixed "fix:"
  • Tests for the changes have been added

Description

  • removed lodash, glob and read-file from dependencies
  • removed @types/glob, @types/lodash from devDependencies
  • bumped @angular/cdk, tsickle and typescript
  • updated peerDependencies tsickle to ^0.25.0 and typescript to >=2.4.2 <2.6

Does this PR introduce a breaking change?

[ ] Yes
[x] No

@dherges
Copy link
Contributor

dherges commented Dec 9, 2017

But glob is being used?

https://github.com/dherges/ng-packagr/blob/master/src/lib/steps/init.ts#L3

- removed `lodash` and `read-file` from dependencies
- removed `@types/lodash` from `devDependencies`
- bumped `@angular/cdk`, `tsickle` and `typescript`
- updated `peerDependencies` `tsickle` to `^0.25.0` and `typescript` to `>=2.4.2 <2.6`
@alan-agius4
Copy link
Member Author

good spot, fixed

@dherges dherges merged commit 001f63f into ng-packagr:master Dec 9, 2017
@dherges
Copy link
Contributor

dherges commented Dec 9, 2017

peerDep: tsickle: ^0.24.0 – aligned with @angular/compiler-cli: ^5.0.0

@dherges
Copy link
Contributor

dherges commented Dec 9, 2017

@alan-agius4
Copy link
Member Author

alan-agius4 commented Dec 9, 2017 via email

@alan-agius4 alan-agius4 deleted the feature/packages branch December 9, 2017 16:59
@dherges
Copy link
Contributor

dherges commented Dec 9, 2017

I think it's ok with the "^0.25.0"

@alan-agius4
Copy link
Member Author

Okay i’ll update it soon

@dherges
Copy link
Contributor

dherges commented Dec 9, 2017

Sorry, meant ^0.24.0 ➡️ People on 5.0.x use compiler-cli: ~5.0.0 and tsickle: >=0.24.0 <0.3.0 and people on 5.1.x use compiler-cli: ~5.1.0 and tsickle: ^0.25.5

@alan-agius4
Copy link
Member Author

Bur when you specify ^0.24.0 it means ~0.24.X do its not correct

Since there is no major verion of tsickle npm treats ^ as ~

http://semver.org/

@alan-agius4
Copy link
Member Author

alan-agius4 commented Dec 9, 2017 via email

@dherges
Copy link
Contributor

dherges commented Dec 9, 2017

Ok, then it should be tsickle: ">=0.24.0 <0.26.0" right?

@alan-agius4
Copy link
Member Author

alan-agius4 commented Dec 9, 2017 via email

@github-actions
Copy link

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

This action has been performed automatically by a bot.

@github-actions github-actions bot locked and limited conversation to collaborators Jun 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants