@eui/tools 6.12.17 → 6.12.19
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/full/options/ag-grid/main.ts +3 -1
- package/scripts/csdr/init/remotes/16.x/full/options/ag-grid/main.ts +3 -1
- package/scripts/csdr/install/build-package.js +9 -4
- package/scripts/csdr/install/remotes.js +6 -1
package/.version.properties
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
6.12.
|
|
1
|
+
6.12.19
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
## 6.12.19 (2023-06-24)
|
|
2
|
+
|
|
3
|
+
##### Bug Fixes
|
|
4
|
+
|
|
5
|
+
* **other:**
|
|
6
|
+
* license key injection (debug) - EUI-7121 [EUI-7121](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-7121) ([6ee4b04d](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/6ee4b04dbd3115271a49b2035b2eae80238781f2))
|
|
7
|
+
|
|
8
|
+
* * *
|
|
9
|
+
* * *
|
|
10
|
+
## 6.12.18 (2023-06-24)
|
|
11
|
+
|
|
12
|
+
##### Bug Fixes
|
|
13
|
+
|
|
14
|
+
* **other:**
|
|
15
|
+
* license key injection - metadata export on build for remote - EUI-7121 [EUI-7121](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-7121) ([c575f414](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/c575f414189b6a1306ca4652088a390bd749d3a2))
|
|
16
|
+
|
|
17
|
+
* * *
|
|
18
|
+
* * *
|
|
1
19
|
## 6.12.17 (2023-06-24)
|
|
2
20
|
|
|
3
21
|
##### Bug Fixes
|
package/package.json
CHANGED
|
@@ -6,9 +6,11 @@ if (environment.production) {
|
|
|
6
6
|
enableProdMode();
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
+
const LICENSE_KEY = 'LICENSE_KEY_VALUE';
|
|
10
|
+
|
|
9
11
|
import { LicenseManager } from 'ag-grid-enterprise';
|
|
10
12
|
// tslint:disable-next-line
|
|
11
|
-
LicenseManager.setLicenseKey(
|
|
13
|
+
LicenseManager.setLicenseKey(LICENSE_KEY);
|
|
12
14
|
|
|
13
15
|
platformBrowserDynamic()
|
|
14
16
|
.bootstrapModule(AppModule)
|
|
@@ -6,9 +6,11 @@ if (environment.production) {
|
|
|
6
6
|
enableProdMode();
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
+
const LICENSE_KEY = 'LICENSE_KEY_VALUE';
|
|
10
|
+
|
|
9
11
|
import { LicenseManager } from 'ag-grid-enterprise';
|
|
10
12
|
// tslint:disable-next-line
|
|
11
|
-
LicenseManager.setLicenseKey(
|
|
13
|
+
LicenseManager.setLicenseKey(LICENSE_KEY);
|
|
12
14
|
|
|
13
15
|
platformBrowserDynamic()
|
|
14
16
|
.bootstrapModule(AppModule)
|
|
@@ -28,21 +28,26 @@ module.exports.installPackage = (prj, pkg, isMaster) => {
|
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
module.exports.installRemote = (pkg, envTarget, compositeType) => {
|
|
31
|
+
let deps;
|
|
32
|
+
|
|
31
33
|
return Promise.resolve()
|
|
32
34
|
// checking remotes
|
|
33
35
|
.then(() => {
|
|
34
36
|
return innerRemotes.installDeps(pkg, envTarget, compositeType);
|
|
35
37
|
})
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
.then((deps) => {
|
|
39
|
-
return deps;
|
|
38
|
+
.then((outputDeps) => {
|
|
39
|
+
deps = outputDeps;
|
|
40
40
|
})
|
|
41
41
|
|
|
42
42
|
.then(() => {
|
|
43
43
|
return innerRemotes.postInstall(pkg);
|
|
44
44
|
})
|
|
45
45
|
|
|
46
|
+
// returning metadata dependencies
|
|
47
|
+
.then(() => {
|
|
48
|
+
return deps;
|
|
49
|
+
})
|
|
50
|
+
|
|
46
51
|
.catch((e) => {
|
|
47
52
|
throw e;
|
|
48
53
|
})
|
|
@@ -202,7 +202,12 @@ module.exports.installDeps = (pkg, envTarget, compositeType) => {
|
|
|
202
202
|
tools.logInfo(`license key found : ${license}`);
|
|
203
203
|
|
|
204
204
|
const mainTsPath = path.join(pkg.paths.src, 'main.ts');
|
|
205
|
-
|
|
205
|
+
console.log(`replacing in ${mainTsPath}`);
|
|
206
|
+
tools.replaceInFileSync(mainTsPath, 'LICENSE_KEY_VALUE', license);
|
|
207
|
+
|
|
208
|
+
tools.logInfo('main.ts content after replacement : ');
|
|
209
|
+
const mainTsContent = tools.getFileContent(mainTsPath);
|
|
210
|
+
console.log(mainTsContent);
|
|
206
211
|
|
|
207
212
|
tools.logSuccess('OK => main.ts replaced');
|
|
208
213
|
})
|