Skip to content

Commit

Permalink
Update package.json scripts to link local sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
djmbritt committed May 14, 2024
1 parent e18631b commit e11a665
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
Binary file modified bun.lockb
Binary file not shown.
5 changes: 4 additions & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,13 @@
"type": "module",
"private": true,
"scripts": {
"dev": "vocs dev",
"dev": "bun install && vocs dev",
"build": "vocs build --searchIndex false && vocs search-index",
"preview": "vocs preview"
},
"dependencies": {
"@effectai/sdk": "link:@effectai/sdk"
},
"devDependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0",
Expand Down
13 changes: 9 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
{
"workspaces": ["docs", "src"],
"name": "@effectai/monorepo",
"workspaces": [
"docs",
"src"
],
"scripts": {
"test": "bun --env-file=.env test",
"test:watch": "bun --env-file=.env test --watch",
Expand All @@ -13,11 +17,10 @@
"changeset": "changeset",
"changeset:public": "bun scripts/updateVersion.ts && bun build && changeset publish",
"changeset:version": "changeset version && bun install --frozen-lockfile && bun scripts/updateVersion.ts",
"docs:dev": "cd docs && bun run dev",
"docs:dev": "cd src/ && bun link && cd ../docs && bun run dev",
"docs:build": "cd docs && bun run build",
"docs:preview": "cd docs && bun run preview"
},

"devDependencies": {
"@biomejs/biome": "1.7.0",
"@wharfkit/wallet-plugin-privatekey": "^1.0.0",
Expand All @@ -28,5 +31,7 @@
"@types/bun": "^1.1.1",
"typescript": "5.4.2"
},
"trustedDependencies": ["@biomejs/biome"]
"trustedDependencies": [
"@biomejs/biome"
]
}

0 comments on commit e11a665

Please sign in to comment.