@eui/tools 6.2.13 → 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.
@@ -1 +1 @@
1
- 6.2.13
1
+ 6.2.14
package/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
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
+ * * *
1
10
  ## 6.2.13 (2022-11-12)
2
11
 
3
12
  ##### Bug Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eui/tools",
3
- "version": "6.2.13",
3
+ "version": "6.2.14",
4
4
  "tag": "latest",
5
5
  "license": "EUPL-1.1",
6
6
  "description": "eUI common tools and scripts",
@@ -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
+ }
@@ -0,0 +1,6 @@
1
+ last 1 Chrome version
2
+ last 1 Firefox version
3
+ last 2 Edge major versions
4
+ last 2 Safari major versions
5
+ last 2 iOS major versions
6
+ Firefox ESR
@@ -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
+ }
@@ -80,6 +80,11 @@ module.exports.generateVirtualRemote = (remoteName, euiVersion) => {
80
80
  }
81
81
  });
82
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
+
83
88
  // generating angular json
84
89
  const angularJsonPath = path.join(remotePath, 'angular.json');
85
90
  let angularJson = tools.getJsonFileContent(angularJsonPath);