@spotpatch/vite 1.5.0 → 1.6.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spotpatch/vite",
3
- "version": "1.5.0",
3
+ "version": "1.6.0",
4
4
  "description": "Vite development plugin for SpotPatch.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -30,6 +30,9 @@
30
30
  "main": "./dist/index.cjs",
31
31
  "module": "./dist/index.js",
32
32
  "types": "./dist/index.d.ts",
33
+ "bin": {
34
+ "spotpatch-vite": "./dist/cli.js"
35
+ },
33
36
  "exports": {
34
37
  ".": {
35
38
  "import": {
@@ -43,11 +46,13 @@
43
46
  }
44
47
  },
45
48
  "dependencies": {
49
+ "magic-string": "1.1.0",
50
+ "oxc-parser": "0.143.0",
46
51
  "@spotpatch/compiler": "^0.1.1",
47
- "@spotpatch/dev-server": "^0.2.0",
52
+ "@spotpatch/dev-server": "^0.3.0",
48
53
  "@spotpatch/react-adapter": "^1.0.1",
49
- "@spotpatch/runtime": "^1.6.0",
50
- "@spotpatch/shared": "^1.7.0"
54
+ "@spotpatch/runtime": "^1.7.0",
55
+ "@spotpatch/shared": "^1.8.0"
51
56
  },
52
57
  "peerDependencies": {
53
58
  "vite": "^5.0.0 || ^6.0.0 || ^7.0.0"
@@ -57,7 +62,7 @@
57
62
  "registry": "https://registry.npmjs.org/"
58
63
  },
59
64
  "scripts": {
60
- "build": "tsup src/index.ts --format esm,cjs --dts --sourcemap --clean && tsup --config tsup.runtime-client.config.ts && tsup --config tsup.runtime-react-adapter.config.ts",
65
+ "build": "tsup src/index.ts --format esm,cjs --dts --sourcemap --clean && tsup --config tsup.cli.config.ts && tsup --config tsup.runtime-client.config.ts && tsup --config tsup.runtime-react-adapter.config.ts",
61
66
  "clean": "node --input-type=module -e \"import { rmSync } from 'node:fs'; rmSync('dist', { recursive: true, force: true })\"",
62
67
  "typecheck": "tsc --noEmit -p tsconfig.json"
63
68
  }