-
Notifications
You must be signed in to change notification settings - Fork 35
Support globs for src and ignoring paths #165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
ab08a03
773254c
d804c7e
7ef29b6
5f0434a
ff57fba
349e78e
b1d8143
e965912
3a9f718
cba8882
f8120ca
bbd700a
49d9d2f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -34,6 +34,7 @@ | |
| "@types/babel__traverse": "^7.0.15", | ||
| "@types/chalk": "^2.2.0", | ||
| "@types/estree": "0.0.44", | ||
| "@types/is-glob": "^4.0.4", | ||
| "@types/jest": "21.1.6", | ||
| "@types/koa": "^2.0.49", | ||
| "@types/koa-router": "^7.0.42", | ||
|
|
@@ -49,12 +50,12 @@ | |
| "babel-core": "^7.0.0-bridge.0", | ||
| "babel-plugin-react-compiler": "^19.1.0-rc.2", | ||
| "husky": "^0.14.3", | ||
| "jest": "^24.9.0", | ||
| "jest": "^30.2.0", | ||
| "lint-staged": "^5.0.0", | ||
| "prettier": "^1.19.1", | ||
| "ts-jest": "^26.3.0", | ||
| "ts-jest": "^29.4.6", | ||
| "ts-node": "3.3.0", | ||
| "typescript": "^3.9.7" | ||
| "typescript": "^4.3" | ||
|
Comment on lines
+53
to
+58
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. These may be good changes, but they are strictly unrelated.
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. As mentioned in the description, the
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ugh... I would personally prefer dependency bumps to be a separate PR, but then again I'm not the owner of this project, maybe they think it's OK.
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I see the value of splitting it into multiple PRs but would appreciate the input of someone with merge and publish privileges. If you have the rights @dimaqq, I will get right into it 🙂 |
||
| }, | ||
| "dependencies": { | ||
| "@babel/core": "^7.12.3", | ||
|
|
@@ -77,8 +78,10 @@ | |
| "cross-spawn": "^5.1.0", | ||
| "estree-walker": "^2.0.1", | ||
| "gettext-parser": "^6.0.0", | ||
| "glob": "13.0.0", | ||
| "hunspell-spellchecker": "^1.0.2", | ||
| "ignore": "^5.1.8", | ||
| "is-glob": "4.0.3", | ||
| "koa": "^2.13.0", | ||
| "koa-body": "^4.2.0", | ||
| "koa-router": "^9.1.0", | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,7 @@ | ||
| // Jest Snapshot v1, https://goo.gl/fbAQLP | ||
| // Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing | ||
|
|
||
| exports[`check from glob source 1`] = `""`; | ||
|
|
||
| exports[`check from glob source with ignore 1`] = `""`; | ||
|
|
||
| exports[`check when all string are translated 1`] = `""`; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,15 +1,15 @@ | ||
| // Jest Snapshot v1, https://goo.gl/fbAQLP | ||
| // Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing | ||
|
|
||
| exports[`colorize test file 1`] = ` | ||
| "[33mmsgid[39m \\"\\" | ||
| [33mmsgstr[39m \\"\\" | ||
| "[33mmsgid[39m "" | ||
| [33mmsgstr[39m "" | ||
| [34mContent-Type: text/plain; charset=utf-8[39m | ||
| [34mPlural-Forms: nplurals=2; plural=(n!=1);[39m | ||
| [34m[39m | ||
| [34m#: tests/fixtures/checkTest/check-trans-exist.js:2[39m | ||
| [34m[39m[34m#, fuzzy[39m | ||
| [34m[39m[33mmsgid[39m \\"test_fuzzy_ref_check\\" | ||
| [33mmsgstr[39m \\"ffff\\" | ||
| [34m[39m[33mmsgid[39m "test_fuzzy_ref_check" | ||
| [33mmsgstr[39m "ffff" | ||
|
|
||
| " | ||
| `; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OMG the diff size!