@forge/cli-shared 3.25.2 → 3.26.0-next.1
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 +18 -0
- package/out/apps/create-an-app.js +1 -1
- package/out/apps/register-app.d.ts +1 -1
- package/out/apps/register-app.d.ts.map +1 -1
- package/out/apps/register-app.js +3 -5
- package/out/graphql/graphql-types.d.ts +368 -4
- package/out/graphql/graphql-types.d.ts.map +1 -1
- package/out/graphql/graphql-types.js +42 -12
- package/out/index.d.ts +1 -0
- package/out/index.d.ts.map +1 -1
- package/out/index.js +1 -0
- package/out/tunnel/index.d.ts +2 -0
- package/out/tunnel/index.d.ts.map +1 -0
- package/out/tunnel/index.js +4 -0
- package/out/tunnel/tunnel-options.d.ts +10 -0
- package/out/tunnel/tunnel-options.d.ts.map +1 -0
- package/out/tunnel/tunnel-options.js +2 -0
- package/out/ui/text.d.ts +4 -1
- package/out/ui/text.d.ts.map +1 -1
- package/out/ui/text.js +4 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @forge/cli-shared
|
|
2
2
|
|
|
3
|
+
## 3.26.0-next.1
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- a0e79f5: app.runtime.name is now a required field in manifest.yml
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [a0e79f5]
|
|
12
|
+
- Updated dependencies [bbd7b7a]
|
|
13
|
+
- @forge/manifest@7.0.0-next.0
|
|
14
|
+
|
|
15
|
+
## 3.26.0-next.0
|
|
16
|
+
|
|
17
|
+
### Minor Changes
|
|
18
|
+
|
|
19
|
+
- c43a07c: enable nodejs runtime debugger
|
|
20
|
+
|
|
3
21
|
## 3.25.2
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
|
@@ -16,7 +16,7 @@ class CreateAppCommand {
|
|
|
16
16
|
}
|
|
17
17
|
async execute({ name, description, template, directory }) {
|
|
18
18
|
await this.templater.downloadAndExtract(template, directory);
|
|
19
|
-
const result = await this.registerAppCommand.registerApp({ name, description }, directory, true);
|
|
19
|
+
const result = await this.registerAppCommand.registerApp({ name, description }, directory, true, true);
|
|
20
20
|
await this.packageInstaller.install(directory);
|
|
21
21
|
return {
|
|
22
22
|
analytics: { template, appId: result.id, appName: name },
|
|
@@ -28,6 +28,6 @@ export declare class RegisterAppCommand {
|
|
|
28
28
|
private readonly logger;
|
|
29
29
|
constructor(appClient: CreateAppClient, appConfigReader: ConfigSectionReader<AppDetails>, appConfigWriter: ConfigSectionWriter<AppDetails>, logger: Logger);
|
|
30
30
|
execute(input: CreateAppClientInput, shouldPrependAppName?: boolean): Promise<RegisterAppResult>;
|
|
31
|
-
registerApp(input: CreateAppClientInput, directory: string, shouldPrependAppName: boolean): Promise<CreateAppResult>;
|
|
31
|
+
registerApp(input: CreateAppClientInput, directory: string, shouldPrependAppName: boolean, includeRuntime: boolean): Promise<CreateAppResult>;
|
|
32
32
|
}
|
|
33
33
|
//# sourceMappingURL=register-app.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"register-app.d.ts","sourceRoot":"","sources":["../../src/apps/register-app.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAErE,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,YAAY,EAAE;QACZ,GAAG,EAAE,MAAM,CAAC;KACb,EAAE,CAAC;CACL;AAED,MAAM,WAAW,eAAe;IAC9B,SAAS,CA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AAC,KAAK,EAAE,oBAAoB,GAAG,OAAO,CAAC,eAAe,CAAC,CAAC;CAClE;AAED,oBAAY,iBAAiB,GAAG;IAC9B,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,SAAS,EAAE;QACT,KAAK,EAAE,MAAM,CAAC;QACd,OAAO,EAAE,MAAM,CAAC;KACjB,CAAC;CACH,CAAC;AAEF,qBAAa,kBAAkB;IAE3B,OAAO,CAAC,QAAQ,CAAC,SAAS;IAC1B,OAAO,CAAC,QAAQ,CAAC,eAAe;IAChC,OAAO,CAAC,QAAQ,CAAC,eAAe;IAChC,OAAO,CAAC,QAAQ,CAAC,MAAM;gBAHN,SAAS,EAAE,eAAe,EAC1B,eAAe,EAAE,mBAAmB,CAAC,UAAU,CAAC,EAChD,eAAe,EAAE,mBAAmB,CAAC,UAAU,CAAC,EAChD,MAAM,EAAE,MAAM;IAGpB,OAAO,CAAC,KAAK,EAAE,oBAAoB,EAAE,oBAAoB,UAAQ,GAAG,OAAO,CAAC,iBAAiB,CAAC;IAQ9F,WAAW,CACtB,KAAK,EAAE,oBAAoB,EAC3B,SAAS,EAAE,MAAM,EACjB,oBAAoB,EAAE,OAAO,EAC7B,cAAc,EAAE,OAAO,GACtB,OAAO,CAAC,eAAe,CAAC;CAyB5B"}
|
package/out/apps/register-app.js
CHANGED
|
@@ -11,20 +11,18 @@ class RegisterAppCommand {
|
|
|
11
11
|
this.logger = logger;
|
|
12
12
|
}
|
|
13
13
|
async execute(input, shouldPrependAppName = false) {
|
|
14
|
-
const result = await this.registerApp(input, '.', shouldPrependAppName);
|
|
14
|
+
const result = await this.registerApp(input, '.', shouldPrependAppName, false);
|
|
15
15
|
return {
|
|
16
16
|
analytics: { appId: result.id, appName: input.name },
|
|
17
17
|
environments: result.environments.map((env) => env.key)
|
|
18
18
|
};
|
|
19
19
|
}
|
|
20
|
-
async registerApp(input, directory, shouldPrependAppName) {
|
|
20
|
+
async registerApp(input, directory, shouldPrependAppName, includeRuntime) {
|
|
21
21
|
this.logger.info(ui_1.Text.create.taskRegister);
|
|
22
22
|
const result = await this.appClient.createApp(input);
|
|
23
23
|
await (0, file_system_1.inDirectory)(directory, async () => {
|
|
24
24
|
const section = await this.appConfigReader.readConfigSection();
|
|
25
|
-
let newAppDetails = {
|
|
26
|
-
id: result.id
|
|
27
|
-
};
|
|
25
|
+
let newAppDetails = Object.assign({ id: result.id }, (includeRuntime ? { runtime: { name: 'nodejs18.x' } } : {}));
|
|
28
26
|
if (section !== 'invalid' && section !== 'missing') {
|
|
29
27
|
newAppDetails = Object.assign(Object.assign({}, section), newAppDetails);
|
|
30
28
|
}
|