@ankhorage/devtools 2.0.5 → 2.0.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/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
# @ankhorage/devtools
|
|
5
5
|
|
|
6
|
-
         
|
|
7
7
|
|
|
8
8
|
Shared tooling, repository automation, and agent standards for Ankhorage TypeScript projects
|
|
9
9
|
|
|
@@ -83,19 +83,6 @@ jobs:
|
|
|
83
83
|
echo "No test script found; skipping."
|
|
84
84
|
fi
|
|
85
85
|
|
|
86
|
-
- name: Run standalone contract
|
|
87
|
-
run: |
|
|
88
|
-
if node -e "const p=require('./package.json'); const required=p.private!==true&&p.publishConfig?.access==='public'; process.exit(required||p.scripts?.['test:standalone']?0:1)"; then
|
|
89
|
-
if node -e "const p=require('./package.json'); process.exit(p.scripts?.['test:standalone']?0:1)"; then
|
|
90
|
-
bun run test:standalone
|
|
91
|
-
else
|
|
92
|
-
echo "::error title=Standalone contract test required::Public packages must define test:standalone."
|
|
93
|
-
exit 1
|
|
94
|
-
fi
|
|
95
|
-
else
|
|
96
|
-
echo "No standalone owner test required; skipping."
|
|
97
|
-
fi
|
|
98
|
-
|
|
99
86
|
- name: Run typecheck
|
|
100
87
|
run: |
|
|
101
88
|
if node -e "const p=require('./package.json'); process.exit(p.scripts?.typecheck ? 0 : 1)"; then
|
|
@@ -76,17 +76,8 @@ jobs:
|
|
|
76
76
|
echo "No build script found; skipping."
|
|
77
77
|
fi
|
|
78
78
|
|
|
79
|
-
- name: Validate
|
|
80
|
-
run:
|
|
81
|
-
BUN_INSTALL_CACHE_DIR="${RUNNER_TEMP}/doctor-cache" bunx @ankhorage/doctor@__ANKH_DOCTOR_VERSION__ validate .
|
|
82
|
-
if node -e "const p=require('./package.json'); const required=p.private!==true&&p.publishConfig?.access==='public'; process.exit(required||p.scripts?.['test:standalone']?0:1)"; then
|
|
83
|
-
if node -e "const p=require('./package.json'); process.exit(p.scripts?.['test:standalone']?0:1)"; then
|
|
84
|
-
bun run test:standalone
|
|
85
|
-
else
|
|
86
|
-
echo "::error title=Standalone contract test required::Public packages must define test:standalone."
|
|
87
|
-
exit 1
|
|
88
|
-
fi
|
|
89
|
-
fi
|
|
79
|
+
- name: Validate release contract
|
|
80
|
+
run: BUN_INSTALL_CACHE_DIR="${RUNNER_TEMP}/doctor-cache" bunx @ankhorage/doctor@__ANKH_DOCTOR_VERSION__ validate .
|
|
90
81
|
|
|
91
82
|
- name: Version packages directly on main
|
|
92
83
|
id: release
|
|
@@ -168,9 +159,6 @@ jobs:
|
|
|
168
159
|
if node -e "const p=require('./package.json'); process.exit(p.scripts?.build?0:1)"; then
|
|
169
160
|
bun run build
|
|
170
161
|
fi
|
|
171
|
-
if node -e "const p=require('./package.json'); process.exit(p.scripts?.['test:standalone']?0:1)"; then
|
|
172
|
-
bun run test:standalone
|
|
173
|
-
fi
|
|
174
162
|
pack_dir="$(mktemp -d "${RUNNER_TEMP}/standalone-pack.XXXXXX")"
|
|
175
163
|
install_dir="$(mktemp -d "${RUNNER_TEMP}/standalone-install.XXXXXX")"
|
|
176
164
|
npm pack --ignore-scripts --pack-destination "$pack_dir" >/dev/null
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ankhorage/devtools",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.6",
|
|
4
4
|
"description": "Shared tooling, repository automation, and agent standards for Ankhorage TypeScript projects",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://github.com/ankhorage/devtools#readme",
|