genesis-compiler 1.8.3 → 1.8.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/README.md +37 -0
- package/package.json +4 -2
package/README.md
CHANGED
|
@@ -1108,3 +1108,40 @@ need no map change. Existing maps must declare their source roots. Program modul
|
|
|
1108
1108
|
map and one owner even when the old map was missing or empty. If the map is missing, empty or invalid, Program inspection reports the
|
|
1109
1109
|
required authoring work instead of assigning operations from folder names.
|
|
1110
1110
|
Initialization creates an empty map without replacing one.
|
|
1111
|
+
|
|
1112
|
+
## Publishing this repository
|
|
1113
|
+
|
|
1114
|
+
The release command uses `NPM_TOKEN` in the command's environment on a local
|
|
1115
|
+
computer, CI runner, or hosted development environment. Supply a token with
|
|
1116
|
+
publishing access to the selected package. In Vibe64, save it in the project's
|
|
1117
|
+
**Env → Development**, enable **Secret**, and choose **Add**. Managed shell
|
|
1118
|
+
commands receive the saved value; credentials do not belong in source or chat.
|
|
1119
|
+
|
|
1120
|
+
Update the selected package's version and lockfile, run the relevant checks,
|
|
1121
|
+
then commit and push the release source to `main`. Publish from a clean checkout
|
|
1122
|
+
whose `HEAD` matches `origin`'s actual `main`, with development dependencies
|
|
1123
|
+
installed through `npm ci`:
|
|
1124
|
+
|
|
1125
|
+
```bash
|
|
1126
|
+
npm run release:npm:publish -- compiler --dry-run
|
|
1127
|
+
# When the catalog also changed, publish it before the compiler:
|
|
1128
|
+
npm run release:npm:publish -- stack
|
|
1129
|
+
npm run release:npm:publish -- compiler
|
|
1130
|
+
```
|
|
1131
|
+
|
|
1132
|
+
Select `compiler` for `genesis-compiler` or `stack` for `genesis-stack`.
|
|
1133
|
+
Dry runs pack the selected source and check the registry without uploading,
|
|
1134
|
+
requiring a token, or requiring a clean published checkout. Real publishing
|
|
1135
|
+
checks npm authentication and the exact version before uploading. Matching
|
|
1136
|
+
releases are skipped; different contents under an existing version fail with
|
|
1137
|
+
the first differing file. Registry errors stop the operation. Tarball hashes
|
|
1138
|
+
are compared first; a different hash triggers a comparison of verified archive
|
|
1139
|
+
files and permissions, ignoring container timestamps and compression.
|
|
1140
|
+
The checked candidate tarball is the uploaded tarball. Temporary tarballs and
|
|
1141
|
+
private npm configuration are removed on success or failure. The command does
|
|
1142
|
+
not change versions or run tests. Published versions are immutable; after an
|
|
1143
|
+
interrupted upload, rerun the same committed release to skip matching versions.
|
|
1144
|
+
|
|
1145
|
+
Hosted working sessions normally use a session branch. After saving or merging
|
|
1146
|
+
the work to `main`, publish from a separate clean clone of that published branch
|
|
1147
|
+
using the project's managed shell. Keep the working session on its own branch.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "genesis-compiler",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "An agent-independent prompt, multi-language code-index, cleanup, and verification companion with project agent guidance.",
|
|
6
6
|
"repository": {
|
|
@@ -47,6 +47,7 @@
|
|
|
47
47
|
"docs/parsers.md"
|
|
48
48
|
],
|
|
49
49
|
"scripts": {
|
|
50
|
+
"release:npm:publish": "node scripts/release-npm.mjs",
|
|
50
51
|
"test": "node --test --test-concurrency=1 test/*.test.js"
|
|
51
52
|
},
|
|
52
53
|
"dependencies": {
|
|
@@ -57,6 +58,7 @@
|
|
|
57
58
|
},
|
|
58
59
|
"devDependencies": {
|
|
59
60
|
"@ast-grep/lang-python": "0.0.6",
|
|
60
|
-
"genesis-stack": "file:packages/genesis-stack"
|
|
61
|
+
"genesis-stack": "file:packages/genesis-stack",
|
|
62
|
+
"tar": "7.5.22"
|
|
61
63
|
}
|
|
62
64
|
}
|