@backtickjs/bun-plugin 0.1.11 → 0.2.1

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/README.md CHANGED
@@ -42,12 +42,12 @@ Name your framework's compile steps in the project's `package.json`:
42
42
  ```json
43
43
  {
44
44
  "backtick": {
45
- "plugins": ["@backtickjs/react/plugin"]
45
+ "plugins": ["@backtickjs/jsx-react/plugin"]
46
46
  }
47
47
  }
48
48
  ```
49
49
 
50
- Use `@backtickjs/solid-js/plugin` for Solid. The steps are loaded once, at startup, with the project's own `require`.
50
+ Use `@backtickjs/jsx-solid/plugin` for Solid. The steps are loaded once, at startup, with the project's own `require`.
51
51
 
52
52
  Compiler options come from the nearest `tsconfig.json`, following `extends`. The plugin always emits ES modules (`ESNext`) with an inline source map, and ignores `outDir`, `rootDir` and other output-location options.
53
53
 
package/dist/index.js CHANGED
@@ -23,7 +23,7 @@ const plugins = pluginsFrom(readFileSync(packageJson, "utf8"), createRequire(pac
23
23
  * `package.json`:
24
24
  *
25
25
  * ```json
26
- * "backtick": { "plugins": ["@backtickjs/solid-js/plugin"] }
26
+ * "backtick": { "plugins": ["@backtickjs/jsx-solid/plugin"] }
27
27
  * ```
28
28
  */
29
29
  plugin({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backtickjs/bun-plugin",
3
- "version": "0.1.11",
3
+ "version": "0.2.1",
4
4
  "description": "Runs a Backtick server on Bun without a build step, compiling its files and client scripts as they load",
5
5
  "keywords": [
6
6
  "backtick",
@@ -39,13 +39,13 @@
39
39
  "access": "public"
40
40
  },
41
41
  "dependencies": {
42
- "@backtickjs/compiler": "^0.1.11"
42
+ "@backtickjs/compiler": "^0.2.1"
43
43
  },
44
44
  "peerDependencies": {
45
45
  "typescript": "^6.0.3"
46
46
  },
47
47
  "devDependencies": {
48
- "@backtickjs/core": "^0.1.11",
48
+ "@backtickjs/core": "^0.2.1",
49
49
  "@types/bun": "^1.3.14",
50
50
  "prettier": "^3.6.2",
51
51
  "typescript": "^6.0.3"
package/src/index.ts CHANGED
@@ -28,7 +28,7 @@ const plugins = pluginsFrom(
28
28
  * `package.json`:
29
29
  *
30
30
  * ```json
31
- * "backtick": { "plugins": ["@backtickjs/solid-js/plugin"] }
31
+ * "backtick": { "plugins": ["@backtickjs/jsx-solid/plugin"] }
32
32
  * ```
33
33
  */
34
34
  plugin({