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