@pixelfactoryio/theway 0.18.0 → 0.20.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pixelfactoryio/theway",
3
- "version": "0.18.0",
3
+ "version": "0.20.0",
4
4
  "description": "A spec-first workflow for Claude Code",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -12,7 +12,7 @@
12
12
  "theway": "dist/theway.js"
13
13
  },
14
14
  "engines": {
15
- "node": ">=22.12.0"
15
+ "node": ">=22.13.0"
16
16
  },
17
17
  "packageManager": "bun@1.3.14",
18
18
  "publishConfig": {
@@ -23,10 +23,13 @@
23
23
  "plugin"
24
24
  ],
25
25
  "scripts": {
26
- "build": "bun scripts/embed-fonts.ts && tailwindcss -i src/dashboard/client/styles/globals.css -o src/dashboard/generated/app.css.txt --minify && bun build src/dashboard/client/main.tsx --target=browser --production --outfile src/dashboard/generated/app.js.txt && bun build src/cli.ts --target=node --outfile dist/theway.js",
26
+ "build": "bun scripts/embed-fonts.ts && tailwindcss -i src/dashboard/client/styles/globals.css -o src/dashboard/generated/app.css.txt --minify && bun build src/dashboard/client/main.tsx --target=browser --production --outfile src/dashboard/generated/app.js.txt --metafile=src/dashboard/generated/app.meta.json && bun build src/cli.ts --target=node --outfile dist/theway.js --metafile=src/dashboard/generated/cli.meta.json && bun scripts/third-party-notices.ts",
27
27
  "typecheck": "tsc --noEmit -p . && tsc --noEmit -p src/dashboard/client",
28
28
  "test": "bun test",
29
- "lint:md": "git ls-files -z '*.md' ':!:CHANGELOG.md' | xargs -0 markdownlint-cli2"
29
+ "lint:md": "git ls-files -z '*.md' ':!:CHANGELOG.md' | xargs -0 markdownlint-cli2",
30
+ "lint": "eslint --max-warnings 0 .",
31
+ "format": "prettier --write \"**/*.{ts,tsx,js}\"",
32
+ "format:check": "prettier --check \"**/*.{ts,tsx,js}\""
30
33
  },
31
34
  "devDependencies": {
32
35
  "@base-ui/react": "1.9.0",
@@ -43,6 +46,7 @@
43
46
  "@dnd-kit/core": "6.3.1",
44
47
  "@dnd-kit/sortable": "10.0.0",
45
48
  "@dnd-kit/utilities": "3.2.2",
49
+ "@eslint/js": "10.0.1",
46
50
  "@fontsource-variable/inter": "5.3.0",
47
51
  "@fontsource-variable/jetbrains-mono": "5.3.0",
48
52
  "@hono/node-server": "2.1.8",
@@ -60,9 +64,13 @@
60
64
  "cn": "0.5.2",
61
65
  "commander": "15.0.0",
62
66
  "diff": "9.0.0",
67
+ "eslint": "10.15.0",
68
+ "eslint-config-prettier": "10.1.8",
69
+ "eslint-plugin-react-hooks": "7.1.1",
63
70
  "hono": "4.13.18",
64
71
  "lucide-react": "1.72.0",
65
72
  "markdownlint-cli2": "0.24.0",
73
+ "prettier": "3.10.1",
66
74
  "react": "19.3.1",
67
75
  "react-dom": "19.3.1",
68
76
  "react-markdown": "10.1.0",
@@ -72,6 +80,7 @@
72
80
  "tailwindcss": "4.3.5",
73
81
  "tw-animate-css": "1.4.0",
74
82
  "typescript": "^5",
83
+ "typescript-eslint": "8.72.2",
75
84
  "wouter": "3.13.0",
76
85
  "yaml": "2.9.1"
77
86
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "theway",
3
- "version": "0.18.0",
3
+ "version": "0.20.0",
4
4
  "description": "theway writes a spec and an ordered task list before any code, then implements the tasks in your session or through agents that open a reviewed, CI-green pull request.",
5
5
  "author": {
6
6
  "name": "Amine",
@@ -14,7 +14,7 @@ Run `theway path` and use the folder it prints as `<home>`, never a path from el
14
14
 
15
15
  - If `theway` is not found, tell the user to add the folder theway is installed in (`~/.local/bin` by default) to their `PATH`, or to run `npx --yes @pixelfactoryio/theway@latest install` then `/reload-plugins`, and stop.
16
16
  - If any `theway` subcommand fails with `error: unknown command '<name>'`, the installed `theway` is older than these commands: tell the user to run `npx --yes @pixelfactoryio/theway@latest install` then `/reload-plugins` and stop.
17
- - If a `theway` subcommand exits 1 otherwise, quote the error line it wrote to stderr and stop, unless the step that runs it says what to do instead. The steps that do are `validate-id` (fix the ID), `next-id` (fix the series ID) and `archive` (open tasks or an invalid `change.yaml`: show the lines it printed; `--force` only on the user's explicit acceptance). Not every error line starts with `theway:`: `validate-id` and `next-id` write `invalid change id '…'` and `archive` writes `Error: …`.
17
+ - If a `theway` subcommand exits 1 otherwise, quote the error line it wrote to stderr and stop, unless the step that runs it says what to do instead. The steps that do are `validate-id` (fix the ID), `next-id` (fix the series ID) and `archive` (open tasks or an invalid `change.yaml`: show the lines it printed; `--force` only on the user's explicit acceptance).
18
18
  - Quote every `theway: warning:` line in your report.
19
19
  - Do not check for files under `<home>` before reading them. If a file under `<home>/standards/` or `<home>/templates/` does not exist, theway is not set up: tell the user to run `npx --yes @pixelfactoryio/theway@latest install` then `/reload-plugins` and stop.
20
20
 
@@ -14,7 +14,7 @@ Run `theway path` and use the folder it prints as `<home>`, never a path from el
14
14
 
15
15
  - If `theway` is not found, tell the user to add the folder theway is installed in (`~/.local/bin` by default) to their `PATH`, or to run `npx --yes @pixelfactoryio/theway@latest install` then `/reload-plugins`, and stop.
16
16
  - If any `theway` subcommand fails with `error: unknown command '<name>'`, the installed `theway` is older than these commands: tell the user to run `npx --yes @pixelfactoryio/theway@latest install` then `/reload-plugins` and stop.
17
- - If a `theway` subcommand exits 1 otherwise, quote the error line it wrote to stderr and stop, unless the step that runs it says what to do instead. The steps that do are `validate-id` (fix the ID), `next-id` (fix the series ID) and `archive` (open tasks or an invalid `change.yaml`: show the lines it printed; `--force` only on the user's explicit acceptance). Not every error line starts with `theway:`: `validate-id` and `next-id` write `invalid change id '…'` and `archive` writes `Error: …`.
17
+ - If a `theway` subcommand exits 1 otherwise, quote the error line it wrote to stderr and stop, unless the step that runs it says what to do instead. The steps that do are `validate-id` (fix the ID), `next-id` (fix the series ID) and `archive` (open tasks or an invalid `change.yaml`: show the lines it printed; `--force` only on the user's explicit acceptance).
18
18
  - Quote every `theway: warning:` line in your report.
19
19
  - Do not check for files under `<home>` before reading them. If a file under `<home>/standards/` or `<home>/templates/` does not exist, theway is not set up: tell the user to run `npx --yes @pixelfactoryio/theway@latest install` then `/reload-plugins` and stop.
20
20
 
@@ -12,7 +12,7 @@ Run `theway path` and use the folder it prints as `<home>`, never a path from el
12
12
 
13
13
  - If `theway` is not found, tell the user to add the folder theway is installed in (`~/.local/bin` by default) to their `PATH`, or to run `npx --yes @pixelfactoryio/theway@latest install` then `/reload-plugins`, and stop.
14
14
  - If any `theway` subcommand fails with `error: unknown command '<name>'`, the installed `theway` is older than these commands: tell the user to run `npx --yes @pixelfactoryio/theway@latest install` then `/reload-plugins` and stop.
15
- - If a `theway` subcommand exits 1 otherwise, quote the error line it wrote to stderr and stop, unless the step that runs it says what to do instead. The steps that do are `validate-id` (fix the ID), `next-id` (fix the series ID) and `archive` (open tasks or an invalid `change.yaml`: show the lines it printed; `--force` only on the user's explicit acceptance). Not every error line starts with `theway:`: `validate-id` and `next-id` write `invalid change id '…'` and `archive` writes `Error: …`.
15
+ - If a `theway` subcommand exits 1 otherwise, quote the error line it wrote to stderr and stop, unless the step that runs it says what to do instead. The steps that do are `validate-id` (fix the ID), `next-id` (fix the series ID) and `archive` (open tasks or an invalid `change.yaml`: show the lines it printed; `--force` only on the user's explicit acceptance).
16
16
  - Quote every `theway: warning:` line in your report.
17
17
  - Do not check for files under `<home>` before reading them. If a file under `<home>/standards/` or `<home>/templates/` does not exist, theway is not set up: tell the user to run `npx --yes @pixelfactoryio/theway@latest install` then `/reload-plugins` and stop.
18
18
 
@@ -14,7 +14,7 @@ Run `theway path` and use the folder it prints as `<home>`, never a path from el
14
14
 
15
15
  - If `theway` is not found, tell the user to add the folder theway is installed in (`~/.local/bin` by default) to their `PATH`, or to run `npx --yes @pixelfactoryio/theway@latest install` then `/reload-plugins`, and stop.
16
16
  - If any `theway` subcommand fails with `error: unknown command '<name>'`, the installed `theway` is older than these commands: tell the user to run `npx --yes @pixelfactoryio/theway@latest install` then `/reload-plugins` and stop.
17
- - If a `theway` subcommand exits 1 otherwise, quote the error line it wrote to stderr and stop, unless the step that runs it says what to do instead. The steps that do are `validate-id` (fix the ID), `next-id` (fix the series ID) and `archive` (open tasks or an invalid `change.yaml`: show the lines it printed; `--force` only on the user's explicit acceptance). Not every error line starts with `theway:`: `validate-id` and `next-id` write `invalid change id '…'` and `archive` writes `Error: …`.
17
+ - If a `theway` subcommand exits 1 otherwise, quote the error line it wrote to stderr and stop, unless the step that runs it says what to do instead. The steps that do are `validate-id` (fix the ID), `next-id` (fix the series ID) and `archive` (open tasks or an invalid `change.yaml`: show the lines it printed; `--force` only on the user's explicit acceptance).
18
18
  - Quote every `theway: warning:` line in your report.
19
19
  - Do not check for files under `<home>` before reading them. If a file under `<home>/standards/` or `<home>/templates/` does not exist, theway is not set up: tell the user to run `npx --yes @pixelfactoryio/theway@latest install` then `/reload-plugins` and stop.
20
20