impeccable 2.0.1 → 2.0.4

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/bin/impeccable CHANGED
@@ -5,7 +5,7 @@
5
5
  *
6
6
  * Usage:
7
7
  * npx impeccable detect [file-or-dir-or-url...]
8
- * npx impeccable detect --fast --json src/
8
+ * npx impeccable skills help|install|update
9
9
  * npx impeccable --help
10
10
  */
11
11
 
@@ -22,12 +22,16 @@ if (!command || command === '--help' || command === '-h') {
22
22
 
23
23
  Commands:
24
24
  detect [file-or-dir-or-url...] Scan for UI anti-patterns and design quality issues
25
+ live [--port=PORT] Start browser detection overlay server
26
+ skills help List all available skills and commands
27
+ skills install Install impeccable skills into your project
28
+ skills update Update skills to the latest version
25
29
 
26
30
  Options:
27
31
  --help Show this help message
28
32
  --version Show version number
29
33
 
30
- Run 'impeccable detect --help' for detection-specific options.`);
34
+ Run 'impeccable <command> --help' for command-specific options.`);
31
35
  process.exit(0);
32
36
  }
33
37
 
@@ -38,10 +42,16 @@ if (command === '--version' || command === '-v') {
38
42
  }
39
43
 
40
44
  if (command === 'detect') {
41
- // Remove 'detect' from argv so the detection script sees the right args
42
45
  process.argv = [process.argv[0], process.argv[1], ...args.slice(1)];
43
- const { detectCli } = await import('../source/skills/critique/scripts/detect-antipatterns.mjs');
46
+ const { detectCli } = await import('@impeccable/detect');
44
47
  await detectCli();
48
+ } else if (command === 'live') {
49
+ process.argv = [process.argv[0], process.argv[1], ...args.slice(1)];
50
+ const { liveCli } = await import('@impeccable/detect');
51
+ await liveCli();
52
+ } else if (command === 'skills') {
53
+ const { run } = await import('./commands/skills.mjs');
54
+ await run(args.slice(1));
45
55
  } else {
46
56
  console.error(`Unknown command: ${command}`);
47
57
  console.error(`Run 'impeccable --help' for available commands.`);
@@ -0,0 +1,24 @@
1
+ export const FILE_DOWNLOAD_PROVIDER_CONFIG_DIRS = Object.freeze({
2
+ cursor: '.cursor',
3
+ 'claude-code': '.claude',
4
+ gemini: '.gemini',
5
+ codex: '.codex',
6
+ agents: '.agents',
7
+ kiro: '.kiro',
8
+ opencode: '.opencode',
9
+ pi: '.pi',
10
+ });
11
+
12
+ export const FILE_DOWNLOAD_PROVIDERS = Object.freeze(
13
+ Object.keys(FILE_DOWNLOAD_PROVIDER_CONFIG_DIRS)
14
+ );
15
+
16
+ export const BUNDLE_DOWNLOAD_PROVIDERS = Object.freeze([
17
+ 'universal',
18
+ 'universal-prefixed',
19
+ ]);
20
+
21
+ export const DOWNLOAD_PROVIDERS = Object.freeze([
22
+ ...FILE_DOWNLOAD_PROVIDERS,
23
+ ...BUNDLE_DOWNLOAD_PROVIDERS,
24
+ ]);
package/package.json CHANGED
@@ -1,21 +1,17 @@
1
1
  {
2
2
  "name": "impeccable",
3
- "version": "2.0.1",
3
+ "version": "2.0.4",
4
4
  "author": "Paul Bakaus",
5
5
  "bin": {
6
6
  "impeccable": "./bin/impeccable"
7
7
  },
8
8
  "files": [
9
9
  "bin/",
10
- "source/skills/critique/scripts/detect-antipatterns.mjs",
11
- "source/skills/critique/scripts/detect-antipatterns-browser.js",
10
+ "lib/download-providers.js",
12
11
  "LICENSE"
13
12
  ],
14
13
  "dependencies": {
15
- "jsdom": "^29.0.0"
16
- },
17
- "optionalDependencies": {
18
- "puppeteer": "^24.39.1"
14
+ "@impeccable/detect": "^2.0.4"
19
15
  },
20
16
  "description": "Detect UI anti-patterns and design quality issues from the command line",
21
17
  "keywords": [
@@ -29,7 +25,8 @@
29
25
  "html",
30
26
  "cli"
31
27
  ],
32
- "license": "SEE LICENSE FILE",
28
+ "license": "Apache-2.0",
29
+ "homepage": "https://impeccable.style",
33
30
  "repository": {
34
31
  "type": "git",
35
32
  "url": "git+https://github.com/pbakaus/impeccable.git"
@@ -46,7 +43,7 @@
46
43
  "dev": "bun run server/index.js",
47
44
  "preview": "bun run build && wrangler pages dev",
48
45
  "deploy": "bun run build && wrangler pages deploy build/",
49
- "test": "bun test tests/build.test.js tests/detect-antipatterns.test.js && node --test tests/detect-antipatterns-fixtures.test.mjs",
46
+ "test": "bun test tests/build.test.js",
50
47
  "screenshot": "bun run scripts/screenshot-antipatterns.js",
51
48
  "og-image": "bun run scripts/generate-og-image.js"
52
49
  },