]> git.ipfire.org Git - thirdparty/vuejs/create-vue.git/commit
feat: use type=module in (most) generated projects
authorHaoqun Jiang <haoqunjiang@gmail.com>
Tue, 5 Dec 2023 17:09:56 +0000 (01:09 +0800)
committerHaoqun Jiang <haoqunjiang@gmail.com>
Tue, 5 Dec 2023 17:09:56 +0000 (01:09 +0800)
commit4bc94d1bc8fe00f2bd052a4e29354184cb713835
treea712f4e8d99cc7a345a304da5d34b36511264df4
parent4092ff2755e10c36357b509de7ce1dfc70e830f5
feat: use type=module in (most) generated projects

With the exception of Nighwatch templates due to https://github.com/nightwatchjs/nightwatch/issues/3959

Closes #389
Largely inspired by @cexbrayat's work in that PR.

I've also made the generation of the root `tsconfig.json` programmatic
because it's becoming more and more convoluted.

Co-authored-by: Cédric Exbrayat <cexbrayat@users.noreply.github.com>
16 files changed:
index.ts
template/base/package.json
template/config/cypress-ct/cypress.config.js
template/config/cypress-ct/cypress.config.ts [deleted file]
template/config/cypress/cypress.config.js
template/config/cypress/cypress.config.ts [deleted file]
template/config/nightwatch/package.json
template/config/playwright/e2e/vue.spec.js
template/config/playwright/playwright.config.js
template/config/playwright/playwright.config.ts [deleted file]
template/tsconfig/base/tsconfig.json [deleted file]
template/tsconfig/cypress-ct/tsconfig.json [deleted file]
template/tsconfig/nightwatch-ct/tsconfig.json [deleted file]
template/tsconfig/nightwatch/tsconfig.json [deleted file]
template/tsconfig/vitest/tsconfig.json [deleted file]
utils/filterList.ts [deleted file]