@abp/nx.generators 7.3.0-rc.1
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/README.md +11 -0
- package/generators.json +14 -0
- package/package.json +19 -0
- package/src/generators/generate-proxy/generator.d.ts +3 -0
- package/src/generators/generate-proxy/generator.js +14 -0
- package/src/generators/generate-proxy/generator.js.map +1 -0
- package/src/generators/generate-proxy/index.d.ts +2 -0
- package/src/generators/generate-proxy/index.js +6 -0
- package/src/generators/generate-proxy/index.js.map +1 -0
- package/src/generators/generate-proxy/schema.d.ts +9 -0
- package/src/generators/generate-proxy/schema.json +94 -0
- package/src/generators/update-version/generator.d.ts +4 -0
- package/src/generators/update-version/generator.js +45 -0
- package/src/generators/update-version/generator.js.map +1 -0
- package/src/generators/update-version/index.d.ts +3 -0
- package/src/generators/update-version/index.js +7 -0
- package/src/generators/update-version/index.js.map +1 -0
- package/src/generators/update-version/schema.d.ts +5 -0
- package/src/generators/update-version/schema.json +22 -0
- package/src/generators/update-version/utils.d.ts +8 -0
- package/src/generators/update-version/utils.js +62 -0
- package/src/generators/update-version/utils.js.map +1 -0
- package/src/index.d.ts +1 -0
- package/src/index.js +5 -0
- package/src/index.js.map +1 -0
package/README.md
ADDED
package/generators.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"generators": {
|
|
3
|
+
"generate-proxy": {
|
|
4
|
+
"factory": "./src/generators/generate-proxy/generator",
|
|
5
|
+
"schema": "./src/generators/generate-proxy/schema.json",
|
|
6
|
+
"description": "generate-proxy generator"
|
|
7
|
+
},
|
|
8
|
+
"update-version": {
|
|
9
|
+
"factory": "./src/generators/update-version/generator",
|
|
10
|
+
"schema": "./src/generators/update-version/schema.json",
|
|
11
|
+
"description": "update-version generator"
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@abp/nx.generators",
|
|
3
|
+
"version": "7.3.0-rc.1",
|
|
4
|
+
"homepage": "https://abp.io",
|
|
5
|
+
"generators": "./generators.json",
|
|
6
|
+
"type": "commonjs",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "https://github.com/abpframework/abp.git"
|
|
10
|
+
},
|
|
11
|
+
"publishConfig": {
|
|
12
|
+
"access": "public"
|
|
13
|
+
},
|
|
14
|
+
"dependencies": {
|
|
15
|
+
"@nrwl/devkit": "16.2.2"
|
|
16
|
+
},
|
|
17
|
+
"main": "./src/index.js",
|
|
18
|
+
"types": "./src/index.d.ts"
|
|
19
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const ngcli_adapter_1 = require("@nx/devkit/ngcli-adapter");
|
|
4
|
+
async function default_1(host, schema) {
|
|
5
|
+
const runAngularLibrarySchematic = (0, ngcli_adapter_1.wrapAngularDevkitSchematic)('@abp/ng.schematics', 'proxy-add');
|
|
6
|
+
await runAngularLibrarySchematic(host, {
|
|
7
|
+
...schema,
|
|
8
|
+
});
|
|
9
|
+
return () => {
|
|
10
|
+
console.log(`proxy added '${schema.target}`);
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
exports.default = default_1;
|
|
14
|
+
//# sourceMappingURL=generator.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generator.js","sourceRoot":"","sources":["../../../../../../packages/generators/src/generators/generate-proxy/generator.ts"],"names":[],"mappings":";;AAEA,4DAAsE;AAEvD,KAAK,oBAAW,IAAU,EAAE,MAAoC;IAC7E,MAAM,0BAA0B,GAAG,IAAA,0CAA0B,EAAC,oBAAoB,EAAE,WAAW,CAAC,CAAC;IAEjG,MAAM,0BAA0B,CAAC,IAAI,EAAE;QACrC,GAAG,MAAM;KACV,CAAC,CAAC;IAEH,OAAO,GAAG,EAAE;QACV,OAAO,CAAC,GAAG,CAAC,gBAAgB,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC;IAC/C,CAAC,CAAC;AACJ,CAAC;AAVD,4BAUC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/generators/src/generators/generate-proxy/index.ts"],"names":[],"mappings":";;;AAAA,mDAAyB;AACzB,sDAA4B"}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/schema",
|
|
3
|
+
"$id": "GenerateProxy",
|
|
4
|
+
"title": "",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"module": {
|
|
8
|
+
"description": "Backend module name",
|
|
9
|
+
"type": "string",
|
|
10
|
+
"$default": {
|
|
11
|
+
"$source": "argv",
|
|
12
|
+
"index": 0
|
|
13
|
+
},
|
|
14
|
+
"x-prompt": "Please enter backend module name. (default: \"app\")"
|
|
15
|
+
},
|
|
16
|
+
"apiName": {
|
|
17
|
+
"description": "Backend api name, a.k.a. remoteServiceName",
|
|
18
|
+
"type": "string",
|
|
19
|
+
"$default": {
|
|
20
|
+
"$source": "argv",
|
|
21
|
+
"index": 1
|
|
22
|
+
},
|
|
23
|
+
"x-prompt": "Please enter backend api name, a.k.a. remoteServiceName. (default: \"default\")"
|
|
24
|
+
},
|
|
25
|
+
"source": {
|
|
26
|
+
"description": "Source Angular project for API definition URL & root namespace resolution",
|
|
27
|
+
"type": "string",
|
|
28
|
+
"$default": {
|
|
29
|
+
"$source": "argv",
|
|
30
|
+
"index": 2
|
|
31
|
+
},
|
|
32
|
+
"x-prompt": "Please enter source Angular project for API definition URL & root namespace resolution. (default: workspace \"defaultProject\")"
|
|
33
|
+
},
|
|
34
|
+
"target": {
|
|
35
|
+
"description": "Target Angular project to place the generated code",
|
|
36
|
+
"type": "string",
|
|
37
|
+
"$default": {
|
|
38
|
+
"$source": "argv",
|
|
39
|
+
"index": 3
|
|
40
|
+
},
|
|
41
|
+
"x-prompt": "Please enter target Angular project to place the generated code. (default: workspace \"defaultProject\")"
|
|
42
|
+
},
|
|
43
|
+
"url": {
|
|
44
|
+
"description": "Url for API definition",
|
|
45
|
+
"type": "string",
|
|
46
|
+
"$default": {
|
|
47
|
+
"$source": "argv",
|
|
48
|
+
"index": 4
|
|
49
|
+
},
|
|
50
|
+
"x-prompt": "Please enter URL for API definition (default: API Name's url in environment file)"
|
|
51
|
+
},
|
|
52
|
+
"serviceType": {
|
|
53
|
+
"description": "Service type to the generated code",
|
|
54
|
+
"type": "string",
|
|
55
|
+
"$default": {
|
|
56
|
+
"$source": "argv",
|
|
57
|
+
"index": 5
|
|
58
|
+
},
|
|
59
|
+
"enum": [
|
|
60
|
+
"application",
|
|
61
|
+
"integration",
|
|
62
|
+
"all"
|
|
63
|
+
],
|
|
64
|
+
"x-prompt": {
|
|
65
|
+
"message": "Specifies the service type to generate. `application`, `integration` and `all`, Default value: `application`",
|
|
66
|
+
"type": "list",
|
|
67
|
+
"items": [
|
|
68
|
+
{
|
|
69
|
+
"value": "all",
|
|
70
|
+
"label": "All"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"value": "application",
|
|
74
|
+
"label": "Application"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"value": "integration",
|
|
78
|
+
"label": "Integration"
|
|
79
|
+
}
|
|
80
|
+
]
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
"entryPoint": {
|
|
84
|
+
"description": "Target Angular project to place the generated code",
|
|
85
|
+
"type": "string",
|
|
86
|
+
"$default": {
|
|
87
|
+
"$source": "argv",
|
|
88
|
+
"index": 6
|
|
89
|
+
},
|
|
90
|
+
"x-prompt": "Please enter target entry point to place the generated code. (default: null)"
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
"required": []
|
|
94
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.updateVersionGenerator = void 0;
|
|
4
|
+
const devkit_1 = require("@nx/devkit");
|
|
5
|
+
const utils_1 = require("./utils");
|
|
6
|
+
function updateVersionGenerator(tree, schema) {
|
|
7
|
+
const packageJsonList = (0, utils_1.getPackageJsonList)(tree, schema.packages || []);
|
|
8
|
+
const getVersionNumberByPackageName = (0, utils_1.getVersionByPackageNameFactory)(schema.abpVersion, schema.leptonXVersion);
|
|
9
|
+
packageJsonList.forEach(path => {
|
|
10
|
+
(0, devkit_1.updateJson)(tree, path, pkgJson => {
|
|
11
|
+
pkgJson.version = getVersionNumberByPackageName(pkgJson.name) || pkgJson.version;
|
|
12
|
+
console.log('\x1b[32m', `Updated ${pkgJson.name} version to ${pkgJson.version}`);
|
|
13
|
+
Object.keys(pkgJson.dependencies || {}).forEach(key => {
|
|
14
|
+
const v = getVersionNumberByPackageName(key);
|
|
15
|
+
if (!v) {
|
|
16
|
+
return;
|
|
17
|
+
}
|
|
18
|
+
pkgJson.dependencies[key] = pkgJson.dependencies[key].replace(utils_1.semverRegex, v);
|
|
19
|
+
console.log('\x1b[32m', `Updated ${key} version to ${v} in dependencies`);
|
|
20
|
+
});
|
|
21
|
+
Object.keys(pkgJson.peerDependencies || {}).forEach(key => {
|
|
22
|
+
const v = getVersionNumberByPackageName(key);
|
|
23
|
+
if (!v) {
|
|
24
|
+
return;
|
|
25
|
+
}
|
|
26
|
+
pkgJson.peerDependencies[key] = pkgJson.peerDependencies[key].replace(utils_1.semverRegex, v);
|
|
27
|
+
console.log('\x1b[32m', `Updated ${key} version to ${schema.abpVersion} in peerDependencies`);
|
|
28
|
+
});
|
|
29
|
+
Object.keys(pkgJson.devDependencies || {}).forEach(key => {
|
|
30
|
+
const v = getVersionNumberByPackageName(key);
|
|
31
|
+
if (!v) {
|
|
32
|
+
return;
|
|
33
|
+
}
|
|
34
|
+
pkgJson.devDependencies[key] = pkgJson.devDependencies[key].replace(utils_1.semverRegex, v);
|
|
35
|
+
console.log('\x1b[32m', `Updated ${key} version to ${schema.abpVersion} on devDependencies`);
|
|
36
|
+
});
|
|
37
|
+
return pkgJson;
|
|
38
|
+
});
|
|
39
|
+
});
|
|
40
|
+
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
41
|
+
return () => { };
|
|
42
|
+
}
|
|
43
|
+
exports.updateVersionGenerator = updateVersionGenerator;
|
|
44
|
+
exports.default = updateVersionGenerator;
|
|
45
|
+
//# sourceMappingURL=generator.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generator.js","sourceRoot":"","sources":["../../../../../../packages/generators/src/generators/update-version/generator.ts"],"names":[],"mappings":";;;AAAA,uCAA8C;AAE9C,mCAA0F;AAE1F,SAAgB,sBAAsB,CAAC,IAAU,EAAE,MAAoC;IACrF,MAAM,eAAe,GAAG,IAAA,0BAAkB,EAAC,IAAI,EAAE,MAAM,CAAC,QAAQ,IAAI,EAAE,CAAC,CAAC;IACxE,MAAM,6BAA6B,GAAG,IAAA,sCAA8B,EAClE,MAAM,CAAC,UAAU,EACjB,MAAM,CAAC,cAAc,CACtB,CAAC;IACF,eAAe,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE;QAC7B,IAAA,mBAAU,EAAC,IAAI,EAAE,IAAI,EAAE,OAAO,CAAC,EAAE;YAC/B,OAAO,CAAC,OAAO,GAAG,6BAA6B,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,OAAO,CAAC,OAAO,CAAC;YACjF,OAAO,CAAC,GAAG,CAAC,UAAU,EAAE,WAAW,OAAO,CAAC,IAAI,eAAe,OAAO,CAAC,OAAO,EAAE,CAAC,CAAC;YAEjF,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,YAAY,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;gBACpD,MAAM,CAAC,GAAG,6BAA6B,CAAC,GAAG,CAAC,CAAC;gBAC7C,IAAI,CAAC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AO,OAAO,CAAC;QACjB,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;IACH,gEAAgE;IAChE,OAAO,GAAG,EAAE,GAAE,CAAC,CAAC;AAClB,CAAC;AA3CD,wDA2CC;AAED,kBAAe,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./generator"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./schema"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./utils"), exports);
|
|
7
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/generators/src/generators/update-version/index.ts"],"names":[],"mappings":";;;AAAA,sDAA4B;AAC5B,mDAAyB;AACzB,kDAAuB"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/schema",
|
|
3
|
+
"$id": "UpdateVersion",
|
|
4
|
+
"title": "",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"abpVersion": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"description": "",
|
|
10
|
+
"$default": {
|
|
11
|
+
"$source": "argv",
|
|
12
|
+
"index": 0
|
|
13
|
+
},
|
|
14
|
+
"x-prompt": "What ABP version would you like to use?"
|
|
15
|
+
},
|
|
16
|
+
"leptonXVersion": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"description": ""
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"required": ["abpVersion"]
|
|
22
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Tree } from '@nx/devkit';
|
|
2
|
+
export declare const IGNORED_PROJECT_NAMES: string[];
|
|
3
|
+
export declare function getPackageJsonList(tree: Tree, packages: string[]): string[];
|
|
4
|
+
export declare function getPackageNameList(tree: Tree, packageJsonList: string[]): any[];
|
|
5
|
+
export declare function isAbpPack(packageName: any): boolean;
|
|
6
|
+
export declare function functionisLeptonXPack(packageName: any): boolean;
|
|
7
|
+
export declare function getVersionByPackageNameFactory(abpVersionName: string, leptonXVersionName: string): (packageName: string) => string;
|
|
8
|
+
export declare const semverRegex: RegExp;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.semverRegex = exports.getVersionByPackageNameFactory = exports.functionisLeptonXPack = exports.isAbpPack = exports.getPackageNameList = exports.getPackageJsonList = exports.IGNORED_PROJECT_NAMES = void 0;
|
|
4
|
+
const devkit_1 = require("@nx/devkit");
|
|
5
|
+
exports.IGNORED_PROJECT_NAMES = ['apex-chart-components', 'bs-components', 'workspace-plugin'];
|
|
6
|
+
function getPackageJsonList(tree, packages) {
|
|
7
|
+
const project = (0, devkit_1.getProjects)(tree);
|
|
8
|
+
const result = ['/package.json'];
|
|
9
|
+
project.forEach((value, key) => {
|
|
10
|
+
if (value.projectType !== 'library') {
|
|
11
|
+
return;
|
|
12
|
+
}
|
|
13
|
+
if (exports.IGNORED_PROJECT_NAMES.some(x => x === key)) {
|
|
14
|
+
return;
|
|
15
|
+
}
|
|
16
|
+
const projectConfiguration = (0, devkit_1.readProjectConfiguration)(tree, key);
|
|
17
|
+
if (packages.length && !packages.includes(value.name)) {
|
|
18
|
+
return;
|
|
19
|
+
}
|
|
20
|
+
result.push(projectConfiguration.root + '/package.json');
|
|
21
|
+
});
|
|
22
|
+
return result;
|
|
23
|
+
}
|
|
24
|
+
exports.getPackageJsonList = getPackageJsonList;
|
|
25
|
+
function getPackageNameList(tree, packageJsonList) {
|
|
26
|
+
return packageJsonList.map(packageJson => {
|
|
27
|
+
const jsonFile = (0, devkit_1.readJson)(tree, packageJson);
|
|
28
|
+
return jsonFile.name;
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
exports.getPackageNameList = getPackageNameList;
|
|
32
|
+
const leptonPackages = [
|
|
33
|
+
'@abp/ng.theme.lepton-x',
|
|
34
|
+
'@volosoft/ngx-lepton-x',
|
|
35
|
+
'@volo/abp.ng.lepton-x.core',
|
|
36
|
+
'@volo/ngx-lepton-x.core',
|
|
37
|
+
'@volo/ngx-lepton-x.lite',
|
|
38
|
+
'@volosoft/abp.ng.theme.lepton-x',
|
|
39
|
+
];
|
|
40
|
+
const abpPackageNameRegex = /^@(abp|volo|volosoft)\/.*/;
|
|
41
|
+
function isAbpPack(packageName) {
|
|
42
|
+
return abpPackageNameRegex.test(packageName) && !leptonPackages.includes(packageName);
|
|
43
|
+
}
|
|
44
|
+
exports.isAbpPack = isAbpPack;
|
|
45
|
+
function functionisLeptonXPack(packageName) {
|
|
46
|
+
return leptonPackages.includes(packageName);
|
|
47
|
+
}
|
|
48
|
+
exports.functionisLeptonXPack = functionisLeptonXPack;
|
|
49
|
+
function getVersionByPackageNameFactory(abpVersionName, leptonXVersionName) {
|
|
50
|
+
return (packageName) => {
|
|
51
|
+
if (isAbpPack(packageName)) {
|
|
52
|
+
return abpVersionName;
|
|
53
|
+
}
|
|
54
|
+
if (functionisLeptonXPack(packageName)) {
|
|
55
|
+
return leptonXVersionName;
|
|
56
|
+
}
|
|
57
|
+
return '';
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
exports.getVersionByPackageNameFactory = getVersionByPackageNameFactory;
|
|
61
|
+
exports.semverRegex = /\d+\.\d+\.\d+(?:-[a-zA-Z0-9]+(?:\.[a-zA-Z0-9-]+)*)?(?:\+[a-zA-Z0-9]+(?:\.[a-zA-Z0-9-]+)*)?$/;
|
|
62
|
+
//# sourceMappingURL=utils.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../../../packages/generators/src/generators/update-version/utils.ts"],"names":[],"mappings":";;;AAAA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mB,GAAG,2BAA2B,CAAC;AAExD,SAAgB,SAAS,CAAC,WAAW;IACnC,OAAO,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,cAAc,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC;AACxF,CAAC;AAFD,8BAEC;AACD,SAAgB,qBAAqB,CAAC,WAAW;IAC/C,OAAO,cAAc,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC;AAC9C,CAAC;AAFD,sDAEC;AAED,SAAgB,8BAA8B,CAAC,cAAsB,EAAE,kBAA0B;IAC/F,OAAO,CAAC,WAAmB,EAAE,EAAE;QAC7B,IAAI,SAAS,CAAC,WAAW,CAAC,EAAE;YAC1B,OAAO,cAAc,CAAC;SACvB;QACD,IAAI,qBAAqB,CAAC,WAAW,CAAC,EAAE;YACtC,OAAO,kBAAkB,CAAC;SAC3B;QACD,OAAO,EAAE,CAAC;IACZ,CAAC,CAAC;AACJ,CAAC;AAVD,wEAUC;AAEY,QAAA,WAAW,GACtB,6FAA6F,CAAC"}
|
package/src/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './generators/generate-proxy';
|
package/src/index.js
ADDED
package/src/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../packages/generators/src/index.ts"],"names":[],"mappings":";;;AAAA,sEAA2C"}
|