@aws/nx-plugin-mcp 1.0.0-rc.64 → 1.0.0-rc.65
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -497,7 +497,7 @@ Unit tests for generators are straightforward to implement. Here's a typical pat
|
|
|
497
497
|
|
|
498
498
|
```typescript
|
|
499
499
|
import { createTreeWithEmptyWorkspace } from '@nx/devkit/testing';
|
|
500
|
-
import { yourGenerator } from './generator';
|
|
500
|
+
import { yourGenerator } from './generator.js';
|
|
501
501
|
|
|
502
502
|
describe('your generator', () => {
|
|
503
503
|
let tree;
|
|
@@ -97,7 +97,7 @@ The scaffolded `migration.spec.ts` uses `createTreeUsingTsSolutionSetup()` to bu
|
|
|
97
97
|
```ts
|
|
98
98
|
import type { Tree } from '@nx/devkit';
|
|
99
99
|
import { createTreeUsingTsSolutionSetup } from '@aws/nx-plugin/sdk/utils/test';
|
|
100
|
-
import migration from './migration';
|
|
100
|
+
import migration from './migration.js';
|
|
101
101
|
|
|
102
102
|
describe('my migration', () => {
|
|
103
103
|
let tree: Tree;
|