Skip to content

Commit

Permalink
chore: remove unused generators and executors
Browse files Browse the repository at this point in the history
  • Loading branch information
llwt committed Sep 12, 2024
1 parent a0d2ba8 commit 4a7c38a
Show file tree
Hide file tree
Showing 13 changed files with 4 additions and 179 deletions.
9 changes: 4 additions & 5 deletions apps/nx-workshop-e2e/tests/nx-workshop.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,10 @@ describe('nx-react-workshop', () => {
});

// A noop to verify generator works and setup project in an "initial state"
execSync(`nx generate @nrwl/nx-react-workshop:complete-labs --lab=0`, {
cwd: projectDirectory,
stdio: 'inherit',
env: process.env,
});
runNxCommand(
`generate @nrwl/nx-react-workshop:complete-labs --lab=0`,
projectDirectory
);

// Make a copy of the initial project state so we can compare against it later
emptyProjectDirectory = join(process.cwd(), 'tmp', 'empty-project');
Expand Down
10 changes: 0 additions & 10 deletions libs/nx-react-workshop/executors.json

This file was deleted.

5 changes: 0 additions & 5 deletions libs/nx-react-workshop/generators.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@
"name": "nx-react-workshop",
"version": "0.0.1",
"generators": {
"nx-react-workshop": {
"factory": "./src/generators/nx-react-workshop/generator",
"schema": "./src/generators/nx-react-workshop/schema.json",
"description": "nx-react-workshop generator"
},
"complete-labs": {
"factory": "./src/generators/complete-labs/generator",
"schema": "./src/generators/complete-labs/schema.json",
Expand Down
1 change: 0 additions & 1 deletion libs/nx-react-workshop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"version": "0.0.0",
"main": "src/index.js",
"generators": "./generators.json",
"executors": "./executors.json",
"nx-migrations": {
"migrations": "./migrations.json"
},
Expand Down
11 changes: 0 additions & 11 deletions libs/nx-react-workshop/src/executors/build/executor.spec.ts

This file was deleted.

8 changes: 0 additions & 8 deletions libs/nx-react-workshop/src/executors/build/executor.ts

This file was deleted.

1 change: 0 additions & 1 deletion libs/nx-react-workshop/src/executors/build/schema.d.ts

This file was deleted.

10 changes: 0 additions & 10 deletions libs/nx-react-workshop/src/executors/build/schema.json

This file was deleted.

This file was deleted.

This file was deleted.

73 changes: 0 additions & 73 deletions libs/nx-react-workshop/src/generators/nx-workshop/generator.ts

This file was deleted.

5 changes: 0 additions & 5 deletions libs/nx-react-workshop/src/generators/nx-workshop/schema.d.ts

This file was deleted.

29 changes: 0 additions & 29 deletions libs/nx-react-workshop/src/generators/nx-workshop/schema.json

This file was deleted.

0 comments on commit 4a7c38a

Please sign in to comment.