-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from galaxiajs/dev
dev
- Loading branch information
Showing
10 changed files
with
95 additions
and
51 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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@galaxiajs/cloudflare-kit": patch | ||
--- | ||
|
||
Add method to execute code after request handling |
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 |
---|---|---|
|
@@ -17,7 +17,7 @@ | |
"---------------------------------------------------------------------------------": "", | ||
"test": "turbo run test", | ||
"test:watch": "turbo run test:watch", | ||
"coverage": "turbo run coverage", | ||
"coverage": "vitest run --coverage", | ||
"----------------------------------------------------------------------------------": "", | ||
"release": "changeset publish" | ||
}, | ||
|
@@ -27,8 +27,10 @@ | |
"@changesets/cli": "^2.27.5", | ||
"@commitlint/cli": "^19.3.0", | ||
"@commitlint/config-conventional": "^19.2.2", | ||
"@vitest/coverage-istanbul": "1.5.0", | ||
"lefthook": "^1.6.14", | ||
"turbo": "^1.13.3" | ||
"turbo": "^1.13.3", | ||
"vitest": "1.5.0" | ||
}, | ||
"packageManager": "[email protected]", | ||
"engines": { | ||
|
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
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import { coverageConfigDefaults, defineConfig } from "vitest/config"; | ||
|
||
export default defineConfig({ | ||
test: { | ||
coverage: { | ||
provider: "istanbul", | ||
reportOnFailure: true, | ||
// TODO: Remove this once https://github.com/vitest-dev/vitest/issues/5856 is fixed | ||
all: false, | ||
exclude: [ | ||
...coverageConfigDefaults.exclude, | ||
"**/__test__/**/*", | ||
"**/__tests__/**/*", | ||
"**/__mocks__/**/*", | ||
"**/test/**/*", | ||
"**/tests/**/*", | ||
], | ||
}, | ||
}, | ||
}); |
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,9 @@ | ||
import { defineWorkspace } from "vitest/config"; | ||
|
||
export default defineWorkspace([ | ||
"packages/*/vite.config.ts", | ||
"packages/*/vite.config.*.ts", | ||
"packages/*/vitest.config.ts", | ||
"packages/*/vitest.config.*.ts", | ||
"!packages/**/*.d.ts", | ||
]); |