-
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* ci(benchmark): fix package versions * docs(typings): fix default filter value * docs: minor adjustments * feat: introduce initial set for config files * chore: oganize types and comments * docs: style adjustments * docs: style adjustments * docs: call adjustments * docs: call adjustments * ci: debug * ci: debug * ci: debug * chore: fix parse return * chore: support `jsonc` * chore: improve polyfill performance * chore: improve types * ci: add tests * chore: fix lint * docs: add config documentation and example * chore: add intellisense * chore: fix order
- Loading branch information
1 parent
71df0ac
commit e954336
Showing
47 changed files
with
757 additions
and
307 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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
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,3 @@ | ||
{ | ||
"debug": true | ||
} |
Empty file.
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,3 @@ | ||
{ | ||
"debug": true | ||
} |
Empty file.
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,3 @@ | ||
{ | ||
"debug": true | ||
} |
Empty file.
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,3 @@ | ||
{ | ||
"debug": true | ||
} |
Empty file.
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,18 @@ | ||
/** | ||
* 123 | ||
*/ | ||
{ | ||
/** | ||
* 123 | ||
*/ | ||
|
||
|
||
|
||
|
||
|
||
"debug": true /* yeah */ | ||
} | ||
|
||
|
||
|
||
|
Empty file.
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,10 @@ | ||
/** | ||
* 123 | ||
*/ | ||
{ | ||
/** | ||
* 123 | ||
*/ | ||
|
||
"debug": true /* yeah */ | ||
} |
Empty file.
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,10 @@ | ||
/** | ||
* 123 | ||
*/ | ||
{ | ||
/** | ||
* 123 | ||
*/ | ||
|
||
"debug": true /* yeah */ | ||
} |
Empty file.
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,91 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"title": "Options", | ||
"description": "The options that is contained inside the file `poku.json`", | ||
"type": "object", | ||
"properties": { | ||
"$schema": { | ||
"description": "A field for the [JSON schema](https://json-schema.org/) specification", | ||
"type": ["string", "null"] | ||
}, | ||
"include": { | ||
"type": ["string", "array"], | ||
"items": { | ||
"type": "string" | ||
}, | ||
"description": "Specify the path(s) to include in the configuration.\nhttps://poku.io/docs/documentation/poku/include-files", | ||
"default": "." | ||
}, | ||
"parallel": { | ||
"type": "boolean", | ||
"description": "Determines the mode of test execution.\nhttps://poku.io/docs/documentation/poku/options/parallel", | ||
"default": false | ||
}, | ||
"filter": { | ||
"type": "string", | ||
"description": "Filter by path to match only the files that should be performed.\nhttps://poku.io/docs/documentation/poku/options/filter", | ||
"default": ".test.|.spec." | ||
}, | ||
"exclude": { | ||
"type": "string", | ||
"description": "Exclude by path to match only the files that should be performed.\nhttps://poku.io/docs/documentation/poku/options/exclude" | ||
}, | ||
"debug": { | ||
"type": "boolean", | ||
"description": "This option overwrites all `log` settings.\nhttps://poku.io/docs/documentation/poku/options/debug", | ||
"default": false | ||
}, | ||
"quiet": { | ||
"type": "boolean", | ||
"description": "This option overwrites the `debug` settings.\nhttps://poku.io/docs/documentation/poku/options/quiet", | ||
"default": false | ||
}, | ||
"concurrency": { | ||
"type": "number", | ||
"description": "Limits the number of tests running concurrently.\nhttps://poku.io/docs/documentation/poku/options/concurrency", | ||
"default": 0 | ||
}, | ||
"failFast": { | ||
"type": "boolean", | ||
"description": "Stops the tests at the first failure.\nhttps://poku.io/docs/documentation/poku/options/fail-fast", | ||
"default": false | ||
}, | ||
"platform": { | ||
"type": "string", | ||
"description": "Determines the platform for test execution.\nhttps://poku.io/docs/documentation/poku/options/platform", | ||
"default": "node", | ||
"enum": ["node", "bun", "deno"] | ||
}, | ||
"deno": { | ||
"type": "object", | ||
"description": "Exclusive options for Deno platform.\nhttps://poku.io/docs/documentation/poku/options/deno", | ||
"properties": { | ||
"allow": { | ||
"type": "array", | ||
"items": { | ||
"type": "string" | ||
}, | ||
"description": "Allow list for Deno permissions.\nhttps://poku.io/docs/documentation/poku/options/deno#allow" | ||
}, | ||
"deny": { | ||
"type": "array", | ||
"items": { | ||
"type": "string" | ||
}, | ||
"description": "Deny list for Deno permissions.\nhttps://poku.io/docs/documentation/poku/options/deno#deny" | ||
}, | ||
"cjs": { | ||
"type": ["boolean", "array"], | ||
"items": { | ||
"type": "string" | ||
}, | ||
"description": "CommonJS compatibility for Deno.\nhttps://poku.io/docs/documentation/poku/options/deno#cjs" | ||
} | ||
}, | ||
"additionalProperties": false, | ||
"required": [] | ||
} | ||
}, | ||
"required": [], | ||
"additionalProperties": false | ||
} |
Oops, something went wrong.