setupin 0.0.10 → 0.0.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/README.md CHANGED
@@ -33,11 +33,11 @@ try it on
33
33
  **unpkg**
34
34
 
35
35
  ```html
36
- <script src="https://unpkg.com/setupin/main.js"></script>
36
+ <script src="https://unpkg.com/setupin"></script>
37
37
  ```
38
38
 
39
39
  **jsdelivr**
40
40
 
41
41
  ```html
42
- <script src="https://cdn.jsdelivr.net/npm/setupin/main.js"></script>
42
+ <script src="https://cdn.jsdelivr.net/npm/setupin"></script>
43
43
  ```
package/README.zh-CN.md CHANGED
@@ -32,11 +32,11 @@ setupin 让你可以在 HTML 中编写 vue 的 \<script setup>。
32
32
  **unpkg**
33
33
 
34
34
  ```html
35
- <script src="https://unpkg.com/setupin/main.js"></script>
35
+ <script src="https://unpkg.com/setupin"></script>
36
36
  ```
37
37
 
38
38
  **jsdelivr**
39
39
 
40
40
  ```html
41
- <script src="https://cdn.jsdelivr.net/npm/setupin/main.js"></script>
41
+ <script src="https://cdn.jsdelivr.net/npm/setupin"></script>
42
42
  ```
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "setupin",
3
3
  "type": "module",
4
- "version": "0.0.10",
4
+ "version": "0.0.11",
5
5
  "description": "sfc? html!!! <script setup> in html",
6
6
  "author": "tofu-xx <tofu-xx@foxmail.com>",
7
7
  "license": "MIT",
@@ -20,13 +20,14 @@
20
20
  "sfc",
21
21
  "vue-cdn"
22
22
  ],
23
+ "main": "dist/main.js",
23
24
  "files": [
24
- "main.js"
25
+ "dist"
25
26
  ],
26
27
  "scripts": {
27
28
  "build": "vite build",
28
29
  "watch": "chokidar 'src/*' -c 'vite build'",
29
- "release": "bumpp && cp dist/main.js main.js && npm publish && rm main.js",
30
+ "release": "bumpp && npm publish",
30
31
  "upvue": "bash -c \"{ echo export; curl -L https://unpkg.com/vue@3/dist/vue.global.prod.js; } > src/assets/vue.js\"",
31
32
  "up": "taze major -I",
32
33
  "lint": "eslint .",
File without changes