-
Notifications
You must be signed in to change notification settings - Fork 109
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
can you do a release? #1242
Comments
We can make a release, but often when we hear from users in your state it's because they accidentally depend upon tsickle when they didn't mean to. Can you confirm that you actually are using tsickle? How? |
I'm not, it's a peerDependency of |
@alxhub Do you know why ng-packagr has this dep? |
@kyliau might know. It's probably legacy, from the days when |
I don't see any reason ng-packagr still needs |
Both |
It a npm 7 feature, it installs peer dependencies if you don’t pass --force or --legacy-peer-deps params to the install command. |
Peer dependencies should be installed when using npm 7+ but optional peer dependencies should not. Otherwise they are no longer optional peer dependencies. |
As to the |
After some additional experimentation via the |
Feel free to close. |
I attempted to release following these instructions: https://github.com/angular/tsickle#releasing The final command failed. $ bazel run :npm_package.publish -- --registry https://wombat-dressing-room.appspot.com
2021/02/11 12:55:03 Downloading https://releases.bazel.build/4.0.0/release/bazel-4.0.0-linux-x86_64...
Extracting Bazel installation...
Starting local Bazel server and connecting to it...
ERROR: REDACTED_HOME/.cache/bazel/_bazel_bradfordcsmith/7bac4c144fec2608461228dfd1a39ffb/external/build_bazel_rules_nodejs/internal/node/node.bzl:87:45: invalid escape sequence: \/. You can enable unknown escape sequences by passing the flag --incompatible_restrict_string_escapes=false
ERROR: REDACTED_HOME/.cache/bazel/_bazel_bradfordcsmith/7bac4c144fec2608461228dfd1a39ffb/external/build_bazel_rules_nodejs/internal/node/node.bzl:87:64: invalid escape sequence: \.. You can enable unknown escape sequences by passing the flag --incompatible_restrict_string_escapes=false
ERROR: error loading package '': in REDACTED_HOME/.cache/bazel/_bazel_bradfordcsmith/7bac4c144fec2608461228dfd1a39ffb/external/build_bazel_rules_nodejs/index.bzl: Extension 'internal/node/node.bzl' has errors
INFO: Elapsed time: 5.091s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded)
FAILED: Build did NOT complete successfully (0 packages loaded) |
I retried with this command:
That seemed to work up to the point that it couldn't find a publish key. |
I'll probably need help from @evmar to finish this. |
Based on finding that tsickle is a blocker to ng update'ing to 11, and the discussion [here](angular/tsickle#1242)
@evmar Any update on this? I am able to build & run my application with |
Still facing the same issue while creating a new application using angular cli and npm v7.15.1 @angular/cli 11.2.x // has a peerDependency of typescript <4.1 Same issue with tsickle v 0.40.0 as well. There the peer Dependency is typescript ~4.2 Since npm v7 installs peer dependencies automatically, it is getting into version conflict issue. See error below:
|
@rohitpratapitm can you file an issue in https://github.com/angular/angular? I believe it's a bug in Angular if new applications still depend on tsickle. |
Based on finding that tsickle is a blocker to ng update'ing to 11, and the discussion [here](angular/tsickle#1242)
Based on finding that tsickle is a blocker to ng update'ing to 11, and the discussion [here](angular/tsickle#1242)
Based on finding that tsickle is a blocker to ng update'ing to 11, and the discussion [here](angular/tsickle#1242)
At this point I think it's clear that we aren't going to do any more releases. |
With npm 7 being default,
npm install
command fails on apps that use typescript 4 because latest version of tsickle has a peerDependency of typescript 3.It was changed to typescript 4 on #1213, but it isn't released.
While it's possible to use
--force
or--legacy-peer-deps
params onnpm install
to workaround the problem, would be good if the package could be released.The text was updated successfully, but these errors were encountered: