Skip to content

Commit

Permalink
feat(generators): remove migrate generator (#484)
Browse files Browse the repository at this point in the history
Co-authored-by: khalilou88 <[email protected]>
  • Loading branch information
khalilou88 and khalilou88 authored Oct 2, 2023
1 parent 8fa898c commit fbcdfc9
Show file tree
Hide file tree
Showing 21 changed files with 1 addition and 164 deletions.
5 changes: 0 additions & 5 deletions packages/nx-gradle/generators.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,6 @@
"schema": "./src/generators/init/schema.json",
"description": "init generator"
},
"migrate": {
"factory": "./src/generators/migrate/generator",
"schema": "./src/generators/migrate/schema.json",
"description": "migrate generator"
},
"application": {
"factory": "./src/generators/application/generator",
"schema": "./src/generators/application/schema.json",
Expand Down
39 changes: 0 additions & 39 deletions packages/nx-gradle/src/generators/migrate/generator.ts

This file was deleted.

1 change: 0 additions & 1 deletion packages/nx-gradle/src/generators/migrate/schema.d.ts

This file was deleted.

8 changes: 0 additions & 8 deletions packages/nx-gradle/src/generators/migrate/schema.json

This file was deleted.

8 changes: 1 addition & 7 deletions packages/nx-gradle/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,5 @@ export { processProjectGraph } from './dep-graph/lookup-deps';
import initGenerator from './generators/init/generator';
import libraryGenerator from './generators/library/generator';
import applicationGenerator from './generators/application/generator';
import migrateGenerator from './generators/migrate/generator';

export {
initGenerator,
libraryGenerator,
applicationGenerator,
migrateGenerator,
};
export { initGenerator, libraryGenerator, applicationGenerator };
5 changes: 0 additions & 5 deletions packages/nx-maven/generators.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,6 @@
"schema": "./src/generators/init/schema.json",
"description": "init generator"
},
"migrate": {
"factory": "./src/generators/migrate/generator",
"schema": "./src/generators/migrate/schema.json",
"description": "migrate generator"
},
"application": {
"factory": "./src/generators/application/generator",
"schema": "./src/generators/application/schema.json",
Expand Down
44 changes: 0 additions & 44 deletions packages/nx-maven/src/generators/migrate/generator.ts

This file was deleted.

1 change: 0 additions & 1 deletion packages/nx-maven/src/generators/migrate/schema.d.ts

This file was deleted.

8 changes: 0 additions & 8 deletions packages/nx-maven/src/generators/migrate/schema.json

This file was deleted.

2 changes: 0 additions & 2 deletions packages/nx-maven/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,10 @@ import initGenerator from './generators/init/generator';
import parentProjectGenerator from './generators/parent-project/generator';
import libraryGenerator from './generators/library/generator';
import applicationGenerator from './generators/application/generator';
import migrateGenerator from './generators/migrate/generator';

export {
initGenerator,
parentProjectGenerator,
libraryGenerator,
applicationGenerator,
migrateGenerator,
};
Original file line number Diff line number Diff line change
Expand Up @@ -135,10 +135,6 @@ describe('nx-boot-gradle e2e', () => {
).not.toThrow();
}, 120000);

it('should migrate', async () => {
await runNxCommandAsync(`generate @jnxplus/nx-gradle:migrate`);
}, 120000);

it('should create a java application', async () => {
const appName = uniq('boot-gradle-app-');

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,6 @@ describe('nx-boot-gradle kt e2e', () => {
).not.toThrow();
}, 120000);

it('should migrate', async () => {
await runNxCommandAsync(`generate @jnxplus/nx-gradle:migrate`);
}, 120000);

it('should create a java application', async () => {
const appName = uniq('boot-gradle-app-');

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,6 @@ describe('nx-boot-maven e2e', () => {
).not.toThrow();
}, 120000);

it('should migrate', async () => {
await runNxCommandAsync(`generate @jnxplus/nx-maven:migrate`);
}, 120000);

it('should create a java application', async () => {
const appName = uniq('boot-maven-app-');

Expand Down
4 changes: 0 additions & 4 deletions testing-projects/e2e/nx-gradle-e2e/tests/nx-gradle.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,10 +132,6 @@ describe('nx-gradle e2e', () => {
).not.toThrow();
}, 120000);

it('should migrate', async () => {
await runNxCommandAsync(`generate @jnxplus/nx-gradle:migrate`);
}, 120000);

it('1 none app', async () => {
const appName = uniq('gradle-app-');

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,6 @@ describe('nx-gradle kotlin dsl e2e', () => {
).not.toThrow();
}, 120000);

it('should migrate', async () => {
await runNxCommandAsync(`generate @jnxplus/nx-gradle:migrate`);
}, 120000);

it('1 none app', async () => {
const appName = uniq('gradle-app-');

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,6 @@ describe('nx-micronaut-gradle e2e', () => {
).not.toThrow();
}, 120000);

it('should migrate', async () => {
await runNxCommandAsync(`generate @jnxplus/nx-gradle:migrate`);
}, 120000);

it('should create a java application', async () => {
const appName = uniq('micronaut-gradle-app-');

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,6 @@ describe('nx-micronaut-gradle kt e2e', () => {
).not.toThrow();
}, 120000);

it('should migrate', async () => {
await runNxCommandAsync(`generate @jnxplus/nx-gradle:migrate`);
}, 120000);

it('should create a java application', async () => {
const appName = uniq('micronaut-gradle-app-');

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,10 +135,6 @@ describe('nx-micronaut-maven e2e', () => {
).not.toThrow();
}, 120000);

it('should migrate', async () => {
await runNxCommandAsync(`generate @jnxplus/nx-maven:migrate`);
}, 120000);

it('should create a java application', async () => {
const appName = uniq('micronaut-maven-app-');

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,10 +139,6 @@ describe('nx-quarkus-gradle e2e', () => {
).not.toThrow();
}, 120000);

it('should migrate', async () => {
await runNxCommandAsync(`generate @jnxplus/nx-gradle:migrate`);
}, 120000);

it('should create a java application', async () => {
const appName = uniq('quarkus-gradle-app-');

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,10 +140,6 @@ describe('nx-quarkus-gradle kt e2e', () => {
).not.toThrow();
}, 120000);

it('should migrate', async () => {
await runNxCommandAsync(`generate @jnxplus/nx-gradle:migrate`);
}, 120000);

it('should create a java application', async () => {
const appName = uniq('quarkus-gradle-app-');

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,10 +135,6 @@ describe('nx-quarkus-maven e2e', () => {
).not.toThrow();
}, 120000);

it('should migrate', async () => {
await runNxCommandAsync(`generate @jnxplus/nx-maven:migrate`);
}, 120000);

it('should create a java application', async () => {
const appsParentProject = uniq('apps-parent-project-');
await runNxCommandAsync(
Expand Down

0 comments on commit fbcdfc9

Please sign in to comment.