-
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: match glob logic for unignore ignores (#115)
Co-authored-by: Charlie Croom <[email protected]> Co-authored-by: Anthony Fu <[email protected]>
- Loading branch information
1 parent
68caa6d
commit 58df9b1
Showing
11 changed files
with
441 additions
and
85 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 |
---|---|---|
|
@@ -64,5 +64,5 @@ jobs: | |
- name: Build | ||
run: nr build | ||
|
||
# - name: Test | ||
# run: nr test | ||
- name: Test | ||
run: nr test |
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 |
---|---|---|
|
@@ -27,6 +27,7 @@ | |
"start": "node bin.mjs", | ||
"prepack": "pnpm build", | ||
"lint": "nuxi prepare && eslint .", | ||
"test": "vitest", | ||
"typecheck": "vue-tsc --noEmit" | ||
}, | ||
"peerDependencies": { | ||
|
@@ -79,11 +80,15 @@ | |
"textmate-grammar-glob": "catalog:", | ||
"typescript": "catalog:", | ||
"unbuild": "catalog:", | ||
"vitest": "^2.1.8", | ||
"vue-tsc": "catalog:" | ||
}, | ||
"pnpm": { | ||
"overrides": { | ||
"nitropack": "catalog:" | ||
}, | ||
"patchedDependencies": { | ||
"@eslint/[email protected]": "patches/@[email protected]" | ||
} | ||
}, | ||
"simple-git-hooks": { | ||
|
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,26 @@ | ||
diff --git a/dist/cjs/index.cjs b/dist/cjs/index.cjs | ||
index cc033c315239251752f4a2feb3d7546ef0d24013..356fc93fe59e43794bb84ea61fd18a45ced0df8f 100644 | ||
--- a/dist/cjs/index.cjs | ||
+++ b/dist/cjs/index.cjs | ||
@@ -241,7 +241,7 @@ const CONFIG_TYPES = new Set(["array", "function"]); | ||
* Fields that are considered metadata and not part of the config object. | ||
* @type {Set<string>} | ||
*/ | ||
-const META_FIELDS = new Set(["name"]); | ||
+const META_FIELDS = new Set(["name", "index"]); | ||
|
||
/** | ||
* A schema containing just files and ignores for early validation. | ||
diff --git a/dist/esm/index.js b/dist/esm/index.js | ||
index 1e68f33e3d641d856ab25b8206be085b6c205067..7dd46e0b8872078bba033ac75c79a9046020d589 100644 | ||
--- a/dist/esm/index.js | ||
+++ b/dist/esm/index.js | ||
@@ -221,7 +221,7 @@ const CONFIG_TYPES = new Set(["array", "function"]); | ||
* Fields that are considered metadata and not part of the config object. | ||
* @type {Set<string>} | ||
*/ | ||
-const META_FIELDS = new Set(["name"]); | ||
+const META_FIELDS = new Set(["name", "index"]); | ||
|
||
/** | ||
* A schema containing just files and ignores for early validation. |
Oops, something went wrong.