create-vue 3.13.0 → 3.14.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -1
- package/outfile.cjs +106 -76
- package/package.json +6 -6
- package/template/bare/base/src/App.vue +1 -1
- package/template/bare/cypress-ct/src/__tests__/App.cy.js +1 -1
- package/template/bare/nightwatch-ct/src/__tests__/App.spec.js +1 -1
- package/template/bare/typescript/src/App.vue +1 -1
- package/template/bare/vitest/src/__tests__/App.spec.js +1 -1
- package/template/base/node_modules/.bin/vite +2 -2
- package/template/base/package.json +2 -2
- package/template/base/vite.config.js.data.mjs +1 -1
- package/template/code/default/src/components/TheWelcome.vue +1 -1
- package/template/code/router/src/components/TheWelcome.vue +1 -1
- package/template/code/typescript-default/src/components/TheWelcome.vue +1 -1
- package/template/code/typescript-router/src/components/TheWelcome.vue +1 -1
- package/template/config/cypress/cypress/{e2e/jsconfig.json → jsconfig.json} +2 -1
- package/template/config/cypress/node_modules/.bin/cypress +2 -2
- package/template/config/cypress/node_modules/.bin/server-test +2 -2
- package/template/config/cypress/node_modules/.bin/start-server-and-test +2 -2
- package/template/config/cypress/node_modules/.bin/start-test +2 -2
- package/template/config/cypress/package.json +3 -2
- package/template/config/cypress-ct/node_modules/.bin/cypress +2 -2
- package/template/config/cypress-ct/package.json +1 -1
- package/template/config/jsx/node_modules/.bin/vite +2 -2
- package/template/config/jsx/package.json +1 -1
- package/template/config/nightwatch/node_modules/.bin/chromedriver +2 -2
- package/template/config/nightwatch/node_modules/.bin/nightwatch +2 -2
- package/template/config/nightwatch/node_modules/.bin/ts-node +2 -2
- package/template/config/nightwatch/node_modules/.bin/ts-node-cwd +2 -2
- package/template/config/nightwatch/node_modules/.bin/ts-node-esm +2 -2
- package/template/config/nightwatch/node_modules/.bin/ts-node-script +2 -2
- package/template/config/nightwatch/node_modules/.bin/ts-node-transpile-only +2 -2
- package/template/config/nightwatch/node_modules/.bin/ts-script +2 -2
- package/template/config/nightwatch/node_modules/.bin/vite +2 -2
- package/template/config/nightwatch/package.json +3 -3
- package/template/config/nightwatch/tests/e2e/example.js +1 -1
- package/template/config/pinia/package.json +1 -1
- package/template/config/playwright/e2e/vue.spec.js +1 -1
- package/template/config/playwright/e2e/vue.spec.ts +1 -1
- package/template/config/playwright/node_modules/.bin/playwright +2 -2
- package/template/config/playwright/package.json +1 -1
- package/template/config/typescript/node_modules/.bin/tsc +2 -2
- package/template/config/typescript/node_modules/.bin/tsserver +2 -2
- package/template/config/typescript/node_modules/.bin/vue-tsc +2 -2
- package/template/config/typescript/package.json +3 -3
- package/template/config/vitest/node_modules/.bin/vitest +2 -2
- package/template/config/vitest/package.json +2 -2
- package/template/eslint/package.json +2 -2
- package/template/tsconfig/base/tsconfig.node.json +2 -1
package/README.md
CHANGED
|
@@ -17,7 +17,10 @@ npm create vue@latest
|
|
|
17
17
|
> [!NOTE]
|
|
18
18
|
> (`@latest` or `@legacy`) MUST NOT be omitted, otherwise `npm` may resolve to a cached and outdated version of the package.
|
|
19
19
|
|
|
20
|
-
By default the command will run in interactive mode, but you can also provide feature flags in the CLI arguments to skip the prompts. Run `npm create vue@latest --help` to see all available options.
|
|
20
|
+
By default the command will run in interactive mode, but you can also provide feature flags in the CLI arguments to skip the prompts. Run `npm create vue@latest -- --help` to see all available options.
|
|
21
|
+
|
|
22
|
+
> [!NOTE]
|
|
23
|
+
> If you're using PowerShell, you'll need to quote the `--`, that is, run `npm create vue@latest '--' --help`.
|
|
21
24
|
|
|
22
25
|
If you need to support IE11, you can create a Vue 2 project with:
|
|
23
26
|
|
package/outfile.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
/*! create-vue v3.
|
|
2
|
+
/*! create-vue v3.14.1 | MIT */
|
|
3
3
|
var __create = Object.create;
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
5
5
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -3303,8 +3303,13 @@ See [Vite Configuration Reference](https://vite.dev/config/).
|
|
|
3303
3303
|
## Project Setup
|
|
3304
3304
|
|
|
3305
3305
|
`;
|
|
3306
|
+
let installCommand = commandFor("install");
|
|
3307
|
+
if (packageManager === "pnpm" && needsNightwatch) {
|
|
3308
|
+
installCommand += `
|
|
3309
|
+
pnpm approve-builds # for pnpm 10+`;
|
|
3310
|
+
}
|
|
3306
3311
|
let npmScriptsDescriptions = `\`\`\`sh
|
|
3307
|
-
${
|
|
3312
|
+
${installCommand}
|
|
3308
3313
|
\`\`\`
|
|
3309
3314
|
|
|
3310
3315
|
### Compile and Hot-Reload for Development
|
|
@@ -3424,11 +3429,14 @@ ${commandFor("lint")}
|
|
|
3424
3429
|
var fs3 = __toESM(require("fs"), 1);
|
|
3425
3430
|
var path3 = __toESM(require("path"), 1);
|
|
3426
3431
|
function linkLocale(locale) {
|
|
3432
|
+
if (locale === "C") {
|
|
3433
|
+
return "en-US";
|
|
3434
|
+
}
|
|
3427
3435
|
let linkedLocale;
|
|
3428
3436
|
try {
|
|
3429
3437
|
linkedLocale = Intl.getCanonicalLocales(locale)[0];
|
|
3430
3438
|
} catch (error) {
|
|
3431
|
-
console.log(`${error.toString()}
|
|
3439
|
+
console.log(`${error.toString()}, invalid language tag: "${locale}"
|
|
3432
3440
|
`);
|
|
3433
3441
|
}
|
|
3434
3442
|
switch (linkedLocale) {
|
|
@@ -3465,9 +3473,9 @@ function getLanguage() {
|
|
|
3465
3473
|
var fs4 = __toESM(require("fs"), 1);
|
|
3466
3474
|
var path4 = __toESM(require("path"), 1);
|
|
3467
3475
|
|
|
3468
|
-
// node_modules/.pnpm/@vue+create-eslint-config@0.
|
|
3476
|
+
// node_modules/.pnpm/@vue+create-eslint-config@0.7.2/node_modules/@vue/create-eslint-config/renderEjsFile.js
|
|
3469
3477
|
var import_ejs = __toESM(require_ejs(), 1);
|
|
3470
|
-
var templates = { "./templates/_editorconfig.ejs": "[*.{js,jsx,mjs,cjs,ts,tsx,mts,cts,vue}]\ncharset = utf-8\nindent_size = 2\nindent_style = space\ninsert_final_newline = true\ntrim_trailing_whitespace = true\n<%_ if (styleGuide
|
|
3478
|
+
var templates = { "./templates/_editorconfig.ejs": "[*.{js,jsx,mjs,cjs,ts,tsx,mts,cts,vue}]\ncharset = utf-8\nindent_size = 2\nindent_style = space\ninsert_final_newline = true\ntrim_trailing_whitespace = true\n<%_ if (styleGuide !== 'standard' || needsPrettier) { _%>\n<%#\n// standard doesn't have an opinion on line endings\n// https://github.com/standard/standard/issues/140\n// or maximum line length\n// https://github.com/standard/standard/issues/1559\n// Prettier enforces these things, though.\n%>\nend_of_line = lf\nmax_line_length = 100\n<%_ } _%>\n", "./templates/_gitattributes": "* text=auto eol=lf\n", "./templates/_prettierrc.json.ejs": `<%_ if (styleGuide === 'airbnb') { _%>
|
|
3471
3479
|
{
|
|
3472
3480
|
"$schema": "https://json.schemastore.org/prettierrc",
|
|
3473
3481
|
"printWidth": 100,
|
|
@@ -3493,15 +3501,15 @@ var templates = { "./templates/_editorconfig.ejs": "[*.{js,jsx,mjs,cjs,ts,tsx,mt
|
|
|
3493
3501
|
"printWidth": 100
|
|
3494
3502
|
}
|
|
3495
3503
|
<%_ } _%>
|
|
3496
|
-
`, "./templates/eslint.config.js.ejs": "<%_ for (const { importer } of configsBeforeVuePlugin) { _%>\n<%- importer %>\n<%_ } _%>\nimport pluginVue from 'eslint-plugin-vue'\n<%_ for (const { importer } of configsAfterVuePlugin) { _%>\n<%- importer %>\n<%_ } _%>\n\nexport default [\n {\n name: 'app/files-to-lint',\n files: ['**/*.{<%= fileExtensions.join(',') %>}'],\n },\n\n {\n name: 'app/files-to-ignore',\n ignores: ['**/dist/**', '**/dist-ssr/**', '**/coverage/**'],\n },\n\n
|
|
3504
|
+
`, "./templates/eslint.config.js.ejs": "<%_ for (const { importer } of configsBeforeVuePlugin) { _%>\n<%- importer %>\n<%_ } _%>\nimport js from '@eslint/js'\nimport pluginVue from 'eslint-plugin-vue'\n<%_ for (const { importer } of configsAfterVuePlugin) { _%>\n<%- importer %>\n<%_ } _%>\n\nexport default [\n {\n name: 'app/files-to-lint',\n files: ['**/*.{<%= fileExtensions.join(',') %>}'],\n },\n\n {\n name: 'app/files-to-ignore',\n ignores: ['**/dist/**', '**/dist-ssr/**', '**/coverage/**'],\n },\n\n<%_ for (const { content } of configsBeforeVuePlugin) { _%>\n <%- content %><%# TODO: auto-indent if content's multi-line %>\n<%_ } _%>\n js.configs.recommended,\n ...pluginVue.configs['flat/essential'],\n<%_ for (const { content } of configsAfterVuePlugin) { _%>\n <%- content %><%# TODO: auto-indent if content's multi-line %>\n<%_ } _%>\n]\n", "./templates/eslint.config.ts.ejs": "<%_ for (const { importer } of configsBeforeVuePlugin) { _%>\n<%- importer %>\n<%_ } _%>\nimport pluginVue from 'eslint-plugin-vue'\nimport { defineConfigWithVueTs, vueTsConfigs } from '@vue/eslint-config-typescript'\n<%_ for (const { importer } of configsAfterVuePlugin) { _%>\n<%- importer %>\n<%_ } _%>\n\n// To allow more languages other than `ts` in `.vue` files, uncomment the following lines:\n// import { configureVueProject } from '@vue/eslint-config-typescript'\n// configureVueProject({ scriptLangs: ['ts', 'tsx'] })\n// More info at https://github.com/vuejs/eslint-config-typescript/#advanced-setup\n\nexport default defineConfigWithVueTs(\n {\n name: 'app/files-to-lint',\n files: ['**/*.{<%= fileExtensions.join(',') %>}'],\n },\n\n {\n name: 'app/files-to-ignore',\n ignores: ['**/dist/**', '**/dist-ssr/**', '**/coverage/**'],\n },\n\n<%_ for (const { content } of configsBeforeVuePlugin) { _%>\n <%- content %><%# TODO: auto-indent if content's multi-line %>\n<%_ } _%>\n pluginVue.configs['flat/essential'],\n vueTsConfigs.recommended,\n<%_ for (const { content } of configsAfterVuePlugin) { _%>\n <%- content %><%# TODO: auto-indent if content's multi-line %>\n<%_ } _%>\n)\n" };
|
|
3497
3505
|
function renderEjsFile(filePath, data) {
|
|
3498
3506
|
return import_ejs.default.render(templates[filePath], data, {});
|
|
3499
3507
|
}
|
|
3500
3508
|
|
|
3501
|
-
// node_modules/.pnpm/@vue+create-eslint-config@0.
|
|
3509
|
+
// node_modules/.pnpm/@vue+create-eslint-config@0.7.2/node_modules/@vue/create-eslint-config/package.json
|
|
3502
3510
|
var package_default = {
|
|
3503
3511
|
name: "@vue/create-eslint-config",
|
|
3504
|
-
version: "0.
|
|
3512
|
+
version: "0.7.2",
|
|
3505
3513
|
description: "Utility to setup ESLint in Vue.js projects.",
|
|
3506
3514
|
type: "module",
|
|
3507
3515
|
main: "index.js",
|
|
@@ -3511,6 +3519,10 @@ var package_default = {
|
|
|
3511
3519
|
engines: {
|
|
3512
3520
|
node: "^16.14.0 || >= 18.0.0"
|
|
3513
3521
|
},
|
|
3522
|
+
scripts: {
|
|
3523
|
+
test: 'echo "Error: no test specified" && exit 1',
|
|
3524
|
+
lint: "eslint --fix ."
|
|
3525
|
+
},
|
|
3514
3526
|
repository: {
|
|
3515
3527
|
type: "git",
|
|
3516
3528
|
url: "git+https://github.com/vuejs/create-eslint-config.git"
|
|
@@ -3527,7 +3539,8 @@ var package_default = {
|
|
|
3527
3539
|
},
|
|
3528
3540
|
homepage: "https://github.com/vuejs/create-eslint-config#readme",
|
|
3529
3541
|
publishConfig: {
|
|
3530
|
-
access: "public"
|
|
3542
|
+
access: "public",
|
|
3543
|
+
provenance: true
|
|
3531
3544
|
},
|
|
3532
3545
|
dependencies: {
|
|
3533
3546
|
ejs: "^3.1.10",
|
|
@@ -3535,25 +3548,22 @@ var package_default = {
|
|
|
3535
3548
|
kolorist: "^1.8.0"
|
|
3536
3549
|
},
|
|
3537
3550
|
devDependencies: {
|
|
3538
|
-
"@eslint/js": "^9.
|
|
3539
|
-
"@types/node": "^22.
|
|
3551
|
+
"@eslint/js": "^9.18.0",
|
|
3552
|
+
"@types/node": "^22.10.6",
|
|
3540
3553
|
"@vue/eslint-config-prettier": "^10.1.0",
|
|
3541
|
-
"@vue/eslint-config-typescript": "^14.
|
|
3542
|
-
eslint: "^9.
|
|
3543
|
-
"eslint-plugin-oxlint": "^0.
|
|
3544
|
-
"eslint-plugin-vue": "^9.
|
|
3545
|
-
|
|
3546
|
-
|
|
3547
|
-
|
|
3548
|
-
|
|
3549
|
-
|
|
3550
|
-
scripts: {
|
|
3551
|
-
test: 'echo "Error: no test specified" && exit 1',
|
|
3552
|
-
lint: "eslint --fix ."
|
|
3554
|
+
"@vue/eslint-config-typescript": "^14.3.0",
|
|
3555
|
+
eslint: "^9.18.0",
|
|
3556
|
+
"eslint-plugin-oxlint": "^0.15.6",
|
|
3557
|
+
"eslint-plugin-vue": "^9.32.0",
|
|
3558
|
+
jiti: "^2.4.2",
|
|
3559
|
+
"npm-run-all2": "^7.0.2",
|
|
3560
|
+
oxlint: "^0.15.6",
|
|
3561
|
+
prettier: "^3.4.2",
|
|
3562
|
+
typescript: "~5.7.0"
|
|
3553
3563
|
}
|
|
3554
3564
|
};
|
|
3555
3565
|
|
|
3556
|
-
// node_modules/.pnpm/@vue+create-eslint-config@0.
|
|
3566
|
+
// node_modules/.pnpm/@vue+create-eslint-config@0.7.2/node_modules/@vue/create-eslint-config/index.js
|
|
3557
3567
|
var versionMap = package_default.devDependencies;
|
|
3558
3568
|
function createConfig({
|
|
3559
3569
|
styleGuide = "default",
|
|
@@ -3572,25 +3582,12 @@ function createConfig({
|
|
|
3572
3582
|
if (hasTypeScript) {
|
|
3573
3583
|
fileExtensions.unshift("ts", "mts", "tsx");
|
|
3574
3584
|
additionalConfigs.unshift({
|
|
3575
|
-
devDependencies: pickDependencies(["@vue/eslint-config-typescript"])
|
|
3576
|
-
afterVuePlugin: [
|
|
3577
|
-
{
|
|
3578
|
-
importer: "import vueTsEslintConfig from '@vue/eslint-config-typescript'",
|
|
3579
|
-
// TODO: supportedScriptLangs
|
|
3580
|
-
content: "...vueTsEslintConfig(),"
|
|
3581
|
-
}
|
|
3582
|
-
]
|
|
3585
|
+
devDependencies: pickDependencies(["@vue/eslint-config-typescript", "jiti"])
|
|
3583
3586
|
});
|
|
3584
3587
|
} else {
|
|
3585
3588
|
fileExtensions.unshift("js", "mjs", "jsx");
|
|
3586
3589
|
additionalConfigs.unshift({
|
|
3587
|
-
devDependencies: pickDependencies(["@eslint/js"])
|
|
3588
|
-
beforeVuePlugin: [
|
|
3589
|
-
{
|
|
3590
|
-
importer: "import js from '@eslint/js'",
|
|
3591
|
-
content: "js.configs.recommended,"
|
|
3592
|
-
}
|
|
3593
|
-
]
|
|
3590
|
+
devDependencies: pickDependencies(["@eslint/js"])
|
|
3594
3591
|
});
|
|
3595
3592
|
}
|
|
3596
3593
|
if (needsOxlint) {
|
|
@@ -3636,26 +3633,37 @@ function createConfig({
|
|
|
3636
3633
|
}
|
|
3637
3634
|
const templateData = {
|
|
3638
3635
|
styleGuide,
|
|
3636
|
+
needsPrettier,
|
|
3639
3637
|
fileExtensions,
|
|
3640
3638
|
configsBeforeVuePlugin,
|
|
3641
3639
|
configsAfterVuePlugin
|
|
3642
3640
|
};
|
|
3643
3641
|
const files = {
|
|
3644
|
-
"eslint.config.js": renderEjsFile(
|
|
3645
|
-
"./templates/eslint.config.js.ejs",
|
|
3646
|
-
templateData
|
|
3647
|
-
),
|
|
3648
3642
|
".editorconfig": renderEjsFile(
|
|
3649
3643
|
"./templates/_editorconfig.ejs",
|
|
3650
3644
|
templateData
|
|
3651
3645
|
)
|
|
3652
3646
|
};
|
|
3647
|
+
if (hasTypeScript) {
|
|
3648
|
+
files["eslint.config.ts"] = renderEjsFile(
|
|
3649
|
+
"./templates/eslint.config.ts.ejs",
|
|
3650
|
+
templateData
|
|
3651
|
+
);
|
|
3652
|
+
} else {
|
|
3653
|
+
files["eslint.config.js"] = renderEjsFile(
|
|
3654
|
+
"./templates/eslint.config.js.ejs",
|
|
3655
|
+
templateData
|
|
3656
|
+
);
|
|
3657
|
+
}
|
|
3653
3658
|
if (needsPrettier) {
|
|
3654
3659
|
files[".prettierrc.json"] = renderEjsFile(
|
|
3655
3660
|
"./templates/_prettierrc.json.ejs",
|
|
3656
3661
|
templateData
|
|
3657
3662
|
);
|
|
3658
3663
|
}
|
|
3664
|
+
if (styleGuide !== "standard" || needsPrettier) {
|
|
3665
|
+
files[".gitattributes"] = renderEjsFile("./templates/_gitattributes", {});
|
|
3666
|
+
}
|
|
3659
3667
|
return {
|
|
3660
3668
|
pkg,
|
|
3661
3669
|
files
|
|
@@ -3689,9 +3697,9 @@ function deepMerge2(target, obj) {
|
|
|
3689
3697
|
// template/eslint/package.json
|
|
3690
3698
|
var package_default2 = {
|
|
3691
3699
|
devDependencies: {
|
|
3692
|
-
"@vitest/eslint-plugin": "1.1.
|
|
3700
|
+
"@vitest/eslint-plugin": "1.1.25",
|
|
3693
3701
|
"eslint-plugin-cypress": "^4.1.0",
|
|
3694
|
-
"eslint-plugin-playwright": "^2.
|
|
3702
|
+
"eslint-plugin-playwright": "^2.2.0"
|
|
3695
3703
|
}
|
|
3696
3704
|
};
|
|
3697
3705
|
|
|
@@ -3707,6 +3715,7 @@ function renderEslint(rootDir, {
|
|
|
3707
3715
|
needsPlaywright
|
|
3708
3716
|
}) {
|
|
3709
3717
|
const additionalConfigs = getAdditionalConfigs({
|
|
3718
|
+
needsTypeScript,
|
|
3710
3719
|
needsVitest,
|
|
3711
3720
|
needsCypress,
|
|
3712
3721
|
needsCypressCT,
|
|
@@ -3731,6 +3740,7 @@ function renderEslint(rootDir, {
|
|
|
3731
3740
|
}
|
|
3732
3741
|
}
|
|
3733
3742
|
function getAdditionalConfigs({
|
|
3743
|
+
needsTypeScript,
|
|
3734
3744
|
needsVitest,
|
|
3735
3745
|
needsCypress,
|
|
3736
3746
|
needsCypressCT,
|
|
@@ -3761,13 +3771,15 @@ function getAdditionalConfigs({
|
|
|
3761
3771
|
},
|
|
3762
3772
|
afterVuePlugin: [
|
|
3763
3773
|
{
|
|
3764
|
-
importer:
|
|
3774
|
+
importer: (needsTypeScript ? `// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
3775
|
+
// @ts-ignore
|
|
3776
|
+
` : "") + "import pluginCypress from 'eslint-plugin-cypress/flat'",
|
|
3765
3777
|
content: `
|
|
3766
3778
|
{
|
|
3767
3779
|
...pluginCypress.configs.recommended,
|
|
3768
3780
|
files: [
|
|
3769
3781
|
${[
|
|
3770
|
-
...needsCypressCT ? ["
|
|
3782
|
+
...needsCypressCT ? ["**/__tests__/*.{cy,spec}.{js,ts,jsx,tsx}"] : [],
|
|
3771
3783
|
"cypress/e2e/**/*.{cy,spec}.{js,ts,jsx,tsx}",
|
|
3772
3784
|
"cypress/support/**/*.{js,ts,jsx,tsx}"
|
|
3773
3785
|
].map(JSON.stringify.bind(JSON)).join(",\n ").replace(
|
|
@@ -3808,8 +3820,7 @@ function replaceContent(filepath, replacer) {
|
|
|
3808
3820
|
const content = fs5.readFileSync(filepath, "utf8");
|
|
3809
3821
|
fs5.writeFileSync(filepath, replacer(content));
|
|
3810
3822
|
}
|
|
3811
|
-
function trimBoilerplate(rootDir
|
|
3812
|
-
const isTs = features.needsTypeScript;
|
|
3823
|
+
function trimBoilerplate(rootDir) {
|
|
3813
3824
|
const srcDir = path5.resolve(rootDir, "src");
|
|
3814
3825
|
for (const filename of fs5.readdirSync(srcDir)) {
|
|
3815
3826
|
if (["main.js", "main.ts", "router", "stores"].includes(filename)) {
|
|
@@ -3818,25 +3829,38 @@ function trimBoilerplate(rootDir, features) {
|
|
|
3818
3829
|
const fullpath = path5.resolve(srcDir, filename);
|
|
3819
3830
|
fs5.rmSync(fullpath, { recursive: true });
|
|
3820
3831
|
}
|
|
3821
|
-
|
|
3832
|
+
}
|
|
3833
|
+
function removeCSSImport(rootDir, needsTypeScript, needsCypressCT) {
|
|
3834
|
+
const entryPath = path5.resolve(rootDir, needsTypeScript ? "src/main.ts" : "src/main.js");
|
|
3822
3835
|
replaceContent(entryPath, (content) => content.replace("import './assets/main.css'\n\n", ""));
|
|
3823
|
-
if (
|
|
3824
|
-
const
|
|
3836
|
+
if (needsCypressCT) {
|
|
3837
|
+
const ctSetupPath = path5.resolve(
|
|
3838
|
+
rootDir,
|
|
3839
|
+
needsTypeScript ? "cypress/support/component.ts" : "cypress/support/component.js"
|
|
3840
|
+
);
|
|
3825
3841
|
replaceContent(
|
|
3826
|
-
|
|
3827
|
-
(content) => content.replace(
|
|
3828
|
-
`, "").replace(/routes:\s*\[[\s\S]*?\],/, "routes: [],")
|
|
3842
|
+
ctSetupPath,
|
|
3843
|
+
(content) => content.replace("import '@/assets/main.css'", "// import '@/assets/main.css'")
|
|
3829
3844
|
);
|
|
3830
3845
|
}
|
|
3831
3846
|
}
|
|
3847
|
+
function emptyRouterConfig(rootDir, needsTypeScript) {
|
|
3848
|
+
const srcDir = path5.resolve(rootDir, "src");
|
|
3849
|
+
const routerEntry = path5.resolve(srcDir, needsTypeScript ? "router/index.ts" : "router/index.js");
|
|
3850
|
+
replaceContent(
|
|
3851
|
+
routerEntry,
|
|
3852
|
+
(content) => content.replace(`import HomeView from '../views/HomeView.vue'
|
|
3853
|
+
`, "").replace(/routes:\s*\[[\s\S]*?\],/, "routes: [],")
|
|
3854
|
+
);
|
|
3855
|
+
}
|
|
3832
3856
|
|
|
3833
3857
|
// package.json
|
|
3834
3858
|
var package_default3 = {
|
|
3835
3859
|
name: "create-vue",
|
|
3836
|
-
version: "3.
|
|
3860
|
+
version: "3.14.1",
|
|
3837
3861
|
description: "\u{1F6E0}\uFE0F The recommended way to start a Vite-powered Vue project",
|
|
3838
3862
|
type: "module",
|
|
3839
|
-
packageManager: "pnpm@
|
|
3863
|
+
packageManager: "pnpm@10.2.0",
|
|
3840
3864
|
bin: {
|
|
3841
3865
|
"create-vue": "outfile.cjs"
|
|
3842
3866
|
},
|
|
@@ -3873,20 +3897,20 @@ var package_default3 = {
|
|
|
3873
3897
|
devDependencies: {
|
|
3874
3898
|
"@tsconfig/node22": "^22.0.0",
|
|
3875
3899
|
"@types/eslint": "^9.6.1",
|
|
3876
|
-
"@types/node": "^22.
|
|
3900
|
+
"@types/node": "^22.13.1",
|
|
3877
3901
|
"@types/prompts": "^2.4.9",
|
|
3878
|
-
"@vue/create-eslint-config": "^0.
|
|
3902
|
+
"@vue/create-eslint-config": "^0.7.2",
|
|
3879
3903
|
"@vue/tsconfig": "^0.7.0",
|
|
3880
3904
|
ejs: "^3.1.10",
|
|
3881
3905
|
esbuild: "^0.24.2",
|
|
3882
3906
|
"esbuild-plugin-license": "^1.2.3",
|
|
3883
3907
|
husky: "^9.1.7",
|
|
3884
3908
|
kleur: "^4.1.5",
|
|
3885
|
-
"lint-staged": "^15.
|
|
3909
|
+
"lint-staged": "^15.4.3",
|
|
3886
3910
|
prettier: "^3.4.2",
|
|
3887
3911
|
prompts: "^2.4.2",
|
|
3888
|
-
vitest: "^
|
|
3889
|
-
zx: "^8.2
|
|
3912
|
+
vitest: "^3.0.5",
|
|
3913
|
+
zx: "^8.3.2"
|
|
3890
3914
|
},
|
|
3891
3915
|
"lint-staged": {
|
|
3892
3916
|
"*.{js,ts,vue,json}": [
|
|
@@ -3929,7 +3953,7 @@ function emptyDir(dir) {
|
|
|
3929
3953
|
(file) => fs6.unlinkSync(file)
|
|
3930
3954
|
);
|
|
3931
3955
|
}
|
|
3932
|
-
var helpMessage = `Usage: create-vue [
|
|
3956
|
+
var helpMessage = `Usage: create-vue [FEATURE_FLAGS...] [OPTIONS...] [DIRECTORY]
|
|
3933
3957
|
|
|
3934
3958
|
Create a new Vue.js project.
|
|
3935
3959
|
Start the CLI in interactive mode when no FEATURE_FLAGS is provided, or if the DIRECTORY argument is not a valid package name.
|
|
@@ -4317,6 +4341,22 @@ ${language.infos.scaffolding} ${root}...`);
|
|
|
4317
4341
|
}
|
|
4318
4342
|
}
|
|
4319
4343
|
);
|
|
4344
|
+
if (argv.bare) {
|
|
4345
|
+
trimBoilerplate(root);
|
|
4346
|
+
render("bare/base");
|
|
4347
|
+
if (needsTypeScript) {
|
|
4348
|
+
render("bare/typescript");
|
|
4349
|
+
}
|
|
4350
|
+
if (needsVitest) {
|
|
4351
|
+
render("bare/vitest");
|
|
4352
|
+
}
|
|
4353
|
+
if (needsCypressCT) {
|
|
4354
|
+
render("bare/cypress-ct");
|
|
4355
|
+
}
|
|
4356
|
+
if (needsNightwatchCT) {
|
|
4357
|
+
render("bare/nightwatch-ct");
|
|
4358
|
+
}
|
|
4359
|
+
}
|
|
4320
4360
|
if (needsTypeScript) {
|
|
4321
4361
|
preOrderDirectoryTraverse(
|
|
4322
4362
|
root,
|
|
@@ -4351,19 +4391,9 @@ ${language.infos.scaffolding} ${root}...`);
|
|
|
4351
4391
|
);
|
|
4352
4392
|
}
|
|
4353
4393
|
if (argv.bare) {
|
|
4354
|
-
|
|
4355
|
-
|
|
4356
|
-
|
|
4357
|
-
render("bare/typescript");
|
|
4358
|
-
}
|
|
4359
|
-
if (needsVitest) {
|
|
4360
|
-
render("bare/vitest");
|
|
4361
|
-
}
|
|
4362
|
-
if (needsCypressCT) {
|
|
4363
|
-
render("bare/cypress-ct");
|
|
4364
|
-
}
|
|
4365
|
-
if (needsNightwatchCT) {
|
|
4366
|
-
render("bare/nightwatch-ct");
|
|
4394
|
+
removeCSSImport(root, needsTypeScript, needsCypressCT);
|
|
4395
|
+
if (needsRouter) {
|
|
4396
|
+
emptyRouterConfig(root, needsTypeScript);
|
|
4367
4397
|
}
|
|
4368
4398
|
}
|
|
4369
4399
|
const userAgent = process.env.npm_config_user_agent ?? "";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-vue",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.14.1",
|
|
4
4
|
"description": "🛠️ The recommended way to start a Vite-powered Vue project",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -28,20 +28,20 @@
|
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@tsconfig/node22": "^22.0.0",
|
|
30
30
|
"@types/eslint": "^9.6.1",
|
|
31
|
-
"@types/node": "^22.
|
|
31
|
+
"@types/node": "^22.13.1",
|
|
32
32
|
"@types/prompts": "^2.4.9",
|
|
33
|
-
"@vue/create-eslint-config": "^0.
|
|
33
|
+
"@vue/create-eslint-config": "^0.7.2",
|
|
34
34
|
"@vue/tsconfig": "^0.7.0",
|
|
35
35
|
"ejs": "^3.1.10",
|
|
36
36
|
"esbuild": "^0.24.2",
|
|
37
37
|
"esbuild-plugin-license": "^1.2.3",
|
|
38
38
|
"husky": "^9.1.7",
|
|
39
39
|
"kleur": "^4.1.5",
|
|
40
|
-
"lint-staged": "^15.
|
|
40
|
+
"lint-staged": "^15.4.3",
|
|
41
41
|
"prettier": "^3.4.2",
|
|
42
42
|
"prompts": "^2.4.2",
|
|
43
|
-
"vitest": "^
|
|
44
|
-
"zx": "^8.2
|
|
43
|
+
"vitest": "^3.0.5",
|
|
44
|
+
"zx": "^8.3.2"
|
|
45
45
|
},
|
|
46
46
|
"lint-staged": {
|
|
47
47
|
"*.{js,ts,vue,json}": [
|
|
@@ -7,7 +7,7 @@ describe('App', function () {
|
|
|
7
7
|
const appComponent = await browser.mountComponent('/src/App.vue');
|
|
8
8
|
|
|
9
9
|
browser.expect.element(appComponent).to.be.present;
|
|
10
|
-
browser.expect.element('h1').text.to.contain('
|
|
10
|
+
browser.expect.element('h1').text.to.contain('You did it!');
|
|
11
11
|
})
|
|
12
12
|
|
|
13
13
|
after((browser) => browser.end())
|
|
@@ -6,9 +6,9 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/vite@6.0.
|
|
9
|
+
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/vite@6.0.11_@types+node@22.13.1_yaml@2.7.0/node_modules/vite/bin/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/vite@6.0.11_@types+node@22.13.1_yaml@2.7.0/node_modules/vite/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/vite@6.0.11_@types+node@22.13.1_yaml@2.7.0/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/vite@6.0.
|
|
11
|
+
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/vite@6.0.11_@types+node@22.13.1_yaml@2.7.0/node_modules/vite/bin/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/vite@6.0.11_@types+node@22.13.1_yaml@2.7.0/node_modules/vite/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/vite@6.0.11_@types+node@22.13.1_yaml@2.7.0/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
14
|
exec "$basedir/node" "$basedir/../vite/bin/vite.js" "$@"
|
|
@@ -34,7 +34,7 @@ const openReadmeInEditor = () => fetch('/__open-in-editor?file=README.md')
|
|
|
34
34
|
+
|
|
35
35
|
<a href="https://github.com/johnsoncodehk/volar" target="_blank" rel="noopener">Volar</a>. If
|
|
36
36
|
you need to test your components and web pages, check out
|
|
37
|
-
<a href="https://vitest.dev/" target="_blank" rel="noopener">
|
|
37
|
+
<a href="https://vitest.dev/" target="_blank" rel="noopener">Vitest</a>
|
|
38
38
|
and
|
|
39
39
|
<a href="https://www.cypress.io/" target="_blank" rel="noopener">Cypress</a>
|
|
40
40
|
/
|
|
@@ -34,7 +34,7 @@ const openReadmeInEditor = () => fetch('/__open-in-editor?file=README.md')
|
|
|
34
34
|
+
|
|
35
35
|
<a href="https://github.com/johnsoncodehk/volar" target="_blank" rel="noopener">Volar</a>. If
|
|
36
36
|
you need to test your components and web pages, check out
|
|
37
|
-
<a href="https://vitest.dev/" target="_blank" rel="noopener">
|
|
37
|
+
<a href="https://vitest.dev/" target="_blank" rel="noopener">Vitest</a>
|
|
38
38
|
and
|
|
39
39
|
<a href="https://www.cypress.io/" target="_blank" rel="noopener">Cypress</a>
|
|
40
40
|
/
|
|
@@ -34,7 +34,7 @@ const openReadmeInEditor = () => fetch('/__open-in-editor?file=README.md')
|
|
|
34
34
|
+
|
|
35
35
|
<a href="https://github.com/johnsoncodehk/volar" target="_blank" rel="noopener">Volar</a>. If
|
|
36
36
|
you need to test your components and web pages, check out
|
|
37
|
-
<a href="https://vitest.dev/" target="_blank" rel="noopener">
|
|
37
|
+
<a href="https://vitest.dev/" target="_blank" rel="noopener">Vitest</a>
|
|
38
38
|
and
|
|
39
39
|
<a href="https://www.cypress.io/" target="_blank" rel="noopener">Cypress</a>
|
|
40
40
|
/
|
|
@@ -34,7 +34,7 @@ const openReadmeInEditor = () => fetch('/__open-in-editor?file=README.md')
|
|
|
34
34
|
+
|
|
35
35
|
<a href="https://github.com/johnsoncodehk/volar" target="_blank" rel="noopener">Volar</a>. If
|
|
36
36
|
you need to test your components and web pages, check out
|
|
37
|
-
<a href="https://vitest.dev/" target="_blank" rel="noopener">
|
|
37
|
+
<a href="https://vitest.dev/" target="_blank" rel="noopener">Vitest</a>
|
|
38
38
|
and
|
|
39
39
|
<a href="https://www.cypress.io/" target="_blank" rel="noopener">Cypress</a>
|
|
40
40
|
/
|
|
@@ -6,9 +6,9 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/cypress@
|
|
9
|
+
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/cypress@14.0.1/node_modules/cypress/bin/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/cypress@14.0.1/node_modules/cypress/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/cypress@14.0.1/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/cypress@
|
|
11
|
+
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/cypress@14.0.1/node_modules/cypress/bin/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/cypress@14.0.1/node_modules/cypress/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/cypress@14.0.1/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
14
|
exec "$basedir/node" "$basedir/../cypress/bin/cypress" "$@"
|
|
@@ -6,9 +6,9 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/start-server-and-test@2.0.
|
|
9
|
+
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/start-server-and-test@2.0.10/node_modules/start-server-and-test/src/bin/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/start-server-and-test@2.0.10/node_modules/start-server-and-test/src/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/start-server-and-test@2.0.10/node_modules/start-server-and-test/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/start-server-and-test@2.0.10/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/start-server-and-test@2.0.
|
|
11
|
+
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/start-server-and-test@2.0.10/node_modules/start-server-and-test/src/bin/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/start-server-and-test@2.0.10/node_modules/start-server-and-test/src/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/start-server-and-test@2.0.10/node_modules/start-server-and-test/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/start-server-and-test@2.0.10/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
14
|
exec "$basedir/node" "$basedir/../start-server-and-test/src/bin/start.js" "$@"
|
|
@@ -6,9 +6,9 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/start-server-and-test@2.0.
|
|
9
|
+
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/start-server-and-test@2.0.10/node_modules/start-server-and-test/src/bin/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/start-server-and-test@2.0.10/node_modules/start-server-and-test/src/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/start-server-and-test@2.0.10/node_modules/start-server-and-test/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/start-server-and-test@2.0.10/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/start-server-and-test@2.0.
|
|
11
|
+
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/start-server-and-test@2.0.10/node_modules/start-server-and-test/src/bin/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/start-server-and-test@2.0.10/node_modules/start-server-and-test/src/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/start-server-and-test@2.0.10/node_modules/start-server-and-test/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/start-server-and-test@2.0.10/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
14
|
exec "$basedir/node" "$basedir/../start-server-and-test/src/bin/start.js" "$@"
|
|
@@ -6,9 +6,9 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/start-server-and-test@2.0.
|
|
9
|
+
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/start-server-and-test@2.0.10/node_modules/start-server-and-test/src/bin/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/start-server-and-test@2.0.10/node_modules/start-server-and-test/src/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/start-server-and-test@2.0.10/node_modules/start-server-and-test/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/start-server-and-test@2.0.10/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/start-server-and-test@2.0.
|
|
11
|
+
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/start-server-and-test@2.0.10/node_modules/start-server-and-test/src/bin/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/start-server-and-test@2.0.10/node_modules/start-server-and-test/src/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/start-server-and-test@2.0.10/node_modules/start-server-and-test/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/start-server-and-test@2.0.10/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
14
|
exec "$basedir/node" "$basedir/../start-server-and-test/src/bin/start.js" "$@"
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"scripts": {
|
|
3
|
+
"prepare": "cypress install",
|
|
3
4
|
"test:e2e": "start-server-and-test preview http://localhost:4173 'cypress run --e2e'",
|
|
4
5
|
"test:e2e:dev": "start-server-and-test 'vite dev --port 4173' http://localhost:4173 'cypress open --e2e'"
|
|
5
6
|
},
|
|
6
7
|
"devDependencies": {
|
|
7
|
-
"cypress": "^
|
|
8
|
-
"start-server-and-test": "^2.0.
|
|
8
|
+
"cypress": "^14.0.1",
|
|
9
|
+
"start-server-and-test": "^2.0.10"
|
|
9
10
|
}
|
|
10
11
|
}
|
|
@@ -6,9 +6,9 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/cypress@
|
|
9
|
+
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/cypress@14.0.1/node_modules/cypress/bin/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/cypress@14.0.1/node_modules/cypress/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/cypress@14.0.1/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/cypress@
|
|
11
|
+
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/cypress@14.0.1/node_modules/cypress/bin/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/cypress@14.0.1/node_modules/cypress/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/cypress@14.0.1/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
14
|
exec "$basedir/node" "$basedir/../cypress/bin/cypress" "$@"
|
|
@@ -6,9 +6,9 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/vite@6.0.
|
|
9
|
+
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/vite@6.0.11_@types+node@22.13.1_yaml@2.7.0/node_modules/vite/bin/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/vite@6.0.11_@types+node@22.13.1_yaml@2.7.0/node_modules/vite/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/vite@6.0.11_@types+node@22.13.1_yaml@2.7.0/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/vite@6.0.
|
|
11
|
+
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/vite@6.0.11_@types+node@22.13.1_yaml@2.7.0/node_modules/vite/bin/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/vite@6.0.11_@types+node@22.13.1_yaml@2.7.0/node_modules/vite/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/vite@6.0.11_@types+node@22.13.1_yaml@2.7.0/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
14
|
exec "$basedir/node" "$basedir/../vite/bin/vite.js" "$@"
|
|
@@ -6,9 +6,9 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/chromedriver@
|
|
9
|
+
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/chromedriver@133.0.0/node_modules/chromedriver/bin/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/chromedriver@133.0.0/node_modules/chromedriver/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/chromedriver@133.0.0/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/chromedriver@
|
|
11
|
+
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/chromedriver@133.0.0/node_modules/chromedriver/bin/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/chromedriver@133.0.0/node_modules/chromedriver/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/chromedriver@133.0.0/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
14
|
exec "$basedir/node" "$basedir/../chromedriver/bin/chromedriver" "$@"
|
|
@@ -6,9 +6,9 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/nightwatch@3.
|
|
9
|
+
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/nightwatch@3.11.0_chromedriver@133.0.0_geckodriver@5.0.0/node_modules/nightwatch/bin/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/nightwatch@3.11.0_chromedriver@133.0.0_geckodriver@5.0.0/node_modules/nightwatch/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/nightwatch@3.11.0_chromedriver@133.0.0_geckodriver@5.0.0/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/nightwatch@3.
|
|
11
|
+
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/nightwatch@3.11.0_chromedriver@133.0.0_geckodriver@5.0.0/node_modules/nightwatch/bin/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/nightwatch@3.11.0_chromedriver@133.0.0_geckodriver@5.0.0/node_modules/nightwatch/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/nightwatch@3.11.0_chromedriver@133.0.0_geckodriver@5.0.0/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
14
|
exec "$basedir/node" "$basedir/../nightwatch/bin/nightwatch" "$@"
|
|
@@ -6,9 +6,9 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/ts-node@10.9.2_@types+node@22.
|
|
9
|
+
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/ts-node@10.9.2_@types+node@22.13.1_typescript@5.7.3/node_modules/ts-node/dist/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/ts-node@10.9.2_@types+node@22.13.1_typescript@5.7.3/node_modules/ts-node/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/ts-node@10.9.2_@types+node@22.13.1_typescript@5.7.3/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/ts-node@10.9.2_@types+node@22.
|
|
11
|
+
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/ts-node@10.9.2_@types+node@22.13.1_typescript@5.7.3/node_modules/ts-node/dist/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/ts-node@10.9.2_@types+node@22.13.1_typescript@5.7.3/node_modules/ts-node/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/ts-node@10.9.2_@types+node@22.13.1_typescript@5.7.3/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
14
|
exec "$basedir/node" "$basedir/../ts-node/dist/bin.js" "$@"
|
|
@@ -6,9 +6,9 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/ts-node@10.9.2_@types+node@22.
|
|
9
|
+
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/ts-node@10.9.2_@types+node@22.13.1_typescript@5.7.3/node_modules/ts-node/dist/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/ts-node@10.9.2_@types+node@22.13.1_typescript@5.7.3/node_modules/ts-node/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/ts-node@10.9.2_@types+node@22.13.1_typescript@5.7.3/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/ts-node@10.9.2_@types+node@22.
|
|
11
|
+
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/ts-node@10.9.2_@types+node@22.13.1_typescript@5.7.3/node_modules/ts-node/dist/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/ts-node@10.9.2_@types+node@22.13.1_typescript@5.7.3/node_modules/ts-node/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/ts-node@10.9.2_@types+node@22.13.1_typescript@5.7.3/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
14
|
exec "$basedir/node" "$basedir/../ts-node/dist/bin-cwd.js" "$@"
|
|
@@ -6,9 +6,9 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/ts-node@10.9.2_@types+node@22.
|
|
9
|
+
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/ts-node@10.9.2_@types+node@22.13.1_typescript@5.7.3/node_modules/ts-node/dist/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/ts-node@10.9.2_@types+node@22.13.1_typescript@5.7.3/node_modules/ts-node/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/ts-node@10.9.2_@types+node@22.13.1_typescript@5.7.3/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/ts-node@10.9.2_@types+node@22.
|
|
11
|
+
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/ts-node@10.9.2_@types+node@22.13.1_typescript@5.7.3/node_modules/ts-node/dist/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/ts-node@10.9.2_@types+node@22.13.1_typescript@5.7.3/node_modules/ts-node/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/ts-node@10.9.2_@types+node@22.13.1_typescript@5.7.3/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
14
|
exec "$basedir/node" "$basedir/../ts-node/dist/bin-esm.js" "$@"
|
|
@@ -6,9 +6,9 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/ts-node@10.9.2_@types+node@22.
|
|
9
|
+
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/ts-node@10.9.2_@types+node@22.13.1_typescript@5.7.3/node_modules/ts-node/dist/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/ts-node@10.9.2_@types+node@22.13.1_typescript@5.7.3/node_modules/ts-node/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/ts-node@10.9.2_@types+node@22.13.1_typescript@5.7.3/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/ts-node@10.9.2_@types+node@22.
|
|
11
|
+
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/ts-node@10.9.2_@types+node@22.13.1_typescript@5.7.3/node_modules/ts-node/dist/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/ts-node@10.9.2_@types+node@22.13.1_typescript@5.7.3/node_modules/ts-node/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/ts-node@10.9.2_@types+node@22.13.1_typescript@5.7.3/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
14
|
exec "$basedir/node" "$basedir/../ts-node/dist/bin-script.js" "$@"
|
|
@@ -6,9 +6,9 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/ts-node@10.9.2_@types+node@22.
|
|
9
|
+
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/ts-node@10.9.2_@types+node@22.13.1_typescript@5.7.3/node_modules/ts-node/dist/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/ts-node@10.9.2_@types+node@22.13.1_typescript@5.7.3/node_modules/ts-node/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/ts-node@10.9.2_@types+node@22.13.1_typescript@5.7.3/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/ts-node@10.9.2_@types+node@22.
|
|
11
|
+
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/ts-node@10.9.2_@types+node@22.13.1_typescript@5.7.3/node_modules/ts-node/dist/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/ts-node@10.9.2_@types+node@22.13.1_typescript@5.7.3/node_modules/ts-node/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/ts-node@10.9.2_@types+node@22.13.1_typescript@5.7.3/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
14
|
exec "$basedir/node" "$basedir/../ts-node/dist/bin-transpile.js" "$@"
|
|
@@ -6,9 +6,9 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/ts-node@10.9.2_@types+node@22.
|
|
9
|
+
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/ts-node@10.9.2_@types+node@22.13.1_typescript@5.7.3/node_modules/ts-node/dist/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/ts-node@10.9.2_@types+node@22.13.1_typescript@5.7.3/node_modules/ts-node/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/ts-node@10.9.2_@types+node@22.13.1_typescript@5.7.3/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/ts-node@10.9.2_@types+node@22.
|
|
11
|
+
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/ts-node@10.9.2_@types+node@22.13.1_typescript@5.7.3/node_modules/ts-node/dist/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/ts-node@10.9.2_@types+node@22.13.1_typescript@5.7.3/node_modules/ts-node/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/ts-node@10.9.2_@types+node@22.13.1_typescript@5.7.3/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
14
|
exec "$basedir/node" "$basedir/../ts-node/dist/bin-script-deprecated.js" "$@"
|
|
@@ -6,9 +6,9 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/vite@6.0.
|
|
9
|
+
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/vite@6.0.11_@types+node@22.13.1_yaml@2.7.0/node_modules/vite/bin/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/vite@6.0.11_@types+node@22.13.1_yaml@2.7.0/node_modules/vite/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/vite@6.0.11_@types+node@22.13.1_yaml@2.7.0/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/vite@6.0.
|
|
11
|
+
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/vite@6.0.11_@types+node@22.13.1_yaml@2.7.0/node_modules/vite/bin/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/vite@6.0.11_@types+node@22.13.1_yaml@2.7.0/node_modules/vite/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/vite@6.0.11_@types+node@22.13.1_yaml@2.7.0/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
14
|
exec "$basedir/node" "$basedir/../vite/bin/vite.js" "$@"
|
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
"devDependencies": {
|
|
6
6
|
"@nightwatch/vue": "^3.1.2",
|
|
7
7
|
"@vitejs/plugin-vue": "^5.2.1",
|
|
8
|
-
"chromedriver": "^
|
|
8
|
+
"chromedriver": "^133.0.0",
|
|
9
9
|
"geckodriver": "^5.0.0",
|
|
10
|
-
"nightwatch": "^3.
|
|
10
|
+
"nightwatch": "^3.11.0",
|
|
11
11
|
"ts-node": "^10.9.2",
|
|
12
|
-
"vite": "^6.0.
|
|
12
|
+
"vite": "^6.0.11",
|
|
13
13
|
"vite-plugin-nightwatch": "^0.4.6"
|
|
14
14
|
}
|
|
15
15
|
}
|
|
@@ -4,5 +4,5 @@ import { test, expect } from '@playwright/test';
|
|
|
4
4
|
// https://playwright.dev/docs/intro
|
|
5
5
|
test('visits the app root url', async ({ page }) => {
|
|
6
6
|
await page.goto('/');
|
|
7
|
-
await expect(page.locator('
|
|
7
|
+
await expect(page.locator('h1')).toHaveText('You did it!');
|
|
8
8
|
})
|
|
@@ -4,5 +4,5 @@ import { test, expect } from '@playwright/test';
|
|
|
4
4
|
// https://playwright.dev/docs/intro
|
|
5
5
|
test('visits the app root url', async ({ page }) => {
|
|
6
6
|
await page.goto('/');
|
|
7
|
-
await expect(page.locator('
|
|
7
|
+
await expect(page.locator('h1')).toHaveText('You did it!');
|
|
8
8
|
})
|
|
@@ -6,9 +6,9 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/@playwright+test@1.
|
|
9
|
+
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/@playwright+test@1.50.1/node_modules/@playwright/test/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/@playwright+test@1.50.1/node_modules/@playwright/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/@playwright+test@1.50.1/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/@playwright+test@1.
|
|
11
|
+
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/@playwright+test@1.50.1/node_modules/@playwright/test/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/@playwright+test@1.50.1/node_modules/@playwright/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/@playwright+test@1.50.1/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
14
|
exec "$basedir/node" "$basedir/../@playwright/test/cli.js" "$@"
|
|
@@ -6,9 +6,9 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/typescript@5.
|
|
9
|
+
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/bin/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/typescript@5.7.3/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/typescript@5.
|
|
11
|
+
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/bin/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/typescript@5.7.3/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
14
|
exec "$basedir/node" "$basedir/../typescript/bin/tsc" "$@"
|
|
@@ -6,9 +6,9 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/typescript@5.
|
|
9
|
+
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/bin/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/typescript@5.7.3/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/typescript@5.
|
|
11
|
+
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/bin/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/typescript@5.7.3/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
14
|
exec "$basedir/node" "$basedir/../typescript/bin/tsserver" "$@"
|
|
@@ -6,9 +6,9 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/vue-tsc@2.
|
|
9
|
+
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/vue-tsc@2.2.0_typescript@5.7.3/node_modules/vue-tsc/bin/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/vue-tsc@2.2.0_typescript@5.7.3/node_modules/vue-tsc/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/vue-tsc@2.2.0_typescript@5.7.3/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/vue-tsc@2.
|
|
11
|
+
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/vue-tsc@2.2.0_typescript@5.7.3/node_modules/vue-tsc/bin/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/vue-tsc@2.2.0_typescript@5.7.3/node_modules/vue-tsc/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/vue-tsc@2.2.0_typescript@5.7.3/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
14
|
exec "$basedir/node" "$basedir/../vue-tsc/bin/vue-tsc.js" "$@"
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
"type-check": "vue-tsc --build"
|
|
6
6
|
},
|
|
7
7
|
"devDependencies": {
|
|
8
|
-
"@types/node": "^22.
|
|
8
|
+
"@types/node": "^22.13.1",
|
|
9
9
|
"npm-run-all2": "^7.0.2",
|
|
10
|
-
"typescript": "~5.
|
|
11
|
-
"vue-tsc": "^2.
|
|
10
|
+
"typescript": "~5.7.3",
|
|
11
|
+
"vue-tsc": "^2.2.0"
|
|
12
12
|
}
|
|
13
13
|
}
|
|
@@ -6,9 +6,9 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/vitest@
|
|
9
|
+
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/vitest@3.0.5_@types+node@22.13.1_jsdom@26.0.0_yaml@2.7.0/node_modules/vitest/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/vitest@3.0.5_@types+node@22.13.1_jsdom@26.0.0_yaml@2.7.0/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/vitest@
|
|
11
|
+
export NODE_PATH="/home/runner/work/create-vue/create-vue/node_modules/.pnpm/vitest@3.0.5_@types+node@22.13.1_jsdom@26.0.0_yaml@2.7.0/node_modules/vitest/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/vitest@3.0.5_@types+node@22.13.1_jsdom@26.0.0_yaml@2.7.0/node_modules:/home/runner/work/create-vue/create-vue/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
14
|
exec "$basedir/node" "$basedir/../vitest/vitest.mjs" "$@"
|