@eui/tools 6.2.37 → 6.2.39

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.37
1
+ 6.2.39
package/CHANGELOG.md CHANGED
@@ -1,3 +1,21 @@
1
+ ## 6.2.39 (2022-11-23)
2
+
3
+ ##### Chores
4
+
5
+ * **other:**
6
+ * removed resolutions for v15 package breaking up slack output - adapted proxy-mock config for v14+ serve - MWP-9039 [MWP-9039](https://webgate.ec.europa.eu/CITnet/jira/browse/MWP-9039) ([20ffb76d](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/20ffb76d184d47ab489fccb5259ec8ddff4e1300))
7
+
8
+ * * *
9
+ * * *
10
+ ## 6.2.38 (2022-11-22)
11
+
12
+ ##### Chores
13
+
14
+ * **other:**
15
+ * put back eui13 generation of frontend package for SFC - EUI-6448 [EUI-6448](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-6448) ([c3e74565](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/c3e74565c71a8792e0df0d7b29278a9110b70705))
16
+
17
+ * * *
18
+ * * *
1
19
  ## 6.2.37 (2022-11-21)
2
20
 
3
21
  ##### Chores
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eui/tools",
3
- "version": "6.2.37",
3
+ "version": "6.2.39",
4
4
  "tag": "latest",
5
5
  "license": "EUPL-1.1",
6
6
  "description": "eUI common tools and scripts",
@@ -6,6 +6,7 @@ module.exports.TARGET_ROOT_PATH = path.join(process.cwd(), 'packages');
6
6
  module.exports.TARGET_ROOT_REMOTES_PATH = path.join(process.cwd(), 'remotes');
7
7
  module.exports.SKELETONS_ROOT_PATH = path.join(__dirname, 'skeletons', 'package');
8
8
  module.exports.FRONTEND_SKELETON_EUI10_PATH = path.join(this.SKELETONS_ROOT_PATH, 'frontend-eui10');
9
+ module.exports.FRONTEND_SKELETON_EUI13_PATH = path.join(this.SKELETONS_ROOT_PATH, 'frontend-eui13');
9
10
  module.exports.FRONTEND_SKELETON_EUI15_PATH = path.join(this.SKELETONS_ROOT_PATH, 'frontend-eui15');
10
11
  module.exports.FRONTEND_SKELETON_REMOTE_EUI10_PATH = path.join(this.SKELETONS_ROOT_PATH, 'frontend-remote-eui10');
11
12
  module.exports.FRONTEND_SKELETON_REMOTE_EUI15_PATH = path.join(this.SKELETONS_ROOT_PATH, 'frontend-remote-eui15');
@@ -24,6 +25,7 @@ module.exports.CONFIG_OPTIONS = {
24
25
  },
25
26
  pkgFrontendVersion: {
26
27
  EUI10: '10',
28
+ EUI13: '13',
27
29
  EUI15: '15',
28
30
  }
29
31
  }
@@ -178,6 +178,10 @@ const generateDefault = ({fullName, targetPath, rootPackagePath, pkg, args = con
178
178
  if (args.pkgFrontendVersion === constants.CONFIG_OPTIONS.pkgFrontendVersion.EUI10) {
179
179
  tools.copydir(constants.FRONTEND_SKELETON_EUI10_PATH, targetPath, true);
180
180
 
181
+ } else if (args.pkgFrontendVersion === constants.CONFIG_OPTIONS.pkgFrontendVersion.EUI13) {
182
+ tools.copydir(constants.FRONTEND_SKELETON_EUI10_PATH, targetPath, true);
183
+ tools.copydir(constants.FRONTEND_SKELETON_EUI13_PATH, targetPath, true);
184
+
181
185
  } else if (args.pkgFrontendVersion === constants.CONFIG_OPTIONS.pkgFrontendVersion.EUI15) {
182
186
  tools.copydir(constants.FRONTEND_SKELETON_EUI10_PATH, targetPath, true);
183
187
  tools.copydir(constants.FRONTEND_SKELETON_EUI15_PATH, targetPath, true);
@@ -64,7 +64,10 @@ module.exports.prompt = () => {
64
64
  ],
65
65
  default: constants.DEFAULT_CONFIG.pkgFrontendType,
66
66
  when: function (answers) {
67
- return (answers.pkgType === constants.CONFIG_OPTIONS.pkgType.FRONTEND);
67
+ return (
68
+ answers.pkgType === constants.CONFIG_OPTIONS.pkgType.FRONTEND &&
69
+ answers.pkgFrontendType === constants.CONFIG_OPTIONS.pkgFrontendType.REMOTE
70
+ );
68
71
  },
69
72
  validate: function (value) {
70
73
  if (value.length) {
@@ -72,6 +75,33 @@ module.exports.prompt = () => {
72
75
  }
73
76
  }
74
77
  },
78
+ {
79
+ type: 'list',
80
+ name: 'pkgFrontendVersion',
81
+ message: 'Select eUI version target :',
82
+ choices: [
83
+ { name: 'v10', value: constants.CONFIG_OPTIONS.pkgFrontendVersion.EUI10 },
84
+ { name: 'v13', value: constants.CONFIG_OPTIONS.pkgFrontendVersion.EUI13 },
85
+ { name: 'v15', value: constants.CONFIG_OPTIONS.pkgFrontendVersion.EUI15 },
86
+ ],
87
+ default: constants.DEFAULT_CONFIG.pkgFrontendType,
88
+ when: function (answers) {
89
+ return (
90
+ answers.pkgType === constants.CONFIG_OPTIONS.pkgType.FRONTEND &&
91
+ answers.pkgFrontendType === constants.CONFIG_OPTIONS.pkgFrontendType.DEFAULT
92
+ );
93
+ },
94
+ validate: function (value) {
95
+ if (value.length) {
96
+ return true;
97
+ }
98
+ }
99
+ },
100
+
101
+
102
+
103
+
104
+
75
105
  {
76
106
  name: 'pkgScope',
77
107
  type: 'input',
@@ -0,0 +1,3 @@
1
+ {
2
+ "@eui/deps-base": "^13.0.0"
3
+ }
@@ -526,7 +526,7 @@ module.exports.angularProjectDefV14 = {
526
526
  },
527
527
  "configurations": {
528
528
  "proxy-mock": {
529
- "browserTarget": "@project.name@:build",
529
+ "browserTarget": "@project.name@:build:development",
530
530
  "proxyConfig": "apps/@project.name@/proxy-mock.conf.json"
531
531
  },
532
532
  "production": {
@@ -1,6 +0,0 @@
1
- {
2
- "@types/node": ">=14.14.10",
3
- "https-proxy-agent": ">=2.2.3",
4
- "mem": ">=4.3.0 <=8.1.1",
5
- "zone.js": ">=0.11.5"
6
- }