@forge/cli-shared 10.0.1-next.4-experimental-e080d98 → 10.1.0-next.5
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 +2 -15
- 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/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/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,10 @@
|
|
|
1
1
|
# @forge/cli-shared
|
|
2
2
|
|
|
3
|
-
## 10.0
|
|
3
|
+
## 10.1.0-next.5
|
|
4
4
|
|
|
5
5
|
### Minor Changes
|
|
6
6
|
|
|
7
|
-
-
|
|
8
|
-
|
|
9
|
-
### Patch Changes
|
|
10
|
-
|
|
11
|
-
- 982339a: Remove forge-cli-enable-developer-space-enforcement-flow feature gate. Developer space enforcement is now always enabled (unless FedRAMP or FORGE_CLI_DISABLE_DEV_SPACE=true).
|
|
12
|
-
- da3d08c: `forge module show` errors now say what to do next. In non-interactive mode, a missing module key is reported as `MISSING_INPUT` with a `Next:` command. An unknown key points to `forge module list`. A failed template download has its own message.
|
|
13
|
-
- 517fee2: Reduced `forge` startup time by loading `@forge/manifest`, `@forge/bundler`, `@forge/tunnel`, `inquirer`, `typescript`, `open` and `@sentry/node` on first use
|
|
14
|
-
|
|
15
|
-
These packages are now loaded when a command first needs them, instead of at startup. The manifest change warning in `@forge/tunnel` now takes the manifest file name as an argument, and `findUIKit1Modules` in `@forge/cli-shared` now returns a promise.
|
|
16
|
-
|
|
17
|
-
- fd8f229: Don't suggest rerunning with `--verbose` when an input is missing (a `[MISSING_INPUT]` error, a missing required argument, or an option without its value), as the error already says what to pass
|
|
18
|
-
- Updated dependencies [0a22c6b]
|
|
19
|
-
- Updated dependencies [a1c1754]
|
|
20
|
-
- @forge/manifest@13.9.2-next.0-experimental-e080d98
|
|
7
|
+
- 7aeb5de: Transition to experiment gate for forge create with module templates
|
|
21
8
|
|
|
22
9
|
## 10.0.1-next.4
|
|
23
10
|
|
|
@@ -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,IAAI,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;CAC3C;AAED,MAAM,MAAM,QAAQ,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC;AACpC,MAAM,MAAM,cAAc,GAAG,UAAU,GAAG,UAAU,GAAG,SAAS,CAAC;AACjE,MAAM,WAAW,eAAgB,SAAQ,QAAQ;IAC/C,YAAY,EAAE,cAAc,CAAC;CAC9B;AAgBD,wBAAsB,iBAAiB,CAAC,OAAO,EAAE,OAAO,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,CA8D3E;AAGD,eAAO,MAAM,4BAA4B,UAA2C,CAAC;AAErF,wBAAgB,6BAA6B,CAAC,OAAO,EAAE,OAA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xB"}
|
|
@@ -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'];
|