Skip to content

Commit 4aa09f5

Browse files
committedApr 10, 2025··
feat: upgrade module-builder to v1, drop CJS build
1 parent 0f2a318 commit 4aa09f5

File tree

3 files changed

+2223
-2148
lines changed

3 files changed

+2223
-2148
lines changed
 

‎package.json

+26-33
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,18 @@
11
{
22
"name": "@nuxt/icon",
3-
"packageManager": "pnpm@10.6.2",
3+
"packageManager": "pnpm@10.8.0",
44
"version": "1.11.0",
55
"license": "MIT",
66
"type": "module",
77
"repository": "nuxt/icon",
88
"exports": {
9-
".": {
10-
"types": "./dist/types.d.ts",
11-
"import": "./dist/module.mjs",
12-
"require": "./dist/module.cjs"
13-
},
14-
"./module": {
15-
"types": "./dist/module.d.ts",
16-
"import": "./dist/module.mjs",
17-
"require": "./dist/module.cjs"
18-
},
9+
".": "./dist/module.mjs",
10+
"./module": "./dist/module.mjs",
1911
"./*": "./dist/*"
2012
},
21-
"main": "./dist/module.cjs",
22-
"types": "./dist/types.d.ts",
13+
"main": "./dist/module.mjs",
14+
"module": "./dist/module.mjs",
15+
"types": "./dist/types.d.mts",
2316
"files": [
2417
"dist"
2518
],
@@ -40,49 +33,49 @@
4033
"test": "pnpm run test:unit --run && pnpm run test:playground --run"
4134
},
4235
"dependencies": {
43-
"@iconify/collections": "^1.0.526",
36+
"@iconify/collections": "^1.0.536",
4437
"@iconify/types": "^2.0.0",
4538
"@iconify/utils": "^2.3.0",
4639
"@iconify/vue": "^4.3.0",
47-
"@nuxt/devtools-kit": "^2.2.1",
48-
"@nuxt/kit": "^3.16.0",
49-
"consola": "^3.4.0",
40+
"@nuxt/devtools-kit": "^2.3.2",
41+
"@nuxt/kit": "^3.16.2",
42+
"consola": "^3.4.2",
5043
"local-pkg": "^1.1.1",
5144
"mlly": "^1.7.4",
5245
"ohash": "^2.0.11",
5346
"pathe": "^2.0.3",
5447
"picomatch": "^4.0.2",
55-
"std-env": "^3.8.1",
48+
"std-env": "^3.9.0",
5649
"tinyglobby": "^0.2.12"
5750
},
5851
"devDependencies": {
5952
"@iconify-json/fluent-emoji-high-contrast": "^1.2.3",
6053
"@iconify-json/logos": "^1.2.4",
6154
"@iconify-json/ph": "^1.2.2",
62-
"@iconify-json/simple-icons": "^1.2.28",
55+
"@iconify-json/simple-icons": "^1.2.31",
6356
"@iconify-json/solar": "^1.2.2",
6457
"@iconify-json/uil": "^1.2.3",
65-
"@nuxt/devtools": "^2.2.1",
66-
"@nuxt/eslint-config": "^1.2.0",
67-
"@nuxt/module-builder": "^0.8.4",
68-
"@nuxt/schema": "^3.16.0",
58+
"@nuxt/devtools": "^2.3.2",
59+
"@nuxt/eslint-config": "^1.3.0",
60+
"@nuxt/module-builder": "^1.0.1",
61+
"@nuxt/schema": "^3.16.2",
6962
"@nuxt/test-utils": "^3.17.2",
70-
"@types/node": "^22.13.10",
71-
"@types/picomatch": "^3.0.2",
72-
"@unocss/nuxt": "^66.1.0-beta.3",
63+
"@types/node": "^22.14.0",
64+
"@types/picomatch": "^4.0.0",
65+
"@unocss/nuxt": "^66.1.0-beta.10",
7366
"bumpp": "^10.1.0",
7467
"changelogen": "^0.6.1",
75-
"eslint": "^9.22.0",
76-
"nuxt": "^3.16.0",
77-
"nuxthub": "^0.8.9",
68+
"eslint": "^9.24.0",
69+
"nuxt": "^3.16.2",
70+
"nuxthub": "^0.8.11",
7871
"prettier": "^3.5.3",
79-
"typescript": "~5.8.2",
72+
"typescript": "~5.8.3",
8073
"untyped": "^2.0.0",
81-
"vite": "^6.2.1",
74+
"vite": "^6.2.5",
8275
"vue-tsc": "^2.2.8"
8376
},
8477
"resolutions": {
85-
"nuxt": "^3.16.0",
86-
"vite": "^6.2.1"
78+
"nuxt": "^3.16.2",
79+
"vite": "^6.2.5"
8780
}
8881
}

‎playground/package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@
1010
"deploy": "nuxthub deploy"
1111
},
1212
"dependencies": {
13-
"@nuxthub/core": "^0.8.18",
14-
"nuxt": "^3.16.0"
13+
"@nuxthub/core": "^0.8.24",
14+
"nuxt": "^3.16.2"
1515
},
1616
"devDependencies": {
1717
"@nuxt/test-utils": "^3.17.2",
1818
"@vue/test-utils": "^2.4.6",
1919
"happy-dom": "^17.4.4",
20-
"playwright-core": "^1.51.0",
21-
"vitest": "^3.0.8",
22-
"wrangler": "^3.114.1"
20+
"playwright-core": "^1.51.1",
21+
"vitest": "^3.1.1",
22+
"wrangler": "^4.9.1"
2323
}
2424
}

‎pnpm-lock.yaml

+2,192-2,110
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
Please sign in to comment.