@ama-sdk/schematics 10.2.0-prerelease.45 → 10.2.0-prerelease.47
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 +8 -8
- package/schematics/java/client-core/swagger-codegen-java-client/target/javaClient-swagger-codegen-tests.jar +0 -0
- package/schematics/java/client-core/swagger-codegen-java-client/target/javaClient-swagger-codegen.jar +0 -0
- package/schematics/ng-update/typescript/index.d.ts +4 -0
- package/schematics/ng-update/typescript/index.d.ts.map +1 -1
- package/schematics/ng-update/typescript/index.js +12 -1
- package/schematics/ng-update/typescript/index.js.map +1 -1
- package/schematics/ng-update/typescript/v10.1/add-presets-renovate.d.ts +3 -0
- package/schematics/ng-update/typescript/v10.1/add-presets-renovate.d.ts.map +1 -0
- package/schematics/ng-update/typescript/v10.1/add-presets-renovate.js +26 -0
- package/schematics/ng-update/typescript/v10.1/add-presets-renovate.js.map +1 -0
- 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/shell/templates/base/.renovaterc.json +5 -56
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ama-sdk/schematics",
|
|
3
|
-
"version": "10.2.0-prerelease.
|
|
3
|
+
"version": "10.2.0-prerelease.47",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -48,12 +48,12 @@
|
|
|
48
48
|
}
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
|
-
"@ama-sdk/core": "^10.2.0-prerelease.
|
|
51
|
+
"@ama-sdk/core": "^10.2.0-prerelease.47",
|
|
52
52
|
"@angular-devkit/core": "~17.3.0",
|
|
53
53
|
"@angular-devkit/schematics": "~17.3.0",
|
|
54
54
|
"@angular-devkit/schematics-cli": "^17.0.1",
|
|
55
55
|
"@angular/cli": "^17.0.1",
|
|
56
|
-
"@o3r/schematics": "^10.2.0-prerelease.
|
|
56
|
+
"@o3r/schematics": "^10.2.0-prerelease.47",
|
|
57
57
|
"@openapitools/openapi-generator-cli": "~2.13.0",
|
|
58
58
|
"@schematics/angular": "~17.3.0"
|
|
59
59
|
},
|
|
@@ -68,16 +68,16 @@
|
|
|
68
68
|
"tslib": "^2.6.2"
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
|
-
"@ama-sdk/core": "^10.2.0-prerelease.
|
|
71
|
+
"@ama-sdk/core": "^10.2.0-prerelease.47",
|
|
72
72
|
"@angular-devkit/schematics-cli": "~17.3.0",
|
|
73
73
|
"@angular-eslint/eslint-plugin": "~17.3.0",
|
|
74
74
|
"@angular/cli": "~17.3.0",
|
|
75
75
|
"@nx/eslint-plugin": "~18.1.0",
|
|
76
76
|
"@nx/jest": "~18.1.0",
|
|
77
|
-
"@o3r/build-helpers": "^10.2.0-prerelease.
|
|
78
|
-
"@o3r/eslint-plugin": "^10.2.0-prerelease.
|
|
79
|
-
"@o3r/schematics": "^10.2.0-prerelease.
|
|
80
|
-
"@o3r/test-helpers": "^10.2.0-prerelease.
|
|
77
|
+
"@o3r/build-helpers": "^10.2.0-prerelease.47",
|
|
78
|
+
"@o3r/eslint-plugin": "^10.2.0-prerelease.47",
|
|
79
|
+
"@o3r/schematics": "^10.2.0-prerelease.47",
|
|
80
|
+
"@o3r/test-helpers": "^10.2.0-prerelease.47",
|
|
81
81
|
"@openapitools/openapi-generator-cli": "~2.13.0",
|
|
82
82
|
"@schematics/angular": "~17.3.0",
|
|
83
83
|
"@stylistic/eslint-plugin-ts": "^1.5.4",
|
|
Binary file
|
|
Binary file
|
|
@@ -3,4 +3,8 @@ import { Rule } from '@angular-devkit/schematics';
|
|
|
3
3
|
* update of Otter library V10.0
|
|
4
4
|
*/
|
|
5
5
|
export declare function updateV10_0(): Rule;
|
|
6
|
+
/**
|
|
7
|
+
* Update of Ama-sdk library V10.1
|
|
8
|
+
*/
|
|
9
|
+
export declare function updateV10_1(): Rule;
|
|
6
10
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../schematics/ng-update/typescript/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAS,IAAI,EAAE,MAAM,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../schematics/ng-update/typescript/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAS,IAAI,EAAE,MAAM,4BAA4B,CAAC;AAIzD;;GAEG;AACH,wBAAgB,WAAW,IAAI,IAAI,CAQlC;AAED;;GAEG;AACH,wBAAgB,WAAW,IAAI,IAAI,CAMlC"}
|
|
@@ -2,9 +2,10 @@
|
|
|
2
2
|
/* eslint-disable @typescript-eslint/naming-convention */
|
|
3
3
|
/* eslint-disable camelcase */
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.updateV10_0 = void 0;
|
|
5
|
+
exports.updateV10_1 = exports.updateV10_0 = void 0;
|
|
6
6
|
const schematics_1 = require("@angular-devkit/schematics");
|
|
7
7
|
const script_removal_1 = require("./v10.0/script-removal");
|
|
8
|
+
const add_presets_renovate_1 = require("./v10.1/add-presets-renovate");
|
|
8
9
|
/**
|
|
9
10
|
* update of Otter library V10.0
|
|
10
11
|
*/
|
|
@@ -17,4 +18,14 @@ function updateV10_0() {
|
|
|
17
18
|
return (0, schematics_1.chain)(updateRules);
|
|
18
19
|
}
|
|
19
20
|
exports.updateV10_0 = updateV10_0;
|
|
21
|
+
/**
|
|
22
|
+
* Update of Ama-sdk library V10.1
|
|
23
|
+
*/
|
|
24
|
+
function updateV10_1() {
|
|
25
|
+
const updateRules = [
|
|
26
|
+
(0, add_presets_renovate_1.addPresetsRenovate)()
|
|
27
|
+
];
|
|
28
|
+
return (0, schematics_1.chain)(updateRules);
|
|
29
|
+
}
|
|
30
|
+
exports.updateV10_1 = updateV10_1;
|
|
20
31
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../schematics/ng-update/typescript/index.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,8BAA8B;;;AAE9B,2DAAyD;AACzD,2DAA6G;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../schematics/ng-update/typescript/index.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,8BAA8B;;;AAE9B,2DAAyD;AACzD,2DAA6G;AAC7G,uEAAkE;AAElE;;GAEG;AACH,SAAgB,WAAW;IACzB,MAAM,WAAW,GAAW;QAC1B,IAAA,wCAAuB,GAAE;QACzB,IAAA,uCAAsB,GAAE;QACxB,IAAA,mCAAkB,GAAE;KACrB,CAAC;IAEF,OAAO,IAAA,kBAAK,EAAC,WAAW,CAAC,CAAC;AAC5B,CAAC;AARD,kCAQC;AAED;;GAEG;AACH,SAAgB,WAAW;IACzB,MAAM,WAAW,GAAW;QAC1B,IAAA,yCAAkB,GAAE;KACrB,CAAC;IAEF,OAAO,IAAA,kBAAK,EAAC,WAAW,CAAC,CAAC;AAC5B,CAAC;AAND,kCAMC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"add-presets-renovate.d.ts","sourceRoot":"","sources":["../../../../../schematics/ng-update/typescript/v10.1/add-presets-renovate.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,4BAA4B,CAAC;AAOvD,eAAO,MAAM,kBAAkB,QAAO,IAerC,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.addPresetsRenovate = void 0;
|
|
4
|
+
const renovatePresets = [
|
|
5
|
+
'github>AmadeusITGroup/otter//tools/renovate/base',
|
|
6
|
+
'github>AmadeusITGroup/otter//tools/renovate/sdk'
|
|
7
|
+
];
|
|
8
|
+
const addPresetsRenovate = () => {
|
|
9
|
+
return (tree, context) => {
|
|
10
|
+
if (tree.exists('.renovaterc.json')) {
|
|
11
|
+
const renovateConfig = tree.readJson('.renovaterc.json');
|
|
12
|
+
renovateConfig.extends ||= [];
|
|
13
|
+
renovatePresets
|
|
14
|
+
.filter((preset) => !renovateConfig.extends.includes(preset))
|
|
15
|
+
.forEach((preset) => renovateConfig.extends.push(preset));
|
|
16
|
+
tree.overwrite('renovate.json', JSON.stringify(renovateConfig, null, 2));
|
|
17
|
+
}
|
|
18
|
+
else {
|
|
19
|
+
context.logger.debug('renovate.json not found, skipping preset addition');
|
|
20
|
+
}
|
|
21
|
+
// eslint-disable-next-line max-len
|
|
22
|
+
context.logger.info('To activate the auto-generation based on a dependency package, replace "my-specification-package", in your Renovate configuration, by your specification dependency package name.');
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
exports.addPresetsRenovate = addPresetsRenovate;
|
|
26
|
+
//# sourceMappingURL=add-presets-renovate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"add-presets-renovate.js","sourceRoot":"","sources":["../../../../../schematics/ng-update/typescript/v10.1/add-presets-renovate.ts"],"names":[],"mappings":";;;AAEA,MAAM,eAAe,GAAG;IACtB,kDAAkD;IAClD,iDAAiD;CAClD,CAAC;AAEK,MAAM,kBAAkB,GAAG,GAAS,EAAE;IAC3C,OAAO,CAAC,IAAI,EAAE,OAAO,EAAE,EAAE;QACvB,IAAI,IAAI,CAAC,MAAM,CAAC,kBAAkB,CAAC,EAAE,CAAC;YACpC,MAAM,cAAc,GAAG,IAAI,CAAC,QAAQ,CAAC,kBAAkB,CAAQ,CAAC;YAChE,cAAc,CAAC,OAAO,KAAK,EAAE,CAAC;YAC9B,eAAe;iBACZ,MAAM,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,cAAc,CAAC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;iBAC5D,OAAO,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,cAAc,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;YAC5D,IAAI,CAAC,SAAS,CAAC,eAAe,EAAE,IAAI,CAAC,SAAS,CAAC,cAAc,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;QAC3E,CAAC;aAAM,CAAC;YACN,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,mDAAmD,CAAC,CAAC;QAC5E,CAAC;QACD,mCAAmC;QACnC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,mLAAmL,CAAC,CAAC;IAC3M,CAAC,CAAC;AACJ,CAAC,CAAC;AAfW,QAAA,kBAAkB,sBAe7B"}
|
|
Binary file
|
|
Binary file
|
|
@@ -2,19 +2,16 @@
|
|
|
2
2
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
|
3
3
|
"extends": [
|
|
4
4
|
"config:base",
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"group:test",
|
|
9
|
-
"group:linters"
|
|
5
|
+
"github>AmadeusITGroup/otter//tools/renovate/base",
|
|
6
|
+
"github>AmadeusITGroup/otter//tools/renovate/sdk",
|
|
7
|
+
"github>AmadeusITGroup/otter//tools/renovate/sdk-spec-upgrade(my-specification-package)"
|
|
10
8
|
],
|
|
11
9
|
"prConcurrentLimit": 0,
|
|
12
10
|
"prHourlyLimit": 0,
|
|
13
11
|
"baseBranches": [
|
|
14
|
-
"master"
|
|
12
|
+
"master",
|
|
13
|
+
"main"
|
|
15
14
|
],
|
|
16
|
-
"endpoint": "https://dev.azure.com/AmadeusDigitalAirline",
|
|
17
|
-
"platform": "azure",
|
|
18
15
|
"enabledManagers": [
|
|
19
16
|
"npm"
|
|
20
17
|
],
|
|
@@ -32,54 +29,6 @@
|
|
|
32
29
|
"automerge": true,
|
|
33
30
|
"platformAutomerge": true,
|
|
34
31
|
"packageRules": [
|
|
35
|
-
{
|
|
36
|
-
"matchPackagePrefixes": [
|
|
37
|
-
"@my-api-scope",
|
|
38
|
-
"@ama-sdk/generator"
|
|
39
|
-
],
|
|
40
|
-
"postUpgradeTasks": {
|
|
41
|
-
"commands": [
|
|
42
|
-
"<%=packageManager%> install",
|
|
43
|
-
"<%=packageManager%> run generate"
|
|
44
|
-
],
|
|
45
|
-
"executionMode": "branch"
|
|
46
|
-
}
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
"matchPackagePrefixes": [
|
|
50
|
-
"@my-api-scope"
|
|
51
|
-
],
|
|
52
|
-
"rangeStrategy": "bump",
|
|
53
|
-
"groupName": "Swagger Specification upgrade",
|
|
54
|
-
"groupSlug": "spec-upgrade"
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
"matchPackagePrefixes": [
|
|
58
|
-
"@my-api-scope"
|
|
59
|
-
],
|
|
60
|
-
"matchBaseBranches": [
|
|
61
|
-
"/^release\/.*/"
|
|
62
|
-
],
|
|
63
|
-
"rangeStrategy": "in-range-only"
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
"matchPackageNames": [
|
|
67
|
-
"@ama-sdk/core",
|
|
68
|
-
"@ama-sdk/schematics"
|
|
69
|
-
],
|
|
70
|
-
"rangeStrategy": "bump",
|
|
71
|
-
"groupName": "SDK Core and Generator dependencies",
|
|
72
|
-
"groupSlug": "sdk-core-dependencies"
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
"excludePackagePrefixes": [
|
|
76
|
-
"@my-api-scope"
|
|
77
|
-
],
|
|
78
|
-
"matchBaseBranches": [
|
|
79
|
-
"/^release\/.*/"
|
|
80
|
-
],
|
|
81
|
-
"enabled": false
|
|
82
|
-
},
|
|
83
32
|
{
|
|
84
33
|
"matchDepTypes": [
|
|
85
34
|
"peerDependencies"
|