@eui/tools 6.2.28 → 6.2.30

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.28
1
+ 6.2.30
package/CHANGELOG.md CHANGED
@@ -1,3 +1,21 @@
1
+ ## 6.2.30 (2022-11-16)
2
+
3
+ ##### Chores
4
+
5
+ * **other:**
6
+ * added skipAudit flag for preventing styles audit on some eUI packages - EUI-6448 [EUI-6448](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-6448) ([d991f0cf](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/d991f0cf75a92d3c827965c7d6dd42352e5c1aa7))
7
+
8
+ * * *
9
+ * * *
10
+ ## 6.2.29 (2022-11-15)
11
+
12
+ ##### Chores
13
+
14
+ * **other:**
15
+ * remote serve package.json location update - MWP-9010 [MWP-9010](https://webgate.ec.europa.eu/CITnet/jira/browse/MWP-9010) ([1ca1799f](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/1ca1799f6bab99321f49f32f5307c346c352307e))
16
+
17
+ * * *
18
+ * * *
1
19
  ## 6.2.28 (2022-11-15)
2
20
 
3
21
  ##### Chores
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eui/tools",
3
- "version": "6.2.28",
3
+ "version": "6.2.30",
4
4
  "tag": "latest",
5
5
  "license": "EUPL-1.1",
6
6
  "description": "eUI common tools and scripts",
@@ -32,7 +32,9 @@ module.exports.install = (pkg, isMaster) => {
32
32
 
33
33
  // CHECK STYLES USAGE
34
34
  .then(() => {
35
- return auditUtils.styles.audit(pkg);
35
+ if (pkg.build && !pkg.build.skipAudit) {
36
+ return auditUtils.styles.audit(pkg);
37
+ }
36
38
  })
37
39
 
38
40
  // AUDIT DEPENDENCIES
@@ -28,7 +28,7 @@ module.exports.serve = (remote = false) => {
28
28
 
29
29
  const ng = path.resolve(pkg.paths.repoNodeModules, '@angular', 'cli', 'bin', 'ng');
30
30
 
31
- let destPath;
31
+ let rootDestPath, destPath;
32
32
 
33
33
  if (!project) {
34
34
  tools.logInfo('Project paramater must be specified...stopping');
@@ -57,15 +57,16 @@ module.exports.serve = (remote = false) => {
57
57
  const projectConfig = configUtils.projects.getProject(project);
58
58
 
59
59
  if (projectConfig.host && projectConfig.virtual) {
60
- destPath = path.join(process.cwd(), 'hosts', project, 'src', 'assets', 'elements', pkgName, 'bundles');
60
+ rootDestPath = path.join(process.cwd(), 'hosts', project, 'src', 'assets', 'elements', pkgName);
61
61
  } else {
62
- destPath = path.join(process.cwd(), 'apps', project, 'src', 'assets', 'elements', pkgName, 'bundles');
62
+ rootDestPath = path.join(process.cwd(), 'apps', project, 'src', 'assets', 'elements', pkgName);
63
63
  }
64
64
 
65
+ destPath = path.join(rootDestPath, 'bundles');
66
+
65
67
  if (euiVersionNumber <= 10) {
66
68
  args.push(`--outputPath=${destPath}`);
67
69
  args.push(`--single-bundle=true`);
68
- // args.push('--watch=true');
69
70
  } else {
70
71
  args.push(`--output-path=${destPath}`);
71
72
  }
@@ -96,7 +97,7 @@ module.exports.serve = (remote = false) => {
96
97
  })
97
98
 
98
99
  .then(() => {
99
- return remotesUtils.copyPackageJson(pkg.paths.root, destPath, remoteEuiVersion);
100
+ return remotesUtils.copyPackageJson(pkg.paths.root, rootDestPath, remoteEuiVersion);
100
101
  })
101
102
 
102
103
  .then(() => {