Skip to content

Conversation

@wincent
Copy link
Contributor

@wincent wincent commented Oct 6, 2020

Done using:

find . \
  -name package.json \
  -path '*/js-toolkit/*' \
  -not -path '*/node_modules/*' \
  -not -path '*/__tests__/*' \
  -not -path '*/__fixtures/__*' \
  -not -path '*/qa/samples/*' | node support/sortJSON.js

and the included helper script.

We may want to eventually integrate something like the sortJSON.js script into our formatting runs, but I expect these package.json files to stay in order for at least a while now, so I don't want to prematurely overcomplicate things.

Test plan: Make this commit and visually inspect the changes.

Done using:

    find . \
      -name package.json \
      -path '*/js-toolkit/*' \
      -not -path '*/node_modules/*' \
      -not -path '*/__tests__/*' \
      -not -path '*/__fixtures/__*' \
      -not -path '*/qa/samples/*' | node support/sortJSON.js

and the included helper script.

We may want to eventually integrate something like the `sortJSON.js`
script into our formatting runs, but I expect these package.json files
to stay in order for at least a while now, so I don't want to
prematurely overcomplicate things.

Test plan: Make this commit and visually inspect the changes.
@wincent
Copy link
Contributor Author

wincent commented Oct 6, 2020

Still not expecting this to be green; need to fix build and test for that, but this should be able to go in anyway.

With `yarn lint:fix`.
@wincent
Copy link
Contributor Author

wincent commented Oct 6, 2020

As this is just a mechanical change, going to merge it and keep going from here.

@wincent wincent merged commit 47c938c into master Oct 6, 2020
@wincent wincent deleted the wincent/sort-json branch October 6, 2020 15:44
wincent added a commit that referenced this pull request Dec 18, 2020
docs(ccp): apply some copy-editing fixes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants