Skip to content

Commit

Permalink
pin demo to sales env (#235)
Browse files Browse the repository at this point in the history
  • Loading branch information
dphuang2 authored Oct 2, 2023
1 parent 0ba9638 commit 81ed8a2
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"make-request": "ts-node make-request.ts"
},
"dependencies": {
"konfig-cli": "^1.0.234",
"konfig-cli": "1.15.0",
"axios": "0.27.2",
"ts-node": "^10.9.1",
"typescript": "^5.1.6"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"make-request": "ts-node make-request.ts"
},
"dependencies": {
"konfig-cli": "^1.0.234",
"konfig-cli": "1.15.0",
"axios": "0.27.2",
"ts-node": "^10.9.1",
"typescript": "^5.1.6"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"env": {
"KONFIG_API_URL": "https://konfig-api-sales.onrender.com"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import {
makeRequestTsRefactored,
makeRequestTsRefactoredFixed,
} from "./_vm";
import stackblitzrc from "./_vm/stackblitzrc.json";
import packageJson from "./_vm/package.json";
import salesPackageJson from "./_vm/sales-demo-package.json";
import tsconfigJson from "./_vm/tsconfig.json";
Expand Down Expand Up @@ -228,6 +229,7 @@ export default function LiveDemo({ sales }: { sales?: boolean }) {
2
),
"api.yaml": apiYaml,
".stackblitzrc": JSON.stringify(stackblitzrc, undefined, 2),
"yarn.lock": yarnLock,
"make-request.ts": makeRequestTs,
"tsconfig.json": JSON.stringify(tsconfigJson, undefined, 2),
Expand Down

0 comments on commit 81ed8a2

Please sign in to comment.