screenci 0.0.33 → 0.0.37
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/README.md +1 -2
- package/bin/screenci.js +8 -0
- package/dist/cli.d.ts +0 -7
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +71 -455
- package/dist/cli.js.map +1 -1
- package/dist/src/browserLaunchOptions.d.ts +1 -1
- package/dist/src/browserLaunchOptions.d.ts.map +1 -1
- package/dist/src/browserLaunchOptions.js +1 -4
- package/dist/src/browserLaunchOptions.js.map +1 -1
- package/dist/src/config.d.ts +1 -1
- package/dist/src/config.d.ts.map +1 -1
- package/dist/src/config.js +17 -53
- package/dist/src/config.js.map +1 -1
- package/dist/src/types.d.ts +12 -5
- package/dist/src/types.d.ts.map +1 -1
- package/dist/src/video.d.ts +0 -1
- package/dist/src/video.d.ts.map +1 -1
- package/dist/src/video.js +47 -247
- package/dist/src/video.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +7 -7
- package/skills/screenci/SKILL.md +1 -1
- package/skills/screenci/references/init.md +2 -3
- package/skills/screenci/references/record.md +1 -1
- package/dist/Dockerfile +0 -41
- package/dist/src/chromiumProfile.d.ts +0 -6
- package/dist/src/chromiumProfile.d.ts.map +0 -1
- package/dist/src/chromiumProfile.js +0 -20
- package/dist/src/chromiumProfile.js.map +0 -1
- package/dist/src/xvfb.d.ts +0 -22
- package/dist/src/xvfb.d.ts.map +0 -1
- package/dist/src/xvfb.js +0 -87
- package/dist/src/xvfb.js.map +0 -1
package/README.md
CHANGED
|
@@ -25,7 +25,6 @@ screenci/
|
|
|
25
25
|
screenci.config.ts ← video settings
|
|
26
26
|
videos/
|
|
27
27
|
example.video.ts ← your first video script
|
|
28
|
-
Dockerfile ← container image for CI recording
|
|
29
28
|
package.json
|
|
30
29
|
.gitignore
|
|
31
30
|
```
|
|
@@ -104,7 +103,7 @@ export default defineConfig({
|
|
|
104
103
|
})
|
|
105
104
|
```
|
|
106
105
|
|
|
107
|
-
screenci enforces `workers: 1`, `retries: 0`, and `fullyParallel: false`
|
|
106
|
+
screenci enforces `workers: 1`, `retries: 0`, and `fullyParallel: false` so each generated video has one deterministic timeline. Don't fight it.
|
|
108
107
|
|
|
109
108
|
## AI narration
|
|
110
109
|
|
package/bin/screenci.js
ADDED
package/dist/cli.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
#!/usr/bin/env -S npx tsx
|
|
2
1
|
import type { RecordingCustomVoiceRef, RecordingData } from './src/events.js';
|
|
3
2
|
import type { VoiceKey } from './src/voices.js';
|
|
4
3
|
type PreparedUploadAsset = {
|
|
@@ -10,11 +9,6 @@ type PreparedUploadAsset = {
|
|
|
10
9
|
contentType?: string;
|
|
11
10
|
};
|
|
12
11
|
export declare function attachUploadAbortStdinListener(input: Pick<NodeJS.ReadStream, 'on' | 'off' | 'pause'>, onAbort: (signal: NodeJS.Signals) => void): () => void;
|
|
13
|
-
declare const MIN_CONTAINER_RUNTIME_MAJOR_VERSION: {
|
|
14
|
-
readonly podman: 3;
|
|
15
|
-
readonly docker: 27;
|
|
16
|
-
};
|
|
17
|
-
type ContainerRuntimeName = keyof typeof MIN_CONTAINER_RUNTIME_MAJOR_VERSION;
|
|
18
12
|
export declare function stripVoicePath(voice: VoiceKey | RecordingCustomVoiceRef): VoiceKey | RecordingCustomVoiceRef;
|
|
19
13
|
export declare function annotateRecordingDataWithAssetHashes(data: RecordingData, assets: PreparedUploadAsset[]): RecordingData;
|
|
20
14
|
export declare function formatUploadStartFailureMessage(videoName: string, status: number, responseText: string, secret: string): string;
|
|
@@ -23,6 +17,5 @@ export declare function getDevBackendUrl(): string;
|
|
|
23
17
|
export declare function getDevFrontendUrl(): string;
|
|
24
18
|
export declare function extractConfigStringLiteral(configSource: string, property: 'projectName' | 'envFile'): string | undefined;
|
|
25
19
|
export declare function main(): Promise<void>;
|
|
26
|
-
export declare function detectContainerRuntime(forcedRuntime?: ContainerRuntimeName): ContainerRuntimeName;
|
|
27
20
|
export {};
|
|
28
21
|
//# sourceMappingURL=cli.d.ts.map
|
package/dist/cli.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../cli.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../cli.ts"],"names":[],"mappings":"AAsBA,OAAO,KAAK,EACV,uBAAuB,EACvB,aAAa,EAEd,MAAM,iBAAiB,CAAA;AACxB,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AA4D/C,KAAK,mBAAmB,GAAG;IACzB,QAAQ,EAAE,MAAM,CAAA;IAChB,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB,CAAA;AAiBD,wBAAgB,8BAA8B,CAC5C,KAAK,EAAE,IAAI,CAAC,MAAM,CAAC,UAAU,EAAE,IAAI,GAAG,KAAK,GAAG,OAAO,CAAC,EACtD,OAAO,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,OAAO,KAAK,IAAI,GACxC,MAAM,IAAI,CAiBZ;AAuXD,wBAAgB,cAAc,CAC5B,KAAK,EAAE,QAAQ,GAAG,uBAAuB,GACxC,QAAQ,GAAG,uBAAuB,CAKpC;AAED,wBAAgB,oCAAoC,CAClD,IAAI,EAAE,aAAa,EACnB,MAAM,EAAE,mBAAmB,EAAE,GAC5B,aAAa,CAqEf;AAQD,wBAAgB,+BAA+B,CAC7C,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,MAAM,EACpB,MAAM,EAAE,MAAM,GACb,MAAM,CAeR;AAED,wBAAgB,8BAA8B,CAC5C,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,MAAM,EACpB,MAAM,EAAE,MAAM,GACb,IAAI,CAcN;AAgRD,wBAAgB,gBAAgB,IAAI,MAAM,CAKzC;AAED,wBAAgB,iBAAiB,IAAI,MAAM,CAK1C;AA4HD,wBAAgB,0BAA0B,CACxC,YAAY,EAAE,MAAM,EACpB,QAAQ,EAAE,aAAa,GAAG,SAAS,GAClC,MAAM,GAAG,SAAS,CAepB;AAmqBD,wBAAsB,IAAI,kBA+NzB"}
|