prjct-cli 1.56.2 → 1.56.6
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 +23 -0
- package/bin/prjct +13 -5
- package/dist/bin/prjct-core.mjs +238 -238
- package/dist/cli/jira.mjs +4 -4
- package/dist/cli/linear.mjs +4 -4
- package/dist/daemon/entry.mjs +204 -204
- package/dist/mcp/server.mjs +2 -2
- package/package.json +19 -19
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.56.6] - 2026-04-07
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
- resolve biome check lint and format errors (#244)
|
|
8
|
+
- prefer installed dist over source files (#243)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
## [1.56.5] - 2026-04-07
|
|
12
|
+
|
|
13
|
+
### Added
|
|
14
|
+
- current work
|
|
15
|
+
|
|
16
|
+
## [1.56.4] - 2026-04-07
|
|
17
|
+
|
|
18
|
+
### Added
|
|
19
|
+
- fix update to use installed files instead of source
|
|
20
|
+
|
|
21
|
+
## [1.56.3] - 2026-04-07
|
|
22
|
+
|
|
23
|
+
### Added
|
|
24
|
+
- fix update to use installed files instead of source
|
|
25
|
+
|
|
3
26
|
## [1.56.2] - 2026-04-06
|
|
4
27
|
|
|
5
28
|
### Bug Fixes
|
package/bin/prjct
CHANGED
|
@@ -98,14 +98,22 @@ check_node() {
|
|
|
98
98
|
command -v node >/dev/null 2>&1
|
|
99
99
|
}
|
|
100
100
|
|
|
101
|
-
# Run with bun (
|
|
101
|
+
# Run with bun (compiled dist preferred, TypeScript only for explicit dev)
|
|
102
102
|
run_with_bun() {
|
|
103
|
-
#
|
|
103
|
+
# Always prefer compiled dist — works for npm install, npm link, bun link
|
|
104
|
+
if [ -f "$ROOT_DIR/dist/bin/prjct.mjs" ]; then
|
|
105
|
+
# Explicit dev mode: PRJCT_DEV=1 forces raw TypeScript (faster iteration)
|
|
106
|
+
if [ "$PRJCT_DEV" = "1" ] && [ -f "$SCRIPT_DIR/prjct.ts" ]; then
|
|
107
|
+
exec bun "$SCRIPT_DIR/prjct.ts" "$@"
|
|
108
|
+
fi
|
|
109
|
+
exec bun "$ROOT_DIR/dist/bin/prjct.mjs" "$@"
|
|
110
|
+
fi
|
|
111
|
+
# No dist: fall back to raw TypeScript (first run before build)
|
|
104
112
|
if [ -f "$SCRIPT_DIR/prjct.ts" ]; then
|
|
105
113
|
exec bun "$SCRIPT_DIR/prjct.ts" "$@"
|
|
106
114
|
fi
|
|
107
|
-
|
|
108
|
-
|
|
115
|
+
echo "Error: No entry point found. Run 'npm run build' first."
|
|
116
|
+
exit 1
|
|
109
117
|
}
|
|
110
118
|
|
|
111
119
|
# Run with node (compiled JavaScript)
|
|
@@ -113,7 +121,7 @@ run_with_node() {
|
|
|
113
121
|
DIST_BIN="$ROOT_DIR/dist/bin/prjct.mjs"
|
|
114
122
|
|
|
115
123
|
if [ ! -f "$DIST_BIN" ]; then
|
|
116
|
-
#
|
|
124
|
+
# No dist: try to build if this looks like a dev checkout
|
|
117
125
|
if [ -f "$ROOT_DIR/scripts/build.js" ] && [ -d "$ROOT_DIR/core" ]; then
|
|
118
126
|
echo "Building for Node.js (first run)..."
|
|
119
127
|
node "$ROOT_DIR/scripts/build.js" || {
|