Skip to content
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

Migrate templates from Quasar 1 to Quasar 2 #349

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
85 commits
Select commit Hold shift + click to select a range
894aa78
Update quasar components
ValentinCrochemore Nov 17, 2022
faebb25
Update store
ValentinCrochemore Nov 17, 2022
820c823
Add pages
ValentinCrochemore Nov 17, 2022
cd478d2
Remove legacy store
ValentinCrochemore Nov 17, 2022
6e25be4
Add composables
ValentinCrochemore Nov 17, 2022
3e78911
Update i18n
ValentinCrochemore Nov 17, 2022
4b34778
Update router
ValentinCrochemore Nov 17, 2022
6cb38ba
Add types
ValentinCrochemore Nov 17, 2022
2aa442e
Update utils
ValentinCrochemore Nov 17, 2022
ddc7f81
Remove useless i18n files
ValentinCrochemore Nov 17, 2022
c69a2da
Update file name
ValentinCrochemore Nov 17, 2022
0d3b410
Fix handlebars formatting
ValentinCrochemore Nov 17, 2022
d675140
Remove useless file
ValentinCrochemore Nov 18, 2022
923efa0
Add a ts mercure file in utils
ValentinCrochemore Nov 18, 2022
dbd815f
Add main file to i18n
ValentinCrochemore Nov 18, 2022
c351c31
Fix handlebars related bugs
ValentinCrochemore Nov 18, 2022
6685f1f
Replace hydra string by variable
ValentinCrochemore Nov 18, 2022
4344c4a
Fix handlebars related bugs
ValentinCrochemore Nov 18, 2022
c408d6a
Change i18n file name
ValentinCrochemore Nov 18, 2022
1062188
Replace any by real types
ValentinCrochemore Nov 18, 2022
8bca3c3
Update notification management
ValentinCrochemore Nov 21, 2022
51a0edc
Fix display bugs
ValentinCrochemore Nov 21, 2022
27dc513
Update generator from Quasar v1 to v2
ValentinCrochemore Nov 21, 2022
6b14a57
Fix small details
ValentinCrochemore Nov 21, 2022
aba5961
Update Quasar tests
ValentinCrochemore Nov 24, 2022
ffa82ca
Fix nuxt test execution
ValentinCrochemore Nov 24, 2022
dde660a
Remove generic help text because it is in the doc
ValentinCrochemore Nov 24, 2022
72f488a
Minor fixes
ValentinCrochemore Dec 13, 2022
61f5104
Update CreateFileFromPattern to allow multiple patterns
ValentinCrochemore Dec 13, 2022
58ed583
Update components name
ValentinCrochemore Dec 13, 2022
75b0b82
Replace then by async/await
ValentinCrochemore Dec 13, 2022
541cdc2
Migrate some files to common
ValentinCrochemore Dec 14, 2022
e04499e
Fix type error
ValentinCrochemore Dec 14, 2022
fee9936
Fix import
ValentinCrochemore Dec 14, 2022
f95fc77
Fix pagination
ValentinCrochemore Dec 15, 2022
fda5441
Fix test
ValentinCrochemore Dec 15, 2022
7be06b0
Rename create & book functions
ValentinCrochemore Dec 28, 2022
3e41d1e
Rename fetch to api
ValentinCrochemore Dec 28, 2022
a6b2000
Rename relations variables
ValentinCrochemore Dec 28, 2022
c7942db
Update quasar components
ValentinCrochemore Nov 17, 2022
d4bcdf4
Update store
ValentinCrochemore Nov 17, 2022
8128797
Add pages
ValentinCrochemore Nov 17, 2022
ec99bea
Remove legacy store
ValentinCrochemore Nov 17, 2022
b0ed686
Add composables
ValentinCrochemore Nov 17, 2022
d6f9dc6
Update i18n
ValentinCrochemore Nov 17, 2022
72d1795
Update router
ValentinCrochemore Nov 17, 2022
0b3b014
Add types
ValentinCrochemore Nov 17, 2022
c584851
Update utils
ValentinCrochemore Nov 17, 2022
04b0ee1
Remove useless i18n files
ValentinCrochemore Nov 17, 2022
b4fd27e
Update file name
ValentinCrochemore Nov 17, 2022
caacfd2
Fix handlebars formatting
ValentinCrochemore Nov 17, 2022
be651d8
Remove useless file
ValentinCrochemore Nov 18, 2022
c23832e
Add main file to i18n
ValentinCrochemore Nov 18, 2022
2e46900
Fix handlebars related bugs
ValentinCrochemore Nov 18, 2022
e3a078c
Replace hydra string by variable
ValentinCrochemore Nov 18, 2022
46478d3
Fix handlebars related bugs
ValentinCrochemore Nov 18, 2022
ab74145
Change i18n file name
ValentinCrochemore Nov 18, 2022
d6ec96e
Replace any by real types
ValentinCrochemore Nov 18, 2022
891b045
Update notification management
ValentinCrochemore Nov 21, 2022
202ae64
Fix display bugs
ValentinCrochemore Nov 21, 2022
28ce38d
Update generator from Quasar v1 to v2
ValentinCrochemore Nov 21, 2022
fa52946
Fix small details
ValentinCrochemore Nov 21, 2022
3ea9f8a
Update Quasar tests
ValentinCrochemore Nov 24, 2022
f678a12
Remove generic help text because it is in the doc
ValentinCrochemore Nov 24, 2022
9222554
Minor fixes
ValentinCrochemore Dec 13, 2022
7b2ada3
Update components name
ValentinCrochemore Dec 13, 2022
ee5980c
Replace then by async/await
ValentinCrochemore Dec 13, 2022
a1ae26a
Migrate some files to common
ValentinCrochemore Dec 14, 2022
2463ebd
Fix type error
ValentinCrochemore Dec 14, 2022
c90f9f2
Fix pagination
ValentinCrochemore Dec 15, 2022
538a275
Fix test
ValentinCrochemore Dec 15, 2022
0acb44d
Rename create & book functions
ValentinCrochemore Dec 28, 2022
1a32c9e
Rename fetch to api
ValentinCrochemore Dec 28, 2022
a846516
Rename relations variables
ValentinCrochemore Dec 28, 2022
faa477d
Move nuxt and react to testapp.sh
alanpoulain Jan 3, 2023
b175f34
Merge branch 'feat/update-quasar-templates' of github.com:ValentinCro…
ValentinCrochemore Jan 3, 2023
76e9666
Fix request with filters
ValentinCrochemore Jan 3, 2023
6c8bb8c
Move composables to vue-common
ValentinCrochemore Jan 3, 2023
fbfad1a
Register composables from vue-common in VueGenerator
ValentinCrochemore Jan 4, 2023
6be9a3f
Change action name & fix typo
ValentinCrochemore Jan 4, 2023
29c56d9
minor fixes
alanpoulain Jan 4, 2023
993df27
Rollback icon name
ValentinCrochemore Jan 4, 2023
a712b41
Move api.ts & date.ts to common
ValentinCrochemore Jan 4, 2023
8aa31a0
Fix vue e2e test
ValentinCrochemore Jan 4, 2023
70e53a4
Remove useless files
ValentinCrochemore Jan 4, 2023
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
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@
"test-gen-openapi3": "rm -rf ./tmp && yarn build && ENTRYPOINT=https://demo.api-platform.com/docs.json FORMAT=openapi3 ./testgen.sh",
"test-gen-custom": "rm -rf ./tmp && yarn build && babel src/generators/ReactGenerator.js src/generators/BaseGenerator.js -d ./tmp/gens && cp -r ./templates/react ./templates/react-common ./templates/entrypoint.js ./tmp/gens && ./lib/index.js https://demo.api-platform.com ./tmp/react-custom -g \"$(pwd)/tmp/gens/ReactGenerator.js\" -t ./tmp/gens",
"test-gen-env": "rm -rf ./tmp && yarn build && API_PLATFORM_CREATE_CLIENT_ENTRYPOINT=https://demo.api-platform.com API_PLATFORM_CREATE_CLIENT_OUTPUT=./tmp ./lib/index.js",
"test-react-app": "rm -rf ./tmp/app && mkdir -p ./tmp/app && yarn create react-app --template typescript ./tmp/app/reactapp && yarn --cwd ./tmp/app/reactapp add react-router-dom react-hook-form && cp -R ./tmp/react/* ./tmp/app/reactapp/src && cp ./templates/react/index.tsx ./tmp/app/reactapp/src && start-server-and-test 'BROWSER=none yarn --cwd ./tmp/app/reactapp start' http://127.0.0.1:3000/books/ 'yarn playwright test'",
"test-react-app": "./testapp.sh react",
"test-next-app": "./testapp.sh next",
"test-vue-app": "./testapp.sh vue",
"test-nuxt-app": "rm -rf ./tmp/app && mkdir -p ./tmp/app && yarn create nuxt-app --answers \"'{\\\"name\\\":\\\"nuxt\\\",\\\"language\\\":\\\"js\\\",\\\"pm\\\":\\\"yarn\\\",\\\"ui\\\":\\\"vuetify\\\",\\\"template\\\":\\\"html\\\",\\\"features\\\":[],\\\"linter\\\":[],\\\"test\\\":\\\"none\\\",\\\"mode\\\":\\\"spa\\\",\\\"target\\\":\\\"static\\\",\\\"devTools\\\":[],\\\"vcs\\\":\\\"none\\\"}'\" ./tmp/app/nuxt && yarn --cwd ./tmp/app/nuxt add moment lodash vuelidate vuex-map-fields && cp -R ./tmp/nuxt/* ./tmp/app/nuxt && NUXT_TELEMETRY_DISABLED=1 yarn --cwd ./tmp/app/nuxt generate && start-server-and-test 'yarn --cwd ./tmp/app/nuxt start --hostname 127.0.0.1' http://127.0.0.1:3000/books/ 'yarn playwright test'"
"test-nuxt-app": "./testapp.sh nuxt"
},
"lint-staged": {
"src/**/*.js": "yarn lint --fix"
Expand Down
Loading