@opentui/solid 0.1.10 → 0.1.11
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 +6 -6
- package/scripts/solid-plugin.ts +0 -2
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"types": "index.d.ts",
|
|
6
6
|
"type": "module",
|
|
7
|
-
"version": "0.1.
|
|
7
|
+
"version": "0.1.11",
|
|
8
8
|
"description": "SolidJS renderer for OpenTUI",
|
|
9
9
|
"license": "MIT",
|
|
10
10
|
"repository": {
|
|
@@ -30,14 +30,14 @@
|
|
|
30
30
|
"./jsx-dev-runtime": "./jsx-runtime.d.ts"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@opentui/core": "0.1.
|
|
34
|
-
},
|
|
35
|
-
"devDependencies": {
|
|
36
|
-
"@types/babel__core": "7.20.5",
|
|
33
|
+
"@opentui/core": "0.1.11",
|
|
37
34
|
"babel-plugin-module-resolver": "5.0.2",
|
|
38
35
|
"@babel/core": "7.28.0",
|
|
39
36
|
"@babel/preset-typescript": "7.27.1",
|
|
40
|
-
"babel-preset-solid": "1.9.9"
|
|
37
|
+
"babel-preset-solid": "1.9.9"
|
|
38
|
+
},
|
|
39
|
+
"devDependencies": {
|
|
40
|
+
"@types/babel__core": "7.20.5",
|
|
41
41
|
"@types/bun": "latest"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
package/scripts/solid-plugin.ts
CHANGED
|
@@ -9,14 +9,12 @@ const solidTransformPlugin: BunPlugin = {
|
|
|
9
9
|
name: "bun-plugin-solid",
|
|
10
10
|
setup: (build) => {
|
|
11
11
|
build.onLoad({ filter: /\/node_modules\/solid-js\/dist\/server\.js$/ }, async (args) => {
|
|
12
|
-
const { readFile } = await import("node:fs/promises")
|
|
13
12
|
const path = args.path.replace("server.js", "solid.js")
|
|
14
13
|
const file = Bun.file(path)
|
|
15
14
|
const code = await file.text()
|
|
16
15
|
return { contents: code, loader: "js" }
|
|
17
16
|
})
|
|
18
17
|
build.onLoad({ filter: /\.(js|ts)x$/ }, async (args) => {
|
|
19
|
-
const { readFile } = await import("node:fs/promises")
|
|
20
18
|
const file = Bun.file(args.path)
|
|
21
19
|
const code = await file.text()
|
|
22
20
|
const transforms = await transformAsync(code, {
|