Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
bokuweb committed Sep 29, 2024
1 parent 54f70d8 commit c10d750
Show file tree
Hide file tree
Showing 6 changed files with 2,238 additions and 195 deletions.
9 changes: 9 additions & 0 deletions js/build.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import { defineBuildConfig } from 'unbuild';

export default defineBuildConfig({
entries: ['./index.ts', './cli.ts', './worker.ts', './entry.ts', './proxy.ts'],
declaration: true,
rollup: {
emitCJS: true,
},
});
62 changes: 0 additions & 62 deletions js/entry.js

This file was deleted.

56 changes: 0 additions & 56 deletions js/index.js

This file was deleted.

28 changes: 21 additions & 7 deletions js/package.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,32 @@
{
"name": "js",
"version": "1.0.0",
"name": "reg-cli",
"version": "0.19.0-wasm0",
"description": "",
"main": "index.js",
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
}
},
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"build": "unbuild"
},
"keywords": [],
"author": "",
"license": "ISC",
"author": "bokuweb",
"license": "MIT",
"dependencies": {
"@tybys/wasm-util": "^0.9.0"
},
"devDependencies": {
"@types/node": "^22.5.5"
"@types/node": "^22.5.5",
"unbuild": "^2.0.0"
}
}
Loading

0 comments on commit c10d750

Please sign in to comment.