@aeolun/bun-plugin-solid-oxc 0.1.0-alpha.15 → 0.1.0-alpha.20

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": "@aeolun/bun-plugin-solid-oxc",
3
- "version": "0.1.0-alpha.15",
3
+ "version": "0.1.0-alpha.20",
4
4
  "description": "Bun plugin for SolidJS using OXC-based compiler",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
@@ -33,11 +33,16 @@
33
33
  "author": "SolidJS Contributors",
34
34
  "license": "MIT",
35
35
  "peerDependencies": {
36
- "@aeolun/solid-jsx-oxc": ">=0.1.0"
36
+ "@aeolun/solid-jsx-oxc": "0.1.0-alpha.20"
37
37
  },
38
38
  "devDependencies": {
39
+ "@aeolun/solid-jsx-oxc": "workspace:*",
39
40
  "@types/bun": "latest",
40
- "typescript": "^5.0.0",
41
- "@aeolun/solid-jsx-oxc": "0.1.0-alpha.15"
41
+ "typescript": "^5.0.0"
42
+ },
43
+ "repository": {
44
+ "type": "git",
45
+ "url": "https://github.com/Aeolun/solid-jsx-oxc",
46
+ "directory": "packages/bun-plugin-solid-oxc"
42
47
  }
43
48
  }
package/register.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * Usage in bunfig.toml:
5
5
  * ```toml
6
- * preload = ["@aeolun/bun-plugin-solid-oxc/register"]
6
+ * preload = ["bun-plugin-solid-oxc/register"]
7
7
  * ```
8
8
  *
9
9
  * Or via CLI:
package/src/index.ts CHANGED
@@ -5,7 +5,7 @@
5
5
  *
6
6
  * Usage with Bun.build():
7
7
  * ```ts
8
- * import solidPlugin from 'bun-plugin-solid-oxc';
8
+ * import solidPlugin from '@aeolun/bun-plugin-solid-oxc';
9
9
  *
10
10
  * await Bun.build({
11
11
  * entrypoints: ['./src/index.tsx'],
@@ -97,11 +97,11 @@ export default function solidOxc(options: SolidOxcOptions = {}): BunPlugin {
97
97
  const opts = { ...defaultOptions, ...options };
98
98
 
99
99
  return {
100
- name: 'bun-plugin-solid-oxc',
100
+ name: '@aeolun/bun-plugin-solid-oxc',
101
101
 
102
102
  async setup(build) {
103
103
  // Load the native module once
104
- const solidJsxOxc = await import('solid-jsx-oxc');
104
+ const solidJsxOxc = await import('@aeolun/solid-jsx-oxc');
105
105
 
106
106
  // Use Bun's onLoad hook with filter
107
107
  build.onLoad({ filter: opts.include! }, async (args) => {