mirror of
https://github.com/sst/opencode.git
synced 2025-08-31 02:07:24 +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
21
packages/sdk/scripts/lint
Executable file
21
packages/sdk/scripts/lint
Executable file
|
@ -0,0 +1,21 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
cd "$(dirname "$0")/.."
|
||||
|
||||
echo "==> Running eslint"
|
||||
./node_modules/.bin/eslint .
|
||||
|
||||
echo "==> Building"
|
||||
./scripts/build
|
||||
|
||||
echo "==> Checking types"
|
||||
./node_modules/typescript/bin/tsc
|
||||
|
||||
echo "==> Running Are The Types Wrong?"
|
||||
./node_modules/.bin/attw --pack dist -f json >.attw.json || true
|
||||
node scripts/utils/attw-report.cjs
|
||||
|
||||
echo "==> Running publint"
|
||||
./node_modules/.bin/publint dist
|
Loading…
Add table
Add a link
Reference in a new issue