@eui/tools 6.2.35 → 6.2.36

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.35
1
+ 6.2.36
package/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## 6.2.36 (2022-11-18)
2
+
3
+ ##### Bug Fixes
4
+
5
+ * **other:**
6
+ * cli - generation of normal package - translation for virtual remote compilation - MWP-9039 [MWP-9039](https://webgate.ec.europa.eu/CITnet/jira/browse/MWP-9039) ([304e85ee](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/304e85ee271da0c1ef1c5f9b63a600c44097da29))
7
+
8
+ * * *
9
+ * * *
1
10
  ## 6.2.35 (2022-11-17)
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.35",
3
+ "version": "6.2.36",
4
4
  "tag": "latest",
5
5
  "license": "EUPL-1.1",
6
6
  "description": "eUI common tools and scripts",
@@ -36,7 +36,7 @@ module.exports.DEFAULT_CONFIG = {
36
36
  pkgScope: '@zzz',
37
37
  isRouteModule: true,
38
38
  isCsdrRepo: true,
39
- isEnvTargetRemote: true,
39
+ isEnvTargetRemote: false,
40
40
  isVirtualRemote: false,
41
41
  externalRepoName: null,
42
42
  pkgGroupId: 'eu.europa.ec.cc'
@@ -33,7 +33,7 @@ module.exports.generate = () => {
33
33
  // merging with defaults
34
34
  answers = { ...constants.DEFAULT_CONFIG, ...answers};
35
35
 
36
- // forcing config default if v15 virtual remote only generation
36
+ // forcing config default for remotes
37
37
  if (
38
38
  answers.pkgFrontendVersion === constants.CONFIG_OPTIONS.pkgFrontendVersion.EUI15 &&
39
39
  answers.pkgFrontendType === constants.CONFIG_OPTIONS.pkgFrontendType.REMOTE
@@ -41,6 +41,10 @@ module.exports.generate = () => {
41
41
  answers.isVirtualRemote = true;
42
42
  }
43
43
 
44
+ if (answers.pkgFrontendType === constants.CONFIG_OPTIONS.pkgFrontendType.REMOTE) {
45
+ answers.isEnvTargetRemote = true;
46
+ }
47
+
44
48
  tools.logInfo('Provided options :');
45
49
  console.log(answers);
46
50
 
@@ -116,7 +116,11 @@ module.exports.registerCsdrPackage = (pkg, isRemote, rootPkgScope, rootPkgName,
116
116
  "euiVersion": "15.x",
117
117
  "build": {
118
118
  "compiledTranslations": true,
119
- "translationScopes": "eui,csdr,cc,mywp"
119
+ "translationScopes": "eui,csdr,cc,mywp",
120
+ "envTargetActive": true,
121
+ "skipLint": true,
122
+ "skipTest": true,
123
+ "sonarScanner": false
120
124
  },
121
125
  "release": {
122
126
  "team": "cc-ui-rm"
@@ -22,7 +22,7 @@ module.exports.generate = (inputScopes = '', inputPkg) => {
22
22
  pkg = configUtils.packages.getPackage();
23
23
  }
24
24
 
25
- const rootFolder = pkg.paths.pkgRootDirectory;
25
+ const rootFolder = pkg.paths.root;
26
26
  const rootSrcFolder = path.join(rootFolder,'src');
27
27
  const destFolder = path.join(rootSrcFolder, 'assets/i18n-compiled');
28
28
  const globalTranslationsFolder = path.join(rootSrcFolder, 'assets/i18n-global');