Skip to content

feat: Globby 10 update with fast glob#120

Closed
fisker wants to merge 62 commits intonextfrom
globby-10-update-with-fast-glob
Closed

feat: Globby 10 update with fast glob#120
fisker wants to merge 62 commits intonextfrom
globby-10-update-with-fast-glob

Conversation

@fisker
Copy link
Copy Markdown
Owner

@fisker fisker commented Oct 31, 2019

  • I’ve added tests to confirm my change works.
  • (If changing the API or CLI) I’ve documented the changes I’ve made (in the docs/ directory)
  • (If the change is user-facing) I’ve added my changes to the CHANGELOG.unreleased.md file following the template.
  • I’ve read the contributing guidelines.

Try the playground for this PR

Christopher J. Brody and others added 30 commits October 29, 2019 15:50
with some minor test snapshot updates in tests_integration since
fast-glob does not always keep the same file order as node-glob
use of no `nodir: true` option was introduced in 639c523
but it does not seem to be needed with some newer
versions of globby
and update some snapshots in tests_integration
# Conflicts:
#	package.json
#	yarn.lock
@todo
Copy link
Copy Markdown

todo Bot commented Nov 1, 2019

move `multiple-patterns` tests into this one

// TODO: move `multiple-patterns` tests into this one
describe("should support dot pattern", () => {
runPrettier("cli/multiple-patterns", [".", "-l"]).test({
status: 1
});


This comment was generated by todo based on a TODO comment in 1703029 in #120. cc @fisker.

@todo
Copy link
Copy Markdown

todo Bot commented Nov 1, 2019

move `multiple-patterns` tests into this one

// TODO: move `multiple-patterns` tests into this one
describe("should support dot pattern", () => {
runPrettier("cli/multiple-patterns", [".", "-l"]).test({
status: 1
});


This comment was generated by todo based on a TODO comment in c1cbe62 in #120. cc @fisker.

# Conflicts:
#	package.json
#	tests_integration/__tests__/__snapshots__/patterns.js.snap
#	tests_integration/__tests__/patterns.js
#	yarn.lock
@pull-assistant
Copy link
Copy Markdown

pull-assistant Bot commented Feb 4, 2020

Score: 0.98

Best reviewed: commit by commit


Optimal code review plan (16 warnings, 3 commits squashed)

globby@10 update (with fast-glob implementation)

...ts__/multiple-patterns.js.snap 83% changes removed in Merge branch 'next' ...

...with-config-precedence.js.snap 91% changes removed in revert updates to sn...

     with no nodir: true option

     with workaround for fast-glob on Windows

     Revert "with no nodir: true option"

     revert updates to snapshots in tests_integration

sort the file paths from globby

src/cli/util.js 50% changes removed in restore snap

     Update build scripts

replace `util.promisify` with `pify`

scripts/build/config.js 60% changes removed in typo

     style

     typo

     add pify to dict

     check index.js

     debug

     exclude transform-async-to-generator

     fix bin-prettier.js

     restore disabled script

     try depth:1

     remove depth add ./

     sort dir

     disable expandDirectories

     use absolute path

     remove sort()

sort dir

src/common/load-plugins.js 50% changes removed in use alphasorti com...

     use alphasorti compare

remove './'

src/common/load-plugins.js 67% changes removed in update snap

     fix findPluginsInNodeModules

     fix findPluginsInNodeModules

Merge branch 'master' into globby-10-update-with-fast-glob

package.json 71% changes removed in Merge branch 'next' ...

yarn.lock 41% changes removed in Merge branch 'next' ...

     restore snap

fix `findPluginsInNodeModules`

src/common/load-plugins.js 50% changes removed in code style

return early

src/cli/util.js 50% changes removed in Restore logic

     code style

     sort

     update snap

try mem

src/common/load-plugins.js 50% changes removed in mem loadPlugins fu...

     mem loadPlugins function

fix

src/common/load-plugins.js 50% changes removed in remove mem

glob directories ins... ... remove mem

Squashed 3 commits:

src/common/load-plugins.js 60% changes removed in restore `findPlugins...

     improve speed

     support dot pattern

expand directories test

...__snapshots__/patterns.js.snap 64% changes removed in update test

     restore import order

     remove snap

update test

...__snapshots__/patterns.js.snap 53% changes removed in Merge branch 'next' ...

restore `findPluginsInNodeModules`

src/common/load-plugins.js 83% changes removed in Restore logic

     Merge branch 'master' into globby-10-update-with-fast-glob

Merge branch 'next' into globby-10-update-with-fast-glob

...re-pipelines/jobs/dev-lint.yml 50% changes removed in Merge branch 'next' ...

...snapshots__/jsfmt.spec.js.snap 55% changes removed in Merge branch 'next' ...

...ar_interpolation/jsfmt.spec.js 50% changes removed in Merge branch 'next' ...

     Update globby

     fast-glob beta

Restore logic

src/cli/util.js 67% changes removed in Restore error info

     Add tests for globby update

     Merge branch 'add-glob-test' into globby-10-update-with-fast-glob

     Fix tests

     Remove option with default value

     Try new beta version of fast-glob

     Merge branch 'next' into globby-10-update-with-fast-glob

     Merge branch 'next' into globby-10-update-with-fast-glob

     Merge branch 'next' into globby-10-update-with-fast-glob

     Restore error info

     Add path.sep check

Powered by Pull Assistant. Last update bb042d8 ... b3bba07. Read the comment docs.

@fisker fisker force-pushed the globby-10-update-with-fast-glob branch from 6d7bd5b to ee55e8d Compare February 4, 2020 14:18
@fisker fisker force-pushed the globby-10-update-with-fast-glob branch from ee55e8d to 4d349fc Compare February 4, 2020 15:11
@fisker fisker changed the base branch from master to next February 5, 2020 10:46
@fisker fisker force-pushed the globby-10-update-with-fast-glob branch from aa5893b to becc585 Compare February 16, 2020 15:59
@fisker fisker force-pushed the globby-10-update-with-fast-glob branch from becc585 to ea7ceb0 Compare February 16, 2020 16:00
@fisker fisker closed this Mar 17, 2020
@fisker fisker deleted the globby-10-update-with-fast-glob branch March 17, 2020 02:53
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Dec 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant