Skip to content

Commit

Permalink
Add browser scripts to open Demo URLs from CLI (#3036)
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelblum authored Jan 30, 2025
1 parent 7e7a4aa commit aea3bd5
Show file tree
Hide file tree
Showing 2 changed files with 197 additions and 3 deletions.
9 changes: 8 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,12 @@
"docs": "dev-pm start docs",
"test": "pnpm recursive run test",
"version": "$npm_execpath changeset version && pnpm install --lockfile-only",
"publish": "pnpm run build:packages && $npm_execpath changeset publish"
"publish": "pnpm run build:packages && $npm_execpath changeset publish",
"browser:demo": "run-p browser:demo:api browser:demo:admin browser:demo:site browser:demo:jaeger",
"browser:demo:api": "dotenv -- sh -c 'open-cli $API_URL/graphql'",
"browser:demo:admin": "dotenv -- sh -c 'open-cli $ADMIN_URL'",
"browser:demo:site": "dotenv -- sh -c 'open-cli $SITE_URL'",
"browser:demo:jaeger": "dotenv -- sh -c 'open-cli http://localhost:$JAEGER_UI_PORT'"
},
"devDependencies": {
"@comet/cli": "workspace:*",
Expand All @@ -45,6 +50,8 @@
"dotenv-cli": "^7.0.0",
"husky": "^7.0.4",
"lint-staged": "^12.3.7",
"open-cli": "^8.0.0",
"npm-run-all2": "^7.0.2",
"prettier": "^2.0.0",
"rimraf": "^3.0.2",
"typescript": "^4.2.2",
Expand Down
191 changes: 189 additions & 2 deletions pnpm-lock.yaml

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

0 comments on commit aea3bd5

Please sign in to comment.