@ama-sdk/schematics 12.1.0-prerelease.6 → 12.1.0-prerelease.61
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/cli/update-spec-from-npm.cjs +5 -5
- package/package.json +35 -32
- package/schematics/api-extension/index.d.ts.map +1 -1
- package/schematics/api-extension/index.js +2 -2
- package/schematics/migrate/index.d.ts.map +1 -1
- package/schematics/migrate/index.js +2 -2
- package/schematics/ng-add/index.d.ts.map +1 -1
- package/schematics/ng-add/index.js +2 -2
- package/schematics/typescript/core/index.d.ts.map +1 -1
- package/schematics/typescript/core/index.js +2 -2
- package/schematics/typescript/core/openapi-codegen-typescript/target/typescriptFetch-openapi-generator-tests.jar +0 -0
- package/schematics/typescript/core/openapi-codegen-typescript/target/typescriptFetch-openapi-generator.jar +0 -0
- package/schematics/typescript/mock/index.d.ts.map +1 -1
- package/schematics/typescript/mock/index.js +2 -2
- package/schematics/typescript/shell/index.d.ts.map +1 -1
- package/schematics/typescript/shell/index.js +2 -2
- package/schematics/typescript/shell/schema.json +1 -2
- package/schematics/resources/swagger-codegen-cli.jar +0 -0
|
@@ -9,7 +9,7 @@ const promises_1 = require("node:fs/promises");
|
|
|
9
9
|
const node_module_1 = require("node:module");
|
|
10
10
|
const node_path_1 = require("node:path");
|
|
11
11
|
const minimist = require("minimist");
|
|
12
|
-
const
|
|
12
|
+
const public_api_1 = require("../src/public_api");
|
|
13
13
|
const argv = minimist(process.argv.slice(2));
|
|
14
14
|
const packageName = argv._[0];
|
|
15
15
|
const { help, output, 'package-path': packagePath, quiet } = argv;
|
|
@@ -18,7 +18,7 @@ const noop = () => { };
|
|
|
18
18
|
const logger = quiet ? { error: noop, warn: noop, log: noop, info: noop, debug: noop } : console;
|
|
19
19
|
const SPEC_YML_EXTENSION = 'yml';
|
|
20
20
|
const DEFAULT_SPEC_EXPORT_PATH_IN_NPM_MODULE = 'openapi';
|
|
21
|
-
const supportedExtensions = [
|
|
21
|
+
const supportedExtensions = [public_api_1.SPEC_JSON_EXTENSION, public_api_1.SPEC_YAML_EXTENSION, SPEC_YML_EXTENSION];
|
|
22
22
|
if (help) {
|
|
23
23
|
// eslint-disable-next-line no-console -- even if we call the CLI with `--quiet` we want to log the help information
|
|
24
24
|
console.log(`This script can be used to update your local spec file from a given locally installed npm package.
|
|
@@ -26,7 +26,7 @@ if (help) {
|
|
|
26
26
|
|
|
27
27
|
package-name The full identifier of the npm package (e.g. @my-scope/my-package)
|
|
28
28
|
--package-path The relative path inside the npm package where to find the spec file (default: './openapi.yml')
|
|
29
|
-
--output The path where the spec file should be copied (default: './${
|
|
29
|
+
--output The path where the spec file should be copied (default: './${public_api_1.LOCAL_SPEC_FILENAME}.${public_api_1.SPEC_YAML_EXTENSION}')
|
|
30
30
|
--quiet Don't log anything
|
|
31
31
|
`);
|
|
32
32
|
process.exit(0);
|
|
@@ -58,9 +58,9 @@ const run = async () => {
|
|
|
58
58
|
if (!specDestinationPath) {
|
|
59
59
|
let specSourceExtension = (0, node_path_1.extname)(specSourcePath);
|
|
60
60
|
if (specSourceExtension === `.${SPEC_YML_EXTENSION}`) {
|
|
61
|
-
specSourceExtension = `.${
|
|
61
|
+
specSourceExtension = `.${public_api_1.SPEC_YAML_EXTENSION}`;
|
|
62
62
|
}
|
|
63
|
-
specDestinationPath = `./${
|
|
63
|
+
specDestinationPath = `./${public_api_1.LOCAL_SPEC_FILENAME}${specSourceExtension}`;
|
|
64
64
|
if ((0, node_fs_1.existsSync)(openApiConfigDefaultPath)) {
|
|
65
65
|
const openApiConfig = JSON.parse(await (0, promises_1.readFile)(openApiConfigDefaultPath, { encoding: 'utf8' }));
|
|
66
66
|
const generators = Object.values(openApiConfig['generator-cli']?.generators ?? {});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ama-sdk/schematics",
|
|
3
|
-
"version": "12.1.0-prerelease.
|
|
3
|
+
"version": "12.1.0-prerelease.61",
|
|
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
|
-
"
|
|
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"
|
|
@@ -50,6 +49,9 @@
|
|
|
50
49
|
"@angular/compiler": {
|
|
51
50
|
"optional": true
|
|
52
51
|
},
|
|
52
|
+
"@o3r/telemetry": {
|
|
53
|
+
"optional": true
|
|
54
|
+
},
|
|
53
55
|
"@openapitools/openapi-generator-cli": {
|
|
54
56
|
"optional": true
|
|
55
57
|
},
|
|
@@ -61,19 +63,20 @@
|
|
|
61
63
|
}
|
|
62
64
|
},
|
|
63
65
|
"peerDependencies": {
|
|
64
|
-
"@ama-sdk/core": "^12.1.0-prerelease.
|
|
66
|
+
"@ama-sdk/core": "^12.1.0-prerelease.61",
|
|
65
67
|
"@angular-devkit/core": "^19.0.0",
|
|
66
68
|
"@angular-devkit/schematics-cli": "^19.0.0",
|
|
67
69
|
"@angular/cli": "^19.0.0",
|
|
68
|
-
"@o3r/schematics": "^12.1.0-prerelease.
|
|
70
|
+
"@o3r/schematics": "^12.1.0-prerelease.61",
|
|
71
|
+
"@o3r/telemetry": "^12.1.0-prerelease.61",
|
|
69
72
|
"@openapitools/openapi-generator-cli": "^2.15.0",
|
|
70
73
|
"openapi-types": "^12.0.0",
|
|
71
74
|
"ts-node": "~10.9.2",
|
|
72
75
|
"type-fest": "^4.10.2"
|
|
73
76
|
},
|
|
74
77
|
"dependencies": {
|
|
75
|
-
"@angular-devkit/core": "~19.
|
|
76
|
-
"@angular-devkit/schematics": "~19.
|
|
78
|
+
"@angular-devkit/core": "~19.1.0",
|
|
79
|
+
"@angular-devkit/schematics": "~19.1.0",
|
|
77
80
|
"chokidar": "^4.0.3",
|
|
78
81
|
"globby": "^11.1.0",
|
|
79
82
|
"js-yaml": "^4.1.0",
|
|
@@ -84,20 +87,20 @@
|
|
|
84
87
|
"tslib": "^2.6.2"
|
|
85
88
|
},
|
|
86
89
|
"devDependencies": {
|
|
87
|
-
"@ama-sdk/core": "^12.1.0-prerelease.
|
|
88
|
-
"@angular-devkit/schematics-cli": "~19.
|
|
89
|
-
"@angular/cli": "~19.
|
|
90
|
+
"@ama-sdk/core": "^12.1.0-prerelease.61",
|
|
91
|
+
"@angular-devkit/schematics-cli": "~19.1.0",
|
|
92
|
+
"@angular/cli": "~19.1.0",
|
|
90
93
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.4.0",
|
|
91
|
-
"@nx/eslint-plugin": "~20.
|
|
92
|
-
"@nx/jest": "~20.
|
|
93
|
-
"@o3r/build-helpers": "^12.1.0-prerelease.
|
|
94
|
-
"@o3r/eslint-plugin": "^12.1.0-prerelease.
|
|
95
|
-
"@o3r/schematics": "^12.1.0-prerelease.
|
|
96
|
-
"@o3r/telemetry": "^12.1.0-prerelease.
|
|
97
|
-
"@o3r/test-helpers": "^12.1.0-prerelease.
|
|
94
|
+
"@nx/eslint-plugin": "~20.4.0",
|
|
95
|
+
"@nx/jest": "~20.4.0",
|
|
96
|
+
"@o3r/build-helpers": "^12.1.0-prerelease.61",
|
|
97
|
+
"@o3r/eslint-plugin": "^12.1.0-prerelease.61",
|
|
98
|
+
"@o3r/schematics": "^12.1.0-prerelease.61",
|
|
99
|
+
"@o3r/telemetry": "^12.1.0-prerelease.61",
|
|
100
|
+
"@o3r/test-helpers": "^12.1.0-prerelease.61",
|
|
98
101
|
"@openapitools/openapi-generator-cli": "~2.16.0",
|
|
99
|
-
"@schematics/angular": "~19.
|
|
100
|
-
"@stylistic/eslint-plugin": "~3.
|
|
102
|
+
"@schematics/angular": "~19.1.0",
|
|
103
|
+
"@stylistic/eslint-plugin": "~3.1.0",
|
|
101
104
|
"@types/jest": "~29.5.2",
|
|
102
105
|
"@types/js-yaml": "^4.0.5",
|
|
103
106
|
"@types/minimatch": "^5.1.2",
|
|
@@ -105,21 +108,21 @@
|
|
|
105
108
|
"@types/node": "^20.0.0",
|
|
106
109
|
"@types/pid-from-port": "^1.1.0",
|
|
107
110
|
"@types/semver": "^7.3.13",
|
|
108
|
-
"@typescript-eslint/parser": "~8.
|
|
109
|
-
"angular-eslint": "~19.
|
|
111
|
+
"@typescript-eslint/parser": "~8.25.0",
|
|
112
|
+
"angular-eslint": "~19.1.0",
|
|
110
113
|
"commit-and-tag-version": "^12.0.0",
|
|
111
114
|
"copyfiles": "^2.4.1",
|
|
112
115
|
"cpy-cli": "^5.0.0",
|
|
113
|
-
"eslint": "~9.
|
|
114
|
-
"eslint-import-resolver-node": "
|
|
115
|
-
"eslint-import-resolver-typescript": "
|
|
116
|
-
"eslint-plugin-import": "
|
|
117
|
-
"eslint-plugin-import-newlines": "
|
|
116
|
+
"eslint": "~9.21.0",
|
|
117
|
+
"eslint-import-resolver-node": "~0.3.9",
|
|
118
|
+
"eslint-import-resolver-typescript": "~3.8.0",
|
|
119
|
+
"eslint-plugin-import": "~2.31.0",
|
|
120
|
+
"eslint-plugin-import-newlines": "~1.4.0",
|
|
118
121
|
"eslint-plugin-jest": "~28.11.0",
|
|
119
122
|
"eslint-plugin-jsdoc": "~50.6.0",
|
|
120
123
|
"eslint-plugin-prefer-arrow": "~1.2.3",
|
|
121
|
-
"eslint-plugin-unicorn": "
|
|
122
|
-
"eslint-plugin-unused-imports": "
|
|
124
|
+
"eslint-plugin-unicorn": "~56.0.0",
|
|
125
|
+
"eslint-plugin-unused-imports": "~4.1.4",
|
|
123
126
|
"globals": "^15.9.0",
|
|
124
127
|
"isomorphic-fetch": "~3.0.0",
|
|
125
128
|
"jest": "~29.7.0",
|
|
@@ -127,15 +130,15 @@
|
|
|
127
130
|
"jsonc-eslint-parser": "~2.4.0",
|
|
128
131
|
"mem-fs": "^4.0.0",
|
|
129
132
|
"npm-run-all2": "^7.0.0",
|
|
130
|
-
"nx": "~20.
|
|
133
|
+
"nx": "~20.4.0",
|
|
131
134
|
"openapi-types": "^12.0.0",
|
|
132
135
|
"pid-from-port": "^1.1.3",
|
|
133
136
|
"semver": "^7.5.2",
|
|
134
137
|
"ts-jest": "~29.2.5",
|
|
135
138
|
"ts-node": "~10.9.2",
|
|
136
139
|
"type-fest": "^4.30.1",
|
|
137
|
-
"typescript": "~5.
|
|
138
|
-
"typescript-eslint": "~8.
|
|
140
|
+
"typescript": "~5.7.3",
|
|
141
|
+
"typescript-eslint": "~8.25.0"
|
|
139
142
|
},
|
|
140
143
|
"generatorDependencies": {
|
|
141
144
|
"@swc/cli": "~0.6.0",
|
|
@@ -143,7 +146,7 @@
|
|
|
143
146
|
"@swc/helpers": "~0.5.0",
|
|
144
147
|
"@commitlint/cli": "^19.0.0",
|
|
145
148
|
"@commitlint/config-conventional": "^19.0.0",
|
|
146
|
-
"@typescript-eslint/eslint-plugin": "~8.
|
|
149
|
+
"@typescript-eslint/eslint-plugin": "~8.25.0",
|
|
147
150
|
"jest-junit": "~16.0.0",
|
|
148
151
|
"lint-staged": "^15.0.0",
|
|
149
152
|
"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,
|
|
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 {
|
|
25
|
-
return
|
|
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,
|
|
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 {
|
|
45
|
-
return
|
|
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,
|
|
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 {
|
|
151
|
-
return
|
|
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,
|
|
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 {
|
|
250
|
-
return
|
|
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
|
|
Binary file
|
|
Binary file
|
|
@@ -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,
|
|
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 {
|
|
79
|
-
return
|
|
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,
|
|
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 {
|
|
151
|
-
return
|
|
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
|
|
Binary file
|