@heiwa4126/hello5 0.0.7-rc.1 → 0.0.8-beta.1
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 +1 -1
- package/dist/cli.js +2 -2
- package/dist/index.cjs +11 -0
- package/dist/index.d.ts +5 -0
- package/dist/{hello.global.js → index.global.js} +1 -1
- package/dist/index.js +10 -0
- package/dist/package.cjs +11 -0
- package/dist/package.js +5 -1
- package/package.json +13 -10
- package/dist/hello.cjs +0 -8
- package/dist/hello.d.ts +0 -4
- package/dist/hello.js +0 -7
package/README.md
CHANGED
|
@@ -76,7 +76,7 @@ Other CDNs:
|
|
|
76
76
|
<!DOCTYPE html>
|
|
77
77
|
<div id="app">loading...</div>
|
|
78
78
|
|
|
79
|
-
<script src="https://cdn.jsdelivr.net/npm/@heiwa4126/hello5/dist/
|
|
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>
|
package/dist/cli.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#! /usr/bin/env node
|
|
2
|
-
import{
|
|
2
|
+
import{hello as e,version as t}from"./index.js";function n(){console.log(`Usage: heiwa4126-hello5 [-h|--help] [-v|--version]
|
|
3
3
|
|
|
4
4
|
Options:
|
|
5
5
|
-h, --help Show this help message
|
|
6
|
-
-v, --version Show version`)}function r(){console.log(
|
|
6
|
+
-v, --version Show version`)}function r(){console.log(t)}function i(){let t=process.argv.slice(2);(t.includes(`-h`)||t.includes(`--help`))&&(n(),process.exit(0)),(t.includes(`-v`)||t.includes(`--version`))&&(r(),process.exit(0)),console.log(e())}i();export{};
|
package/dist/index.cjs
ADDED
package/dist/index.d.ts
ADDED
|
@@ -1 +1 @@
|
|
|
1
|
-
var Heiwa4126Hello5=(function(e){function t(){return`Hello!`}return e.hello=t,e})({});
|
|
1
|
+
var Heiwa4126Hello5=(function(e){function t(){return`Hello!`}return e.hello=t,e.version=`0.0.8-beta.1`,e})({});
|
package/dist/index.js
ADDED
package/dist/package.cjs
ADDED
package/dist/package.js
CHANGED
package/package.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@heiwa4126/hello5",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.8-beta.1",
|
|
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
|
-
"main": "./dist/
|
|
7
|
-
"module": "./dist/
|
|
8
|
-
"browser": "./dist/
|
|
9
|
-
"types": "./dist/
|
|
6
|
+
"main": "./dist/index.cjs",
|
|
7
|
+
"module": "./dist/index.js",
|
|
8
|
+
"browser": "./dist/index.global.js",
|
|
9
|
+
"types": "./dist/index.d.ts",
|
|
10
10
|
"exports": {
|
|
11
11
|
".": {
|
|
12
|
-
"types": "./dist/
|
|
13
|
-
"import": "./dist/
|
|
14
|
-
"require": "./dist/
|
|
12
|
+
"types": "./dist/index.d.ts",
|
|
13
|
+
"import": "./dist/index.js",
|
|
14
|
+
"require": "./dist/index.cjs"
|
|
15
15
|
}
|
|
16
16
|
},
|
|
17
17
|
"bin": {
|
|
@@ -47,11 +47,14 @@
|
|
|
47
47
|
"homepage": "https://github.com/heiwa4126/heiwa4126-hello5#readme",
|
|
48
48
|
"license": "MIT",
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@biomejs/biome": "^2.3.
|
|
50
|
+
"@biomejs/biome": "^2.3.11",
|
|
51
51
|
"@heiwa4126/clean-publish-scripts": "^0.0.3",
|
|
52
|
+
"@hono/node-server": "^1.19.7",
|
|
52
53
|
"@types/node": "^25.0.3",
|
|
53
54
|
"@vitest/coverage-v8": "4.0.16",
|
|
54
|
-
"
|
|
55
|
+
"hono": "^4.11.3",
|
|
56
|
+
"npm-run-all2": "^8.0.4",
|
|
57
|
+
"tsdown": "0.19.0-beta.2",
|
|
55
58
|
"tsx": "^4.21.0",
|
|
56
59
|
"typescript": "^5.9.3",
|
|
57
60
|
"vitest": "^4.0.16"
|
package/dist/hello.cjs
DELETED
package/dist/hello.d.ts
DELETED