@forge/cli-shared 10.0.1-next.4-experimental-e080d98 → 10.1.0-next.6
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 +8 -13
- package/out/apps/get-app-owner.d.ts.map +1 -1
- package/out/config/config-file.d.ts.map +1 -1
- package/out/config/config-file.js +2 -6
- package/out/config/index.d.ts +0 -1
- package/out/config/index.d.ts.map +1 -1
- package/out/config/index.js +0 -1
- package/out/graphql/gql/graphql.d.ts +5 -0
- package/out/graphql/gql/graphql.d.ts.map +1 -1
- package/out/service/bridge-script-service.d.ts +1 -1
- package/out/service/bridge-script-service.d.ts.map +1 -1
- package/out/service/bridge-script-service.js +3 -3
- package/out/service/iframe-resizer-script-service.d.ts +1 -1
- package/out/service/iframe-resizer-script-service.d.ts.map +1 -1
- package/out/service/iframe-resizer-script-service.js +3 -3
- package/out/service/statsig-service.d.ts +13 -2
- package/out/service/statsig-service.d.ts.map +1 -1
- package/out/service/statsig-service.js +90 -2
- package/out/shared/load-html.d.ts +3 -0
- package/out/shared/load-html.d.ts.map +1 -0
- package/out/shared/load-html.js +4 -0
- package/out/ui/text.d.ts +0 -5
- package/out/ui/text.d.ts.map +1 -1
- package/out/ui/text.js +0 -5
- package/package.json +3 -2
- package/out/config/workflows-integration.d.ts +0 -18
- package/out/config/workflows-integration.d.ts.map +0 -1
- package/out/config/workflows-integration.js +0 -71
package/CHANGELOG.md
CHANGED
|
@@ -1,23 +1,18 @@
|
|
|
1
1
|
# @forge/cli-shared
|
|
2
2
|
|
|
3
|
-
## 10.0
|
|
4
|
-
|
|
5
|
-
### Minor Changes
|
|
6
|
-
|
|
7
|
-
- 0a22c6b: Forge Workflows pipelines are now compiled by the Forge CLI when it bundles an app that depends on `@forge/workflows`. The orchestrator's function and queue consumer are added to the uploaded manifest at build time, and module keys and queue names starting with `__forge` are now reserved (a lint warning for now). Pipelines are built from `task()` functions and end in `.start()`, which queues a run and resolves to `{ runId, created }` for polling with `runs.get`; `.start({ idempotencyKey })` starts at most one run per key. The runtime records each step's outcome so redelivered events are safe, and adds `.catch()`, `loop()`/`.loop()`, `collect({ concurrency, settle })` (concurrency defaults to 10, at most 25), `all`, `sleep`, `waitForSignal`/`runs.signal`, retry policies, step timeouts, `.finally()` for work that runs once a run has ended, `currentStep()` for a step's stable ID and attempt, and `runs.get`/`runs.cancel`.
|
|
3
|
+
## 10.1.0-next.6
|
|
8
4
|
|
|
9
5
|
### Patch Changes
|
|
10
6
|
|
|
11
|
-
-
|
|
12
|
-
-
|
|
13
|
-
-
|
|
7
|
+
- 92f0a93: Load `cheerio/slim` instead of `cheerio`, which skips parse5 and undici, to start custom UI commands faster. `@forge/manifest` now loads `cheerio` and `@sentry/node` only when it needs them, and its error messages no longer pull in the whole manifest parser.
|
|
8
|
+
- Updated dependencies [92f0a93]
|
|
9
|
+
- @forge/manifest@13.9.2-next.1
|
|
14
10
|
|
|
15
|
-
|
|
11
|
+
## 10.1.0-next.5
|
|
16
12
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
-
|
|
20
|
-
- @forge/manifest@13.9.2-next.0-experimental-e080d98
|
|
13
|
+
### Minor Changes
|
|
14
|
+
|
|
15
|
+
- 7aeb5de: Transition to experiment gate for forge create with module templates
|
|
21
16
|
|
|
22
17
|
## 10.0.1-next.4
|
|
23
18
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-app-owner.d.ts","sourceRoot":"","sources":["../../src/apps/get-app-owner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAA4B,MAAM,qBAAqB,CAAC;AAE9E,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAEpD,qBAAa,oBAAqB,SAAQ,KAAK;;CAI9C;AAED,eAAO,MAAM,aAAa;
|
|
1
|
+
{"version":3,"file":"get-app-owner.d.ts","sourceRoot":"","sources":["../../src/apps/get-app-owner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAA4B,MAAM,qBAAqB,CAAC;AAE9E,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAEpD,qBAAa,oBAAqB,SAAQ,KAAK;;CAI9C;AAED,eAAO,MAAM,aAAa;QAuC+z+lH,iDAAc;GA9Br2+lH,CAAC;AAEH,qBAAa,gBAAgB;IAEzB,OAAO,CAAC,QAAQ,CAAC,aAAa;IAC9B,OAAO,CAAC,QAAQ,CAAC,YAAY;gBADZ,aAAa,EAAE,aAAa,EAC5B,YAAY,EAAE,iBAAiB;IAGrC,OAAO;;;;;;;;;;;;;YAMN,WAAW;CAe1B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config-file.d.ts","sourceRoot":"","sources":["../../src/config/config-file.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAG7E,OAAO,EAAE,YAAY,EAAE,YAAY,EAAoB,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"config-file.d.ts","sourceRoot":"","sources":["../../src/config/config-file.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAG7E,OAAO,EAAE,YAAY,EAAE,YAAY,EAAoB,MAAM,YAAY,CAAC;AAG1E,OAAO,KAAK,EACV,OAAO,EACP,cAAc,EAEd,SAAS,EAIV,MAAM,iBAAiB,CAAC;AAGzB,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAEhE,qBAAa,oBAAqB,SAAQ,eAAe;;CAIxD;AAED,qBAAa,8BAA+B,SAAQ,SAAS;gBAC/C,SAAS,EAAE,MAAM,EAAE;CAGhC;AAED,MAAM,WAAW,OAAO;IACtB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,gBAAgB;IAC/B,cAAc,I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AgB;IAIX,oBAAoB,IAAI,OAAO,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,EAAE,GAAG,SAAS,CAAA;KAAE,EAAE,CAAC;IAqClF,gBAAgB,IAAI,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAe1E,YAAY,CAAC,aAAa,CAAC,EAAE,cAAc,EAAE,GAAG,OAAO,CAAC,eAAe,EAAE,CAAC;IAuB1E,aAAa,IAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC;IAKzD,OAAO,CAAC,eAAe;CAmCxB"}
|
|
@@ -3,7 +3,6 @@ import { Text } from '../ui/index.js';
|
|
|
3
3
|
import { manifestFileName } from './index.js';
|
|
4
4
|
import Case from 'case';
|
|
5
5
|
import { isHostedResourceModule, ModuleEntryPoints, validateResource } from './config.js';
|
|
6
|
-
import { loadWorkflowsIntegration, removeGeneratedModules } from './workflows-integration.js';
|
|
7
6
|
import { URL } from 'url';
|
|
8
7
|
import { UserError, ValidationError } from '../shared/index.js';
|
|
9
8
|
export class InvalidManifestError extends ValidationError {
|
|
@@ -118,9 +117,8 @@ export class ConfigFile {
|
|
|
118
117
|
throw new InvalidManifestError();
|
|
119
118
|
}
|
|
120
119
|
this.manifestParser ??= new (await import('@forge/manifest')).ManifestParserBuilder().withInterpolators().build();
|
|
121
|
-
let manifest;
|
|
122
120
|
try {
|
|
123
|
-
|
|
121
|
+
return this.manifestParser.parseManifest({
|
|
124
122
|
content: manifestFileContents,
|
|
125
123
|
filePath: manifestFileName
|
|
126
124
|
});
|
|
@@ -128,8 +126,6 @@ export class ConfigFile {
|
|
|
128
126
|
catch {
|
|
129
127
|
throw new InvalidManifestError();
|
|
130
128
|
}
|
|
131
|
-
const workflows = loadWorkflowsIntegration();
|
|
132
|
-
return workflows ? workflows.enrichManifest(manifest) : manifest;
|
|
133
129
|
}
|
|
134
130
|
async runtimeName() {
|
|
135
131
|
const config = await this.readConfig();
|
|
@@ -176,7 +172,7 @@ export class ConfigFile {
|
|
|
176
172
|
delete config[key];
|
|
177
173
|
}
|
|
178
174
|
});
|
|
179
|
-
currentConfigDoc.set(configKey,
|
|
175
|
+
currentConfigDoc.set(configKey, config);
|
|
180
176
|
this.writeManifest(currentConfigDoc);
|
|
181
177
|
}
|
|
182
178
|
getHostedResourceModules(modules) {
|
package/out/config/index.d.ts
CHANGED
|
@@ -2,7 +2,6 @@ export * from './config-codec-types.js';
|
|
|
2
2
|
export * from './config-file-section-reader.js';
|
|
3
3
|
export * from './config-file-section-writer.js';
|
|
4
4
|
export * from './config-file.js';
|
|
5
|
-
export * from './workflows-integration.js';
|
|
6
5
|
export * from './config-section.js';
|
|
7
6
|
export * from './config.js';
|
|
8
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/config/index.ts"],"names":[],"mappings":"AAEA,cAAc,yBAAyB,CAAC;AACxC,cAAc,iCAAiC,CAAC;AAChD,cAAc,iCAAiC,CAAC;AAChD,cAAc,kBAAkB,CAAC;AACjC,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/config/index.ts"],"names":[],"mappings":"AAEA,cAAc,yBAAyB,CAAC;AACxC,cAAc,iCAAiC,CAAC;AAChD,cAAc,iCAAiC,CAAC;AAChD,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,aAAa,CAAC"}
|
package/out/config/index.js
CHANGED
|
@@ -2,6 +2,5 @@ export * from './config-codec-types.js';
|
|
|
2
2
|
export * from './config-file-section-reader.js';
|
|
3
3
|
export * from './config-file-section-writer.js';
|
|
4
4
|
export * from './config-file.js';
|
|
5
|
-
export * from './workflows-integration.js';
|
|
6
5
|
export * from './config-section.js';
|
|
7
6
|
export * from './config.js';
|
|
@@ -10903,6 +10903,11 @@ export type DevAiAutodevNextSetDefaultSuggestedClassificationRepositoryInput = {
|
|
|
10903
10903
|
suggestedClassificationRepositoryId: Scalars['ID']['input'];
|
|
10904
10904
|
};
|
|
10905
10905
|
export type DevAiAutodevNextSharedProjectPolicyStatusFilter = 'ACTIVE' | 'ALL' | 'REVOKED';
|
|
10906
|
+
export type DevAiAutodevNextSubmitWorkItemInput = {
|
|
10907
|
+
cloudId: Scalars['ID']['input'];
|
|
10908
|
+
workItemId: Scalars['ID']['input'];
|
|
10909
|
+
workstreamId?: InputMaybe<Scalars['ID']['input']>;
|
|
10910
|
+
};
|
|
10906
10911
|
export type DevAiAutodevNextTransferWorkstreamOwnershipInput = {
|
|
10907
10912
|
cloudId: Scalars['ID']['input'];
|
|
10908
10913
|
newOwnerUserId: Scalars['ID']['input'];
|