next-bun-compile 0.11.2 → 1.0.0
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/dist/index.js +1261 -5
- package/package.json +2 -5
- package/dist/adapter.js +0 -8
- package/dist/index-k3fkzeev.js +0 -1271
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "next-bun-compile",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "Compile your Next.js app into a Bun single-file executable",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -9,16 +9,13 @@
|
|
|
9
9
|
".": {
|
|
10
10
|
"types": "./dist/index.d.ts",
|
|
11
11
|
"default": "./dist/index.js"
|
|
12
|
-
},
|
|
13
|
-
"./adapter": {
|
|
14
|
-
"default": "./dist/adapter.js"
|
|
15
12
|
}
|
|
16
13
|
},
|
|
17
14
|
"files": [
|
|
18
15
|
"dist"
|
|
19
16
|
],
|
|
20
17
|
"scripts": {
|
|
21
|
-
"build": "bun build src/index.ts
|
|
18
|
+
"build": "rm -rf dist && bun build src/index.ts --outdir dist --target node && mkdir -p dist/runtime && cp src/runtime/serve.js dist/runtime/serve.js",
|
|
22
19
|
"typecheck": "tsc --noEmit",
|
|
23
20
|
"test:regression": "bash test/regression/run.sh",
|
|
24
21
|
"postinstall": "bun -e \"try{require('fs').symlinkSync('..','node_modules/next-bun-compile')}catch{}\""
|