@forge/cli-shared 5.5.0-next.12 → 5.5.0-next.14
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 +22 -0
- package/out/apps/template.js +1 -1
- package/out/config/config-file.js +1 -1
- package/out/config/config.d.ts.map +1 -1
- package/out/config/config.js +1 -1
- package/out/graphql/graphql-types.d.ts +255 -152
- package/out/graphql/graphql-types.d.ts.map +1 -1
- package/out/graphql/graphql-types.js +52 -18
- package/out/shared/directories.d.ts +3 -0
- package/out/shared/directories.d.ts.map +1 -0
- package/out/shared/directories.js +10 -0
- package/out/shared/index.d.ts +2 -1
- package/out/shared/index.d.ts.map +1 -1
- package/out/shared/index.js +1 -0
- package/out/tunnel/tunnel-options.d.ts +1 -1
- package/out/tunnel/tunnel-options.d.ts.map +1 -1
- package/out/tunnel/tunnel-options.js +5 -2
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# @forge/cli-shared
|
|
2
2
|
|
|
3
|
+
## 5.5.0-next.14
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [d51b7be]
|
|
8
|
+
- @forge/i18n@0.0.1-next.13
|
|
9
|
+
- @forge/manifest@7.7.0-next.14
|
|
10
|
+
|
|
11
|
+
## 5.5.0-next.13
|
|
12
|
+
|
|
13
|
+
### Minor Changes
|
|
14
|
+
|
|
15
|
+
- ac1a61b: Bundle files on disk instead of memory
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- Updated dependencies [23f6675]
|
|
20
|
+
- Updated dependencies [27249cd]
|
|
21
|
+
- Updated dependencies [5f82d22]
|
|
22
|
+
- @forge/i18n@0.0.1-next.12
|
|
23
|
+
- @forge/manifest@7.7.0-next.13
|
|
24
|
+
|
|
3
25
|
## 5.5.0-next.12
|
|
4
26
|
|
|
5
27
|
### Patch Changes
|
package/out/apps/template.js
CHANGED
|
@@ -45,7 +45,7 @@ class ZipTemplateExtractor {
|
|
|
45
45
|
this.zipAccessor = zipAccessor;
|
|
46
46
|
}
|
|
47
47
|
async extract(zipFile, destDirectory) {
|
|
48
|
-
const extractDirectory = tmp_1.default.dirSync({ prefix: 'template' }).name;
|
|
48
|
+
const extractDirectory = tmp_1.default.dirSync({ prefix: 'template', unsafeCleanup: true }).name;
|
|
49
49
|
try {
|
|
50
50
|
await this.zipAccessor.extract(zipFile, extractDirectory);
|
|
51
51
|
await this.moveArchiveFilesToDirectory(extractDirectory, destDirectory);
|
|
@@ -114,7 +114,7 @@ class ConfigFile {
|
|
|
114
114
|
}
|
|
115
115
|
getHostedResourceModules(modules) {
|
|
116
116
|
const modulesArray = (0, shared_1.flat)(Object.values(modules));
|
|
117
|
-
return modulesArray.filter(
|
|
117
|
+
return modulesArray.filter(config_1.isHostedResourceModule);
|
|
118
118
|
}
|
|
119
119
|
assertNoMissingResources(modules, resources) {
|
|
120
120
|
const missingResources = modules.filter(({ resource }) => !resources.some(({ key }) => resource === key));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/config/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAE5D,eAAO,MAAM,gBAAgB,iBAAiB,CAAC;AAC/C,eAAO,MAAM,mBAAmB,
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/config/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAE5D,eAAO,MAAM,gBAAgB,iBAAiB,CAAC;AAC/C,eAAO,MAAM,mBAAmB,UAAqD,CAAC;AAEtF,eAAO,MAAM,iBAAiB,sDAAuD,CAAC;AACtF,oBAAY,gBAAgB,GAAG,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,CAAC,CAAC;AAElE,oBAAY,UAAU,GAAG;IACvB,GAAG,EAAE,MAAM,CAAC;CACb,GAAG;KACD,UAAU,IAAI,gBAAgB,CAAC,CAAC,EAAE,UAAU;CAC9C,CAAC;AAEF,oBAAY,qBAAqB,GAAG,UAAU,GAAG;IAC/C,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,SAAS,GAAG,QAAQ,CAAC;CAC/B,GAAG;KACD,UAAU,IAAI,gBAAgB,CAAC,CAAC,EAAE,qBAAqB;CACzD,CAAC;AAEF,MAAM,WAAW,YAAY;IAC3B,UAAU,IAAI,OAAO,CAAC,cAAc,CAAC,CAAC;CACvC;AAED,MAAM,WAAW,YAAY;IAC3B,iBAAiB,CAAC,CAAC,SAAS,MAAM,EAAE,CAAC,SAAS,MAAM,EAAE,SAAS,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC9F,uBAAuB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACtD;AAED,eAAO,MAAM,gBAAgB,aAAc,GAAG,0BAG7C,CAAC;AAEF,eAAO,MAAM,sBAAsB,WAAY,GAAG,oCAGjD,CAAC"}
|
package/out/config/config.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.isHostedResourceModule = exports.validateResource = exports.ModuleEntryPoints = exports.dependencyFileNames = exports.manifestFileName = void 0;
|
|
4
4
|
exports.manifestFileName = 'manifest.yml';
|
|
5
|
-
exports.dependencyFileNames = [
|
|
5
|
+
exports.dependencyFileNames = ['package.json', 'package-lock.json', 'yarn.lock'];
|
|
6
6
|
exports.ModuleEntryPoints = ['view', 'edit', 'create', 'contextConfig'];
|
|
7
7
|
const validateResource = (resource) => {
|
|
8
8
|
const { key, path } = resource;
|