Skip to content

Commit b790e88

Browse files
committed
feat: workspace guide 5.5.0 migration notes
1 parent 27d4124 commit b790e88

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

content/plugins/plugin-workspace-guide.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,22 @@ After running migrations you can always _delete_ the `migrations.json` file as i
151151

152152
Not very often actually. Most plugin workspaces can maintain it's set of dependencies for often 1-2 years or longer but if a migration is available which mentions things you want or need, feel free to run the migrations anytime.
153153

154+
### Migration 5.5.0 (Released January 25, 2025)
155+
156+
- Migrates to Nx 20.3.0+
157+
- TypeScript 5.6+
158+
- Angular 19+
159+
160+
If you have any angular specific parts to your plugin, after running `yarn nx migrate @nativescript/plugin-tools` and then `yarn nx migrate --run-migrations ` with this migration you may see TypeScript errors like this:
161+
162+
```bash
163+
nativescript-checkbox/angular/index.ts:75:18 - error NG6008: Directive CheckedValueAccessor is standalone, and cannot be declared in an NgModule. Did you mean to import it instead?
164+
165+
75 declarations: [CheckedValueAccessor],
166+
```
167+
168+
This is expected with Angular 19. To resolve you can just add an explicit `standalone: false` to the decorator for the referenced file. If you are using the `apps/demo-angular`, you may also want to add that to any components in use.
169+
154170
### Migration 5.4.0 (Released August 10, 2024)
155171

156172
- Migrates to Nx 19.5.7

0 commit comments

Comments
 (0)