diff --git a/.verdaccio/config.yml b/.verdaccio/config.yml index 1293b915662c4..5dec1a2695fb6 100644 --- a/.verdaccio/config.yml +++ b/.verdaccio/config.yml @@ -5,6 +5,8 @@ auth: htpasswd: file: ./htpasswd +max_body_size: 15mb + # a list of other known repositories we can talk to uplinks: npmjs: diff --git a/docs/generated/packages/plugin/generators/create-package.json b/docs/generated/packages/plugin/generators/create-package.json index e2ecc9d1f9c12..e6506f6a06fcd 100644 --- a/docs/generated/packages/plugin/generators/create-package.json +++ b/docs/generated/packages/plugin/generators/create-package.json @@ -31,7 +31,7 @@ }, "unitTestRunner": { "type": "string", - "enum": ["none", "jest"], + "enum": ["none", "jest", "vitest"], "description": "Test runner to use for unit tests." }, "linter": { diff --git a/docs/generated/packages/plugin/generators/executor.json b/docs/generated/packages/plugin/generators/executor.json index fbab6e9ae2380..21fe476852dfb 100644 --- a/docs/generated/packages/plugin/generators/executor.json +++ b/docs/generated/packages/plugin/generators/executor.json @@ -28,7 +28,7 @@ }, "unitTestRunner": { "type": "string", - "enum": ["jest", "none"], + "enum": ["jest", "vitest", "none"], "description": "Test runner to use for unit tests.", "default": "jest" }, diff --git a/docs/generated/packages/plugin/generators/generator.json b/docs/generated/packages/plugin/generators/generator.json index 6f22046feeef9..5613c5eaf9b18 100644 --- a/docs/generated/packages/plugin/generators/generator.json +++ b/docs/generated/packages/plugin/generators/generator.json @@ -41,7 +41,7 @@ }, "unitTestRunner": { "type": "string", - "enum": ["jest", "none"], + "enum": ["jest", "vitest", "none"], "description": "Test runner to use for unit tests.", "default": "jest" }, diff --git a/packages/plugin/src/generators/create-package/schema.d.ts b/packages/plugin/src/generators/create-package/schema.d.ts index 925036d54140c..f42d573df4881 100644 --- a/packages/plugin/src/generators/create-package/schema.d.ts +++ b/packages/plugin/src/generators/create-package/schema.d.ts @@ -8,7 +8,7 @@ export interface CreatePackageSchema { // options to create cli package, passed to js library generator skipFormat?: boolean; tags?: string; - unitTestRunner?: 'jest' | 'none'; + unitTestRunner?: 'jest' | 'vitest' | 'none'; linter?: Linter | LinterType; compiler?: 'swc' | 'tsc'; diff --git a/packages/plugin/src/generators/create-package/schema.json b/packages/plugin/src/generators/create-package/schema.json index cdfaf44afa959..8a9cdc52203c5 100644 --- a/packages/plugin/src/generators/create-package/schema.json +++ b/packages/plugin/src/generators/create-package/schema.json @@ -33,7 +33,7 @@ }, "unitTestRunner": { "type": "string", - "enum": ["none", "jest"], + "enum": ["none", "jest", "vitest"], "description": "Test runner to use for unit tests." }, "linter": { diff --git a/packages/plugin/src/generators/create-package/utils/normalize-schema.ts b/packages/plugin/src/generators/create-package/utils/normalize-schema.ts index 85f28a3aa1dcf..b9f2961b5f1fa 100644 --- a/packages/plugin/src/generators/create-package/utils/normalize-schema.ts +++ b/packages/plugin/src/generators/create-package/utils/normalize-schema.ts @@ -12,7 +12,7 @@ export interface NormalizedSchema extends CreatePackageSchema { bundler: 'swc' | 'tsc'; projectName: string; projectRoot: string; - unitTestRunner: 'jest' | 'none'; + unitTestRunner: 'jest' | 'vitest' | 'none'; linter: LinterType; useProjectJson: boolean; addPlugin: boolean; diff --git a/packages/plugin/src/generators/executor/schema.d.ts b/packages/plugin/src/generators/executor/schema.d.ts index b329653a3970d..ff6781ece96ae 100644 --- a/packages/plugin/src/generators/executor/schema.d.ts +++ b/packages/plugin/src/generators/executor/schema.d.ts @@ -2,7 +2,7 @@ export interface Schema { path: string; name?: string; description?: string; - unitTestRunner: 'jest' | 'none'; + unitTestRunner: 'jest' | 'vitest' | 'none'; includeHasher: boolean; skipLintChecks?: boolean; skipFormat?: boolean; diff --git a/packages/plugin/src/generators/executor/schema.json b/packages/plugin/src/generators/executor/schema.json index f9c513abb5b63..3272959bf769a 100644 --- a/packages/plugin/src/generators/executor/schema.json +++ b/packages/plugin/src/generators/executor/schema.json @@ -28,7 +28,7 @@ }, "unitTestRunner": { "type": "string", - "enum": ["jest", "none"], + "enum": ["jest", "vitest", "none"], "description": "Test runner to use for unit tests.", "default": "jest" }, diff --git a/packages/plugin/src/generators/generator/schema.d.ts b/packages/plugin/src/generators/generator/schema.d.ts index b8b4e3fbf9ecd..4e284303c83fc 100644 --- a/packages/plugin/src/generators/generator/schema.d.ts +++ b/packages/plugin/src/generators/generator/schema.d.ts @@ -2,7 +2,7 @@ export interface Schema { path: string; name?: string; description?: string; - unitTestRunner: 'jest' | 'none'; + unitTestRunner: 'jest' | 'vitest' | 'none'; skipLintChecks?: boolean; skipFormat?: boolean; } diff --git a/packages/plugin/src/generators/generator/schema.json b/packages/plugin/src/generators/generator/schema.json index 9c94dbb5f0f0d..f488ac2c34eb8 100644 --- a/packages/plugin/src/generators/generator/schema.json +++ b/packages/plugin/src/generators/generator/schema.json @@ -41,7 +41,7 @@ }, "unitTestRunner": { "type": "string", - "enum": ["jest", "none"], + "enum": ["jest", "vitest", "none"], "description": "Test runner to use for unit tests.", "default": "jest" },