-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: manage hasura metadata #335
Changes from 1 commit
704da28
b66275e
60e0baa
9a37c6a
81deb1d
6ff5c72
32535c4
8500faf
748c238
53af8e0
ecfa8bb
23927ff
2c4ac4e
a6a57bd
1a5a93f
6694b86
7976d21
a548a50
b997f15
6d66a03
75dc2a7
345d841
6619399
9dc6fd1
3a17f37
ff8a1f2
cd97ae8
d006a96
c1752e1
d2b812f
ae2832d
ed9e30f
ca877d1
3e19a04
c14d7c8
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,7 +27,10 @@ | |
"test-ci": "yarn jest --verbose --runInBand --forceExit", | ||
"test-watch": "yarn jest --watch", | ||
"test-coverage": "yarn jest --coverage", | ||
"lint": "echo 'Running lint for repository' && eslint ." | ||
"lint": "echo 'Running lint for repository' && eslint .", | ||
"hasura:metadata:export": "touch config.yaml; hasura metadata export;rm config.yaml;", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. sao phải touch rồi remove nhỉ? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. hasura cli nó bắt có file config.yaml dù em đã thêm --envfile trong command của nó There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nếu vậy thì em tạo 1 folder hasura rồi chạy hasura init ở đó đi, mấy cái lệnh này cho cd vào folder đó chạy There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. anh vừa thử hasura init thì nó bảo tạo folder hasura luôn, rồi vào đó chạy tiếp There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. em bỏ hết mấy lệnh viết thêm trong package.json rồi, dùng luôn command hasura cho tiện vậy |
||
"hasura:metadata:diff": "touch config.yaml; hasura metadata diff;rm config.yaml;", | ||
"hasura:metadata:apply": "touch config.yaml; hasura metadata apply;rm config.yaml;" | ||
}, | ||
"nodemonConfig": { | ||
"ignore": [ | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
có khi tự lấy 1 cái docker về build sẵn để đấy? cài lại cũng hơi dở
hoặc em cho nó lê trc đoạn cài node?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done