@luna_ui/luna 0.7.0 → 0.7.3

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.
Files changed (2) hide show
  1. package/dist/cli.mjs +2 -2
  2. package/package.json +9 -8
package/dist/cli.mjs CHANGED
@@ -1079,11 +1079,11 @@ function getMbtTemplates(projectName) {
1079
1079
  {
1080
1080
  path: "vite.config.ts",
1081
1081
  content: `import { defineConfig } from "vite";
1082
- import { moonbitPlugin } from "vite-plugin-moonbit";
1082
+ import { moonbit } from "vite-plugin-moonbit";
1083
1083
 
1084
1084
  export default defineConfig({
1085
1085
  plugins: [
1086
- moonbitPlugin({
1086
+ moonbit({
1087
1087
  watch: true,
1088
1088
  showLogs: true,
1089
1089
  }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luna_ui/luna",
3
- "version": "0.7.0",
3
+ "version": "0.7.3",
4
4
  "description": "Fine-grained reactive UI library for Moonbit/JS",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -39,6 +39,12 @@
39
39
  "import": "./dist/jsx-dev-runtime.js"
40
40
  }
41
41
  },
42
+ "scripts": {
43
+ "prepublishOnly": "pnpm build",
44
+ "build": "tsdown",
45
+ "test": "vitest run --root ../..",
46
+ "build:examples": "vite build examples"
47
+ },
42
48
  "devDependencies": {
43
49
  "global-jsdom": "^27.0.0",
44
50
  "jsdom": "^27.3.0",
@@ -53,10 +59,5 @@
53
59
  "dist",
54
60
  "tests",
55
61
  "src"
56
- ],
57
- "scripts": {
58
- "build": "tsdown",
59
- "test": "vitest run --root ../..",
60
- "build:examples": "vite build examples"
61
- }
62
- }
62
+ ]
63
+ }