Skip to content

Commit

Permalink
refactor(cypress): move scaffolded filesinto 'templates' folder
Browse files Browse the repository at this point in the history
  • Loading branch information
IlCallo committed Jun 15, 2021
1 parent 35b2769 commit c3d5169
Show file tree
Hide file tree
Showing 18 changed files with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions packages/e2e-cypress/src/install.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,15 @@ const ciCommand =
'cross-env E2E_TEST=true start-test "quasar dev" http-get://localhost:8080 "cypress run"';

module.exports = function (api) {
api.compatibleWith('quasar', '^2.0.0-beta.19');
api.compatibleWith('@quasar/app', '^3.0.0-beta.28');
api.compatibleWith('quasar', '^2.0.0-rc.2');
api.compatibleWith('@quasar/app', '^3.0.0-rc.2');

api.render('./base');
api.render('./templates/base');

api.render(
`./${api.prompts.options.includes('typescript') ? '' : 'no-'}typescript`,
`./templates/${
api.prompts.options.includes('typescript') ? '' : 'no-'
}typescript`,
);

api.extendJsonFile('quasar.testing.json', {
Expand Down

0 comments on commit c3d5169

Please sign in to comment.