lone-format 0.12.1 → 0.13.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.
Files changed (32) hide show
  1. package/dist/_chunks/_plugin-vue_export-helper-CHgC5LLL.js +9 -0
  2. package/dist/_chunks/index-13rwh2MK.js +788 -0
  3. package/dist/_chunks/index-DfjCsqDT.js +1005 -0
  4. package/dist/_chunks/index-DvNM7Tl4.js +1784 -0
  5. package/dist/components/JsonFormat/JsonNode.vue.d.ts +29 -0
  6. package/dist/components/JsonFormat/index.d.ts +2 -0
  7. package/dist/components/JsonFormat/index.js +4 -0
  8. package/dist/components/JsonFormat/index.vue.d.ts +50 -0
  9. package/dist/components/JsonFormat/themes.d.ts +29 -0
  10. package/dist/components/JsonFormat/types.d.ts +96 -0
  11. package/dist/components/SqlFormat/SqlClauseNode.vue.d.ts +13 -0
  12. package/dist/components/SqlFormat/index.d.ts +5 -0
  13. package/dist/components/SqlFormat/index.js +5 -0
  14. package/dist/components/SqlFormat/index.vue.d.ts +43 -0
  15. package/dist/components/SqlFormat/parser.d.ts +34 -0
  16. package/dist/components/SqlFormat/themes.d.ts +33 -0
  17. package/dist/components/SqlFormat/types.d.ts +99 -0
  18. package/dist/components/XmlFormat/XmlNode.vue.d.ts +37 -0
  19. package/dist/components/XmlFormat/index.d.ts +7 -0
  20. package/dist/components/XmlFormat/index.js +27 -0
  21. package/dist/components/XmlFormat/index.vue.d.ts +57 -0
  22. package/dist/components/XmlFormat/parser.d.ts +93 -0
  23. package/dist/components/XmlFormat/themes.d.ts +29 -0
  24. package/dist/components/XmlFormat/types.d.ts +113 -0
  25. package/dist/components/index.d.ts +6 -0
  26. package/dist/index.d.ts +6 -1
  27. package/dist/lone-format.css +1 -1
  28. package/dist/lone-format.js +13 -31862
  29. package/dist/lone-format.umd.cjs +53 -49
  30. package/dist/types/components.d.ts +1 -0
  31. package/dist/types/index.d.ts +6 -0
  32. package/package.json +8 -3
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,6 @@
1
+ export * from './components';
2
+ declare module 'vue' {
3
+ interface GlobalComponents {
4
+ JsonFormat: typeof import('../components/JsonFormat/index.vue')['default'];
5
+ }
6
+ }
package/package.json CHANGED
@@ -1,11 +1,15 @@
1
1
  {
2
2
  "name": "lone-format",
3
- "version": "0.12.1",
3
+ "version": "0.13.0",
4
4
  "type": "module",
5
5
  "description": "A Vue 3 component library for formatting with tree-shaking support",
6
6
  "main": "./dist/lone-format.umd.cjs",
7
7
  "module": "./dist/lone-format.js",
8
8
  "types": "./dist/index.d.ts",
9
+ "sideEffects": [
10
+ "**/*.css",
11
+ "**/*.vue"
12
+ ],
9
13
  "exports": {
10
14
  ".": {
11
15
  "types": "./dist/index.d.ts",
@@ -24,6 +28,7 @@
24
28
  "types": "./dist/components/SqlFormat/index.d.ts",
25
29
  "import": "./dist/components/SqlFormat/index.js"
26
30
  },
31
+ "./style.css": "./dist/lone-format.css",
27
32
  "./lone-format.css": "./dist/lone-format.css"
28
33
  },
29
34
  "files": [
@@ -32,8 +37,8 @@
32
37
  "scripts": {
33
38
  "dev": "vite",
34
39
  "build": "vue-tsc -b && vite build",
35
- "build:lib": "vite build --mode lib",
36
- "build:lib:full": "vue-tsc -b && vite build --mode lib",
40
+ "build:lib": "vite build --mode lib-es && vite build --mode lib-umd",
41
+ "build:lib:full": "vue-tsc -b && vite build --mode lib-es && vite build --mode lib-umd",
37
42
  "preview": "vite preview",
38
43
  "docs:dev": "vitepress dev docs",
39
44
  "docs:build": "vitepress build docs",