@ama-sdk/core 11.0.0-prerelease.22 → 11.0.0-prerelease.23
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/clear-index.cjs
CHANGED
|
@@ -11,6 +11,7 @@ const argv = minimist(process.argv.slice(2));
|
|
|
11
11
|
const { help } = argv;
|
|
12
12
|
const baseDir = (0, node_path_1.resolve)(process.cwd(), 'src', 'models', 'base');
|
|
13
13
|
if (help) {
|
|
14
|
+
// eslint-disable-next-line no-console
|
|
14
15
|
console.log(`Remove the index files that are no longer necessary after the deletion of the associated model.
|
|
15
16
|
Usage: amasdk-clear-index
|
|
16
17
|
`);
|
package/cli/files-pack.cjs
CHANGED
|
@@ -14,6 +14,7 @@ const distFolder = argv.dist || 'dist';
|
|
|
14
14
|
const baseDir = argv.cwd && path.resolve(process.cwd(), argv.cwd) || process.cwd();
|
|
15
15
|
const { help, watch, noExports } = argv;
|
|
16
16
|
if (help) {
|
|
17
|
+
// eslint-disable-next-line no-console
|
|
17
18
|
console.log(`Prepare the dist folder for publication. This will copy necessary files from src and update the exports in package.json.
|
|
18
19
|
Usage: amasdk-files-pack [--exports] [--watch]
|
|
19
20
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ama-sdk/core",
|
|
3
|
-
"version": "11.0.0-prerelease.
|
|
3
|
+
"version": "11.0.0-prerelease.23",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -73,6 +73,8 @@
|
|
|
73
73
|
},
|
|
74
74
|
"dependencies": {
|
|
75
75
|
"@swc/helpers": "~0.5.0",
|
|
76
|
+
"chokidar": "^3.5.2",
|
|
77
|
+
"minimist": "^1.2.6",
|
|
76
78
|
"tslib": "^2.6.2",
|
|
77
79
|
"uuid": "^9.0.0"
|
|
78
80
|
},
|
|
@@ -80,12 +82,10 @@
|
|
|
80
82
|
"@angular-devkit/schematics": "~17.3.0",
|
|
81
83
|
"@angular/cli": "~17.3.0",
|
|
82
84
|
"@angular/common": "~17.3.0",
|
|
83
|
-
"@o3r/schematics": "^11.0.0-prerelease.
|
|
85
|
+
"@o3r/schematics": "^11.0.0-prerelease.23",
|
|
84
86
|
"@schematics/angular": "~17.3.0",
|
|
85
|
-
"chokidar": "^3.5.2",
|
|
86
87
|
"globby": "^11.1.0",
|
|
87
88
|
"isomorphic-fetch": "^3.0.0",
|
|
88
|
-
"minimist": "^1.2.6",
|
|
89
89
|
"rxjs": "^7.8.1",
|
|
90
90
|
"typescript": "~5.4.2"
|
|
91
91
|
},
|
|
@@ -105,9 +105,6 @@
|
|
|
105
105
|
"@schematics/angular": {
|
|
106
106
|
"optional": true
|
|
107
107
|
},
|
|
108
|
-
"chokidar": {
|
|
109
|
-
"optional": true
|
|
110
|
-
},
|
|
111
108
|
"isomorphic-fetch": {
|
|
112
109
|
"optional": true
|
|
113
110
|
},
|
|
@@ -126,9 +123,9 @@
|
|
|
126
123
|
"@angular/core": "~17.3.0",
|
|
127
124
|
"@nx/eslint-plugin": "~18.3.0",
|
|
128
125
|
"@nx/jest": "~18.3.0",
|
|
129
|
-
"@o3r/build-helpers": "^11.0.0-prerelease.
|
|
130
|
-
"@o3r/eslint-plugin": "^11.0.0-prerelease.
|
|
131
|
-
"@o3r/test-helpers": "^11.0.0-prerelease.
|
|
126
|
+
"@o3r/build-helpers": "^11.0.0-prerelease.23",
|
|
127
|
+
"@o3r/eslint-plugin": "^11.0.0-prerelease.23",
|
|
128
|
+
"@o3r/test-helpers": "^11.0.0-prerelease.23",
|
|
132
129
|
"@schematics/angular": "~17.3.0",
|
|
133
130
|
"@stylistic/eslint-plugin-ts": "^1.5.4",
|
|
134
131
|
"@swc/cli": "~0.3.0",
|
|
@@ -139,7 +136,6 @@
|
|
|
139
136
|
"@types/uuid": "^9.0.0",
|
|
140
137
|
"@typescript-eslint/eslint-plugin": "^7.2.0",
|
|
141
138
|
"@typescript-eslint/parser": "^7.2.0",
|
|
142
|
-
"chokidar": "^3.5.2",
|
|
143
139
|
"copyfiles": "^2.4.1",
|
|
144
140
|
"cpy-cli": "^5.0.0",
|
|
145
141
|
"eslint": "^8.57.0",
|
|
@@ -154,8 +150,10 @@
|
|
|
154
150
|
"jest-junit": "~16.0.0",
|
|
155
151
|
"jsonc-eslint-parser": "~2.4.0",
|
|
156
152
|
"minimist": "^1.2.6",
|
|
153
|
+
"pid-from-port": "^1.1.3",
|
|
157
154
|
"rimraf": "^5.0.1",
|
|
158
155
|
"rxjs": "^7.8.1",
|
|
156
|
+
"semver": "^7.5.2",
|
|
159
157
|
"ts-jest": "~29.1.2",
|
|
160
158
|
"ts-node": "~10.9.2",
|
|
161
159
|
"type-fest": "^4.10.2",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../schematics/ng-add/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,KAAK,IAAI,EAAE,MAAM,4BAA4B,CAAC;AAI9D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../schematics/ng-add/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,KAAK,IAAI,EAAE,MAAM,4BAA4B,CAAC;AAI9D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAuEtD;;;;GAIG;AACH,eAAO,MAAM,KAAK,YAAa,qBAAqB,KAAG,IAGtD,CAAC"}
|
|
@@ -43,10 +43,7 @@ function ngAddFn(options) {
|
|
|
43
43
|
const addMandatoryPeerDeps = async (tree, context) => {
|
|
44
44
|
const { getPeerDepWithPattern, getWorkspaceConfig } = await Promise.resolve().then(() => require('@o3r/schematics'));
|
|
45
45
|
const workingDirectory = options?.projectName && getWorkspaceConfig(tree)?.projects[options.projectName]?.root || '.';
|
|
46
|
-
const peerDepToInstall = getPeerDepWithPattern(path.resolve(__dirname, '..', '..', 'package.json')
|
|
47
|
-
'chokidar',
|
|
48
|
-
'minimist'
|
|
49
|
-
]);
|
|
46
|
+
const peerDepToInstall = getPeerDepWithPattern(path.resolve(__dirname, '..', '..', 'package.json'));
|
|
50
47
|
context.addTask(new tasks_1.NodePackageInstallTask({
|
|
51
48
|
workingDirectory,
|
|
52
49
|
packageName: Object.entries(peerDepToInstall.matchingPackagesVersions)
|