Skip to content

Commit

Permalink
fix: escape glob-like paths to ensure correct overrides
Browse files Browse the repository at this point in the history
Fixes #102
  • Loading branch information
haoqunjiang committed Nov 25, 2024
1 parent 4e1fe36 commit 1fc321c
Show file tree
Hide file tree
Showing 48 changed files with 2,210 additions and 1,550 deletions.
16 changes: 8 additions & 8 deletions examples/allow-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,19 @@
"lint": "eslint . --fix"
},
"dependencies": {
"vue": "^3.5.12"
"vue": "^3.5.13"
},
"devDependencies": {
"@tsconfig/node20": "^20.1.4",
"@types/node": "^20.16.11",
"@vitejs/plugin-vue": "^5.1.4",
"@types/node": "^20.17.7",
"@vitejs/plugin-vue": "^5.2.0",
"@vue/eslint-config-typescript": "workspace:*",
"@vue/tsconfig": "^0.5.1",
"eslint": "^9.12.0",
"eslint-plugin-vue": "^9.29.0",
"npm-run-all2": "^6.2.3",
"eslint": "^9.15.0",
"eslint-plugin-vue": "^9.31.0",
"npm-run-all2": "^6.2.6",
"typescript": "~5.5.4",
"vite": "^5.4.8",
"vue-tsc": "^2.1.6"
"vite": "^5.4.11",
"vue-tsc": "^2.1.10"
}
}
16 changes: 8 additions & 8 deletions examples/minimal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,19 @@
"lint": "eslint . --fix"
},
"dependencies": {
"vue": "^3.5.12"
"vue": "^3.5.13"
},
"devDependencies": {
"@tsconfig/node20": "^20.1.4",
"@types/node": "^20.16.11",
"@vitejs/plugin-vue": "^5.1.4",
"@types/node": "^20.17.7",
"@vitejs/plugin-vue": "^5.2.0",
"@vue/eslint-config-typescript": "workspace:*",
"@vue/tsconfig": "^0.5.1",
"eslint": "^9.12.0",
"eslint-plugin-vue": "^9.29.0",
"npm-run-all2": "^6.2.3",
"eslint": "^9.15.0",
"eslint-plugin-vue": "^9.31.0",
"npm-run-all2": "^6.2.6",
"typescript": "~5.5.4",
"vite": "^5.4.8",
"vue-tsc": "^2.1.6"
"vite": "^5.4.11",
"vue-tsc": "^2.1.10"
}
}
28 changes: 14 additions & 14 deletions examples/type-checked/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,33 +16,33 @@
"format": "prettier --write src/"
},
"dependencies": {
"pinia": "^2.2.4",
"vue": "^3.5.12",
"pinia": "^2.2.6",
"vue": "^3.5.13",
"vue-router": "^4.4.5"
},
"devDependencies": {
"@tsconfig/node20": "^20.1.4",
"@types/jsdom": "^21.1.7",
"@types/node": "^20.16.11",
"@vitejs/plugin-vue": "^5.1.4",
"@vitejs/plugin-vue-jsx": "^4.0.1",
"@types/node": "^20.17.7",
"@vitejs/plugin-vue": "^5.2.0",
"@vitejs/plugin-vue-jsx": "^4.1.0",
"@vitest/eslint-plugin": "1.1.7",
"@vue/eslint-config-prettier": "^10.0.0",
"@vue/eslint-config-prettier": "^10.1.0",
"@vue/eslint-config-typescript": "workspace:*",
"@vue/test-utils": "^2.4.6",
"@vue/tsconfig": "^0.5.1",
"cypress": "^13.15.0",
"eslint": "^9.12.0",
"cypress": "^13.16.0",
"eslint": "^9.15.0",
"eslint-plugin-cypress": "^3.6.0",
"eslint-plugin-vue": "^9.29.0",
"eslint-plugin-vue": "^9.31.0",
"jsdom": "^25.0.1",
"npm-run-all2": "^6.2.3",
"npm-run-all2": "^6.2.6",
"prettier": "^3.3.3",
"start-server-and-test": "^2.0.8",
"typescript": "~5.5.4",
"vite": "^5.4.8",
"vite-plugin-vue-devtools": "^7.4.6",
"vitest": "^2.1.2",
"vue-tsc": "^2.1.6"
"vite": "^5.4.11",
"vite-plugin-vue-devtools": "^7.6.4",
"vitest": "^2.1.5",
"vue-tsc": "^2.1.10"
}
}
18 changes: 9 additions & 9 deletions examples/with-cypress/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,22 @@
"lint": "eslint . --fix"
},
"dependencies": {
"vue": "^3.5.12"
"vue": "^3.5.13"
},
"devDependencies": {
"@tsconfig/node20": "^20.1.4",
"@types/node": "^20.16.11",
"@vitejs/plugin-vue": "^5.1.4",
"@types/node": "^20.17.7",
"@vitejs/plugin-vue": "^5.2.0",
"@vue/eslint-config-typescript": "workspace:*",
"@vue/tsconfig": "^0.5.1",
"cypress": "^13.15.0",
"eslint": "^9.12.0",
"cypress": "^13.16.0",
"eslint": "^9.15.0",
"eslint-plugin-cypress": "^3.6.0",
"eslint-plugin-vue": "^9.29.0",
"npm-run-all2": "^6.2.3",
"eslint-plugin-vue": "^9.31.0",
"npm-run-all2": "^6.2.6",
"start-server-and-test": "^2.0.8",
"typescript": "~5.5.4",
"vite": "^5.4.8",
"vue-tsc": "^2.1.6"
"vite": "^5.4.11",
"vue-tsc": "^2.1.10"
}
}
18 changes: 9 additions & 9 deletions examples/with-jsx-in-vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,20 @@
"lint": "eslint . --fix"
},
"dependencies": {
"vue": "^3.5.12"
"vue": "^3.5.13"
},
"devDependencies": {
"@tsconfig/node20": "^20.1.4",
"@types/node": "^20.16.11",
"@vitejs/plugin-vue": "^5.1.4",
"@vitejs/plugin-vue-jsx": "^4.0.1",
"@types/node": "^20.17.7",
"@vitejs/plugin-vue": "^5.2.0",
"@vitejs/plugin-vue-jsx": "^4.1.0",
"@vue/eslint-config-typescript": "workspace:*",
"@vue/tsconfig": "^0.5.1",
"eslint": "^9.12.0",
"eslint-plugin-vue": "^9.29.0",
"npm-run-all2": "^6.2.3",
"eslint": "^9.15.0",
"eslint-plugin-vue": "^9.31.0",
"npm-run-all2": "^6.2.6",
"typescript": "~5.5.4",
"vite": "^5.4.8",
"vue-tsc": "^2.1.6"
"vite": "^5.4.11",
"vue-tsc": "^2.1.10"
}
}
18 changes: 9 additions & 9 deletions examples/with-jsx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,20 @@
"lint": "eslint . --fix"
},
"dependencies": {
"vue": "^3.5.12"
"vue": "^3.5.13"
},
"devDependencies": {
"@tsconfig/node20": "^20.1.4",
"@types/node": "^20.16.11",
"@vitejs/plugin-vue": "^5.1.4",
"@vitejs/plugin-vue-jsx": "^4.0.1",
"@types/node": "^20.17.7",
"@vitejs/plugin-vue": "^5.2.0",
"@vitejs/plugin-vue-jsx": "^4.1.0",
"@vue/eslint-config-typescript": "workspace:*",
"@vue/tsconfig": "^0.5.1",
"eslint": "^9.12.0",
"eslint-plugin-vue": "^9.29.0",
"npm-run-all2": "^6.2.3",
"eslint": "^9.15.0",
"eslint-plugin-vue": "^9.31.0",
"npm-run-all2": "^6.2.6",
"typescript": "~5.5.4",
"vite": "^5.4.8",
"vue-tsc": "^2.1.6"
"vite": "^5.4.11",
"vue-tsc": "^2.1.10"
}
}
18 changes: 9 additions & 9 deletions examples/with-nightwatch/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,26 +14,26 @@
"lint": "eslint . --fix"
},
"dependencies": {
"vue": "^3.5.12"
"vue": "^3.5.13"
},
"devDependencies": {
"@nightwatch/vue": "^3.1.2",
"@tsconfig/node20": "^20.1.4",
"@types/node": "^20.16.11",
"@vitejs/plugin-vue": "^5.1.4",
"@types/node": "^20.17.7",
"@vitejs/plugin-vue": "^5.2.0",
"@vue/eslint-config-typescript": "workspace:*",
"@vue/test-utils": "^2.4.6",
"@vue/tsconfig": "^0.5.1",
"chromedriver": "^129.0.4",
"eslint": "^9.12.0",
"eslint-plugin-vue": "^9.29.0",
"eslint": "^9.15.0",
"eslint-plugin-vue": "^9.31.0",
"geckodriver": "^4.5.1",
"nightwatch": "^3.8.0",
"npm-run-all2": "^6.2.3",
"nightwatch": "^3.9.0",
"npm-run-all2": "^6.2.6",
"ts-node": "^10.9.2",
"typescript": "~5.5.4",
"vite": "^5.4.8",
"vite": "^5.4.11",
"vite-plugin-nightwatch": "^0.4.6",
"vue-tsc": "^2.1.6"
"vue-tsc": "^2.1.10"
}
}
20 changes: 10 additions & 10 deletions examples/with-playwright/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,21 @@
"lint": "eslint . --fix"
},
"dependencies": {
"vue": "^3.5.12"
"vue": "^3.5.13"
},
"devDependencies": {
"@playwright/test": "^1.48.0",
"@playwright/test": "^1.49.0",
"@tsconfig/node20": "^20.1.4",
"@types/node": "^20.16.11",
"@vitejs/plugin-vue": "^5.1.4",
"@types/node": "^20.17.7",
"@vitejs/plugin-vue": "^5.2.0",
"@vue/eslint-config-typescript": "workspace:*",
"@vue/tsconfig": "^0.5.1",
"eslint": "^9.12.0",
"eslint-plugin-playwright": "^1.7.0",
"eslint-plugin-vue": "^9.29.0",
"npm-run-all2": "^6.2.3",
"eslint": "^9.15.0",
"eslint-plugin-playwright": "^1.8.3",
"eslint-plugin-vue": "^9.31.0",
"npm-run-all2": "^6.2.6",
"typescript": "~5.5.4",
"vite": "^5.4.8",
"vue-tsc": "^2.1.6"
"vite": "^5.4.11",
"vue-tsc": "^2.1.10"
}
}
18 changes: 9 additions & 9 deletions examples/with-prettier/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,21 @@
"format": "prettier --write src/"
},
"dependencies": {
"vue": "^3.5.12"
"vue": "^3.5.13"
},
"devDependencies": {
"@tsconfig/node20": "^20.1.4",
"@types/node": "^20.16.11",
"@vitejs/plugin-vue": "^5.1.4",
"@vue/eslint-config-prettier": "^10.0.0",
"@types/node": "^20.17.7",
"@vitejs/plugin-vue": "^5.2.0",
"@vue/eslint-config-prettier": "^10.1.0",
"@vue/eslint-config-typescript": "workspace:*",
"@vue/tsconfig": "^0.5.1",
"eslint": "^9.12.0",
"eslint-plugin-vue": "^9.29.0",
"npm-run-all2": "^6.2.3",
"eslint": "^9.15.0",
"eslint-plugin-vue": "^9.31.0",
"npm-run-all2": "^6.2.6",
"prettier": "^3.3.3",
"typescript": "~5.5.4",
"vite": "^5.4.8",
"vue-tsc": "^2.1.6"
"vite": "^5.4.11",
"vue-tsc": "^2.1.10"
}
}
18 changes: 9 additions & 9 deletions examples/with-tsx-in-vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,20 @@
"lint": "eslint . --fix"
},
"dependencies": {
"vue": "^3.5.12"
"vue": "^3.5.13"
},
"devDependencies": {
"@tsconfig/node20": "^20.1.4",
"@types/node": "^20.16.11",
"@vitejs/plugin-vue": "^5.1.4",
"@vitejs/plugin-vue-jsx": "^4.0.1",
"@types/node": "^20.17.7",
"@vitejs/plugin-vue": "^5.2.0",
"@vitejs/plugin-vue-jsx": "^4.1.0",
"@vue/eslint-config-typescript": "workspace:*",
"@vue/tsconfig": "^0.5.1",
"eslint": "^9.12.0",
"eslint-plugin-vue": "^9.29.0",
"npm-run-all2": "^6.2.3",
"eslint": "^9.15.0",
"eslint-plugin-vue": "^9.31.0",
"npm-run-all2": "^6.2.6",
"typescript": "~5.5.4",
"vite": "^5.4.8",
"vue-tsc": "^2.1.6"
"vite": "^5.4.11",
"vue-tsc": "^2.1.10"
}
}
18 changes: 9 additions & 9 deletions examples/with-tsx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,20 @@
"lint": "eslint . --fix"
},
"dependencies": {
"vue": "^3.5.12"
"vue": "^3.5.13"
},
"devDependencies": {
"@tsconfig/node20": "^20.1.4",
"@types/node": "^20.16.11",
"@vitejs/plugin-vue": "^5.1.4",
"@vitejs/plugin-vue-jsx": "^4.0.1",
"@types/node": "^20.17.7",
"@vitejs/plugin-vue": "^5.2.0",
"@vitejs/plugin-vue-jsx": "^4.1.0",
"@vue/eslint-config-typescript": "workspace:*",
"@vue/tsconfig": "^0.5.1",
"eslint": "^9.12.0",
"eslint-plugin-vue": "^9.29.0",
"npm-run-all2": "^6.2.3",
"eslint": "^9.15.0",
"eslint-plugin-vue": "^9.31.0",
"npm-run-all2": "^6.2.6",
"typescript": "~5.5.4",
"vite": "^5.4.8",
"vue-tsc": "^2.1.6"
"vite": "^5.4.11",
"vue-tsc": "^2.1.10"
}
}
18 changes: 9 additions & 9 deletions examples/with-vitest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,24 +13,24 @@
"lint": "eslint . --fix"
},
"dependencies": {
"vue": "^3.5.12"
"vue": "^3.5.13"
},
"devDependencies": {
"@tsconfig/node20": "^20.1.4",
"@types/jsdom": "^21.1.7",
"@types/node": "^20.16.11",
"@vitejs/plugin-vue": "^5.1.4",
"@vitest/eslint-plugin": "^1.1.7",
"@types/node": "^20.17.7",
"@vitejs/plugin-vue": "^5.2.0",
"@vitest/eslint-plugin": "^1.1.10",
"@vue/eslint-config-typescript": "workspace:*",
"@vue/test-utils": "^2.4.6",
"@vue/tsconfig": "^0.5.1",
"eslint": "^9.12.0",
"eslint-plugin-vue": "^9.29.0",
"eslint": "^9.15.0",
"eslint-plugin-vue": "^9.31.0",
"jsdom": "^25.0.1",
"npm-run-all2": "^6.2.3",
"npm-run-all2": "^6.2.6",
"typescript": "~5.5.4",
"vite": "^5.4.8",
"vite": "^5.4.11",
"vitest": "^1.6.0",
"vue-tsc": "^2.1.6"
"vue-tsc": "^2.1.10"
}
}
Loading

0 comments on commit 1fc321c

Please sign in to comment.