@temir.ra/create-ts-lib 0.2.4 → 0.2.5
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 +6 -0
- package/README.md +1 -1
- package/buildinfo.txt +1 -1
- package/package.json +1 -1
- package/template/tests/buildinfo.test.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Version 0
|
|
2
2
|
|
|
3
|
+
## 0.2.5
|
|
4
|
+
|
|
5
|
+
1. Minor README updates.
|
|
6
|
+
2. Fixed `buildinfo.txt` in published package.
|
|
7
|
+
3. Fixed `buildinfo.test.ts` regex to accept semver prerelease identifiers.
|
|
8
|
+
|
|
3
9
|
## 0.2.4
|
|
4
10
|
|
|
5
11
|
1. Documented template caching in the Quick Start section with commands to pin the version or clear the cache.
|
package/README.md
CHANGED
|
@@ -57,7 +57,7 @@ bun install
|
|
|
57
57
|
|
|
58
58
|
# Documentation
|
|
59
59
|
|
|
60
|
-
The following sections explain the configurations and conventions baked into the generated package. Useful when adapting the
|
|
60
|
+
The following sections explain the configurations and conventions baked into the generated package. Useful when adapting the generated package to fit a specific library's needs.
|
|
61
61
|
|
|
62
62
|
## `tsconfig.json` and `tsconfig.build.json`
|
|
63
63
|
|
package/buildinfo.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.2.
|
|
1
|
+
0.2.5+8056892
|
package/package.json
CHANGED
|
@@ -10,7 +10,7 @@ describe('buildInfo', () => {
|
|
|
10
10
|
it('should follow semantic versioning format with optional commit hash', () => {
|
|
11
11
|
const buildinfoPath = fileURLToPath(buildinfoUrl);
|
|
12
12
|
const buildinfo = readFileSync(buildinfoPath, 'utf-8').trim();
|
|
13
|
-
expect(buildinfo).toMatch(/^\d+\.\d+\.\d+(\+[
|
|
13
|
+
expect(buildinfo).toMatch(/^\d+\.\d+\.\d+(-[a-zA-Z0-9.-]+)?(\+[a-zA-Z0-9.-]+)?$/);
|
|
14
14
|
});
|
|
15
15
|
|
|
16
16
|
it('should not contain whitespace', () => {
|