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.
Files changed (43) hide show
  1. package/LICENSE +24 -24
  2. package/README.md +1 -1
  3. package/bundle.js +459 -1313
  4. package/locales/en-US.json +0 -8
  5. package/locales/fr-FR.json +0 -8
  6. package/locales/tr-TR.json +0 -8
  7. package/locales/zh-Hans.json +0 -8
  8. package/locales/zh-Hant.json +0 -8
  9. package/package.json +11 -22
  10. package/template/base/package.json +4 -4
  11. package/template/config/cypress/package.json +1 -1
  12. package/template/config/cypress-ct/package.json +2 -2
  13. package/template/config/jsx/package.json +3 -3
  14. package/template/config/pinia/package.json +1 -1
  15. package/template/config/router/package.json +2 -2
  16. package/template/config/typescript/package.json +3 -3
  17. package/template/config/vitest/package.json +3 -3
  18. package/template/formatting/oxfmt/package.json +1 -1
  19. package/template/linting/base/package.json +1 -1
  20. package/template/linting/core/js/package.json +2 -2
  21. package/template/linting/core/ts/package.json +2 -2
  22. package/template/linting/cypress/package.json +1 -1
  23. package/template/linting/oxlint/package.json +2 -2
  24. package/template/linting/playwright/package.json +1 -1
  25. package/template/linting/vitest/package.json +1 -1
  26. package/template/tsconfig/base/package.json +1 -1
  27. package/template/tsconfig/base/tsconfig.node.json +0 -1
  28. package/template/tsconfig/cypress/cypress/tsconfig.json +5 -1
  29. package/template/tsconfig/vitest/package.json +1 -1
  30. package/template/bare/nightwatch-ct/src/__tests__/App.spec.js +0 -14
  31. package/template/config/nightwatch/.vscode/extensions.json +0 -3
  32. package/template/config/nightwatch/_gitignore +0 -2
  33. package/template/config/nightwatch/nightwatch/nightwatch.d.ts +0 -13
  34. package/template/config/nightwatch/nightwatch.conf.cjs +0 -153
  35. package/template/config/nightwatch/package.json +0 -15
  36. package/template/config/nightwatch/tests/e2e/example.js +0 -11
  37. package/template/config/nightwatch/vite.config.js.data.mjs +0 -12
  38. package/template/config/nightwatch-ct/nightwatch/index.html +0 -16
  39. package/template/config/nightwatch-ct/package.json +0 -11
  40. package/template/config/nightwatch-ct/src/components/__tests__/HelloWorld.spec.js +0 -16
  41. package/template/config/nightwatch-ct/vite.config.js.data.mjs +0 -16
  42. package/template/tsconfig/nightwatch/nightwatch/tsconfig.json +0 -19
  43. package/template/tsconfig/nightwatch-ct/tsconfig.app.json +0 -18
@@ -1,11 +0,0 @@
1
- {
2
- "scripts": {
3
- "test:unit": "nightwatch src/**/__tests__/*"
4
- },
5
- "dependencies": {
6
- "vue": "^3.5.29"
7
- },
8
- "devDependencies": {
9
- "@vue/test-utils": "^2.4.6"
10
- }
11
- }
@@ -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
- }