Skip to content

Commit

Permalink
Merge pull request #69 from kloudlite/features/design
Browse files Browse the repository at this point in the history
Features/design
  • Loading branch information
abdheshnayak authored Jan 24, 2024
2 parents 4fe4e20 + 06cdacb commit 492ee6d
Show file tree
Hide file tree
Showing 60 changed files with 3,298 additions and 1,754 deletions.
7 changes: 3 additions & 4 deletions Taskfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,7 @@ tasks:
- |
pnpm gql:parse
cd src/generated && pnpm tsgen
# cd src/generated/plugin && pnpm build
# cd ../ && pnpm tsgen
cd ../.. && pnpm fake
storybook:
cmds:
Expand All @@ -96,6 +94,7 @@ tasks:
BASE_URL=kloudlite.io
URL_SUFFIX=""
COOKIE_DOMAIN=".kloudlite.io"
GATEWAY_URL="http://gateway.karthik-testing.svc.cluster.local"
case {{.app}} in
"auth")
Expand Down Expand Up @@ -136,7 +135,7 @@ tasks:
;;
esac
URL_SUFFIX=$URL_SUFFIX COOKIE_DOMAIN=$COOKIE_DOMAIN BASE_URL=$BASE_URL PORT=$PORT APP={{.app}} pnpm serve
GATEWAY_URL=$GATEWAY_URL URL_SUFFIX=$URL_SUFFIX COOKIE_DOMAIN=$COOKIE_DOMAIN BASE_URL=$BASE_URL PORT=$PORT APP={{.app}} pnpm serve
build:
preconditions:
Expand Down
8 changes: 5 additions & 3 deletions fake-data-generator/gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,10 @@ global.location = new URL(

fs.writeFileSync(
'./fake-data-generator/fake.js',
`const fake = ${JSON.stringify(data, null, 2)};
export default fake;
`
`// Generated file, Generated for skeletons
const fake = ${JSON.stringify(data, null, 2)};
export default fake;`
);
})();
Loading

0 comments on commit 492ee6d

Please sign in to comment.