@eui/tools 6.2.12 → 6.2.14
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/.version.properties +1 -1
- package/CHANGELOG.md +18 -0
- package/package.json +1 -1
- package/scripts/csdr/init/remotes/15.x/angular.json +79 -0
- package/scripts/csdr/init/remotes/15.x/browserslist +6 -0
- package/scripts/csdr/init/remotes/15.x/{package.json → package.json_TO_REPLACE} +0 -0
- package/scripts/csdr/init/remotes/15.x/tsconfig.app.json +24 -0
- package/scripts/csdr/init/remotes.js +10 -4
package/.version.properties
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
6.2.
|
|
1
|
+
6.2.14
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
## 6.2.14 (2022-11-12)
|
|
2
|
+
|
|
3
|
+
##### Chores
|
|
4
|
+
|
|
5
|
+
* **other:**
|
|
6
|
+
* virtual remotes skeleton files not published package.json renamed - MWP-9010 [MWP-9010](https://webgate.ec.europa.eu/CITnet/jira/browse/MWP-9010) ([427e7321](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/427e73212c4a77dde42393317f0c49b8ec3fa88c))
|
|
7
|
+
|
|
8
|
+
* * *
|
|
9
|
+
* * *
|
|
10
|
+
## 6.2.13 (2022-11-12)
|
|
11
|
+
|
|
12
|
+
##### Bug Fixes
|
|
13
|
+
|
|
14
|
+
* **other:**
|
|
15
|
+
* wrong order calls before first pull of remotes config for virtual remotes release pipeline - MWP-9010 [MWP-9010](https://webgate.ec.europa.eu/CITnet/jira/browse/MWP-9010) ([af475fdf](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/af475fdf1c98352fe4dd94af1787c5a8bdbfbc2a))
|
|
16
|
+
|
|
17
|
+
* * *
|
|
18
|
+
* * *
|
|
1
19
|
## 6.2.12 (2022-11-12)
|
|
2
20
|
|
|
3
21
|
##### Chores
|
package/package.json
CHANGED
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
|
3
|
+
"version": 1,
|
|
4
|
+
"newProjectRoot": "apps",
|
|
5
|
+
"projects": {
|
|
6
|
+
"@remote.name@": {
|
|
7
|
+
"root": ".",
|
|
8
|
+
"sourceRoot": "src",
|
|
9
|
+
"projectType": "application",
|
|
10
|
+
"prefix": "app",
|
|
11
|
+
"schematics": {},
|
|
12
|
+
"architect": {
|
|
13
|
+
"build": {
|
|
14
|
+
"builder": "@angular-devkit/build-angular:browser",
|
|
15
|
+
"options": {
|
|
16
|
+
"outputPath": "dist",
|
|
17
|
+
"index": "src/index.html",
|
|
18
|
+
"main": "src/main.ts",
|
|
19
|
+
"polyfills": "src/polyfills.ts",
|
|
20
|
+
"tsConfig": "tsconfig.app.json",
|
|
21
|
+
"sourceMap": {
|
|
22
|
+
"scripts": true,
|
|
23
|
+
"styles": false,
|
|
24
|
+
"hidden": true,
|
|
25
|
+
"vendor": true
|
|
26
|
+
},
|
|
27
|
+
"scripts": [
|
|
28
|
+
"./node_modules/@webcomponents/custom-elements/src/native-shim.js"
|
|
29
|
+
],
|
|
30
|
+
"assets": [
|
|
31
|
+
"src/assets",
|
|
32
|
+
{
|
|
33
|
+
"glob": "**/*",
|
|
34
|
+
"input": "node_modules/@eui/core/assets/",
|
|
35
|
+
"output": "./assets"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"glob": "**/*",
|
|
39
|
+
"input": "node_modules/@eui/styles-base/dist/assets/",
|
|
40
|
+
"output": "./assets"
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
"styles": [
|
|
44
|
+
"node_modules/@eui/styles/dist/styles/eui.css",
|
|
45
|
+
"node_modules/@eui/styles/dist/styles/eui-extra-utilities.css",
|
|
46
|
+
"node_modules/@eui/styles/dist/styles/eui-legacy-bootstrap.css",
|
|
47
|
+
"node_modules/@eui/styles/dist/styles/eui-legacy-icons-font.css",
|
|
48
|
+
"node_modules/@eui/styles/dist/styles/eui-legacy-utilities.css"
|
|
49
|
+
]
|
|
50
|
+
},
|
|
51
|
+
"configurations": {
|
|
52
|
+
"production": {
|
|
53
|
+
"fileReplacements": [
|
|
54
|
+
{
|
|
55
|
+
"replace": "src/environments/environment.ts",
|
|
56
|
+
"with": "src/environments/environment.prod.ts"
|
|
57
|
+
}
|
|
58
|
+
],
|
|
59
|
+
"optimization": true,
|
|
60
|
+
"outputHashing": "all",
|
|
61
|
+
"sourceMap": true,
|
|
62
|
+
"namedChunks": false,
|
|
63
|
+
"aot": true,
|
|
64
|
+
"extractLicenses": true,
|
|
65
|
+
"vendorChunk": false,
|
|
66
|
+
"buildOptimizer": true
|
|
67
|
+
},
|
|
68
|
+
"serve-dist": {
|
|
69
|
+
"outputPath": "serve-dist"
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
"cli": {
|
|
77
|
+
"analytics": false
|
|
78
|
+
}
|
|
79
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "../../tsconfig.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"outDir": "./out-tsc/app",
|
|
5
|
+
"target": "ES2022",
|
|
6
|
+
"module": "ES2022",
|
|
7
|
+
"lib": [
|
|
8
|
+
"ES2022",
|
|
9
|
+
"dom"
|
|
10
|
+
],
|
|
11
|
+
"types": [
|
|
12
|
+
"node"
|
|
13
|
+
],
|
|
14
|
+
"paths": {
|
|
15
|
+
"os": ["./node_modules/empty-module/index.js"],
|
|
16
|
+
"node-fetch": ["./node_modules/empty-module/index.js"],
|
|
17
|
+
"zipkin": ["./node_modules/zipkin/dist/zipkin.js"]
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"exclude": [
|
|
21
|
+
"src/test.ts",
|
|
22
|
+
"**/*.spec.ts"
|
|
23
|
+
]
|
|
24
|
+
}
|
|
@@ -19,15 +19,16 @@ const cloneRemotesConfig = module.exports.cloneRemotesConfig = () => {
|
|
|
19
19
|
return Promise.resolve()
|
|
20
20
|
.then(() => {
|
|
21
21
|
pkg = configUtils.packages.getPackageByNpmPkg('@csdr/remotes-config', true);
|
|
22
|
-
return gitUtils.cloneAndCheckout(pkg.repository, path.join(process.cwd(), 'packages', pkg.name), 'master');
|
|
23
|
-
})
|
|
24
22
|
|
|
25
|
-
.then(() => {
|
|
26
23
|
const newPackages = [];
|
|
27
24
|
newPackages.push(pkg.name);
|
|
28
25
|
return configUtils.global.updateConfig(null, newPackages);
|
|
29
26
|
})
|
|
30
27
|
|
|
28
|
+
.then(() => {
|
|
29
|
+
return gitUtils.cloneAndCheckout(pkg.repository, path.join(process.cwd(), 'packages', pkg.name), 'master');
|
|
30
|
+
})
|
|
31
|
+
|
|
31
32
|
.catch((e) => {
|
|
32
33
|
throw e;
|
|
33
34
|
})
|
|
@@ -36,7 +37,7 @@ const cloneRemotesConfig = module.exports.cloneRemotesConfig = () => {
|
|
|
36
37
|
|
|
37
38
|
|
|
38
39
|
module.exports.generateVirtualRemote = (remoteName, euiVersion) => {
|
|
39
|
-
tools.logTitle('
|
|
40
|
+
tools.logTitle('Generating virtual remote');
|
|
40
41
|
|
|
41
42
|
return Promise.resolve()
|
|
42
43
|
|
|
@@ -79,6 +80,11 @@ module.exports.generateVirtualRemote = (remoteName, euiVersion) => {
|
|
|
79
80
|
}
|
|
80
81
|
});
|
|
81
82
|
|
|
83
|
+
// replace package.json (different extension when eUI tools published to avoid npm publish clashing)
|
|
84
|
+
if (tools.isFileExists(path.join(remotePath, 'package.json_TO_REPLACE'))) {
|
|
85
|
+
tools.move(path.join(remotePath, 'package.json_TO_REPLACE'), path.join(remotePath, 'package.json'));
|
|
86
|
+
}
|
|
87
|
+
|
|
82
88
|
// generating angular json
|
|
83
89
|
const angularJsonPath = path.join(remotePath, 'angular.json');
|
|
84
90
|
let angularJson = tools.getJsonFileContent(angularJsonPath);
|