seishiro 0.1.8-dev → 0.1.85-dev
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/cjs/constants/message.js +1 -4
- package/cjs/constants/registry.js +1 -6
- package/cjs/index.js +1 -14
- package/cjs/lib/actions.js +1 -207
- package/cjs/lib/message.js +1 -156
- package/cjs/lib/policy.js +1 -116
- package/cjs/lib/registry.js +1 -89
- package/cjs/types/message.type.js +1 -3
- package/cjs/types/policy.type.js +1 -2
- package/cjs/types/registry.type.js +1 -2
- package/cjs/utils/extract-lang.js +1 -25
- package/cjs/utils/format-key.js +1 -21
- package/esm/constants/message.js +1 -1
- package/esm/constants/registry.js +1 -3
- package/esm/index.js +1 -4
- package/esm/lib/actions.js +1 -201
- package/esm/lib/message.js +1 -150
- package/esm/lib/policy.js +1 -113
- package/esm/lib/registry.js +1 -83
- package/esm/types/message.type.js +1 -2
- package/esm/types/policy.type.js +1 -1
- package/esm/types/registry.type.js +1 -1
- package/esm/utils/extract-lang.js +1 -25
- package/esm/utils/format-key.js +1 -18
- package/package.json +6 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "seishiro",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.85-dev",
|
|
4
4
|
"description": "A simple response context API that eliminates the complexity of routing folder structures and replaces them with a single control center.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./cjs/index.js",
|
|
@@ -15,8 +15,9 @@
|
|
|
15
15
|
},
|
|
16
16
|
"scripts": {
|
|
17
17
|
"build": "tsc",
|
|
18
|
-
"build:package": "rm -rf dist && bun format && tsc -p tsconfig.json && tsc -p tsconfig.cjs.json && bun run postbuild",
|
|
18
|
+
"build:package": "rm -rf dist && bun format && tsc -p tsconfig.json && tsc -p tsconfig.cjs.json && bun run minifybuild && bun run postbuild",
|
|
19
19
|
"postbuild": "cp package.json README.md LICENSE dist/",
|
|
20
|
+
"minifybuild": "bun run ./minify.ts",
|
|
20
21
|
"bun:build": "bun build ./src/**/*.ts --outdir ./dist",
|
|
21
22
|
"test": "bun test",
|
|
22
23
|
"lint": "biome check",
|
|
@@ -27,6 +28,8 @@
|
|
|
27
28
|
"devDependencies": {
|
|
28
29
|
"@biomejs/biome": "^2.3.13",
|
|
29
30
|
"@types/jest": "^30.0.0",
|
|
30
|
-
"@types/node": "^25.2.2"
|
|
31
|
+
"@types/node": "^25.2.2",
|
|
32
|
+
"glob": "^13.0.2",
|
|
33
|
+
"terser": "^5.46.0"
|
|
31
34
|
}
|
|
32
35
|
}
|