File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 120120 https://yarnpkg.com/cli/npm/audit for more details.
121121 args : [--all, --recursive]
122122
123+ - id : yarn-sdks
124+ name : Generate Yarn SDKs
125+ entry : src/yarn-sdks.sh
126+ language : script
127+ files : \.yarn/sdks/|yarn(-(\d+\.){2}\d+\.cjs|\.lock)
128+ pass_filenames : false
129+ description : >
130+ Generate SDKs and settings for editors specified in
131+ `.yarn/sdks/integrations.yml`. Format VSCode settings with Prettier to
132+ prevent formatting conflicts with MegaLinter. See
133+ https://yarnpkg.com/sdks/cli/default for more details.
134+
123135 - id : yarn-build
124136 name : Build the app
125137 entry : yarn run build
Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ Hooks for Use With the [pre-commit](https://pre-commit.com) Framework
2828 - [ ` yarn-install ` ] ( #yarn-install )
2929 - [ ` yarn-dedupe ` ] ( #yarn-dedupe )
3030 - [ ` yarn-audit ` ] ( #yarn-audit )
31+ - [ ` yarn-sdks ` ] ( #yarn-sdks )
3132 - [ ` yarn-build ` ] ( #yarn-build )
3233 - [ ` yarn-test ` ] ( #yarn-test )
3334 - [ ` megalinter-incremental ` ] ( #megalinter-incremental )
@@ -100,6 +101,14 @@ Deduplicate Yarn dependencies by running
100101Perform security audit of Yarn dependencies by running
101102[ ` yarn npm audit --all --recursive ` ] ( https://yarnpkg.com/cli/npm/audit ) .
102103
104+ ### ` yarn-sdks `
105+
106+ Generate SDKs and settings for editors specified in
107+ ` .yarn/sdks/integrations.yml ` by running
108+ [ ` yarn run sdks && yarn run prettier --write .vscode/settings.json ` ] ( https://yarnpkg.com/sdks/cli/default ) .
109+ Format VSCode settings with Prettier to prevent formatting conflicts with
110+ MegaLinter.
111+
103112### ` yarn-build `
104113
105114Run the ` "build" ` script in ` package.json ` via
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ set -o errexit -o noglob -o pipefail -o nounset
4+
5+ yarn run sdks
6+ yarn run prettier --write .vscode/settings.json
You can’t perform that action at this time.
0 commit comments