@temir.ra/create-ts-lib 0.2.2 → 0.2.3
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 +5 -0
- package/README.md +3 -2
- package/buildinfo.txt +1 -1
- package/package.json +1 -1
- package/template/CLAUDE.md +10 -0
- package/template/README.md +3 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Version 0
|
|
2
2
|
|
|
3
|
+
## 0.2.3
|
|
4
|
+
|
|
5
|
+
1. Updated change management workflow in `README.md` and `template/README.md`: build step now happens after merge (not before PR), so `buildinfo.txt` captures the correct git hash and artifacts are up to date before publish.
|
|
6
|
+
2. Added Change Management section to root and template `CLAUDE.md`.
|
|
7
|
+
|
|
3
8
|
## 0.2.2
|
|
4
9
|
|
|
5
10
|
1. Fixed `CHANGELOG.md` and `buildinfo.txt` copy paths in `cli.ts`: they were resolved relative to `template/` instead of the package root, causing the copy to fail. Refactored URL/path construction to derive all paths from a single `packageUrl`, eliminating redundant `fileURLToPath` calls at each copy site.
|
package/README.md
CHANGED
|
@@ -453,8 +453,9 @@ bun run dist/cli.bundle.js -- example
|
|
|
453
453
|
2. Make the changes and commit.
|
|
454
454
|
3. Bump the version in [`package.json`](package.json).
|
|
455
455
|
4. Add an entry for the new version in [`CHANGELOG.md`](CHANGELOG.md).
|
|
456
|
-
5.
|
|
457
|
-
6.
|
|
456
|
+
5. Pull request the branch.
|
|
457
|
+
6. After merge, run `bun run build`.
|
|
458
|
+
7. Publish
|
|
458
459
|
|
|
459
460
|
## Publish
|
|
460
461
|
|
package/buildinfo.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.2.
|
|
1
|
+
0.2.3+0a2de3a
|
package/package.json
CHANGED
package/template/CLAUDE.md
CHANGED
|
@@ -153,6 +153,16 @@ Key `package.json` fields:
|
|
|
153
153
|
- `"sideEffects": false` — enables full tree-shaking by bundlers
|
|
154
154
|
- `"imports": { "#src/*.js": "./src/*.ts" }` — package-internal alias for `src/`; use as `import { foo } from "#src/module.js"`. **Only for `dev.ts`, `tests/`, and `scripts/`** — not for library source files compiled by `tsconfig.build.json`, as tsc emits the specifier verbatim and it would break in published unbundled output.
|
|
155
155
|
|
|
156
|
+
## Change Management
|
|
157
|
+
|
|
158
|
+
1. Branch off main.
|
|
159
|
+
2. Make the changes and commit.
|
|
160
|
+
3. Bump the version in [`package.json`](package.json).
|
|
161
|
+
4. Add an entry for the new version in [`CHANGELOG.md`](CHANGELOG.md).
|
|
162
|
+
5. Pull request the branch.
|
|
163
|
+
6. After merge, run `bun run build`. ← must happen after merge so `buildinfo.txt` captures the correct git hash, and before publish so the artifacts are up to date.
|
|
164
|
+
7. Publish.
|
|
165
|
+
|
|
156
166
|
## Publishing
|
|
157
167
|
|
|
158
168
|
See [README.md](README.md) for registry setup and publish commands.
|
package/template/README.md
CHANGED
|
@@ -48,8 +48,9 @@ bun run dev
|
|
|
48
48
|
2. Make the changes and commit.
|
|
49
49
|
3. Bump the version in [`package.json`](package.json).
|
|
50
50
|
4. Add an entry for the new version in [`CHANGELOG.md`](CHANGELOG.md).
|
|
51
|
-
5.
|
|
52
|
-
6.
|
|
51
|
+
5. Pull request the branch.
|
|
52
|
+
6. After merge, run `bun run build`.
|
|
53
|
+
7. Publish
|
|
53
54
|
|
|
54
55
|
## Publish
|
|
55
56
|
|