@heiwa4126/hello5 0.0.10-alpha.7 → 0.0.10
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 +4 -3
- package/dist/index.cjs +1 -0
- package/dist/index.global.js +1 -1
- package/dist/package.cjs +1 -1
- package/dist/package.js +1 -1
- package/package.json +42 -41
package/README.md
CHANGED
|
@@ -59,9 +59,9 @@ ESM.sh:
|
|
|
59
59
|
<div id="app">loading...</div>
|
|
60
60
|
|
|
61
61
|
<script type="module">
|
|
62
|
-
|
|
62
|
+
import { hello } from "https://esm.sh/@heiwa4126/hello5";
|
|
63
63
|
|
|
64
|
-
|
|
64
|
+
document.getElementById("app").innerText = hello();
|
|
65
65
|
</script>
|
|
66
66
|
```
|
|
67
67
|
|
|
@@ -78,7 +78,7 @@ Other CDNs:
|
|
|
78
78
|
|
|
79
79
|
<script src="https://cdn.jsdelivr.net/npm/@heiwa4126/hello5/dist/index.global.min.js"></script>
|
|
80
80
|
<script>
|
|
81
|
-
|
|
81
|
+
document.getElementById("app").innerText = Heiwa4126Hello5.hello();
|
|
82
82
|
</script>
|
|
83
83
|
```
|
|
84
84
|
|
|
@@ -104,6 +104,7 @@ Hello!
|
|
|
104
104
|
|
|
105
105
|
```bash
|
|
106
106
|
# Install dependencies
|
|
107
|
+
pnpm audit
|
|
107
108
|
pnpm install
|
|
108
109
|
|
|
109
110
|
# lint, test, clean, build, pack and smoke test (without publishing)
|
package/dist/index.cjs
CHANGED
package/dist/index.global.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var Heiwa4126Hello5=(function(e){function t(){return`Hello!`}return e.hello=t,e.version=`0.0.10
|
|
1
|
+
var Heiwa4126Hello5=(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(){return`Hello!`}return e.hello=t,e.version=`0.0.10`,e})({});
|
package/dist/package.cjs
CHANGED
package/dist/package.js
CHANGED
package/package.json
CHANGED
|
@@ -1,63 +1,64 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@heiwa4126/hello5",
|
|
3
|
-
"version": "0.0.10
|
|
3
|
+
"version": "0.0.10",
|
|
4
4
|
"description": "TypeScript hello world library with dual ES modules/CommonJS support. Features GitHub Actions trusted publishing to npmjs with Sigstore attestation.",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"main": "./dist/index.cjs",
|
|
7
|
-
"module": "./dist/index.js",
|
|
8
|
-
"browser": "./dist/index.global.js",
|
|
9
|
-
"types": "./dist/index.d.ts",
|
|
10
|
-
"exports": {
|
|
11
|
-
".": {
|
|
12
|
-
"types": "./dist/index.d.ts",
|
|
13
|
-
"import": "./dist/index.js",
|
|
14
|
-
"require": "./dist/index.cjs"
|
|
15
|
-
}
|
|
16
|
-
},
|
|
17
|
-
"bin": {
|
|
18
|
-
"heiwa4126-hello5": "dist/cli.js"
|
|
19
|
-
},
|
|
20
|
-
"files": [
|
|
21
|
-
"dist/**/*.js",
|
|
22
|
-
"dist/**/*.cjs",
|
|
23
|
-
"dist/**/*.d.ts",
|
|
24
|
-
"!dist/**/*.map"
|
|
25
|
-
],
|
|
26
5
|
"keywords": [
|
|
27
|
-
"
|
|
28
|
-
"
|
|
6
|
+
"cli",
|
|
7
|
+
"commonjs",
|
|
29
8
|
"demo",
|
|
30
|
-
"typescript",
|
|
31
9
|
"esm",
|
|
32
|
-
"
|
|
33
|
-
"
|
|
10
|
+
"example",
|
|
11
|
+
"github-actions",
|
|
12
|
+
"hello-world",
|
|
34
13
|
"learning",
|
|
35
14
|
"sigstore",
|
|
36
15
|
"trusted-publishing",
|
|
37
|
-
"
|
|
16
|
+
"typescript"
|
|
38
17
|
],
|
|
18
|
+
"homepage": "https://github.com/heiwa4126/heiwa4126-hello5#readme",
|
|
19
|
+
"bugs": {
|
|
20
|
+
"url": "https://github.com/heiwa4126/heiwa4126-hello5/issues"
|
|
21
|
+
},
|
|
22
|
+
"license": "MIT",
|
|
39
23
|
"author": "heiwa4126 <heiwa4126@gmail.com>",
|
|
40
24
|
"repository": {
|
|
41
25
|
"type": "git",
|
|
42
26
|
"url": "git+https://github.com/heiwa4126/heiwa4126-hello5.git"
|
|
43
27
|
},
|
|
44
|
-
"
|
|
45
|
-
"
|
|
28
|
+
"bin": {
|
|
29
|
+
"heiwa4126-hello5": "dist/cli.js"
|
|
30
|
+
},
|
|
31
|
+
"files": [
|
|
32
|
+
"dist/**/*.js",
|
|
33
|
+
"dist/**/*.cjs",
|
|
34
|
+
"dist/**/*.d.ts",
|
|
35
|
+
"!dist/**/*.map"
|
|
36
|
+
],
|
|
37
|
+
"type": "module",
|
|
38
|
+
"main": "./dist/index.cjs",
|
|
39
|
+
"module": "./dist/index.js",
|
|
40
|
+
"browser": "./dist/index.global.js",
|
|
41
|
+
"types": "./dist/index.d.ts",
|
|
42
|
+
"exports": {
|
|
43
|
+
".": {
|
|
44
|
+
"types": "./dist/index.d.ts",
|
|
45
|
+
"import": "./dist/index.js",
|
|
46
|
+
"require": "./dist/index.cjs"
|
|
47
|
+
}
|
|
46
48
|
},
|
|
47
|
-
"homepage": "https://github.com/heiwa4126/heiwa4126-hello5#readme",
|
|
48
|
-
"license": "MIT",
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@
|
|
51
|
-
"@
|
|
52
|
-
"@
|
|
53
|
-
"@
|
|
54
|
-
"
|
|
55
|
-
"hono": "^4.11.3",
|
|
50
|
+
"@heiwa4126/clean-publish-scripts": "^0.0.6",
|
|
51
|
+
"@hono/node-server": "^1.19.11",
|
|
52
|
+
"@types/node": "^25.5.0",
|
|
53
|
+
"@vitest/coverage-v8": "4.1.2",
|
|
54
|
+
"hono": "^4.12.9",
|
|
56
55
|
"npm-run-all2": "^8.0.4",
|
|
57
|
-
"
|
|
56
|
+
"oxfmt": "^0.42.0",
|
|
57
|
+
"oxlint": "^1.57.0",
|
|
58
|
+
"tsdown": "^0.21.5",
|
|
58
59
|
"tsx": "^4.21.0",
|
|
59
|
-
"typescript": "^
|
|
60
|
-
"vitest": "^4.
|
|
60
|
+
"typescript": "^6.0.2",
|
|
61
|
+
"vitest": "^4.1.2"
|
|
61
62
|
},
|
|
62
63
|
"engines": {
|
|
63
64
|
"node": ">=18.0.0"
|