@ama-sdk/schematics 12.1.0-prerelease.4 → 12.1.0-prerelease.40

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ama-sdk/schematics",
3
- "version": "12.1.0-prerelease.4",
3
+ "version": "12.1.0-prerelease.40",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -15,8 +15,7 @@
15
15
  "build": "yarn nx build ama-sdk-schematics",
16
16
  "postbuild": "patch-package-json-main",
17
17
  "build:builders": "tsc -b tsconfig.builders.json --pretty && yarn generate-cjs-manifest",
18
- "install-swagger-cli": "mvn install:install-file -DgroupId=io.swagger -DartifactId=swagger-codegen-cli -Dversion=2.4.0-AMADEUS -Dpackaging=jar -Dfile=./schematics/resources/swagger-codegen-cli.jar",
19
- "build:swagger": "yarn install-swagger-cli && run-p 'build:openapi-*' && yarn cpy 'schematics/**/*.jar' dist/schematics",
18
+ "build:swagger": "yarn build:openapi-typescript-gen && yarn cpy 'schematics/**/*.jar' dist/schematics",
20
19
  "build:openapi-typescript-gen": "mvn clean package -f ./schematics/typescript/core/openapi-codegen-typescript/pom.xml",
21
20
  "build:cli": "tsc -b tsconfig.cli.json --pretty && yarn generate-cjs-manifest",
22
21
  "prepare:publish": "prepare-publish ./dist"
@@ -61,19 +60,19 @@
61
60
  }
62
61
  },
63
62
  "peerDependencies": {
64
- "@ama-sdk/core": "^12.1.0-prerelease.4",
63
+ "@ama-sdk/core": "^12.1.0-prerelease.40",
65
64
  "@angular-devkit/core": "^19.0.0",
66
65
  "@angular-devkit/schematics-cli": "^19.0.0",
67
66
  "@angular/cli": "^19.0.0",
68
- "@o3r/schematics": "^12.1.0-prerelease.4",
67
+ "@o3r/schematics": "^12.1.0-prerelease.40",
69
68
  "@openapitools/openapi-generator-cli": "^2.15.0",
70
69
  "openapi-types": "^12.0.0",
71
70
  "ts-node": "~10.9.2",
72
71
  "type-fest": "^4.10.2"
73
72
  },
74
73
  "dependencies": {
75
- "@angular-devkit/core": "~19.0.0",
76
- "@angular-devkit/schematics": "~19.0.0",
74
+ "@angular-devkit/core": "~19.1.0",
75
+ "@angular-devkit/schematics": "~19.1.0",
77
76
  "chokidar": "^4.0.3",
78
77
  "globby": "^11.1.0",
79
78
  "js-yaml": "^4.1.0",
@@ -84,20 +83,20 @@
84
83
  "tslib": "^2.6.2"
85
84
  },
86
85
  "devDependencies": {
87
- "@ama-sdk/core": "^12.1.0-prerelease.4",
88
- "@angular-devkit/schematics-cli": "~19.0.0",
89
- "@angular/cli": "~19.0.0",
86
+ "@ama-sdk/core": "^12.1.0-prerelease.40",
87
+ "@angular-devkit/schematics-cli": "~19.1.0",
88
+ "@angular/cli": "~19.1.0",
90
89
  "@eslint-community/eslint-plugin-eslint-comments": "^4.4.0",
91
- "@nx/eslint-plugin": "~20.2.0",
92
- "@nx/jest": "~20.2.0",
93
- "@o3r/build-helpers": "^12.1.0-prerelease.4",
94
- "@o3r/eslint-plugin": "^12.1.0-prerelease.4",
95
- "@o3r/schematics": "^12.1.0-prerelease.4",
96
- "@o3r/telemetry": "^12.1.0-prerelease.4",
97
- "@o3r/test-helpers": "^12.1.0-prerelease.4",
90
+ "@nx/eslint-plugin": "~20.4.0",
91
+ "@nx/jest": "~20.4.0",
92
+ "@o3r/build-helpers": "^12.1.0-prerelease.40",
93
+ "@o3r/eslint-plugin": "^12.1.0-prerelease.40",
94
+ "@o3r/schematics": "^12.1.0-prerelease.40",
95
+ "@o3r/telemetry": "^12.1.0-prerelease.40",
96
+ "@o3r/test-helpers": "^12.1.0-prerelease.40",
98
97
  "@openapitools/openapi-generator-cli": "~2.16.0",
99
- "@schematics/angular": "~19.0.0",
100
- "@stylistic/eslint-plugin": "~3.0.0",
98
+ "@schematics/angular": "~19.1.0",
99
+ "@stylistic/eslint-plugin": "~3.1.0",
101
100
  "@types/jest": "~29.5.2",
102
101
  "@types/js-yaml": "^4.0.5",
103
102
  "@types/minimatch": "^5.1.2",
@@ -105,12 +104,12 @@
105
104
  "@types/node": "^20.0.0",
106
105
  "@types/pid-from-port": "^1.1.0",
107
106
  "@types/semver": "^7.3.13",
108
- "@typescript-eslint/parser": "~8.22.0",
109
- "angular-eslint": "~19.0.0",
107
+ "@typescript-eslint/parser": "~8.24.0",
108
+ "angular-eslint": "~19.1.0",
110
109
  "commit-and-tag-version": "^12.0.0",
111
110
  "copyfiles": "^2.4.1",
112
111
  "cpy-cli": "^5.0.0",
113
- "eslint": "~9.19.0",
112
+ "eslint": "~9.20.0",
114
113
  "eslint-import-resolver-node": "^0.3.9",
115
114
  "eslint-import-resolver-typescript": "^3.6.3",
116
115
  "eslint-plugin-import": "^2.31.0",
@@ -127,15 +126,15 @@
127
126
  "jsonc-eslint-parser": "~2.4.0",
128
127
  "mem-fs": "^4.0.0",
129
128
  "npm-run-all2": "^7.0.0",
130
- "nx": "~20.2.0",
129
+ "nx": "~20.4.0",
131
130
  "openapi-types": "^12.0.0",
132
131
  "pid-from-port": "^1.1.3",
133
132
  "semver": "^7.5.2",
134
133
  "ts-jest": "~29.2.5",
135
134
  "ts-node": "~10.9.2",
136
135
  "type-fest": "^4.30.1",
137
- "typescript": "~5.6.2",
138
- "typescript-eslint": "~8.22.0"
136
+ "typescript": "~5.7.3",
137
+ "typescript-eslint": "~8.24.0"
139
138
  },
140
139
  "generatorDependencies": {
141
140
  "@swc/cli": "~0.6.0",
@@ -143,7 +142,7 @@
143
142
  "@swc/helpers": "~0.5.0",
144
143
  "@commitlint/cli": "^19.0.0",
145
144
  "@commitlint/config-conventional": "^19.0.0",
146
- "@typescript-eslint/eslint-plugin": "~8.22.0",
145
+ "@typescript-eslint/eslint-plugin": "~8.24.0",
147
146
  "jest-junit": "~16.0.0",
148
147
  "lint-staged": "^15.0.0",
149
148
  "minimist": "^1.2.6",
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../schematics/api-extension/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAML,IAAI,EAIL,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,sCAAsC,EACvC,MAAM,UAAU,CAAC;AAiBlB;;;GAGG;AACH,eAAO,MAAM,sBAAsB,YAAa,sCAAsC,wBAGrF,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../schematics/api-extension/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAML,IAAI,EAIL,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,sCAAsC,EACvC,MAAM,UAAU,CAAC;AAiBlB;;;GAGG;AACH,eAAO,MAAM,sBAAsB,YAAa,sCAAsC,wBAKrF,CAAC"}
@@ -21,8 +21,8 @@ function ngGenerateApiExtensionFn(options) {
21
21
  * @param options
22
22
  */
23
23
  const ngGenerateApiExtension = (options) => async () => {
24
- const { createSchematicWithMetricsIfInstalled } = await Promise.resolve().then(() => require('@o3r/schematics'));
25
- return createSchematicWithMetricsIfInstalled(ngGenerateApiExtensionFn)(options);
24
+ const { createOtterSchematic } = await Promise.resolve().then(() => require('@o3r/schematics'));
25
+ return createOtterSchematic(ngGenerateApiExtensionFn)(options);
26
26
  };
27
27
  exports.ngGenerateApiExtension = ngGenerateApiExtension;
28
28
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../schematics/migrate/index.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EACV,IAAI,EACL,MAAM,4BAA4B,CAAC;AAsBpC,OAAO,EACL,8BAA8B,EAC/B,MAAM,UAAU,CAAC;AAgClB;;;GAGG;AACH,eAAO,MAAM,OAAO,YAAa,8BAA8B,wBAG9D,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../schematics/migrate/index.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EACV,IAAI,EACL,MAAM,4BAA4B,CAAC;AAsBpC,OAAO,EACL,8BAA8B,EAC/B,MAAM,UAAU,CAAC;AAgClB;;;GAGG;AACH,eAAO,MAAM,OAAO,YAAa,8BAA8B,wBAK9D,CAAC"}
@@ -41,8 +41,8 @@ function migrateFn(options) {
41
41
  * @param options
42
42
  */
43
43
  const migrate = (options) => async () => {
44
- const { createSchematicWithMetricsIfInstalled } = await Promise.resolve().then(() => require('@o3r/schematics'));
45
- return createSchematicWithMetricsIfInstalled(migrateFn)(options);
44
+ const { createOtterSchematic } = await Promise.resolve().then(() => require('@o3r/schematics'));
45
+ return createOtterSchematic(migrateFn)(options);
46
46
  };
47
47
  exports.migrate = migrate;
48
48
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../schematics/ng-add/index.ts"],"names":[],"mappings":"AAOA,OAAO,EAGL,IAAI,EAGL,MAAM,4BAA4B,CAAC;AAcpC,OAAO,KAAK,EACV,qBAAqB,EACtB,MAAM,UAAU,CAAC;AAOlB;;;;GAIG;AACH,eAAO,MAAM,wBAAwB,EAAE,IAwCtC,CAAC;AAuGF;;;GAGG;AACH,eAAO,MAAM,KAAK,SAAU,qBAAqB,KAAG,IAGnD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../schematics/ng-add/index.ts"],"names":[],"mappings":"AAOA,OAAO,EAGL,IAAI,EAGL,MAAM,4BAA4B,CAAC;AAcpC,OAAO,KAAK,EACV,qBAAqB,EACtB,MAAM,UAAU,CAAC;AAOlB;;;;GAIG;AACH,eAAO,MAAM,wBAAwB,EAAE,IAwCtC,CAAC;AAuGF;;;GAGG;AACH,eAAO,MAAM,KAAK,SAAU,qBAAqB,KAAG,IAKnD,CAAC"}
@@ -147,8 +147,8 @@ function ngAddFn() {
147
147
  * @param opts
148
148
  */
149
149
  const ngAdd = (opts) => async () => {
150
- const { createSchematicWithMetricsIfInstalled } = await Promise.resolve().then(() => require('@o3r/schematics'));
151
- return createSchematicWithMetricsIfInstalled(ngAddFn)(opts);
150
+ const { createOtterSchematic } = await Promise.resolve().then(() => require('@o3r/schematics'));
151
+ return createOtterSchematic(ngAddFn)(opts);
152
152
  };
153
153
  exports.ngAdd = ngAdd;
154
154
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../schematics/typescript/core/index.ts"],"names":[],"mappings":"AAWA,OAAO,EAOL,IAAI,EAKL,MAAM,4BAA4B,CAAC;AA8BpC,OAAO,EACL,2CAA2C,EAC5C,MAAM,UAAU,CAAC;AAoQlB;;;GAGG;AACH,eAAO,MAAM,uBAAuB,YAAa,2CAA2C,wBAG3F,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../schematics/typescript/core/index.ts"],"names":[],"mappings":"AAWA,OAAO,EAOL,IAAI,EAKL,MAAM,4BAA4B,CAAC;AA8BpC,OAAO,EACL,2CAA2C,EAC5C,MAAM,UAAU,CAAC;AAoQlB;;;GAGG;AACH,eAAO,MAAM,uBAAuB,YAAa,2CAA2C,wBAK3F,CAAC"}
@@ -246,8 +246,8 @@ function ngGenerateTypescriptSDKFn(options) {
246
246
  * @param options
247
247
  */
248
248
  const ngGenerateTypescriptSDK = (options) => async () => {
249
- const { createSchematicWithMetricsIfInstalled } = await Promise.resolve().then(() => require('@o3r/schematics'));
250
- return createSchematicWithMetricsIfInstalled(ngGenerateTypescriptSDKFn)(options);
249
+ const { createOtterSchematic } = await Promise.resolve().then(() => require('@o3r/schematics'));
250
+ return createOtterSchematic(ngGenerateTypescriptSDKFn)(options);
251
251
  };
252
252
  exports.ngGenerateTypescriptSDK = ngGenerateTypescriptSDK;
253
253
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../schematics/typescript/mock/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAML,IAAI,EAKL,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,8BAA8B,EAC/B,MAAM,UAAU,CAAC;AAsBlB;;;GAGG;AACH,wBAAgB,qBAAqB,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,CAE/D;AA+CD;;;GAGG;AACH,eAAO,MAAM,cAAc,YAAa,8BAA8B,wBAGrE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../schematics/typescript/mock/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAML,IAAI,EAKL,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,8BAA8B,EAC/B,MAAM,UAAU,CAAC;AAsBlB;;;GAGG;AACH,wBAAgB,qBAAqB,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,CAE/D;AA+CD;;;GAGG;AACH,eAAO,MAAM,cAAc,YAAa,8BAA8B,wBAKrE,CAAC"}
@@ -75,8 +75,8 @@ function ngGenerateMockFn(options) {
75
75
  * @param options
76
76
  */
77
77
  const ngGenerateMock = (options) => async () => {
78
- const { createSchematicWithMetricsIfInstalled } = await Promise.resolve().then(() => require('@o3r/schematics'));
79
- return createSchematicWithMetricsIfInstalled(ngGenerateMockFn)(options);
78
+ const { createOtterSchematic } = await Promise.resolve().then(() => require('@o3r/schematics'));
79
+ return createOtterSchematic(ngGenerateMockFn)(options);
80
80
  };
81
81
  exports.ngGenerateMock = ngGenerateMock;
82
82
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../schematics/typescript/shell/index.ts"],"names":[],"mappings":"AAKA,OAAO,EAOL,IAAI,EAKL,MAAM,4BAA4B,CAAC;AAYpC,OAAO,KAAK,EACV,4CAA4C,EAC7C,MAAM,UAAU,CAAC;AAoJlB;;;GAGG;AACH,eAAO,MAAM,uBAAuB,YAAa,4CAA4C,wBAG5F,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../schematics/typescript/shell/index.ts"],"names":[],"mappings":"AAKA,OAAO,EAOL,IAAI,EAKL,MAAM,4BAA4B,CAAC;AAYpC,OAAO,KAAK,EACV,4CAA4C,EAC7C,MAAM,UAAU,CAAC;AAoJlB;;;GAGG;AACH,eAAO,MAAM,uBAAuB,YAAa,4CAA4C,wBAK5F,CAAC"}
@@ -147,8 +147,8 @@ function ngGenerateTypescriptSDKFn(options) {
147
147
  * @param options
148
148
  */
149
149
  const ngGenerateTypescriptSDK = (options) => async () => {
150
- const { createSchematicWithMetricsIfInstalled } = await Promise.resolve().then(() => require('@o3r/schematics'));
151
- return createSchematicWithMetricsIfInstalled(ngGenerateTypescriptSDKFn)(options);
150
+ const { createOtterSchematic } = await Promise.resolve().then(() => require('@o3r/schematics'));
151
+ return createOtterSchematic(ngGenerateTypescriptSDKFn)(options);
152
152
  };
153
153
  exports.ngGenerateTypescriptSDK = ngGenerateTypescriptSDK;
154
154
  //# sourceMappingURL=index.js.map