Skip to content

Commit

Permalink
fix: fix importMeta error by updating to stylelint 16
Browse files Browse the repository at this point in the history
  • Loading branch information
strawberry-choco committed Jul 17, 2024
1 parent 5d01c86 commit 3cf1de1
Show file tree
Hide file tree
Showing 4 changed files with 184 additions and 762 deletions.
8 changes: 4 additions & 4 deletions packages/vite-plugin-checker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@
"@types/fs-extra": "^11.0.1",
"@vue/language-core": "^2.0.14",
"esbuild": "^0.14.27",
"meow": "^9.0.0",
"meow": "^13.2.0",
"npm-run-all2": "^5.0.0",
"stylelint": "^14.0.0",
"stylelint": "^16.0.0",
"tsup": "^6.7.0",
"typescript": "^5.5.3",
"vls": "^0.8.5",
Expand All @@ -69,9 +69,9 @@
"peerDependencies": {
"@biomejs/biome": ">=1.7",
"eslint": ">=7",
"meow": "^9.0.0",
"meow": "^13.2.0",
"optionator": "^0.9.1",
"stylelint": ">=13",
"stylelint": ">=16",
"typescript": "*",
"vite": ">=2.0.0",
"vls": "*",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ export const translateOptions = async (command: string) => {
const result = meow({
autoHelp: false,
autoVersion: false,
importMeta: import.meta,
help: `
Usage: stylelint [input] [options]
Input: Files(s), glob(s), or nothing to use stdin.
Expand Down
6 changes: 3 additions & 3 deletions playground/stylelint-default/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
"devDependencies": {
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"meow": "^9.0.0",
"stylelint": "^14.0.0",
"stylelint-config-standard": "^28.0.0",
"meow": "^13.2.0",
"stylelint": "^16.0.0",
"stylelint-config-standard": "^36.0.0",
"typescript": "^5.5.3",
"vite": "^5.3.2",
"vite-plugin-checker": "workspace:*"
Expand Down
Loading

0 comments on commit 3cf1de1

Please sign in to comment.