@ama-sdk/schematics 12.1.0-prerelease.3 → 12.1.0-prerelease.30

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.3",
3
+ "version": "12.1.0-prerelease.30",
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.3",
63
+ "@ama-sdk/core": "^12.1.0-prerelease.30",
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.3",
67
+ "@o3r/schematics": "^12.1.0-prerelease.30",
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,19 +83,19 @@
84
83
  "tslib": "^2.6.2"
85
84
  },
86
85
  "devDependencies": {
87
- "@ama-sdk/core": "^12.1.0-prerelease.3",
88
- "@angular-devkit/schematics-cli": "~19.0.0",
89
- "@angular/cli": "~19.0.0",
86
+ "@ama-sdk/core": "^12.1.0-prerelease.30",
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
90
  "@nx/eslint-plugin": "~20.2.0",
92
91
  "@nx/jest": "~20.2.0",
93
- "@o3r/build-helpers": "^12.1.0-prerelease.3",
94
- "@o3r/eslint-plugin": "^12.1.0-prerelease.3",
95
- "@o3r/schematics": "^12.1.0-prerelease.3",
96
- "@o3r/telemetry": "^12.1.0-prerelease.3",
97
- "@o3r/test-helpers": "^12.1.0-prerelease.3",
98
- "@openapitools/openapi-generator-cli": "~2.15.0",
99
- "@schematics/angular": "~19.0.0",
92
+ "@o3r/build-helpers": "^12.1.0-prerelease.30",
93
+ "@o3r/eslint-plugin": "^12.1.0-prerelease.30",
94
+ "@o3r/schematics": "^12.1.0-prerelease.30",
95
+ "@o3r/telemetry": "^12.1.0-prerelease.30",
96
+ "@o3r/test-helpers": "^12.1.0-prerelease.30",
97
+ "@openapitools/openapi-generator-cli": "~2.16.0",
98
+ "@schematics/angular": "~19.1.0",
100
99
  "@stylistic/eslint-plugin": "~3.0.0",
101
100
  "@types/jest": "~29.5.2",
102
101
  "@types/js-yaml": "^4.0.5",
@@ -105,7 +104,7 @@
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",
107
+ "@typescript-eslint/parser": "~8.24.0",
109
108
  "angular-eslint": "~19.0.0",
110
109
  "commit-and-tag-version": "^12.0.0",
111
110
  "copyfiles": "^2.4.1",
@@ -134,8 +133,8 @@
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,12 +142,12 @@
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",
150
149
  "rimraf": "^6.0.1",
151
- "typedoc": "~0.26.0",
150
+ "typedoc": "~0.27.0",
152
151
  "tsc-watch": "^6.0.4",
153
152
  "yaml-eslint-parser": "^1.2.2"
154
153
  },
@@ -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