Comments (12)
Thanks for the quick response and assistance @simondotm!
from nx-firebase.
that's odd, and hasn't shown up in any e2e tests - maybe a 15.7.0 change 🤔
thanks for reporting I'll look into it
from nx-firebase.
@bhaskarmurthy - please could you let me know if nx
is in your package.json
as a dependency
or a devDependencies
? I suspect the former.
I will make that code more robust regardless.
from nx-firebase.
good q - i'm using npx nx
, and don't have nx
in my package.json
or installed globally
from nx-firebase.
thats quite unusual. scaffolding a basic Nx workspace with npx create-nx-workspace
at a minimum generates a package.json
with nx
in devDependencies
🤔
{
"name": "simontest",
"version": "0.0.0",
"license": "MIT",
"scripts": {},
"private": true,
"dependencies": {},
"devDependencies": {
"@nrwl/js": "15.3.0",
"@nrwl/workspace": "15.3.0",
"nx": "15.3.0",
"prettier": "^2.6.2",
"typescript": "~4.8.2"
}
}
from nx-firebase.
Very strange.
My list of deps is definitely missing nx
:
{
"name": "my-workspace",
"version": "0.0.0",
"license": "MIT",
"scripts": {},
"private": true,
"devDependencies": {
"@nrwl/cli": "15.7.0",
"@nrwl/devkit": "15.7.0",
"@nrwl/eslint-plugin-nx": "15.7.0",
"@nrwl/jest": "15.7.0",
"@nrwl/js": "15.7.0",
"@nrwl/linter": "15.7.0",
"@nrwl/node": "15.7.0",
"@nrwl/tao": "15.7.0",
"@nrwl/workspace": "15.7.0",
"@types/jest": "28.1.1",
"@types/node": "16.11.7",
"@typescript-eslint/eslint-plugin": "^5.36.1",
"@typescript-eslint/parser": "^5.36.1",
"eslint": "~8.15.0",
"eslint-config-prettier": "8.1.0",
"jest": "28.1.1",
"jest-environment-jsdom": "28.1.1",
"prettier": "2.8.4",
"ts-jest": "28.0.5",
"ts-node": "10.9.1",
"typescript": "4.8.4"
},
"dependencies": {
"tslib": "^2.3.0"
}
}
from nx-firebase.
Just ran the init command in a new workspace, this is the output:
I used the
ts [an empty workspace with the JS/TS plugin preinstalled]
choice
{
"name": "workspace",
"version": "0.0.0",
"license": "MIT",
"scripts": {},
"private": true,
"dependencies": {},
"devDependencies": {
"@nrwl/cli": "13.7.3",
"@nrwl/js": "13.7.3",
"@nrwl/tao": "13.7.3",
"@nrwl/workspace": "13.7.3",
"@types/node": "16.11.7",
"prettier": "^2.5.1",
"typescript": "~4.5.2"
}
}
from nx-firebase.
Okay - so looks like my npx
is bringing in nx 13.x
-> while the latest is 15.x
, and has a different structure that looks like the one you shared.
I ended up re-creating my workspace with nx@latest
and now have the nx
dependency.
from nx-firebase.
Ok yeah, nx is the new CLI package as of 13.9.7.
The plugin is built against 13.10.6 minimum so that would explain it.
from nx-firebase.
will this work with nx 15? or is there a roadmap to support this?
from nx-firebase.
will this work with nx 15? or is there a roadmap to support this?
Yes as far as I know the plugin is compatible with v15.x
from nx-firebase.
I think I'm getting an error because I now don't have an angular.json file.
But I will try again. I'm setting up for the first time.
from nx-firebase.
Related Issues (20)
- Cannot read properties of undefined (reading 'options') HOT 1
- Not able to build HOT 2
- Cleanup of unneeded files? HOT 2
- Functions generator always uses @nx/node@16 even if the workspace version is newer HOT 1
- Nx 18, 'project crystal' and Inferred Tasks HOT 4
- Confusing functions deploy error when switching to pnpm, might be exposing a package.json bug HOT 2
- Use dependabot to keep firebase SDK versions upto date
- Migrate plugin project to `pnpm` for faster e2e/compat tests
- Add feature to update node targets in a workspace
- Firebase functions & `pnpm` support HOT 1
- Derive dependency versions from the workspace plugin `package.json`
- Use firebase SDK template in the init generator HOT 1
- Bump plugin to Nx 17.x (2.4.0 release)
- Release v2.3.0 plan HOT 1
- Dependabot PR's dont run `postinstall` script
- Change e2e tests to be `as-provided` rather than `derived` for future proofing
- Documentation tasks
- Help needed upgrading from v1 HOT 2
- Deleting a function project using file system leaves implicitDependency in firebase app HOT 1
- The path to emulator export/import dir is incorrect
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 nx-firebase.