Skip to content

Commit

Permalink
fix(devkit): split-create-tree should use nx cli (nrwl#11736)
Browse files Browse the repository at this point in the history
  • Loading branch information
AgentEnder authored Aug 26, 2022
1 parent 3afb6bf commit 3ff6809
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion packages/devkit/migrations.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"schematics": {
"generators": {
"split-create-tree": {
"cli": "nx",
"version": "14.2.0-beta.0",
"description": "Adjusts calls to createTreeWithEmptyWorkspace to reflect new API",
"factory": "./src/migrations/update-14-2-0/split-create-empty-tree"
Expand Down
2 changes: 1 addition & 1 deletion packages/devkit/migrations.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import path = require('path');
import json = require('./migrations.json');

const migrations = Object.entries(json.schematics);
const migrations = Object.entries(json.generators);

describe('devkit migrations', () => {
it.each(migrations)('should have valid path: %s', (key, m) => {
Expand Down

0 comments on commit 3ff6809

Please sign in to comment.