Skip to content

Commit

Permalink
Update Node.js version and dependencies; refine package configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
1aron committed Nov 27, 2024
1 parent 19e5965 commit f15a347
Show file tree
Hide file tree
Showing 8 changed files with 646 additions and 726 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v20.11.1
v22.11.1
2 changes: 1 addition & 1 deletion internal
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"commit-check": "commitlint --from=HEAD~1 --verbose"
},
"engines": {
"node": "^20"
"node": "^22"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ export default class MasterCSS {
for (let index = 0; index < sheet.cssRules.length; index++) {
const eachCSSRule = sheet.cssRules[index]
if (eachCSSRule === firstNative.cssRule) {
for (const native of rule.natives) {
for (const {} of rule.natives) {
sheet.deleteRule(index)
}
break
Expand Down
26 changes: 13 additions & 13 deletions packages/nuxt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"name": "@master/css.nuxt",
"type": "module",
"scripts": {
"build": "nuxt-module-build prepare && nuxt-module-build",
"dev": "nuxt-module-build prepare && nuxi dev playground",
"build": "nuxt-module-build build",
"dev": "nuxi dev playground",
"dev:build": "nuxi build playground",
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
"lint": "eslint .",
Expand Down Expand Up @@ -53,22 +53,22 @@
"dependencies": {
"@master/css-server": "workspace:^",
"@master/css.vue": "workspace:^",
"@nuxt/kit": "^3.10.3",
"@nuxt/kit": "^3.14.1592",
"@techor/log": "^3.1.4"
},
"devDependencies": {
"@nuxt/devtools": "latest",
"@nuxt/eslint": "^0.7.1",
"@nuxt/eslint-config": "^0.2.0",
"@nuxt/module-builder": "^0.5.5",
"@nuxt/schema": "^3.10.3",
"@nuxt/test-utils": "^3.11.0",
"@types/node": "^20.11.20",
"changelogen": "^0.5.5",
"@nuxt/eslint": "^0.7.2",
"@nuxt/eslint-config": "^0.7.2",
"@nuxt/module-builder": "^0.8.4",
"@nuxt/schema": "^3.14.1592",
"@nuxt/test-utils": "^3.14.4",
"@types/node": "^22.10.0",
"changelogen": "^0.5.7",
"eslint": "^9.15.0",
"nuxt": "^3.10.3",
"nuxt": "^3.14.1592",
"shared": "workspace:^",
"vitest": "^1.3.1",
"vue": "^3.4.19"
"vitest": "^2.1.6",
"vue": "^3.5.13"
}
}
7 changes: 6 additions & 1 deletion packages/nuxt/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{
"extends": "./.nuxt/tsconfig.json"
"extends": "./.nuxt/tsconfig.json",
"exclude": [
"dist",
"node_modules",
"playground"
]
}
13 changes: 6 additions & 7 deletions packages/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@
"exports": {
".": {
"require": "./dist/index.cjs",
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
"import": "./dist/index.js"
}
},
"files": [
Expand All @@ -65,14 +64,14 @@
"devDependencies": {
"@playwright/experimental-ct-vue": "1.41.2",
"@playwright/test": "1.41.2",
"@vitejs/plugin-vue": "^4.6.2",
"@vitejs/plugin-vue": "^5.2.1",
"@vue/server-renderer": "^3.5.13",
"@vue/test-utils": "^2.4.6",
"@vue/tsconfig": "^0.4.0",
"@vue/tsconfig": "^0.6.0",
"eslint-plugin-vue": "^9.31.0",
"shared": "workspace:^",
"typescript": "^5.7.2",
"vite": "^5.4.11",
"vue-tsc": "^1.8.27"
"typescript": "5.6.3",
"vite": "^6.0.1",
"vue-tsc": "^2.1.10"
}
}
1,318 changes: 617 additions & 701 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

0 comments on commit f15a347

Please sign in to comment.