ui-thing 0.2.8 → 0.2.9

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": "ui-thing",
3
- "version": "0.2.8",
3
+ "version": "0.2.9",
4
4
  "description": "CLI used to add Nuxt components to a project",
5
5
  "keywords": [
6
6
  "cli",
@@ -30,65 +30,66 @@
30
30
  },
31
31
  "scripts": {
32
32
  "build": "tsup",
33
- "clean": "rm -rf dist coverage node_modules package-lock.json && npm install",
33
+ "clean": "rm -rf dist coverage node_modules bun.lock package-lock.json && bun install",
34
34
  "coverage": "vitest run --coverage",
35
35
  "dev": "tsup --watch",
36
36
  "format": "npx prettier --write .",
37
37
  "knip": "knip",
38
38
  "knip:fix": "knip --fix",
39
39
  "lint": "eslint src",
40
- "lint-staged": "lint-staged",
41
40
  "lint:fix": "eslint src --fix",
41
+ "lint-staged": "lint-staged",
42
42
  "prepare": "husky",
43
- "release": "npm run build && npx changelogen@latest --release && npm publish && git push --follow-tags",
43
+ "release": "bun run build && npx changelogen@latest --release && npm publish && git push --follow-tags",
44
44
  "start": "node dist/index.js",
45
45
  "test": "vitest"
46
46
  },
47
47
  "lint-staged": {
48
- "*": [
48
+ "**/*.{ts,js}": [
49
49
  "prettier --write",
50
50
  "eslint --fix"
51
51
  ]
52
52
  },
53
53
  "dependencies": {
54
- "axios": "^1.13.6",
54
+ "axios": "^1.17.0",
55
55
  "boxen": "^8.0.1",
56
- "c12": "^3.3.3",
57
- "commander": "^14.0.3",
56
+ "c12": "^3.3.4",
57
+ "commander": "^15.0.0",
58
58
  "consola": "^3.4.2",
59
- "dotenv": "^17.3.1",
60
- "es-toolkit": "^1.45.1",
59
+ "dotenv": "^17.4.2",
60
+ "es-toolkit": "^1.47.0",
61
61
  "execa": "^9.6.1",
62
62
  "figlet": "^1.11.0",
63
- "fs-extra": "^11.3.4",
63
+ "fs-extra": "^11.3.5",
64
64
  "kleur": "^4.1.5",
65
- "lodash": "^4.17.23",
66
- "magicast": "^0.5.2",
67
- "ora": "^9.3.0",
65
+ "lodash": "^4.18.1",
66
+ "magicast": "^0.5.3",
67
+ "ora": "^9.4.0",
68
68
  "prompts": "^2.4.2"
69
69
  },
70
70
  "devDependencies": {
71
- "@eslint/js": "^9.39.4",
71
+ "@eslint/js": "^10.0.1",
72
72
  "@ianvs/prettier-plugin-sort-imports": "^4.7.1",
73
73
  "@types/fs-extra": "^11.0.4",
74
74
  "@types/lodash": "^4.17.24",
75
- "@types/node": "^25.5.0",
75
+ "@types/node": "^25.9.2",
76
76
  "@types/prompts": "^2.4.9",
77
- "@vitest/coverage-v8": "^4.1.0",
78
- "@vitest/ui": "^4.1.0",
77
+ "@vitest/coverage-v8": "^4.1.8",
78
+ "@vitest/ui": "^4.1.8",
79
79
  "axios-mock-adapter": "^2.1.0",
80
- "eslint": "^9.39.4",
81
- "globals": "^17.4.0",
80
+ "eslint": "^10.4.1",
81
+ "globals": "^17.6.0",
82
82
  "husky": "^9.1.7",
83
- "jiti": "^2.6.1",
84
- "knip": "^5.86.0",
85
- "lint-staged": "^16.4.0",
86
- "prettier": "^3.8.1",
83
+ "jiti": "^2.7.0",
84
+ "knip": "^5.88.1",
85
+ "lint-staged": "^17.0.7",
86
+ "prettier": "^3.8.4",
87
87
  "tsup": "^8.5.1",
88
- "typescript": "^5.9.3",
89
- "typescript-eslint": "^8.57.0",
90
- "vitest": "^4.1.0"
88
+ "typescript": "^6.0.3",
89
+ "typescript-eslint": "^8.61.0",
90
+ "vitest": "^4.1.8"
91
91
  },
92
+ "packageManager": "bun@1.3.9",
92
93
  "publishConfig": {
93
94
  "access": "public"
94
95
  }
@@ -162,6 +162,11 @@ const CSS_END = `@layer base {
162
162
  html.light {
163
163
  color-scheme: light;
164
164
  }
165
+ @media (prefers-color-scheme: dark) {
166
+ select {
167
+ background-color: var(--popover);
168
+ }
169
+ }
165
170
  }
166
171
 
167
172
  @utility no-scrollbar {
@@ -8,7 +8,6 @@ export const VS_CODE_RECOMMENDATIONS = {
8
8
  "antfu.iconify",
9
9
  "formulahendry.auto-close-tag",
10
10
  "formulahendry.auto-rename-tag",
11
- "prettier.prettier-vscode",
12
11
  ],
13
12
  };
14
13
 
@@ -21,13 +20,6 @@ export const VS_CODE_SETTINGS = {
21
20
  "files.associations": { "*.css": "tailwindcss" },
22
21
  "tailwindCSS.classFunctions": ["tw", "clsx", "tw\\.[a-z-]+"],
23
22
  "tailwindCSS.experimental.classRegex": [
24
- [
25
- "tv\\(([^)(]*(?:\\([^)(]*(?:\\([^)(]*(?:\\([^)(]*\\)[^)(]*)*\\)[^)(]*)*\\)[^)(]*)*)\\)",
26
- '"(.*?)"',
27
- ],
28
- "tw`(.*?)`",
29
- "tw\\('(.*?)'\\)",
30
- "tw\\(\\s*('(.*?)'|\"(.*?)\")\\s*\\)",
31
23
  [
32
24
  "\\btv\\(\\s*((?:\"(?:\\\\.|[^\"\\\\])*\"|'(?:\\\\.|[^'\\\\])*'|`(?:\\\\.|[^`\\\\])*`|[^)]*)*)\\)",
33
25
  "[\"']([^\"']*)[\"']",
@@ -18,7 +18,8 @@ const currentDir = process.cwd();
18
18
  */
19
19
  export const getUIConfig = async (options?: InitOptions): Promise<UIConfig> => {
20
20
  const configExists = fse.existsSync(UI_CONFIG_FILENAME);
21
- let uiConfig: UIConfig = {} as UIConfig;
21
+ // eslint-disable-next-line no-useless-assignment
22
+ let uiConfig = {} as UIConfig;
22
23
  const nuxtVersion = Number(options?.nuxtVersion) || detectNuxtVersion();
23
24
 
24
25
  // Force creation or first-time setup
package/tsup.config.ts CHANGED
@@ -3,7 +3,11 @@ import { defineConfig } from "tsup";
3
3
  export default defineConfig({
4
4
  sourcemap: true,
5
5
  entry: ["src/index.ts"],
6
- dts: true,
6
+ dts: {
7
+ compilerOptions: {
8
+ ignoreDeprecations: "6.0",
9
+ },
10
+ },
7
11
  clean: true,
8
12
  format: ["esm"],
9
13
  minify: true,