mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-21 01:34:22 +01:00
chore: generate sdk into packages/sdk
This commit is contained in:
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
|
||||
Reference in New Issue
Block a user