create-bubbles 0.0.20 → 0.0.22

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": "create-bubbles",
3
- "version": "0.0.20",
3
+ "version": "0.0.22",
4
4
  "type": "module",
5
5
  "author": "bubbles plant",
6
6
  "bin": {
@@ -1,7 +1,7 @@
1
1
  {
2
+ "$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
2
3
  "files": {
3
- "ignoreUnknown": true,
4
- "ignore": ["dist/*", "node_modules", "package.json", "auto-import.d.ts", "*.js"]
4
+ "ignoreUnknown": true
5
5
  },
6
6
  "formatter": {
7
7
  "enabled": true,
@@ -9,15 +9,6 @@
9
9
  "lineWidth": 100,
10
10
  "indentWidth": 2
11
11
  },
12
- "javascript": {
13
- "formatter": {
14
- "quoteStyle": "single",
15
- "semicolons": "asNeeded"
16
- }
17
- },
18
- "organizeImports": {
19
- "enabled": false
20
- },
21
12
  "linter": {
22
13
  "rules": {
23
14
  "style": {
@@ -29,10 +20,14 @@
29
20
  },
30
21
  "complexity": {
31
22
  "noUselessTypeConstraint": "off",
32
- "noForEach": "off"
23
+ "noForEach": "off",
24
+ "useDateNow": "off"
33
25
  },
34
26
  "correctness": {
35
- "useExhaustiveDependencies": "off"
27
+ "useExhaustiveDependencies": "off",
28
+ "useHookAtTopLevel": "off",
29
+ "noUnusedFunctionParameters": "off",
30
+ "noUnusedVariables": "off"
36
31
  },
37
32
  "suspicious": {
38
33
  "noGlobalIsNan": "off",
@@ -40,18 +35,27 @@
40
35
  "noExplicitAny": "off",
41
36
  "noArrayIndexKey": "off",
42
37
  "noConfusingVoidType": "off",
43
- "noThenProperty": "off"
38
+ "noThenProperty": "off",
39
+ "noTemplateCurlyInString": "off"
44
40
  },
45
41
  "performance": {
46
42
  "noDelete": "off",
47
- "noAccumulatingSpread": "off"
43
+ "noAccumulatingSpread": "off",
44
+ "noDynamicNamespaceImportAccess": "off"
48
45
  },
49
46
  "a11y": {
50
47
  "noAriaHiddenOnFocusable": "off",
51
48
  "noLabelWithoutControl": "off",
52
49
  "useFocusableInteractive": "off",
53
50
  "useKeyWithClickEvents": "off",
54
- "useSemanticElements": "off"
51
+ "useSemanticElements": "off",
52
+ "noStaticElementInteractions": "off",
53
+ "useAriaPropsSupportedByRole": "off",
54
+ "useAriaPropsForRole": "off",
55
+ "useValidAnchor": "off"
56
+ },
57
+ "nursery": {
58
+ "useUniqueElementIds": "off"
55
59
  }
56
60
  }
57
61
  },
@@ -60,43 +64,19 @@
60
64
  "quoteStyle": "single"
61
65
  }
62
66
  },
63
- "overrides": [
64
- {
65
- "include": ["**/*.test.ts", "**/*.test.tsx", "tests/**/*", "scripts/**/*"],
66
- "linter": {
67
- "rules": {
68
- "style": {
69
- "noParameterAssign": "off"
70
- },
71
- "suspicious": {
72
- "noThenProperty": "off",
73
- "noImplicitAnyLet": "off"
74
- },
75
- "complexity": {
76
- "noUselessFragments": "off"
77
- },
78
- "a11y": {
79
- "useValidAnchor": "off",
80
- "useAnchorContent": "off",
81
- "useKeyWithClickEvents": "off"
82
- }
83
- }
84
- }
85
- },
86
- {
87
- "include": ["components/*/demo/*"],
88
- "linter": {
89
- "rules": {
90
- "correctness": {
91
- "noVoidTypeReturn": "off"
92
- },
93
- "a11y": {
94
- "useValidAnchor": "off",
95
- "useAnchorContent": "off",
96
- "useKeyWithClickEvents": "off"
97
- }
98
- }
67
+ "javascript": {
68
+ "jsxRuntime": "reactClassic",
69
+ "formatter": {
70
+ "quoteStyle": "single",
71
+ "semicolons": "asNeeded"
72
+ }
73
+ },
74
+ "assist": {
75
+ "enabled": true,
76
+ "actions": {
77
+ "source": {
78
+ "organizeImports": "off"
99
79
  }
100
80
  }
101
- ]
81
+ }
102
82
  }
@@ -13,30 +13,30 @@
13
13
  },
14
14
  "dependencies": {
15
15
  "@ant-design/icons-vue": "^7.0.1",
16
- "ahooks": "^3.8.4",
17
- "antd": "^5.25.1",
18
- "axios": "^1.9.0",
16
+ "ahooks": "^3.9.0",
17
+ "antd": "^5.26.7",
18
+ "axios": "^1.11.0",
19
19
  "dayjs": "^1.11.13",
20
- "react": "^19.1.0",
21
- "react-dom": "^19.1.0",
22
- "react-router": "^7.6.0",
23
- "zustand": "^5.0.3"
20
+ "react": "^19.1.1",
21
+ "react-dom": "^19.1.1",
22
+ "react-router": "^7.8.0",
23
+ "zustand": "^5.0.7"
24
24
  },
25
25
  "devDependencies": {
26
- "@biomejs/biome": "^1.9.4",
26
+ "@biomejs/biome": "^2.1.4",
27
27
  "@commitlint/config-conventional": "^19.8.1",
28
- "@ianvs/prettier-plugin-sort-imports": "^4.4.1",
29
- "@rsbuild/core": "^1.3.20",
30
- "@rsbuild/plugin-react": "^1.3.1",
31
- "@rsbuild/plugin-sass": "^1.3.1",
32
- "@rsbuild/plugin-svgr": "^1.2.0",
33
- "@types/react": "^19.1.4",
34
- "@types/react-dom": "^19.1.5",
35
- "@unocss/postcss": "66.1.2",
36
- "lefthook": "^1.11.10",
37
- "prettier": "^3.5.3",
38
- "typescript": "^5.8.3",
39
- "unocss": "66.1.2",
40
- "unplugin-auto-import": "^19.1.2"
28
+ "@ianvs/prettier-plugin-sort-imports": "^4.6.1",
29
+ "@rsbuild/core": "^1.4.15",
30
+ "@rsbuild/plugin-react": "^1.3.5",
31
+ "@rsbuild/plugin-sass": "^1.3.5",
32
+ "@rsbuild/plugin-svgr": "^1.2.2",
33
+ "@types/react": "^19.1.9",
34
+ "@types/react-dom": "^19.1.7",
35
+ "@unocss/postcss": "66.4.2",
36
+ "lefthook": "^1.12.2",
37
+ "prettier": "^3.6.2",
38
+ "typescript": "^5.9.2",
39
+ "unocss": "66.4.2",
40
+ "unplugin-auto-import": "^20.0.0"
41
41
  }
42
42
  }
@@ -1,5 +1 @@
1
1
  registry=https://registry.npmmirror.com
2
-
3
-
4
- # registry=http://192.168.2.68:8085/nexus/repository/npm-group/
5
- # //192.168.2.68:8085/nexus/repository/npm-group/:_authToken cae0c186-b50e-30c3-a2c8-f5a530ceea4d
@@ -15,37 +15,37 @@
15
15
  "**/*.{js,mjs,cjs,jsx,ts,mts,cts,tsx,vue,astro,svelte}": "oxlint"
16
16
  },
17
17
  "dependencies": {
18
- "@element-plus/icons-vue": "^2.3.1",
19
- "@vueuse/core": "^13.5.0",
18
+ "@element-plus/icons-vue": "^2.3.2",
19
+ "@vueuse/core": "^13.6.0",
20
20
  "dayjs": "^1.11.13",
21
- "echarts": "^5.6.0",
22
- "element-plus": "^2.10.2",
21
+ "echarts": "^6.0.0",
22
+ "element-plus": "^2.10.6",
23
23
  "pinia": "^3.0.3",
24
24
  "pinia-plugin-persistedstate": "^4.4.1",
25
25
  "radash": "^12.1.1",
26
- "vue": "^3.5.17",
26
+ "vue": "^3.5.18",
27
27
  "vue-router": "^4.5.1"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@commitlint/cli": "^19.8.1",
31
31
  "@commitlint/config-conventional": "^19.8.1",
32
- "@ianvs/prettier-plugin-sort-imports": "^4.4.2",
32
+ "@ianvs/prettier-plugin-sort-imports": "^4.6.1",
33
33
  "@prettier/plugin-oxc": "^0.0.4",
34
- "@unocss/postcss": "^66.3.2",
35
- "@vitejs/plugin-vue": "^6.0.0",
34
+ "@unocss/postcss": "^66.4.2",
35
+ "@vitejs/plugin-vue": "^6.0.1",
36
36
  "@vue/tsconfig": "^0.7.0",
37
37
  "fast-glob": "^3.3.3",
38
- "lefthook": "^1.11.14",
39
- "oxlint": "^1.4.0",
38
+ "lefthook": "^1.12.2",
39
+ "oxlint": "^1.11.1",
40
40
  "prettier": "^3.6.2",
41
- "sass": "^1.89.2",
42
- "typescript": "~5.8.3",
43
- "unocss": "^66.3.2",
44
- "unplugin-auto-import": "^19.3.0",
45
- "unplugin-vue-components": "^28.8.0",
41
+ "sass": "^1.90.0",
42
+ "typescript": "~5.9.2",
43
+ "unocss": "^66.4.2",
44
+ "unplugin-auto-import": "^20.0.0",
45
+ "unplugin-vue-components": "^29.0.0",
46
46
  "vite": "npm:rolldown-vite@latest",
47
- "vite-plugin-inspect": "^11.3.0",
47
+ "vite-plugin-inspect": "^11.3.2",
48
48
  "vite-plugin-svg-icons": "^2.0.1",
49
- "vue-tsc": "^2.2.10"
49
+ "vue-tsc": "^3.0.5"
50
50
  }
51
51
  }
@@ -1,7 +1,7 @@
1
1
  {
2
+ "$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
2
3
  "files": {
3
- "ignoreUnknown": true,
4
- "ignore": ["dist/*", "node_modules", "package.json"]
4
+ "ignoreUnknown": true
5
5
  },
6
6
  "formatter": {
7
7
  "enabled": true,
@@ -9,15 +9,6 @@
9
9
  "lineWidth": 100,
10
10
  "indentWidth": 2
11
11
  },
12
- "javascript": {
13
- "formatter": {
14
- "quoteStyle": "single",
15
- "semicolons": "asNeeded"
16
- }
17
- },
18
- "organizeImports": {
19
- "enabled": false
20
- },
21
12
  "linter": {
22
13
  "rules": {
23
14
  "style": {
@@ -29,10 +20,14 @@
29
20
  },
30
21
  "complexity": {
31
22
  "noUselessTypeConstraint": "off",
32
- "noForEach": "off"
23
+ "noForEach": "off",
24
+ "useDateNow": "off"
33
25
  },
34
26
  "correctness": {
35
- "useExhaustiveDependencies": "off"
27
+ "useExhaustiveDependencies": "off",
28
+ "useHookAtTopLevel": "off",
29
+ "noUnusedFunctionParameters": "off",
30
+ "noUnusedVariables": "off"
36
31
  },
37
32
  "suspicious": {
38
33
  "noGlobalIsNan": "off",
@@ -40,18 +35,27 @@
40
35
  "noExplicitAny": "off",
41
36
  "noArrayIndexKey": "off",
42
37
  "noConfusingVoidType": "off",
43
- "noThenProperty": "off"
38
+ "noThenProperty": "off",
39
+ "noTemplateCurlyInString": "off"
44
40
  },
45
41
  "performance": {
46
42
  "noDelete": "off",
47
- "noAccumulatingSpread": "off"
43
+ "noAccumulatingSpread": "off",
44
+ "noDynamicNamespaceImportAccess": "off"
48
45
  },
49
46
  "a11y": {
50
47
  "noAriaHiddenOnFocusable": "off",
51
48
  "noLabelWithoutControl": "off",
52
49
  "useFocusableInteractive": "off",
53
50
  "useKeyWithClickEvents": "off",
54
- "useSemanticElements": "off"
51
+ "useSemanticElements": "off",
52
+ "noStaticElementInteractions": "off",
53
+ "useAriaPropsSupportedByRole": "off",
54
+ "useAriaPropsForRole": "off",
55
+ "useValidAnchor": "off"
56
+ },
57
+ "nursery": {
58
+ "useUniqueElementIds": "off"
55
59
  }
56
60
  }
57
61
  },
@@ -60,43 +64,19 @@
60
64
  "quoteStyle": "single"
61
65
  }
62
66
  },
63
- "overrides": [
64
- {
65
- "include": ["**/*.test.ts", "**/*.test.tsx", "tests/**/*", "scripts/**/*", ".dumi/**/*"],
66
- "linter": {
67
- "rules": {
68
- "style": {
69
- "noParameterAssign": "off"
70
- },
71
- "suspicious": {
72
- "noThenProperty": "off",
73
- "noImplicitAnyLet": "off"
74
- },
75
- "complexity": {
76
- "noUselessFragments": "off"
77
- },
78
- "a11y": {
79
- "useValidAnchor": "off",
80
- "useAnchorContent": "off",
81
- "useKeyWithClickEvents": "off"
82
- }
83
- }
84
- }
85
- },
86
- {
87
- "include": ["components/*/demo/*"],
88
- "linter": {
89
- "rules": {
90
- "correctness": {
91
- "noVoidTypeReturn": "off"
92
- },
93
- "a11y": {
94
- "useValidAnchor": "off",
95
- "useAnchorContent": "off",
96
- "useKeyWithClickEvents": "off"
97
- }
98
- }
67
+ "javascript": {
68
+ "jsxRuntime": "reactClassic",
69
+ "formatter": {
70
+ "quoteStyle": "single",
71
+ "semicolons": "asNeeded"
72
+ }
73
+ },
74
+ "assist": {
75
+ "enabled": true,
76
+ "actions": {
77
+ "source": {
78
+ "organizeImports": "off"
99
79
  }
100
80
  }
101
- ]
81
+ }
102
82
  }
@@ -11,22 +11,23 @@
11
11
  "preview": "rsbuild preview"
12
12
  },
13
13
  "dependencies": {
14
- "ant-design-vue": "^4.2.6",
15
- "pinia": "^3.0.2",
16
- "vue": "^3.5.14",
14
+ "element-plus": "^2.10.6",
15
+ "pinia": "^3.0.3",
16
+ "vue": "^3.5.18",
17
17
  "vue-router": "^4.5.1"
18
18
  },
19
19
  "devDependencies": {
20
- "@biomejs/biome": "^1.9.4",
21
- "@ianvs/prettier-plugin-sort-imports": "^4.4.1",
22
- "@rsbuild/core": "^1.3.20",
23
- "@rsbuild/plugin-sass": "^1.3.1",
24
- "@rsbuild/plugin-vue": "^1.0.7",
25
- "@unocss/postcss": "^66.1.2",
26
- "lefthook": "^1.11.12",
27
- "prettier": "^3.5.3",
28
- "typescript": "^5.8.3",
29
- "unocss": "^66.1.2",
30
- "unplugin-auto-import": "^19.2.0"
20
+ "@biomejs/biome": "^2.1.4",
21
+ "@ianvs/prettier-plugin-sort-imports": "^4.6.1",
22
+ "@rsbuild/core": "^1.4.15",
23
+ "@rsbuild/plugin-sass": "^1.3.5",
24
+ "@rsbuild/plugin-vue": "^1.1.1",
25
+ "@unocss/postcss": "^66.4.2",
26
+ "lefthook": "^1.12.2",
27
+ "prettier": "^3.6.2",
28
+ "typescript": "^5.9.2",
29
+ "unocss": "^66.4.2",
30
+ "unplugin-auto-import": "^20.0.0",
31
+ "unplugin-vue-components": "^29.0.0"
31
32
  }
32
33
  }
@@ -3,6 +3,8 @@ import { pluginVue } from '@rsbuild/plugin-vue'
3
3
  import AutoImport from 'unplugin-auto-import/rspack'
4
4
  import UnoCSS from '@unocss/postcss'
5
5
  import { pluginSass } from '@rsbuild/plugin-sass'
6
+ import Components from 'unplugin-vue-components/rspack'
7
+ import { ElementPlusResolver } from 'unplugin-vue-components/resolvers'
6
8
 
7
9
  export default defineConfig({
8
10
  html: {
@@ -24,6 +26,11 @@ export default defineConfig({
24
26
  imports: ['vue', 'vue-router'],
25
27
  dts: './src/types/auto-import.d.ts',
26
28
  }),
29
+ Components({
30
+ resolvers: [ElementPlusResolver()],
31
+ dts: './src/types/components.d.ts',
32
+ }),
33
+
27
34
  ],
28
35
  },
29
36
  postcss: {
@@ -15,12 +15,14 @@ declare global {
15
15
  const effectScope: typeof import('vue')['effectScope']
16
16
  const getCurrentInstance: typeof import('vue')['getCurrentInstance']
17
17
  const getCurrentScope: typeof import('vue')['getCurrentScope']
18
+ const getCurrentWatcher: typeof import('vue')['getCurrentWatcher']
18
19
  const h: typeof import('vue')['h']
19
20
  const inject: typeof import('vue')['inject']
20
21
  const isProxy: typeof import('vue')['isProxy']
21
22
  const isReactive: typeof import('vue')['isReactive']
22
23
  const isReadonly: typeof import('vue')['isReadonly']
23
24
  const isRef: typeof import('vue')['isRef']
25
+ const isShallow: typeof import('vue')['isShallow']
24
26
  const markRaw: typeof import('vue')['markRaw']
25
27
  const nextTick: typeof import('vue')['nextTick']
26
28
  const onActivated: typeof import('vue')['onActivated']
@@ -71,23 +73,6 @@ declare global {
71
73
  // for type re-export
72
74
  declare global {
73
75
  // @ts-ignore
74
- export type {
75
- Component,
76
- Slot,
77
- Slots,
78
- ComponentPublicInstance,
79
- ComputedRef,
80
- DirectiveBinding,
81
- ExtractDefaultPropTypes,
82
- ExtractPropTypes,
83
- ExtractPublicPropTypes,
84
- InjectionKey,
85
- PropType,
86
- Ref,
87
- MaybeRef,
88
- MaybeRefOrGetter,
89
- VNode,
90
- WritableComputedRef,
91
- } from 'vue'
76
+ export type { Component, Slot, Slots, ComponentPublicInstance, ComputedRef, DirectiveBinding, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, ShallowRef, MaybeRef, MaybeRefOrGetter, VNode, WritableComputedRef } from 'vue'
92
77
  import('vue')
93
78
  }
@@ -0,0 +1,15 @@
1
+ /* eslint-disable */
2
+ // @ts-nocheck
3
+ // Generated by unplugin-vue-components
4
+ // Read more: https://github.com/vuejs/core/pull/3399
5
+ // biome-ignore lint: disable
6
+ export {}
7
+
8
+ /* prettier-ignore */
9
+ declare module 'vue' {
10
+ export interface GlobalComponents {
11
+ ElButton: typeof import('element-plus/es')['ElButton']
12
+ RouterLink: typeof import('vue-router')['RouterLink']
13
+ RouterView: typeof import('vue-router')['RouterView']
14
+ }
15
+ }
@@ -1,4 +1,4 @@
1
- import { message } from 'ant-design-vue'
1
+ import { message } from 'element-plus'
2
2
  import axios, { type AxiosResponse } from 'axios'
3
3
 
4
4
  import { router } from '@/router'
@@ -5,7 +5,10 @@ const a = ref(1)
5
5
  </script>
6
6
 
7
7
  <template>
8
- <div class="index-container text-red">111</div>
8
+ <div class="index-container text-red">
9
+ 111
10
+ <el-button>111</el-button>
11
+ </div>
9
12
  </template>
10
13
 
11
14
  <style lang="scss" scoped></style>