@forge/cli-shared 8.24.0 → 8.24.1-next.0
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/CHANGELOG.md +16 -0
- package/out/apps/package-installer.d.ts.map +1 -1
- package/out/apps/package-installer.js +6 -1
- package/out/apps/template-module.js +1 -1
- package/out/graphql/graphql-types.d.ts +3060 -54
- package/out/graphql/graphql-types.d.ts.map +1 -1
- package/out/graphql/graphql-types.js +144 -49
- package/out/ui/text.d.ts +5 -3
- package/out/ui/text.d.ts.map +1 -1
- package/out/ui/text.js +6 -5
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @forge/cli-shared
|
|
2
2
|
|
|
3
|
+
## 8.24.1-next.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- c3b96b3: Show warning when install fails
|
|
8
|
+
- 561f8f4: Remove "storage" module from "@forge/api"
|
|
9
|
+
- bb903a8: Update requireAppId check
|
|
10
|
+
- c1acc55: Add Prod Service
|
|
11
|
+
- 5b67e61: Patch fixes for module Add
|
|
12
|
+
- 55c1371: bump cheerio to ^1.2.0 to pull in a patched undici (>=7.19.0, resolving to a fixed release) and remediate CVE-2026-1525
|
|
13
|
+
NodeJS requirement bumped from 20.0.0 to >=20.18.1
|
|
14
|
+
- Updated dependencies [814b8fe]
|
|
15
|
+
- Updated dependencies [55c1371]
|
|
16
|
+
- Updated dependencies [1a461c3]
|
|
17
|
+
- @forge/manifest@12.9.1-next.0
|
|
18
|
+
|
|
3
19
|
## 8.24.0
|
|
4
20
|
|
|
5
21
|
### Minor Changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"package-installer.d.ts","sourceRoot":"","sources":["../../src/apps/package-installer.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAM/B,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CAC/C;AAED,qBAAa,YAAa,YAAW,gBAAgB;IACvC,OAAO,CAAC,QAAQ,CAAC,MAAM;gBAAN,MAAM,EAAE,MAAM;IAE3C,OAAO,CAAC,MAAM,CAAC,sBAAsB;IAK9B,OAAO,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"package-installer.d.ts","sourceRoot":"","sources":["../../src/apps/package-installer.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAM/B,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CAC/C;AAED,qBAAa,YAAa,YAAW,gBAAgB;IACvC,OAAO,CAAC,QAAQ,CAAC,MAAM;gBAAN,MAAM,EAAE,MAAM;IAE3C,OAAO,CAAC,MAAM,CAAC,sBAAsB;IAK9B,OAAO,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CAwBjD"}
|
|
@@ -20,7 +20,12 @@ class NpmInstaller {
|
|
|
20
20
|
if (NpmInstaller.dependenciesFileExists(directory)) {
|
|
21
21
|
this.logger.info(ui_1.Text.create.taskPackages);
|
|
22
22
|
const process = (0, cross_spawn_1.spawn)('npm', ['install', '--no-package-lock'], { cwd: directory });
|
|
23
|
-
process.on('exit',
|
|
23
|
+
process.on('exit', (code) => {
|
|
24
|
+
if (code !== 0) {
|
|
25
|
+
this.logger.warn(ui_1.Text.create.error.packages.installFail);
|
|
26
|
+
}
|
|
27
|
+
resolve();
|
|
28
|
+
});
|
|
24
29
|
process.on('error', () => {
|
|
25
30
|
this.logger.warn(ui_1.Text.create.error.packages.installFail);
|
|
26
31
|
resolve();
|
|
@@ -9,7 +9,7 @@ const os_1 = tslib_1.__importDefault(require("os"));
|
|
|
9
9
|
const url_1 = require("url");
|
|
10
10
|
const adm_zip_1 = tslib_1.__importDefault(require("adm-zip"));
|
|
11
11
|
const text_1 = require("../ui/text");
|
|
12
|
-
const BIFROST_BASE_URL = 'https://forge-templates-bifrost.
|
|
12
|
+
const BIFROST_BASE_URL = 'https://forge-templates-bifrost.prod-east.frontend.public.atl-paas.net/assets/';
|
|
13
13
|
const MODULE_INDEX_FILE = 'template-modules.json';
|
|
14
14
|
class BifrostFetchError extends Error {
|
|
15
15
|
constructor(message) {
|