Closed seanaguinaga closed 1 year ago
pfft - I cant keep up with Nx. They just change their APIs like no-ones watching 😆
Plus I'm using angular 14 so upgrading to Nx >14 seemed impossible for me, unless they fixed their migration script since I last looked
to be fair it looks like they're just not shipping their src in the npm package anymore, which isnt entirely unreasonable. I should look into this. Cant remember why our plugin would be accessing from src folder anyway 🤔 v14 - https://www.npmjs.com/package/@nrwl/js/v/14.8.8?activeTab=code v16 - https://www.npmjs.com/package/@nrwl/js/v/16.0.0?activeTab=code
yeah, this is a 'my bad' situation. marked as bug
I stumbled across this as well. As a workaround I added the old @nrwl
dependencies as well next to the new @nx
ones like this:
"@nx/workspace": "16.1.0",
"@nx/linter": "16.1.0",
"@nx/js": "16.1.0",
"@nx/cypress": "16.1.0",
"@nx/jest": "16.1.0",
"@nrwl/workspace": "15.9.3",
"@nrwl/js": "15.9.3"
With that, I could get it running. This is just a workaround, but maybe it can help someone :-)
ok thanks folks, I will try to fix this as soon as I can, problem line is here: https://github.com/simondotm/nx-firebase/blob/77117fb0732809733b24fa3b3113c88028dd8373/packages/nx-firebase/src/executors/build/build.ts#L3
Reading the release notes for Nx 16 they seem to have finished decoupling their versioning from Angular releases, so maybe I can upgrade to 16 now and test it all.
Ok the latest Nx 16.1.1 finally allows updates without breaking the Angular version. I will move the plugin to this release soon. Might also get some other issues fixed too.
ohhhh so the issue is that plugins are rescoped to @nx
now instead of @nrwl
got it
https://www.npmjs.com/package/@nx/js?activeTab=code
Release new version 1.1.0-beta.0 https://www.npmjs.com/package/@simondotm/nx-firebase Please let me know if any issues thx
Cannot find module '@nrwl/js/src/executors/tsc/tsc.impl'