Skip to content

Commit

Permalink
refactor(nuxt): bundler module resolution is default now
Browse files Browse the repository at this point in the history
  • Loading branch information
johannschopplich committed Feb 4, 2024
1 parent cd98959 commit 7e096ff
Show file tree
Hide file tree
Showing 12 changed files with 1,830 additions and 1,542 deletions.
4 changes: 2 additions & 2 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"serve": "vitepress serve"
},
"devDependencies": {
"@iconify-json/carbon": "^1.1.27",
"unocss": "^0.58.3",
"@iconify-json/carbon": "^1.1.28",
"unocss": "^0.58.4",
"vitepress": "1.0.0-rc.35"
}
}
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"type": "module",
"version": "0.10.4",
"private": true,
"packageManager": "pnpm@8.14.0",
"packageManager": "pnpm@8.15.1",
"scripts": {
"build": "pnpm -r --filter=./packages/** run build",
"dev:prepare": "pnpm -r --filter=./packages/** run dev:prepare",
Expand All @@ -18,15 +18,15 @@
"prepare": "pnpm run dev:prepare"
},
"devDependencies": {
"@antfu/eslint-config": "^2.6.1",
"@types/node": "^20.10.6",
"bumpp": "^9.2.1",
"@antfu/eslint-config": "^2.6.4",
"@types/node": "^20.11.16",
"bumpp": "^9.3.0",
"eslint": "^8.56.0",
"happy-dom": "^12.10.3",
"happy-dom": "^13.3.8",
"typescript": "^5.3.3",
"unbuild": "^2.0.0",
"vite": "^5.0.11",
"vitest": "^1.1.3",
"vite": "^5.0.12",
"vitest": "^1.2.2",
"vue-tsc": "^1.8.27"
}
}
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@unlazy/core",
"type": "module",
"version": "0.10.4",
"packageManager": "pnpm@8.14.0",
"packageManager": "pnpm@8.15.1",
"description": "Universal lazy loading library for placeholder images leveraging native browser APIs",
"author": "Johann Schopplich <[email protected]>",
"license": "MIT",
Expand Down
1 change: 0 additions & 1 deletion packages/nuxt/.nuxtrc

This file was deleted.

14 changes: 7 additions & 7 deletions packages/nuxt/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@unlazy/nuxt",
"version": "0.10.4",
"packageManager": "pnpm@8.14.0",
"packageManager": "pnpm@8.15.1",
"description": "Nuxt lazy loading module for placeholder images",
"author": "Johann Schopplich <[email protected]>",
"license": "MIT",
Expand Down Expand Up @@ -45,16 +45,16 @@
"test:types": "vue-tsc --noEmit"
},
"dependencies": {
"@nuxt/kit": "^3.9.1",
"@nuxt/kit": "^3.10.0",
"defu": "^6.1.4",
"unlazy": "workspace:*"
},
"devDependencies": {
"@nuxt/module-builder": "^0.5.5",
"@nuxt/schema": "^3.9.1",
"@types/node": "^20.10.6",
"@unocss/nuxt": "^0.58.3",
"@unocss/reset": "^0.58.3",
"nuxt": "^3.9.1"
"@nuxt/schema": "^3.10.0",
"@types/node": "^20.11.16",
"@unocss/nuxt": "^0.58.4",
"@unocss/reset": "^0.58.4",
"nuxt": "^3.10.0"
}
}
4 changes: 0 additions & 4 deletions packages/nuxt/playground/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,6 @@ export default defineNuxtConfig({
autoImport: false,
},

future: {
typescriptBundlerResolution: true,
},

typescript: {
shim: false,
},
Expand Down
6 changes: 3 additions & 3 deletions packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@unlazy/react",
"type": "module",
"version": "0.10.4",
"packageManager": "pnpm@8.14.0",
"packageManager": "pnpm@8.15.1",
"description": "React lazy loading library for placeholder images",
"author": "Johann Schopplich <[email protected]>",
"license": "MIT",
Expand Down Expand Up @@ -48,8 +48,8 @@
"unlazy": "workspace:*"
},
"devDependencies": {
"@types/node": "^20.10.6",
"@types/react": "^18.2.46",
"@types/node": "^20.11.16",
"@types/react": "^18.2.52",
"@types/react-dom": "^18.2.18",
"@vitejs/plugin-react": "^4.2.1",
"eslint-plugin-react": "^7.33.2",
Expand Down
8 changes: 4 additions & 4 deletions packages/solid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@unlazy/solid",
"type": "module",
"version": "0.10.4",
"packageManager": "pnpm@8.14.0",
"packageManager": "pnpm@8.15.1",
"description": "Solid lazy loading library for placeholder images",
"author": "Johann Schopplich <[email protected]>",
"license": "MIT",
Expand Down Expand Up @@ -55,11 +55,11 @@
"unlazy": "workspace:*"
},
"devDependencies": {
"@types/node": "^20.10.6",
"@types/node": "^20.11.16",
"eslint-plugin-solid": "^0.13.1",
"solid-js": "^1.8.8",
"solid-js": "^1.8.12",
"tsup": "^8.0.1",
"tsup-preset-solid": "^2.2.0",
"vite-plugin-solid": "^2.8.0"
"vite-plugin-solid": "^2.9.1"
}
}
12 changes: 6 additions & 6 deletions packages/svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@unlazy/svelte",
"type": "module",
"version": "0.10.4",
"packageManager": "pnpm@8.14.0",
"packageManager": "pnpm@8.15.1",
"description": "Svelte lazy loading library for placeholder images",
"author": "Johann Schopplich <[email protected]>",
"license": "MIT",
Expand Down Expand Up @@ -55,12 +55,12 @@
"unlazy": "workspace:*"
},
"devDependencies": {
"@sveltejs/adapter-auto": "^3.1.0",
"@sveltejs/kit": "^2.0.6",
"@sveltejs/package": "^2.2.5",
"@sveltejs/adapter-auto": "^3.1.1",
"@sveltejs/kit": "^2.5.0",
"@sveltejs/package": "^2.2.6",
"eslint-plugin-svelte": "^2.35.1",
"svelte": "^4.2.8",
"svelte-check": "^3.6.2",
"svelte": "^4.2.9",
"svelte-check": "^3.6.3",
"tslib": "^2.6.2"
}
}
2 changes: 1 addition & 1 deletion packages/unlazy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "unlazy",
"type": "module",
"version": "0.10.4",
"packageManager": "pnpm@8.14.0",
"packageManager": "pnpm@8.15.1",
"description": "Universal lazy loading library for placeholder images leveraging native browser APIs",
"author": "Johann Schopplich <[email protected]>",
"license": "MIT",
Expand Down
8 changes: 4 additions & 4 deletions packages/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@unlazy/vue",
"type": "module",
"version": "0.10.4",
"packageManager": "pnpm@8.14.0",
"packageManager": "pnpm@8.15.1",
"description": "Vue lazy loading library for placeholder images",
"author": "Johann Schopplich <[email protected]>",
"license": "MIT",
Expand Down Expand Up @@ -59,8 +59,8 @@
"unlazy": "workspace:*"
},
"devDependencies": {
"@types/node": "^20.10.6",
"@vitejs/plugin-vue": "^5.0.2",
"vue": "^3.4.5"
"@types/node": "^20.11.16",
"@vitejs/plugin-vue": "^5.0.3",
"vue": "^3.4.15"
}
}
Loading

0 comments on commit 7e096ff

Please sign in to comment.