document360-capture 0.2.0 → 0.2.2

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.
Files changed (48) hide show
  1. package/LICENSE +10 -16
  2. package/README.md +1 -1
  3. package/dist/cli.js +21 -91
  4. package/dist/commands/init.d.ts +5 -1
  5. package/dist/config/projectConfig.d.ts +60 -5
  6. package/dist/config/writerConfigDefaults.d.ts +18 -0
  7. package/dist/helpers/index.js +1 -3
  8. package/dist/scripts/postinstall.js +1 -18
  9. package/package.json +3 -3
  10. package/dist/annotate/compose.js +0 -65
  11. package/dist/annotate/compose.js.map +0 -1
  12. package/dist/annotate/svg.js +0 -42
  13. package/dist/annotate/svg.js.map +0 -1
  14. package/dist/cli.js.map +0 -1
  15. package/dist/commands/auth.js +0 -73
  16. package/dist/commands/auth.js.map +0 -1
  17. package/dist/commands/capture.js +0 -87
  18. package/dist/commands/capture.js.map +0 -1
  19. package/dist/commands/doctor.js +0 -96
  20. package/dist/commands/doctor.js.map +0 -1
  21. package/dist/commands/init.js +0 -100
  22. package/dist/commands/init.js.map +0 -1
  23. package/dist/commands/list.js +0 -33
  24. package/dist/commands/list.js.map +0 -1
  25. package/dist/commands/profile.js +0 -43
  26. package/dist/commands/profile.js.map +0 -1
  27. package/dist/commands/status.js +0 -27
  28. package/dist/commands/status.js.map +0 -1
  29. package/dist/config/authState.js +0 -27
  30. package/dist/config/authState.js.map +0 -1
  31. package/dist/config/projectConfig.js +0 -59
  32. package/dist/config/projectConfig.js.map +0 -1
  33. package/dist/config/userConfig.js +0 -24
  34. package/dist/config/userConfig.js.map +0 -1
  35. package/dist/helpers/dumpAnnotations.js +0 -39
  36. package/dist/helpers/dumpAnnotations.js.map +0 -1
  37. package/dist/helpers/index.js.map +0 -1
  38. package/dist/helpers/types.js +0 -2
  39. package/dist/helpers/types.js.map +0 -1
  40. package/dist/helpers/waitPastLogin.js +0 -7
  41. package/dist/helpers/waitPastLogin.js.map +0 -1
  42. package/dist/runner/expiryDetect.js +0 -19
  43. package/dist/runner/expiryDetect.js.map +0 -1
  44. package/dist/runner/playwrightConfig.js +0 -71
  45. package/dist/runner/playwrightConfig.js.map +0 -1
  46. package/dist/runner/runSpecs.js +0 -88
  47. package/dist/runner/runSpecs.js.map +0 -1
  48. package/dist/scripts/postinstall.js.map +0 -1
@@ -1,19 +0,0 @@
1
- const LOGIN_REDIRECT_PATTERNS = [
2
- /login\.microsoftonline\.com/i,
3
- /login\.live\.com/i,
4
- /accounts\.google\.com/i,
5
- /\/oauth(2)?\/authorize/i,
6
- /\/sign[- ]?in/i,
7
- /\bauthn\b/i,
8
- ];
9
- const EXPIRY_HINT_PATTERNS = [
10
- /waitForURL.*timed?[- ]?out/i,
11
- /page\.goto.*redirected/i,
12
- /storageState.*invalid/i,
13
- ];
14
- export function looksLikeSessionExpiry(output) {
15
- if (LOGIN_REDIRECT_PATTERNS.some(p => p.test(output)))
16
- return true;
17
- return EXPIRY_HINT_PATTERNS.some(p => p.test(output));
18
- }
19
- //# sourceMappingURL=expiryDetect.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"expiryDetect.js","sourceRoot":"","sources":["../../src/runner/expiryDetect.ts"],"names":[],"mappings":"AAAA,MAAM,uBAAuB,GAAG;IAC9B,8BAA8B;IAC9B,mBAAmB;IACnB,wBAAwB;IACxB,yBAAyB;IACzB,gBAAgB;IAChB,YAAY;CACb,CAAC;AAEF,MAAM,oBAAoB,GAAG;IAC3B,6BAA6B;IAC7B,yBAAyB;IACzB,wBAAwB;CACzB,CAAC;AAEF,MAAM,UAAU,sBAAsB,CAAC,MAAc;IACnD,IAAI,uBAAuB,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QAAE,OAAO,IAAI,CAAC;IACnE,OAAO,oBAAoB,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;AACxD,CAAC"}
@@ -1,71 +0,0 @@
1
- import { writeFileSync, mkdirSync, existsSync } from 'node:fs';
2
- import { createRequire } from 'node:module';
3
- import { join, isAbsolute, resolve } from 'node:path';
4
- const require = createRequire(import.meta.url);
5
- export function writeRuntimePlaywrightConfig(args) {
6
- const { cwd, profileName, captureDir, viewport, storageStatePath } = args;
7
- const cacheDir = join(cwd, '.d360-capture-cache');
8
- if (!existsSync(cacheDir))
9
- mkdirSync(cacheDir, { recursive: true });
10
- const path = join(cacheDir, `playwright.${profileName}.config.cjs`);
11
- const captureDirAbs = isAbsolute(captureDir) ? captureDir : resolve(cwd, captureDir);
12
- const storageAbs = isAbsolute(storageStatePath) ? storageStatePath : resolve(cwd, storageStatePath);
13
- // The generated config lives in the CONSUMING repo, which typically does
14
- // not have @playwright/test in its node_modules (the CLI is installed
15
- // globally). Resolve it from the CLI's own dependency tree at generation
16
- // time and require it by absolute path.
17
- const playwrightTestPath = require.resolve('@playwright/test');
18
- const body = `// Generated by document360-capture — do not edit by hand.
19
- const { defineConfig } = require(${JSON.stringify(playwrightTestPath)});
20
- module.exports = defineConfig({
21
- testDir: ${JSON.stringify(captureDirAbs)},
22
- testMatch: '**/*.spec.ts',
23
- fullyParallel: false,
24
- workers: 1,
25
- retries: 0,
26
- reporter: [['list']],
27
- use: {
28
- headless: false,
29
- viewport: ${JSON.stringify(viewport)},
30
- storageState: ${JSON.stringify(storageAbs)},
31
- actionTimeout: 15000,
32
- navigationTimeout: 30000,
33
- contextOptions: { reducedMotion: 'reduce' },
34
- },
35
- });
36
- `;
37
- writeFileSync(path, body, 'utf8');
38
- // Spec files import '@playwright/test' and 'document360-capture/helpers'
39
- // by bare specifier, but the consuming repo usually has neither in its
40
- // node_modules (the CLI is installed globally) — and Playwright's ESM
41
- // loader ignores NODE_PATH. Generate a tsconfig with absolute path
42
- // mappings into the CLI's own dependency tree; runSpecs passes it via
43
- // `playwright test --tsconfig`, whose mappings Playwright applies when
44
- // transpiling spec imports.
45
- const tsconfigPath = join(cacheDir, `tsconfig.${profileName}.json`);
46
- const toSlash = (p) => p.replace(/\\/g, '/');
47
- // Self-reference resolution (Node >= 12.16): inside the package, its own
48
- // name resolves through its exports map — works for global installs,
49
- // npm link, and the dev monorepo alike.
50
- const helpersPath = require.resolve('document360-capture/helpers');
51
- // When specs are loaded as ESM (consuming repo has "type": "module"),
52
- // mapping '@playwright/test' to its CJS index.js breaks named imports
53
- // (cjs-module-lexer can't see the re-exported names). Prefer the ESM
54
- // wrapper (index.mjs, ships with every modern @playwright/test) and fall
55
- // back to the CJS entry for old versions.
56
- const playwrightTestDir = join(require.resolve('@playwright/test/package.json'), '..');
57
- const playwrightTestMjs = join(playwrightTestDir, 'index.mjs');
58
- const playwrightTestImport = existsSync(playwrightTestMjs) ? playwrightTestMjs : playwrightTestPath;
59
- const tsconfig = {
60
- compilerOptions: {
61
- baseUrl: '.',
62
- paths: {
63
- 'document360-capture/helpers': [toSlash(helpersPath)],
64
- '@playwright/test': [toSlash(playwrightTestImport)],
65
- },
66
- },
67
- };
68
- writeFileSync(tsconfigPath, JSON.stringify(tsconfig, null, 2), 'utf8');
69
- return { configPath: path, tsconfigPath };
70
- }
71
- //# sourceMappingURL=playwrightConfig.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"playwrightConfig.js","sourceRoot":"","sources":["../../src/runner/playwrightConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAC/D,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEtD,MAAM,OAAO,GAAG,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAe/C,MAAM,UAAU,4BAA4B,CAAC,IAAuB;IAClE,MAAM,EAAE,GAAG,EAAE,WAAW,EAAE,UAAU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,EAAE,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;IACrD,yEAAyE;IACzE,qEAAqE;IACrE,wCAAwC;IACxC,MAAM,WAAW,GAAG,OAAO,CAAC,OAAO,CAAC,6BAA6B,CAAC,CAAC;IACnE,sEAAsE;IACtE,sEAAsE;IACtE,qEAAqE;IACrE,yEAAyE;IACzE,0CAA0C;IAC1C,MAAM,iBAAiB,GAAG,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,+BAA+B,CAAC,EAAE,IAAI,CAAC,CAAC;IACvF,MAAM,iBAAiB,GAAG,IAAI,CAAC,iBAAiB,EAAE,WAAW,CAAC,CAAC;IAC/D,MAAM,oBAAoB,GAAG,UAAU,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC,kBAAkB,CAAC;IACpG,MAAM,QAAQ,GAAG;QACf,eAAe,EAAE;YACf,OAAO,EAAE,GAAG;YACZ,KAAK,EAAE;gBACL,6BAA6B,EAAE,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC;gBACrD,kBAAkB,EAAE,CAAC,OAAO,CAAC,oBAAoB,CAAC,CAAC;aACpD;SACF;KACF,CAAC;IACF,aAAa,CAAC,YAAY,EAAE,IAAI,CAAC,SAAS,CAAC,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC;IAEvE,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC;AAC5C,CAAC"}
@@ -1,88 +0,0 @@
1
- import { spawn } from 'node:child_process';
2
- import { createRequire } from 'node:module';
3
- import { fileURLToPath } from 'node:url';
4
- import { delimiter, dirname, join, resolve as resolvePath } from 'node:path';
5
- const require = createRequire(import.meta.url);
6
- export async function runSpecs(args) {
7
- const { cwd, configPath, tsconfigPath, startUrl, authBoundaryUrlPattern, specId, captureDirAbs } = args;
8
- const cliPath = resolvePlaywrightCli();
9
- if (!cliPath) {
10
- return {
11
- exitCode: 127,
12
- stdout: '',
13
- stderr: 'Cannot locate @playwright/test CLI. Try: npm install -g document360-capture (reinstall)',
14
- };
15
- }
16
- const cliArgs = [cliPath, 'test', '--config', configPath, '--tsconfig', tsconfigPath];
17
- // Playwright treats positional args as REGEXES matched against test file
18
- // paths — a Windows absolute path (backslashes) never matches. Pass the
19
- // regex-escaped filename instead; testDir scoping makes it unambiguous.
20
- if (specId)
21
- cliArgs.push(escapeRegex(`${specId}.spec.ts`));
22
- return new Promise(resolve => {
23
- let stdout = '';
24
- let stderr = '';
25
- const child = spawn(process.execPath, cliArgs, {
26
- cwd,
27
- env: {
28
- ...process.env,
29
- CAPTURE_START_URL: startUrl,
30
- CAPTURE_AUTH_BOUNDARY: authBoundaryUrlPattern,
31
- // Spec files import 'document360-capture/helpers' by package name,
32
- // but the consuming repo usually doesn't have the package in its
33
- // local node_modules (the CLI is installed globally). NODE_PATH
34
- // makes bare specifiers fall back to the CLI's own install
35
- // locations after the normal node_modules walk-up.
36
- NODE_PATH: buildNodePath(),
37
- },
38
- shell: false,
39
- });
40
- child.stdout.on('data', (chunk) => {
41
- const s = chunk.toString();
42
- stdout += s;
43
- process.stdout.write(s);
44
- });
45
- child.stderr.on('data', (chunk) => {
46
- const s = chunk.toString();
47
- stderr += s;
48
- process.stderr.write(s);
49
- });
50
- child.on('error', err => {
51
- stderr += `\n[spawn error] ${err.message}`;
52
- resolve({ exitCode: 127, stdout, stderr });
53
- });
54
- child.on('close', code => {
55
- resolve({ exitCode: code ?? 1, stdout, stderr });
56
- });
57
- });
58
- }
59
- function escapeRegex(s) {
60
- return s.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
61
- }
62
- function buildNodePath() {
63
- // dist/runner/runSpecs.js → package root is two levels up.
64
- const packageRoot = resolvePath(dirname(fileURLToPath(import.meta.url)), '..', '..');
65
- const entries = [
66
- join(packageRoot, 'node_modules'), // the CLI's own deps (@playwright/test, sharp, …)
67
- dirname(packageRoot), // the node_modules dir CONTAINING the CLI → resolves 'document360-capture/helpers'
68
- ];
69
- if (process.env.NODE_PATH)
70
- entries.push(process.env.NODE_PATH);
71
- return entries.join(delimiter);
72
- }
73
- function resolvePlaywrightCli() {
74
- // Newer @playwright/test versions (>= ~1.50) export './cli' in their
75
- // exports map and block deep './cli.js' resolution; older versions only
76
- // resolve the literal file. Try both shapes, then the playwright package.
77
- const candidates = ['@playwright/test/cli', '@playwright/test/cli.js', 'playwright/cli', 'playwright/cli.js'];
78
- for (const candidate of candidates) {
79
- try {
80
- return require.resolve(candidate);
81
- }
82
- catch {
83
- // try next shape
84
- }
85
- }
86
- return null;
87
- }
88
- //# sourceMappingURL=runSpecs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"runSpecs.js","sourceRoot":"","sources":["../../src/runner/runSpecs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAC3C,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,WAAW,CAAC;AAkB7E,MAAM,OAAO,GAAG,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAE/C,MAAM,CAAC,KAAK,UAAU,QAAQ,CAAC,IAAkB;IAC/C,MAAM,EAAE,GAAG,EAAE,UAAU,EAAE,YAAY,EAAE,QAAQ,EAAE,sBAAsB,EAAE,MAAM,EAAE,aAAa,EAAE,GAAG,IAAI,CAAC;IACxG,MAAM,OAAO,GAAG,oBAAoB,EAAE,CAAC;IACvC,IAAI,CAAC,OAAO,EAAE,CAAC;QACb,OAAO;YACL,QAAQ,EAAE,GAAG;YACb,MAAM,EAAE,EAAE;YACV,MAAM,EAAE,yFAAyF;SAClG,CAAC;IACJ,CAAC;IAED,MAAM,OAAO,GA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