@ama-sdk/schematics 14.0.0-next.4 → 14.0.0-next.7
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 +16 -16
- package/schematics/code-generator/open-api-cli-generator/open-api-cli-generator.d.ts +1 -1
- package/schematics/code-generator/open-api-cli-generator/open-api-cli-generator.js +1 -1
- package/schematics/helpers/node-install.d.ts +1 -1
- package/schematics/ng-update/typescript/v10.3/update-openapiversion.d.ts +1 -1
- package/schematics/ng-update/typescript/v10.3/update-openapiversion.js +1 -1
- 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.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ama-sdk/schematics",
|
|
3
|
-
"version": "14.0.0-next.
|
|
3
|
+
"version": "14.0.0-next.7",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -61,21 +61,21 @@
|
|
|
61
61
|
}
|
|
62
62
|
},
|
|
63
63
|
"peerDependencies": {
|
|
64
|
-
"@ama-sdk/core": "~14.0.0-next.
|
|
64
|
+
"@ama-sdk/core": "~14.0.0-next.7",
|
|
65
65
|
"@angular-devkit/core": "^20.0.0",
|
|
66
66
|
"@angular-devkit/schematics-cli": "^20.0.0",
|
|
67
67
|
"@angular/cli": "^20.0.0",
|
|
68
|
-
"@o3r/schematics": "~14.0.0-next.
|
|
69
|
-
"@o3r/telemetry": "~14.0.0-next.
|
|
68
|
+
"@o3r/schematics": "~14.0.0-next.7",
|
|
69
|
+
"@o3r/telemetry": "~14.0.0-next.7",
|
|
70
70
|
"@openapitools/openapi-generator-cli": "^2.15.0",
|
|
71
71
|
"openapi-types": "^12.0.0",
|
|
72
72
|
"type-fest": "^4.30.1",
|
|
73
73
|
"typescript": "^5.9.0"
|
|
74
74
|
},
|
|
75
75
|
"dependencies": {
|
|
76
|
-
"@angular-devkit/core": "~20.3.
|
|
77
|
-
"@angular-devkit/schematics": "~20.3.
|
|
78
|
-
"@o3r/schematics": "~14.0.0-next.
|
|
76
|
+
"@angular-devkit/core": "~20.3.13",
|
|
77
|
+
"@angular-devkit/schematics": "~20.3.13",
|
|
78
|
+
"@o3r/schematics": "~14.0.0-next.7",
|
|
79
79
|
"chokidar": "^4.0.3",
|
|
80
80
|
"globby": "^11.1.0",
|
|
81
81
|
"js-yaml": "^4.1.1",
|
|
@@ -86,23 +86,23 @@
|
|
|
86
86
|
"tslib": "^2.6.2"
|
|
87
87
|
},
|
|
88
88
|
"devDependencies": {
|
|
89
|
-
"@ama-sdk/core": "~14.0.0-next.
|
|
90
|
-
"@angular-devkit/schematics-cli": "~20.3.
|
|
91
|
-
"@angular/cli": "~20.3.
|
|
89
|
+
"@ama-sdk/core": "~14.0.0-next.7",
|
|
90
|
+
"@angular-devkit/schematics-cli": "~20.3.13",
|
|
91
|
+
"@angular/cli": "~20.3.13",
|
|
92
92
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.4.0",
|
|
93
93
|
"@nx/eslint-plugin": "~21.6.0",
|
|
94
94
|
"@nx/jest": "~21.6.0",
|
|
95
|
-
"@o3r/build-helpers": "~14.0.0-next.
|
|
96
|
-
"@o3r/eslint-plugin": "~14.0.0-next.
|
|
97
|
-
"@o3r/telemetry": "~14.0.0-next.
|
|
98
|
-
"@o3r/test-helpers": "~14.0.0-next.
|
|
95
|
+
"@o3r/build-helpers": "~14.0.0-next.7",
|
|
96
|
+
"@o3r/eslint-plugin": "~14.0.0-next.7",
|
|
97
|
+
"@o3r/telemetry": "~14.0.0-next.7",
|
|
98
|
+
"@o3r/test-helpers": "~14.0.0-next.7",
|
|
99
99
|
"@openapitools/openapi-generator-cli": "~2.25.0",
|
|
100
|
-
"@schematics/angular": "~20.3.
|
|
100
|
+
"@schematics/angular": "~20.3.13",
|
|
101
101
|
"@stylistic/eslint-plugin": "~5.6.0",
|
|
102
102
|
"@types/jest": "~30.0.0",
|
|
103
103
|
"@types/js-yaml": "^4.0.5",
|
|
104
104
|
"@types/minimist": "^1.2.2",
|
|
105
|
-
"@types/node": "~
|
|
105
|
+
"@types/node": "~24.10.0",
|
|
106
106
|
"@types/semver": "^7.3.13",
|
|
107
107
|
"@typescript-eslint/parser": "~8.47.0",
|
|
108
108
|
"angular-eslint": "~20.6.0",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CodeGenerator } from '../code-generator';
|
|
2
2
|
import { OpenApiCliOptions } from './open-api-cli-options';
|
|
3
3
|
/**
|
|
4
|
-
* Manage the schematic to generate a sdk using the
|
|
4
|
+
* Manage the schematic to generate a sdk using the `@openapitools/openapi-generator-cli`
|
|
5
5
|
*/
|
|
6
6
|
export declare class OpenApiCliGenerator extends CodeGenerator<OpenApiCliOptions> {
|
|
7
7
|
protected readonly packageManager: 'npm' | 'yarn';
|
|
@@ -7,7 +7,7 @@ const node_install_1 = require("../../helpers/node-install");
|
|
|
7
7
|
const code_generator_1 = require("../code-generator");
|
|
8
8
|
const open_api_cli_options_1 = require("./open-api-cli-options");
|
|
9
9
|
/**
|
|
10
|
-
* Manage the schematic to generate a sdk using the
|
|
10
|
+
* Manage the schematic to generate a sdk using the `@openapitools/openapi-generator-cli`
|
|
11
11
|
*/
|
|
12
12
|
class OpenApiCliGenerator extends code_generator_1.CodeGenerator {
|
|
13
13
|
get packageManagerRunner() {
|
|
@@ -6,7 +6,7 @@ import type { SupportedPackageManagers } from '@o3r/schematics';
|
|
|
6
6
|
*/
|
|
7
7
|
export declare function getPackageManagerName(enforcedNpmManager?: SupportedPackageManagers | '' | null): SupportedPackageManagers;
|
|
8
8
|
/**
|
|
9
|
-
* Duplication of the interface not exposed by the
|
|
9
|
+
* Duplication of the interface not exposed by the `@angular-devkit/schematics`
|
|
10
10
|
*/
|
|
11
11
|
export interface NodePackageInstallTaskOptions {
|
|
12
12
|
packageManager?: 'yarn' | 'npm' | '';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Rule } from '@angular-devkit/schematics';
|
|
2
2
|
/**
|
|
3
|
-
* Update open api version used in the project to match with the one used in
|
|
3
|
+
* Update open api version used in the project to match with the one used in `@ama-sdk/schematics:typescript-core`
|
|
4
4
|
*/
|
|
5
5
|
export declare const updateOpenApiVersionInProject: () => Rule;
|
|
6
6
|
//# sourceMappingURL=update-openapiversion.d.ts.map
|
|
@@ -5,7 +5,7 @@ const schematics_1 = require("@angular-devkit/schematics");
|
|
|
5
5
|
const schematics_2 = require("@o3r/schematics");
|
|
6
6
|
const semver = require("semver");
|
|
7
7
|
/**
|
|
8
|
-
* Update open api version used in the project to match with the one used in
|
|
8
|
+
* Update open api version used in the project to match with the one used in `@ama-sdk/schematics:typescript-core`
|
|
9
9
|
*/
|
|
10
10
|
const updateOpenApiVersionInProject = () => {
|
|
11
11
|
const overwriteOpenApiVersion = (pathOfWorkspace) => {
|
|
Binary file
|
|
Binary file
|
|
@@ -47,7 +47,7 @@ function ngGenerateMockFn(options) {
|
|
|
47
47
|
if (!(new RegExp(`./${dasherizeModelName}/index`).test(currentComponentIndex))) {
|
|
48
48
|
currentComponentIndex = `export * from './${dasherizeModelName}/index';\n` + currentComponentIndex;
|
|
49
49
|
}
|
|
50
|
-
currentComponentIndex = `${currentComponentIndex.split('\n').filter((e) => !!e).
|
|
50
|
+
currentComponentIndex = `${currentComponentIndex.split('\n').filter((e) => !!e).toSorted().join('\n')}\n`;
|
|
51
51
|
tree.overwrite(barrelPath, currentComponentIndex);
|
|
52
52
|
}
|
|
53
53
|
return tree;
|