@heiwa4126/hello5 0.0.2 → 0.0.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/README.md +8 -13
- package/package.json +12 -9
package/README.md
CHANGED
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
# heiwa4126-hello5 (@heiwa4126/hello5)
|
|
2
2
|
|
|
3
|
-
NOTE: [heiwa4126/heiwa4126-hello4](https://github.com/heiwa4126/heiwa4126-hello4)
|
|
4
|
-
を
|
|
5
|
-
[egoist/tsup](https://github.com/egoist/tsup)
|
|
6
|
-
で書き換えたやつ。作業中
|
|
7
|
-
|
|
8
3
|
[](https://www.npmjs.com/package/@heiwa4126/hello5)
|
|
9
4
|
[](https://opensource.org/licenses/MIT)
|
|
10
5
|
[](https://www.typescriptlang.org/)
|
|
@@ -12,6 +7,12 @@ NOTE: [heiwa4126/heiwa4126-hello4](https://github.com/heiwa4126/heiwa4126-hello4
|
|
|
12
7
|
|
|
13
8
|
TypeScript hello world library with dual ES modules/CommonJS support. Features GitHub Actions trusted publishing to npmjs with Sigstore attestation.
|
|
14
9
|
|
|
10
|
+
Modified version of [heiwa4126/heiwa4126-hello4](https://github.com/heiwa4126/heiwa4126-hello4) with the following changes:
|
|
11
|
+
|
|
12
|
+
- Rewritten using [egoist/tsup](https://github.com/egoist/tsup)
|
|
13
|
+
- Migrated from npm to pnpm
|
|
14
|
+
- Extracted scripts/clean-pkg.mjs into a reusable package (@heiwa4126/clean-publish-scripts)
|
|
15
|
+
|
|
15
16
|
## Installation
|
|
16
17
|
|
|
17
18
|
```bash
|
|
@@ -62,14 +63,8 @@ heiwa4126-hello5
|
|
|
62
63
|
# Install dependencies
|
|
63
64
|
pnpm install
|
|
64
65
|
|
|
65
|
-
#
|
|
66
|
-
pnpm run
|
|
67
|
-
|
|
68
|
-
# Run tests
|
|
69
|
-
pnpm test
|
|
70
|
-
|
|
71
|
-
# Clean build artifacts
|
|
72
|
-
pnpm run clean
|
|
66
|
+
# lint, test, clean, build, pack and smoke test (without publishing)
|
|
67
|
+
pnpm run prepublishOnly
|
|
73
68
|
```
|
|
74
69
|
|
|
75
70
|
## Build Output
|
package/package.json
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@heiwa4126/hello5",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3",
|
|
4
4
|
"description": "TypeScript hello world library with dual ES modules/CommonJS support. Features GitHub Actions trusted publishing to npmjs with Sigstore attestation.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/hello.cjs",
|
|
7
|
-
"module": "./dist/hello.js",
|
|
8
7
|
"types": "./dist/hello.d.ts",
|
|
9
8
|
"exports": {
|
|
10
9
|
".": {
|
|
@@ -14,7 +13,7 @@
|
|
|
14
13
|
}
|
|
15
14
|
},
|
|
16
15
|
"bin": {
|
|
17
|
-
"heiwa4126-hello5": "dist/main.js"
|
|
16
|
+
"heiwa4126-hello5": "./dist/main.js"
|
|
18
17
|
},
|
|
19
18
|
"files": [
|
|
20
19
|
"dist/**/*.js",
|
|
@@ -40,17 +39,21 @@
|
|
|
40
39
|
"type": "git",
|
|
41
40
|
"url": "git+https://github.com/heiwa4126/heiwa4126-hello5.git"
|
|
42
41
|
},
|
|
42
|
+
"bugs": {
|
|
43
|
+
"url": "https://github.com/heiwa4126/heiwa4126-hello5/issues"
|
|
44
|
+
},
|
|
45
|
+
"homepage": "https://github.com/heiwa4126/heiwa4126-hello5#readme",
|
|
43
46
|
"license": "MIT",
|
|
44
47
|
"devDependencies": {
|
|
45
|
-
"@biomejs/biome": "^2.
|
|
46
|
-
"@
|
|
47
|
-
"
|
|
48
|
+
"@biomejs/biome": "^2.3.7",
|
|
49
|
+
"@heiwa4126/clean-publish-scripts": "^0.0.1",
|
|
50
|
+
"@types/node": "^24.10.1",
|
|
51
|
+
"tsup": "^8.5.1",
|
|
48
52
|
"tsx": "^4.20.6",
|
|
49
53
|
"typescript": "^5.9.3",
|
|
50
|
-
"vitest": "^4.0.
|
|
54
|
+
"vitest": "^4.0.14"
|
|
51
55
|
},
|
|
52
56
|
"engines": {
|
|
53
57
|
"node": ">=18.0.0"
|
|
54
|
-
}
|
|
55
|
-
"dependencies": {}
|
|
58
|
+
}
|
|
56
59
|
}
|