Comments (4)
I'm not entirely familiar with the OTP parameter. Is the OTP parameter always a number?
As a workaround, I'll suggest doing the following:
- nx run utilities:deploy-npm --otp=634119
+ nx run utilities:deploy-npm --otp='634119'
from ngx-deploy-npm.
If the right path is changing the OTP type to a number, not a string, we are open to receiving the contribution.
A good starting point is changing the type of the OTP parameter on:
- https://github.com/bikecoders/ngx-deploy-npm/blob/main/packages/ngx-deploy-npm/src/executors/deploy/schema.json#L32
- https://github.com/bikecoders/ngx-deploy-npm/blob/main/packages/ngx-deploy-npm/src/executors/deploy/schema.d.ts#L25
from ngx-deploy-npm.
I'm not entirely familiar with the OTP parameter. Is the OTP parameter always a number?
Not entirely sure, but it seems like it is. Still, string
seems more correct for a password and it's also what npm themselves list the parameter as, so I think the proper fix would be Nx making their type conversion for CLI parameters smarter. I've created nrwl/nx#11519 in hopes this will get fixed.
For now I think the proper workaround would be accepting both number
and string
. I will create a PR shortly.
As a workaround, I'll suggest doing the following:
- nx run utilities:deploy-npm --otp=634119 + nx run utilities:deploy-npm --otp='634119'
This unfortunately makes no difference, it still gets converted to a number by Nx. :(
from ngx-deploy-npm.
I was able to make it run with:
- nx run utilities:deploy-npm --otp=634119
+ npx nx deploy node-lib1 --otp "'634119'"
But I still think it can be improved by changing the type
from ngx-deploy-npm.
Related Issues (20)
- Open version range on dependencies for the published package HOT 9
- TypeError: Cannot read properties of undefined (reading 'defaultProject') HOT 10
- Fix `Tests @next version nrwl and angular` workflow HOT 3
- e2e test for Nx@14 HOT 2
- Error: context.projectGraph is undefined HOT 4
- Setting registry not being reflected from nx executor options HOT 6
- Upgrade to Nx 16, or open version range HOT 3
- Parametrize Nx npm scope on the script `create-nx-workspace` HOT 1
- Remove integration test from the main workflow and put it scheduled
- Fail dry run deploy if version already exists in the registry HOT 4
- Support for packages that doesnt require building HOT 14
- Could not resolve peer dependency [email protected] HOT 5
- Github Actions example HOT 6
- Deploy script fails for packages that depend on other packages HOT 8
- buildTarget is hardcoded and only modifies configuration HOT 5
- Upgrade @nx to ^17.0.0 HOT 1
- Update `README_contributors.md`
- [Question]: What's the alternative for `noBuild`? HOT 3
- Add support for Nx v19 HOT 2
- Remove `overrides` from `package.json`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ngx-deploy-npm.