Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
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
Prev Previous commit
Next Next commit
Bump most tests to Vite 7
  • Loading branch information
thecrypticace committed Jun 24, 2025
commit b8cca7191de2b0a266f5d760b501175fae66d290
8 changes: 4 additions & 4 deletions integrations/vite/config.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ test(
"tailwindcss": "workspace:^"
},
"devDependencies": {
"vite": "^6"
"vite": "^7"
}
}
`,
Expand Down Expand Up @@ -76,7 +76,7 @@ test(
"tailwindcss": "workspace:^"
},
"devDependencies": {
"vite": "^6"
"vite": "^7"
}
}
`,
Expand Down Expand Up @@ -140,7 +140,7 @@ test(
"tailwindcss": "workspace:^"
},
"devDependencies": {
"vite": "^6"
"vite": "^7"
}
}
`,
Expand Down Expand Up @@ -219,7 +219,7 @@ test(
"tailwindcss": "workspace:^"
},
"devDependencies": {
"vite": "^6"
"vite": "^7"
}
}
`,
Expand Down
2 changes: 1 addition & 1 deletion integrations/vite/css-modules.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ describe.each(['postcss', 'lightningcss'])('%s', (transformer) => {
},
"devDependencies": {
${transformer === 'lightningcss' ? `"lightningcss": "^1",` : ''}
"vite": "^6"
"vite": "^7"
}
}
`,
Expand Down
2 changes: 1 addition & 1 deletion integrations/vite/html-style-blocks.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ test(
},
"devDependencies": {
"@tailwindcss/vite": "workspace:^",
"vite": "^6"
"vite": "^7"
}
}
`,
Expand Down
2 changes: 1 addition & 1 deletion integrations/vite/ignored-packages.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const WORKSPACE = {
"tailwindcss": "workspace:^"
},
"devDependencies": {
"vite": "^6"
"vite": "^7"
}
}
`,
Expand Down
18 changes: 9 additions & 9 deletions integrations/vite/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ describe.each(['postcss', 'lightningcss'])('%s', (transformer) => {
},
"devDependencies": {
${transformer === 'lightningcss' ? `"lightningcss": "^1",` : ''}
"vite": "^6"
"vite": "^7"
}
}
`,
Expand Down Expand Up @@ -111,7 +111,7 @@ describe.each(['postcss', 'lightningcss'])('%s', (transformer) => {
},
"devDependencies": {
${transformer === 'lightningcss' ? `"lightningcss": "^1",` : ''}
"vite": "^6"
"vite": "^7"
}
}
`,
Expand Down Expand Up @@ -312,7 +312,7 @@ describe.each(['postcss', 'lightningcss'])('%s', (transformer) => {
},
"devDependencies": {
${transformer === 'lightningcss' ? `"lightningcss": "^1",` : ''}
"vite": "^6"
"vite": "^7"
}
}
`,
Expand Down Expand Up @@ -491,7 +491,7 @@ describe.each(['postcss', 'lightningcss'])('%s', (transformer) => {
},
"devDependencies": {
${transformer === 'lightningcss' ? `"lightningcss": "^1",` : ''}
"vite": "^6"
"vite": "^7"
}
}
`,
Expand Down Expand Up @@ -577,7 +577,7 @@ describe.each(['postcss', 'lightningcss'])('%s', (transformer) => {
},
"devDependencies": {
${transformer === 'lightningcss' ? `"lightningcss": "^1",` : ''}
"vite": "^6"
"vite": "^7"
}
}
`,
Expand Down Expand Up @@ -679,7 +679,7 @@ describe.each(['postcss', 'lightningcss'])('%s', (transformer) => {
},
"devDependencies": {
${transformer === 'lightningcss' ? `"lightningcss": "^1",` : ''}
"vite": "^6"
"vite": "^7"
}
}
`,
Expand Down Expand Up @@ -744,7 +744,7 @@ test(
"tailwindcss": "workspace:^"
},
"devDependencies": {
"vite": "^6"
"vite": "^7"
}
}
`,
Expand Down Expand Up @@ -816,7 +816,7 @@ test(
"tailwindcss": "workspace:^"
},
"devDependencies": {
"vite": "^6"
"vite": "^7"
}
}
`,
Expand Down Expand Up @@ -879,7 +879,7 @@ test(
"@tailwindcss/vite": "workspace:^",
"tailwindcss": "workspace:^",
"plotly.js": "^3",
"vite": "^6"
"vite": "^7"
}
}
`,
Expand Down
4 changes: 2 additions & 2 deletions integrations/vite/multi-root.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ test(
"tailwindcss": "workspace:^"
},
"devDependencies": {
"vite": "^6"
"vite": "^7"
}
}
`,
Expand Down Expand Up @@ -96,7 +96,7 @@ test(
"tailwindcss": "workspace:^"
},
"devDependencies": {
"vite": "^6"
"vite": "^7"
}
}
`,
Expand Down
2 changes: 1 addition & 1 deletion integrations/vite/other-transforms.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function createSetup(transformer: 'postcss' | 'lightningcss') {
},
"devDependencies": {
${transformer === 'lightningcss' ? `"lightningcss": "^1",` : ''}
"vite": "^6"
"vite": "^7"
}
}
`,
Expand Down
2 changes: 1 addition & 1 deletion integrations/vite/source-maps.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ test(
},
"devDependencies": {
"lightningcss": "^1",
"vite": "^6"
"vite": "^7"
}
}
`,
Expand Down
4 changes: 2 additions & 2 deletions integrations/vite/svelte.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ test(
"devDependencies": {
"@sveltejs/vite-plugin-svelte": "^5",
"@tailwindcss/vite": "workspace:^",
"vite": "^6"
"vite": "^7"
}
}
`,
Expand Down Expand Up @@ -125,7 +125,7 @@ test(
"devDependencies": {
"@sveltejs/vite-plugin-svelte": "^5",
"@tailwindcss/vite": "workspace:^",
"vite": "^6"
"vite": "^7"
}
}
`,
Expand Down
2 changes: 1 addition & 1 deletion integrations/vite/url-rewriting.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ describe.each(['postcss', 'lightningcss'])('%s', (transformer) => {
"devDependencies": {
${transformer === 'lightningcss' ? `"lightningcss": "^1",` : ''}
"@tailwindcss/vite": "workspace:^",
"vite": "^6"
"vite": "^7"
}
}
`,
Expand Down
4 changes: 2 additions & 2 deletions integrations/vite/vue.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ test(
"devDependencies": {
"@vitejs/plugin-vue": "^5.1.2",
"@tailwindcss/vite": "workspace:^",
"vite": "^6"
"vite": "^7"
}
}
`,
Expand Down Expand Up @@ -87,7 +87,7 @@ test(
"devDependencies": {
"@vitejs/plugin-vue": "^5.1.2",
"@tailwindcss/vite": "workspace:^",
"vite": "^6"
"vite": "^7"
}
}
`,
Expand Down