10000 feat(build): update @nuxt/module-builder to 1.0.1 (v2) by mattmess1221 · Pull Request #406 · una-ui/una-ui · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat(build): update @nuxt/module-builder to 1.0.1 (v2) #406

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community. 8000

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 22 commits into from
May 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
4db5b6b
fix(build): update @nuxt/module-builder to 1.0.0-alpha
mattmess1221 Mar 24, 2025
9efb183
fix: set tsc target to ESNext
mattmess1221 Mar 24, 2025
84cf64e
fix: restore root tsconfig.json, move to subpackages
mattmess1221 Mar 24, 2025
483adaf
fix: fix .d.ts generation issues by patching @vue/runtime-core. Remov…
mattmess1221 Mar 24, 2025
c5e1809
Merge branch 'main' into fix/precompile-sfcs
mattmess1221 Apr 24, 2025
6a821fa
chore: update some dev dependencies so patches can be removed
mattmess1221 Apr 24, 2025
bc6ea88
chore: lock
mattmess1221 Apr 24, 2025
f8a73e8
chore: pnpm dedupe
mattmess1221 Apr 24, 2025
421e865
empty commit
mattmess1221 Apr 24, 2025
ba66e62
chore: remove typescript from dependencies
mattmess1221 Apr 24, 2025
8090b2a
empty commit
mattmess1221 Apr 24, 2025
1576c63
Merge branch 'main' into fix/precompile-sfcs
mattmess1221 May 1, 2025
bab7f0e
refactor!: do not emit cjs files during build
mattmess1221 May 1, 2025
c5a5034
chore: remove unneeded ColorModeInstance interface from ThemeSwitcher…
mattmess1221 May 1, 2025
dfe1c31
chore: remove unneeded patches from types
mattmess1221 May 1, 2025
7636693
empty commit
mattmess1221 May 1, 2025
a9f8268
empty commit
mattmess1221 May 1, 2025
4995f54
Merge branch 'main' into fix/precompile-sfcs
mattmess1221 May 5, 2025
962bbf9
Merge remote-tracking branch 'origin/main' into fix/precompile-sfcs
mattmess1221 May 5, 2025
43c7ef5
Merge remote-tracking branch 'origin/main' into fix/precompile-sfcs
mattmess1221 May 6, 2025
4df0cf8
chore: lock dependencies
mattmess1221 May 6, 2025
0d258b1
chore: lock dependencies
mattmess1221 May 6, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions packages/extractor-vue-script/build.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ export default defineBuildConfig({
],
declaration: true,
clean: true,
rollup: {
emitCJS: true,
},
externals: [
'@unocss/core',
],
Expand Down
4 changes: 1 addition & 3 deletions packages/extractor-vue-script/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,9 @@
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
"import": "./dist/index.mjs"
}
},
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"files": [
Expand Down
8 changes: 8 additions & 0 deletions packages/extractor-vue-script/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"compilerOptions": {
"target": "esnext",
"module": "esnext",
"moduleResolution": "bundler",
"strict": true
}
}
10 changes: 4 additions & 6 deletions packages/nuxt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,8 @@
},
"exports": {
".": {
"types": "./dist/types.d.ts",
"import": "./dist/module.mjs",
"require": "./dist/module.cjs"
"types": "./dist/types.d.mts",
"import": "./dist/module.mjs"
},
"./una.config": {
"import": "./dist/una.config.mjs"
Expand All @@ -31,8 +30,8 @@
"imports": {
"#build/una/*": "./.nuxt/una/*.ts"
},
"main": "./dist/module.cjs",
"types": "./dist/types.d.ts",
"module": "./dist/module.mjs",
"types": "./dist/types.d.mts",
"files": [
"dist"
],
Expand Down Expand Up @@ -66,7 +65,6 @@
"ohash": "catalog:",
"reka-ui": "catalog:",
"tailwind-merge": "catalog:",
"typescript": "catalog:",
"unocss": "catalog:",
"unocss-preset-animations": "catalog:"
},
Expand Down
3 changes: 0 additions & 3 deletions packages/preset/build.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ export default defineBuildConfig({
],
declaration: true,
clean: true,
rollup: {
emitCJS: true,
},
externals: [
'unocss',
'@unocss/preset-mini',
Expand Down
10 changes: 3 additions & 7 deletions packages/preset/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,22 +22,18 @@
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
"import": "./dist/index.mjs"
},
"./shortcuts": {
"types": "./dist/shortcuts.d.ts",
"import": "./dist/shortcuts.mjs",
"require": "./dist/shortcuts.cjs"
"import": "./dist/shortcuts.mjs"
},
"./prefixes": {
"types": "./dist/prefixes.d.ts",
"import": "./dist/prefixes.mjs",
"require": "./dist/prefixes.cjs"
"import": "./dist/prefixes.mjs"
},
"./*": "./*"
},
"main": "dist/index.cjs",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"files": [
Expand Down
8 changes: 8 additions & 0 deletions packages/preset/tsconfig.json
6D4E
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"compilerOptions": {
"target": "esnext",
"module": "esnext",
"moduleResolution": "bundler",
"strict": true
}
}
3,309 changes: 1,843 additions & 1,466 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions pnpm-workspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ catalog:
'@iconify/utils': ^2.3.0
'@nuxt/devtools': ^2.4.0
'@nuxt/kit': ^3.17.2
'@nuxt/module-builder': ^0.8.4
'@nuxt/module-builder': ^1.0.1
'@nuxt/schema': ^3.17.2
'@nuxtjs/color-mode': ^3.5.2
'@tanstack/vue-table': ^8.21.3
Expand Down Expand Up @@ -57,7 +57,7 @@ catalog:
simple-git: ^3.27.0
simple-git-hooks: ^2.13.0
tailwind-merge: ^3.2.0
typescript: 5.6.3
typescript: ^5.8.3
unbuild: ^3.5.0
unocss: ^66.0.0
unocss-preset-animations: ^1.2.1
Expand Down
0