create-vue 3.21.2 → 3.22.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/LICENSE +24 -24
- package/bundle.js +459 -1296
- package/locales/en-US.json +1 -6
- package/locales/fr-FR.json +1 -6
- package/locales/tr-TR.json +1 -6
- package/locales/zh-Hans.json +1 -6
- package/locales/zh-Hant.json +1 -6
- package/package.json +9 -9
- package/template/base/package.json +2 -2
- package/template/config/cypress/package.json +1 -1
- package/template/config/cypress-ct/package.json +2 -2
- package/template/config/jsx/package.json +1 -1
- package/template/config/pinia/package.json +1 -1
- package/template/config/router/package.json +1 -1
- package/template/config/typescript/package.json +1 -1
- package/template/config/vitest/package.json +1 -1
- package/template/formatting/oxfmt/package.json +1 -1
- package/template/linting/base/package.json +1 -1
- package/template/linting/core/js/package.json +2 -2
- package/template/linting/core/ts/package.json +1 -1
- package/template/linting/oxlint/package.json +2 -2
- package/template/linting/playwright/package.json +1 -1
- package/template/linting/vitest/package.json +1 -1
- package/template/tsconfig/base/package.json +1 -1
- package/template/tsconfig/base/tsconfig.app.json +8 -2
- package/template/tsconfig/base/tsconfig.node.json +13 -5
- package/template/tsconfig/cypress-ct/tsconfig.cypress-ct.json +2 -0
- package/template/tsconfig/vitest/tsconfig.vitest.json +11 -3
- package/template/bare/nightwatch-ct/src/__tests__/App.spec.js +0 -14
- package/template/config/nightwatch/.vscode/extensions.json +0 -3
- package/template/config/nightwatch/_gitignore +0 -2
- package/template/config/nightwatch/nightwatch/nightwatch.d.ts +0 -13
- package/template/config/nightwatch/nightwatch.conf.cjs +0 -153
- package/template/config/nightwatch/package.json +0 -15
- package/template/config/nightwatch/tests/e2e/example.js +0 -11
- package/template/config/nightwatch/vite.config.js.data.mjs +0 -12
- package/template/config/nightwatch-ct/nightwatch/index.html +0 -16
- package/template/config/nightwatch-ct/package.json +0 -11
- package/template/config/nightwatch-ct/src/components/__tests__/HelloWorld.spec.js +0 -16
- package/template/config/nightwatch-ct/vite.config.js.data.mjs +0 -16
- package/template/tsconfig/nightwatch/nightwatch/tsconfig.json +0 -19
- package/template/tsconfig/nightwatch-ct/tsconfig.app.json +0 -12
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
describe('Hello World', function () {
|
|
2
|
-
before((browser) => {
|
|
3
|
-
browser.init()
|
|
4
|
-
})
|
|
5
|
-
|
|
6
|
-
it('renders properly', async function () {
|
|
7
|
-
const welcomeComponent = await browser.mountComponent('/src/components/HelloWorld.vue', {
|
|
8
|
-
props: { msg: 'Hello Nightwatch' },
|
|
9
|
-
})
|
|
10
|
-
|
|
11
|
-
browser.expect.element(welcomeComponent).to.be.present
|
|
12
|
-
browser.expect.element('h1').text.to.contain('Hello Nightwatch')
|
|
13
|
-
})
|
|
14
|
-
|
|
15
|
-
after((browser) => browser.end())
|
|
16
|
-
})
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export default function getData({ oldData }) {
|
|
2
|
-
return {
|
|
3
|
-
...oldData,
|
|
4
|
-
|
|
5
|
-
plugins: oldData.plugins.map((plugin) => {
|
|
6
|
-
if (plugin.id !== 'nightwatch') {
|
|
7
|
-
return plugin
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
return {
|
|
11
|
-
...plugin,
|
|
12
|
-
initializer: "nightwatchPlugin({\n renderPage: './nightwatch/index.html'\n })",
|
|
13
|
-
}
|
|
14
|
-
}),
|
|
15
|
-
}
|
|
16
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "@tsconfig/node24/tsconfig.json",
|
|
3
|
-
"compilerOptions": {
|
|
4
|
-
"noEmit": true,
|
|
5
|
-
"tsBuildInfoFile": "../node_modules/.tmp/tsconfig.nightwatch.tsbuildinfo",
|
|
6
|
-
|
|
7
|
-
"target": "ESNext",
|
|
8
|
-
"module": "commonjs",
|
|
9
|
-
"moduleResolution": "node",
|
|
10
|
-
"rootDir": "../",
|
|
11
|
-
"lib": ["ESNext", "dom"],
|
|
12
|
-
"types": ["nightwatch"]
|
|
13
|
-
},
|
|
14
|
-
"include": ["../node_modules/@nightwatch/**/*", "../src/components/**/*", "../tests/e2e/**/*"],
|
|
15
|
-
"ts-node": {
|
|
16
|
-
"transpileOnly": true
|
|
17
|
-
},
|
|
18
|
-
"files": ["nightwatch.d.ts"]
|
|
19
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "@vue/tsconfig/tsconfig.dom.json",
|
|
3
|
-
"include": ["env.d.ts", "src/**/*", "src/**/*.vue"],
|
|
4
|
-
"exclude": ["src/**/__tests__/*"],
|
|
5
|
-
"compilerOptions": {
|
|
6
|
-
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
|
|
7
|
-
|
|
8
|
-
"paths": {
|
|
9
|
-
"@/*": ["./src/*"]
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
}
|