mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-04 23:40:48 +00:00
chore: generate sdk into packages/sdk
This commit is contained in:
parent
500cea5ce7
commit
10c8b49590
110 changed files with 12576 additions and 201 deletions
12
packages/sdk/scripts/format
Executable file
12
packages/sdk/scripts/format
Executable file
|
|
@ -0,0 +1,12 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
cd "$(dirname "$0")/.."
|
||||
|
||||
echo "==> Running eslint --fix"
|
||||
./node_modules/.bin/eslint --fix .
|
||||
|
||||
echo "==> Running prettier --write"
|
||||
# format things eslint didn't
|
||||
./node_modules/.bin/prettier --write --cache --cache-strategy metadata . '!**/dist' '!**/*.ts' '!**/*.mts' '!**/*.cts' '!**/*.js' '!**/*.mjs' '!**/*.cjs'
|
||||
Loading…
Add table
Add a link
Reference in a new issue