Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,13 @@ pnpm dev # Build all packages + watch mode (sets NODE_ENV=developme
pnpm dev:inspect # Dev mode with Node.js inspector for debugging

# Individual package commands (from root)
pnpm --filter=sdk-playground dev # Run only dev-playground in watch mode
pnpm --filter=dev-playground dev # Run only dev-playground in watch mode
```

### Building
```bash
pnpm build # Build all packages (runs pnpm -r build:package)
pnpm build:watch # Watch mode for all packages except sdk-playground
pnpm build:watch # Watch mode for all packages except dev-playground
pnpm pack:sdk # Build and package SDK for distribution
```

Expand Down Expand Up @@ -319,7 +319,7 @@ pnpm add -Dw <package>
pnpm --filter=@databricks/appkit add <package>

# App dependencies
pnpm --filter=sdk-playground add <package>
pnpm --filter=dev-playground add <package>
```

### Creating New Packages
Expand Down
2 changes: 1 addition & 1 deletion apps/dev-playground/.env.dist
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ DATABRICKS_WORKSPACE_ID=
NODE_ENV='development'
OTEL_EXPORTER_OTLP_ENDPOINT='http://localhost:4318'
OTEL_RESOURCE_ATTRIBUTES='service.sample_attribute=dev'
OTEL_SERVICE_NAME='sdk-playground'
OTEL_SERVICE_NAME='dev-playground'
4 changes: 2 additions & 2 deletions apps/dev-playground/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion apps/dev-playground/package.json
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you also update package-lock.json as well?
image

And .env.dist file too
image

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "appkit",
"name": "dev-playground",
"version": "1.0.0",
"main": "build/index.js",
"scripts": {
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"packageManager": "pnpm@10.21.0",
"scripts": {
"build": "pnpm -r --filter=!docs build:package",
"build:watch": "pnpm -r --filter=!sdk-playground --filter=!docs build:watch",
"build:watch": "pnpm -r --filter=!dev-playground --filter=!docs build:watch",
"check:fix": "biome check --write .",
"check": "biome check .",
"check:licenses": "tsx tools/check-licenses.ts",
Expand All @@ -15,7 +15,7 @@
"clean:full": "rm -rf node_modules dist coverage && pnpm -r clean:full",
"clean": "pnpm -r clean",
"dev": "pnpm build && NODE_ENV=development turbo watch build:watch dev",
"dev:inspect": "NODE_ENV=development pnpm --filter=sdk-playground dev:inspect",
"dev:inspect": "NODE_ENV=development pnpm --filter=dev-playground dev:inspect",
"docs:dev": "pnpm --filter=docs dev",
"docs:build": "pnpm --filter=docs build",
"docs:serve": "pnpm --filter=docs serve",
Expand All @@ -32,7 +32,7 @@
"release:dry": "release-it --dry-run",
"release:ci": "release-it --ci",
"setup:repo": "./tools/setup.sh",
"start": "NODE_ENV=production pnpm build:sdk && pnpm --filter=sdk-playground build:app && pnpm --filter=sdk-playground start:local",
"start": "NODE_ENV=production pnpm build && pnpm --filter=dev-playground build:app && pnpm --filter=dev-playground start:local",
"test:watch": "vitest",
"test": "vitest run --coverage",
"typecheck": "pnpm -r typecheck"
Expand Down