create-vue 3.22.0 → 3.22.2
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/README.md +1 -1
- package/bundle.js +459 -1313
- package/locales/en-US.json +0 -8
- package/locales/fr-FR.json +0 -8
- package/locales/tr-TR.json +0 -8
- package/locales/zh-Hans.json +0 -8
- package/locales/zh-Hant.json +0 -8
- package/package.json +11 -22
- package/template/base/package.json +4 -4
- package/template/config/cypress/package.json +1 -1
- package/template/config/cypress-ct/package.json +2 -2
- package/template/config/jsx/package.json +3 -3
- package/template/config/pinia/package.json +1 -1
- package/template/config/router/package.json +2 -2
- package/template/config/typescript/package.json +3 -3
- package/template/config/vitest/package.json +3 -3
- 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 +2 -2
- package/template/linting/cypress/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.node.json +0 -1
- package/template/tsconfig/cypress/cypress/tsconfig.json +5 -1
- package/template/tsconfig/vitest/package.json +1 -1
- 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 -18
|
@@ -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,18 +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
|
-
// Extra safety for array and object lookups, but may have false positives.
|
|
7
|
-
"noUncheckedIndexedAccess": true,
|
|
8
|
-
|
|
9
|
-
// Path mapping for cleaner imports.
|
|
10
|
-
"paths": {
|
|
11
|
-
"@/*": ["./src/*"]
|
|
12
|
-
},
|
|
13
|
-
|
|
14
|
-
// `vue-tsc --build` produces a .tsbuildinfo file for incremental type-checking.
|
|
15
|
-
// Specified here to keep it out of the root directory.
|
|
16
|
-
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo"
|
|
17
|
-
}
|
|
18
|
-
}
|