-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update vite configuration files to use module extension
- Loading branch information
1 parent
771a157
commit f86a5ae
Showing
40 changed files
with
113 additions
and
133 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
/node_modules/ | ||
/packages/*/node_modules/ | ||
/packages/*/vitest.config.mts.timestamp-*.mjs | ||
/coverage/ | ||
/docs/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"extends": "../build-config/templates/tsc/tsconfig.json", | ||
"include": ["src", "lib.ts", "lib.test.ts", "*.config.ts", "package.json"] | ||
"include": ["src", "lib.ts", "lib.test.ts", "*.config.mts", "package.json"] | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
packages/cli/codemods.vite.config.ts → packages/cli/codemods.vite.config.mts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,4 @@ | ||
{ | ||
"extends": "../build-config/templates/tsc/tsconfig.json", | ||
"include": [ | ||
"src", | ||
"index.ts", | ||
"*.config.ts", | ||
"package.json", | ||
"../codemod-utils/src/taskHelpers.ts" | ||
] | ||
"include": ["src", "index.ts", "*.config.mts", "package.json"] | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,4 @@ | ||
{ | ||
"extends": "../build-config/templates/tsc/tsconfig.json", | ||
"include": [ | ||
"src", | ||
"lib.ts", | ||
"lib.test.ts", | ||
"*.config.ts", | ||
"package.json", | ||
"lib.test.ts", | ||
"lib.ts" | ||
] | ||
"include": ["src", "lib.ts", "lib.test.ts", "*.config.mts", "package.json"] | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"extends": "../build-config/templates/tsc/tsconfig.json", | ||
"include": ["src", "tasks", "lib.ts", "lib.test.ts", "*.config.ts", "package.json"], | ||
"include": ["src", "tasks", "lib.ts", "lib.test.ts", "*.config.mts", "package.json"], | ||
"exclude": ["templates"] | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"extends": "../build-config/templates/tsc/browser.tsconfig.json", | ||
"include": ["src", "index.ts", "*.config.ts", "package.json"] | ||
"include": ["src", "index.ts", "*.config.mts", "package.json"] | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,4 @@ | ||
{ | ||
"extends": "../build-config/templates/tsc/tsconfig.json", | ||
"include": [ | ||
"src", | ||
"lib.ts", | ||
"lib.test.ts", | ||
"*.config.ts", | ||
"package.json", | ||
"lib.test.ts", | ||
"lib.ts" | ||
] | ||
"include": ["src", "lib.ts", "lib.test.ts", "*.config.mts", "package.json"] | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"extends": "../build-config/templates/tsc/tsconfig.json", | ||
"include": ["src", "lib.ts", "*.config.ts", "package.json"] | ||
"include": ["src", "lib.ts", "*.config.mts", "package.json"] | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"extends": "../build-config/templates/tsc/tsconfig.json", | ||
"include": ["src", "lib.ts", "lib.test.ts", "*.config.ts", "package.json"] | ||
"include": ["src", "lib.ts", "lib.test.ts", "*.config.mts", "package.json"] | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/// <reference types="vitest" /> | ||
import { join, resolve } from 'path'; | ||
import { defineConfig, mergeConfig } from 'vite'; | ||
|
||
import base from './vite.config.mts'; | ||
|
||
export default mergeConfig( | ||
base, | ||
defineConfig({ | ||
test: { | ||
root: resolve(__dirname, '..', '..'), | ||
include: [join(__dirname, '**/*.{test,spec}.?(c|m)[jt]s?(x)')], | ||
}, | ||
}), | ||
); |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,4 @@ | ||
{ | ||
"extends": "../build-config/templates/tsc/tsconfig.json", | ||
"include": [ | ||
"src", | ||
"lib.ts", | ||
"lib.test.ts", | ||
"*.config.ts", | ||
"package.json", | ||
"lib.test.ts", | ||
"lib.ts" | ||
] | ||
"include": ["src", "lib.ts", "lib.test.ts", "*.config.mts", "package.json"] | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/// <reference types="vitest" /> | ||
import { join, resolve } from 'path'; | ||
import { defineConfig, mergeConfig } from 'vite'; | ||
|
||
import base from './vite.config.mts'; | ||
|
||
export default mergeConfig( | ||
base, | ||
defineConfig({ | ||
test: { | ||
root: resolve(__dirname, '..', '..'), | ||
include: [join(__dirname, '**/*.{test,spec}.?(c|m)[jt]s?(x)')], | ||
}, | ||
}), | ||
); |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.