@ohah/hwpjs 0.1.0-rc.1 → 0.1.0-rc.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ohah/hwpjs",
3
- "version": "0.1.0-rc.1",
3
+ "version": "0.1.0-rc.2",
4
4
  "description": "HWP parser for Node.js, Web, and React Native",
5
5
  "main": "./dist/browser.js",
6
6
  "types": "./dist/index.d.ts",
@@ -46,6 +46,7 @@
46
46
  "index.d.ts",
47
47
  "index.js",
48
48
  "browser.js",
49
+ "bin",
49
50
  "dist",
50
51
  "android",
51
52
  "ios",
@@ -97,7 +98,8 @@
97
98
  "build:web:wasm": "napi build --target wasm32-wasip1-threads --release --package hwpjs-napi --output-dir dist",
98
99
  "build:node": "bun run build:node:windows-x64 && bun run build:node:windows-x86 && bun run build:node:windows-arm64 && bun run build:node:macos-x64 && bun run build:node:macos-arm64 && bun run build:web:wasm && bun run build:node:linux-x64",
99
100
  "build:node:all": "bun run build:node:windows-x64 || true && bun run build:node:windows-x86 || true && bun run build:node:windows-arm64 || true && bun run build:node:macos-x64 || true && bun run build:node:macos-arm64 || true && bun run build:web:wasm || true && bun run build:node:linux-x64",
100
- "build": "bun run build:node && bun run build:react-native",
101
+ "build:cli": "tsc --project tsconfig.cli.json",
102
+ "build": "bun run build:node && bun run build:react-native && bun run build:cli",
101
103
  "prepare:artifacts": "napi create-npm-dirs",
102
104
  "postbuild:node:all": "bun run scripts/rename-wasm.ts",
103
105
  "postprepublishOnly": "bun run scripts/cleanup-root.ts",
@@ -107,6 +109,7 @@
107
109
  "publish:npm": "bash scripts/publish.sh",
108
110
  "publish:npm:next": "bash scripts/publish.sh --tag next",
109
111
  "publish:npm:latest": "bash scripts/publish.sh --tag latest",
112
+ "check:size": "bash scripts/check-package-size.sh",
110
113
  "test": "bun test",
111
114
  "version": "napi version",
112
115
  "typecheck": "tsc --noEmit",
@@ -115,17 +118,21 @@
115
118
  "craby:build": "craby build",
116
119
  "craby:clean": "craby clean"
117
120
  },
121
+ "bin": {
122
+ "hwpjs": "./bin/hwpjs.js"
123
+ },
118
124
  "devDependencies": {
119
125
  "@emnapi/core": "^1.5.0",
120
126
  "@emnapi/runtime": "^1.5.0",
121
127
  "@napi-rs/cli": "^3.2.0",
122
128
  "@oxc-node/core": "^0.0.34",
123
- "craby-modules": "^0.1.0-rc.2",
129
+ "commander": "^14.0.0",
130
+ "craby-modules": "^0.1.0-rc.3",
124
131
  "@react-native-community/cli-types": "^20.0.2",
125
132
  "@taplo/cli": "^0.7.0",
126
133
  "@tybys/wasm-util": "^0.10.0",
127
134
  "chalk": "^5.6.2",
128
- "crabygen": "^0.1.0-rc.2",
135
+ "crabygen": "^0.1.0-rc.3",
129
136
  "npm-run-all2": "^8.0.4",
130
137
  "react": "19.1.1",
131
138
  "react-native": "0.82.1",
@@ -136,12 +143,12 @@
136
143
  "typescript": "^5.9.3"
137
144
  },
138
145
  "optionalDependencies": {
139
- "@ohah/hwpjs-win32-x64-msvc": "0.1.0-rc.1",
140
- "@ohah/hwpjs-darwin-x64": "0.1.0-rc.1",
141
- "@ohah/hwpjs-win32-ia32-msvc": "0.1.0-rc.1",
142
- "@ohah/hwpjs-darwin-arm64": "0.1.0-rc.1",
143
- "@ohah/hwpjs-win32-arm64-msvc": "0.1.0-rc.1",
144
- "@ohah/hwpjs-linux-x64-gnu": "0.1.0-rc.1",
145
- "@ohah/hwpjs-wasm32-wasi": "0.1.0-rc.1"
146
+ "@ohah/hwpjs-win32-x64-msvc": "0.1.0-rc.2",
147
+ "@ohah/hwpjs-darwin-x64": "0.1.0-rc.2",
148
+ "@ohah/hwpjs-win32-ia32-msvc": "0.1.0-rc.2",
149
+ "@ohah/hwpjs-darwin-arm64": "0.1.0-rc.2",
150
+ "@ohah/hwpjs-win32-arm64-msvc": "0.1.0-rc.2",
151
+ "@ohah/hwpjs-linux-x64-gnu": "0.1.0-rc.2",
152
+ "@ohah/hwpjs-wasm32-wasi": "0.1.0-rc.2"
146
153
  }
147
154
  }