diff --git a/e2e/tests/nexus--deprecation--google-protobuf/package.json b/e2e/tests/nexus--deprecation--google-protobuf/package.json index c246928e..854fdf41 100644 --- a/e2e/tests/nexus--deprecation--google-protobuf/package.json +++ b/e2e/tests/nexus--deprecation--google-protobuf/package.json @@ -4,12 +4,10 @@ "description": "E2E tests for protoc-gen-nexus", "private": true, "scripts": { - "test:e2e": "pnpm run test:e2e:gen && pnpm run test:e2e:vitest && pnpm run test:e2e:typecheck", - "test:e2e:gen": "pnpm run test:e2e:gen:proto && pnpm run test:e2e:gen:types", + "test:e2e:prepare": "pnpm run test:e2e:gen:proto && pnpm run test:e2e:gen:types", "test:e2e:gen:proto": "rm -rf __generated__/schema && buf generate --template buf.gen.json", "test:e2e:gen:types": "rm -rf __generated__/typings.ts && tsx schema.ts", - "test:e2e:vitest": "vitest run --passWithNoTests --config ../../vitest.config.ts", - "test:e2e:typecheck": "tsc --build tsconfig.json" + "test:e2e": "vitest run --passWithNoTests --typecheck --config ../../vitest.config.ts" }, "dependencies": { "nexus": "catalog:test", diff --git a/e2e/tests/nexus--deprecation--protobufjs/package.json b/e2e/tests/nexus--deprecation--protobufjs/package.json index 9aaa14d1..0f42c613 100644 --- a/e2e/tests/nexus--deprecation--protobufjs/package.json +++ b/e2e/tests/nexus--deprecation--protobufjs/package.json @@ -4,12 +4,10 @@ "description": "E2E tests for protoc-gen-nexus", "private": true, "scripts": { - "test:e2e": "pnpm run test:e2e:gen && pnpm run test:e2e:vitest && pnpm run test:e2e:typecheck", - "test:e2e:gen": "pnpm run test:e2e:gen:proto && pnpm run test:e2e:gen:types", + "test:e2e:prepare": "pnpm run test:e2e:gen:proto && pnpm run test:e2e:gen:types", "test:e2e:gen:proto": "rm -rf __generated__/schema && buf generate --template buf.gen.json", "test:e2e:gen:types": "rm -rf __generated__/typings.ts && tsx schema.ts", - "test:e2e:vitest": "vitest run --passWithNoTests --config ../../vitest.config.ts", - "test:e2e:typecheck": "tsc --build tsconfig.json" + "test:e2e": "vitest run --passWithNoTests --typecheck --config ../../vitest.config.ts" }, "dependencies": { "nexus": "catalog:test", diff --git a/e2e/tests/nexus--edgecases-import_from_same_pkg--google-protobuf/package.json b/e2e/tests/nexus--edgecases-import_from_same_pkg--google-protobuf/package.json index ed47b97b..b4ae50d3 100644 --- a/e2e/tests/nexus--edgecases-import_from_same_pkg--google-protobuf/package.json +++ b/e2e/tests/nexus--edgecases-import_from_same_pkg--google-protobuf/package.json @@ -4,12 +4,10 @@ "description": "E2E tests for protoc-gen-nexus", "private": true, "scripts": { - "test:e2e": "pnpm run test:e2e:gen && pnpm run test:e2e:vitest && pnpm run test:e2e:typecheck", - "test:e2e:gen": "pnpm run test:e2e:gen:proto && pnpm run test:e2e:gen:types", + "test:e2e:prepare": "pnpm run test:e2e:gen:proto && pnpm run test:e2e:gen:types", "test:e2e:gen:proto": "rm -rf __generated__/schema && buf generate --template buf.gen.json", "test:e2e:gen:types": "rm -rf __generated__/typings.ts && tsx schema.ts", - "test:e2e:vitest": "vitest run --passWithNoTests --config ../../vitest.config.ts", - "test:e2e:typecheck": "tsc --build tsconfig.json" + "test:e2e": "vitest run --passWithNoTests --typecheck --config ../../vitest.config.ts" }, "dependencies": { "nexus": "catalog:test", diff --git a/e2e/tests/nexus--edgecases-import_from_same_pkg--protobufjs/package.json b/e2e/tests/nexus--edgecases-import_from_same_pkg--protobufjs/package.json index 801441f3..d87c1dff 100644 --- a/e2e/tests/nexus--edgecases-import_from_same_pkg--protobufjs/package.json +++ b/e2e/tests/nexus--edgecases-import_from_same_pkg--protobufjs/package.json @@ -4,12 +4,10 @@ "description": "E2E tests for protoc-gen-nexus", "private": true, "scripts": { - "test:e2e": "pnpm run test:e2e:gen && pnpm run test:e2e:vitest && pnpm run test:e2e:typecheck", - "test:e2e:gen": "pnpm run test:e2e:gen:proto && pnpm run test:e2e:gen:types", + "test:e2e:prepare": "pnpm run test:e2e:gen:proto && pnpm run test:e2e:gen:types", "test:e2e:gen:proto": "rm -rf __generated__/schema && buf generate --template buf.gen.json", "test:e2e:gen:types": "rm -rf __generated__/typings.ts && tsx schema.ts", - "test:e2e:vitest": "vitest run --passWithNoTests --config ../../vitest.config.ts", - "test:e2e:typecheck": "tsc --build tsconfig.json" + "test:e2e": "vitest run --passWithNoTests --typecheck --config ../../vitest.config.ts" }, "dependencies": { "nexus": "catalog:test", diff --git a/e2e/tests/nexus--edgecases-import_squashed_union--google-protobuf/package.json b/e2e/tests/nexus--edgecases-import_squashed_union--google-protobuf/package.json index 1e0b6fa1..e21f8e7a 100644 --- a/e2e/tests/nexus--edgecases-import_squashed_union--google-protobuf/package.json +++ b/e2e/tests/nexus--edgecases-import_squashed_union--google-protobuf/package.json @@ -4,12 +4,10 @@ "description": "E2E tests for protoc-gen-nexus", "private": true, "scripts": { - "test:e2e": "pnpm run test:e2e:gen && pnpm run test:e2e:vitest && pnpm run test:e2e:typecheck", - "test:e2e:gen": "pnpm run test:e2e:gen:proto && pnpm run test:e2e:gen:types", + "test:e2e:prepare": "pnpm run test:e2e:gen:proto && pnpm run test:e2e:gen:types", "test:e2e:gen:proto": "rm -rf __generated__/schema && buf generate --template buf.gen.json", "test:e2e:gen:types": "rm -rf __generated__/typings.ts && tsx schema.ts", - "test:e2e:vitest": "vitest run --passWithNoTests --config ../../vitest.config.ts", - "test:e2e:typecheck": "tsc --build tsconfig.json" + "test:e2e": "vitest run --passWithNoTests --typecheck --config ../../vitest.config.ts" }, "dependencies": { "nexus": "catalog:test", diff --git a/e2e/tests/nexus--edgecases-import_squashed_union--protobufjs/package.json b/e2e/tests/nexus--edgecases-import_squashed_union--protobufjs/package.json index c17396c2..317a84c8 100644 --- a/e2e/tests/nexus--edgecases-import_squashed_union--protobufjs/package.json +++ b/e2e/tests/nexus--edgecases-import_squashed_union--protobufjs/package.json @@ -4,12 +4,10 @@ "description": "E2E tests for protoc-gen-nexus", "private": true, "scripts": { - "test:e2e": "pnpm run test:e2e:gen && pnpm run test:e2e:vitest && pnpm run test:e2e:typecheck", - "test:e2e:gen": "pnpm run test:e2e:gen:proto && pnpm run test:e2e:gen:types", + "test:e2e:prepare": "pnpm run test:e2e:gen:proto && pnpm run test:e2e:gen:types", "test:e2e:gen:proto": "rm -rf __generated__/schema && buf generate --template buf.gen.json", "test:e2e:gen:types": "rm -rf __generated__/typings.ts && tsx schema.ts", - "test:e2e:vitest": "vitest run --passWithNoTests --config ../../vitest.config.ts", - "test:e2e:typecheck": "tsc --build tsconfig.json" + "test:e2e": "vitest run --passWithNoTests --typecheck --config ../../vitest.config.ts" }, "dependencies": { "nexus": "catalog:test", diff --git a/e2e/tests/nexus--empty_types--google-protobuf/package.json b/e2e/tests/nexus--empty_types--google-protobuf/package.json index d64dbed4..e6f880c0 100644 --- a/e2e/tests/nexus--empty_types--google-protobuf/package.json +++ b/e2e/tests/nexus--empty_types--google-protobuf/package.json @@ -4,12 +4,10 @@ "description": "E2E tests for protoc-gen-nexus", "private": true, "scripts": { - "test:e2e": "pnpm run test:e2e:gen && pnpm run test:e2e:vitest && pnpm run test:e2e:typecheck", - "test:e2e:gen": "pnpm run test:e2e:gen:proto && pnpm run test:e2e:gen:types", + "test:e2e:prepare": "pnpm run test:e2e:gen:proto && pnpm run test:e2e:gen:types", "test:e2e:gen:proto": "rm -rf __generated__/schema && buf generate --template buf.gen.json", "test:e2e:gen:types": "rm -rf __generated__/typings.ts && tsx schema.ts", - "test:e2e:vitest": "vitest run --passWithNoTests --config ../../vitest.config.ts", - "test:e2e:typecheck": "tsc --build tsconfig.json" + "test:e2e": "vitest run --passWithNoTests --typecheck --config ../../vitest.config.ts" }, "dependencies": { "nexus": "catalog:test", diff --git a/e2e/tests/nexus--empty_types--protobufjs/package.json b/e2e/tests/nexus--empty_types--protobufjs/package.json index 3570c3e4..03b9ee2f 100644 --- a/e2e/tests/nexus--empty_types--protobufjs/package.json +++ b/e2e/tests/nexus--empty_types--protobufjs/package.json @@ -4,12 +4,10 @@ "description": "E2E tests for protoc-gen-nexus", "private": true, "scripts": { - "test:e2e": "pnpm run test:e2e:gen && pnpm run test:e2e:vitest && pnpm run test:e2e:typecheck", - "test:e2e:gen": "pnpm run test:e2e:gen:proto && pnpm run test:e2e:gen:types", + "test:e2e:prepare": "pnpm run test:e2e:gen:proto && pnpm run test:e2e:gen:types", "test:e2e:gen:proto": "rm -rf __generated__/schema && buf generate --template buf.gen.json", "test:e2e:gen:types": "rm -rf __generated__/typings.ts && tsx schema.ts", - "test:e2e:vitest": "vitest run --passWithNoTests --config ../../vitest.config.ts", - "test:e2e:typecheck": "tsc --build tsconfig.json" + "test:e2e": "vitest run --passWithNoTests --typecheck --config ../../vitest.config.ts" }, "dependencies": { "nexus": "catalog:test", diff --git a/e2e/tests/nexus--enums--google-protobuf/package.json b/e2e/tests/nexus--enums--google-protobuf/package.json index 0de6d9a9..7e51e03d 100644 --- a/e2e/tests/nexus--enums--google-protobuf/package.json +++ b/e2e/tests/nexus--enums--google-protobuf/package.json @@ -4,12 +4,10 @@ "description": "E2E tests for protoc-gen-nexus", "private": true, "scripts": { - "test:e2e": "pnpm run test:e2e:gen && pnpm run test:e2e:vitest && pnpm run test:e2e:typecheck", - "test:e2e:gen": "pnpm run test:e2e:gen:proto && pnpm run test:e2e:gen:types", + "test:e2e:prepare": "pnpm run test:e2e:gen:proto && pnpm run test:e2e:gen:types", "test:e2e:gen:proto": "rm -rf __generated__/schema && buf generate --template buf.gen.json", "test:e2e:gen:types": "rm -rf __generated__/typings.ts && tsx schema.ts", - "test:e2e:vitest": "vitest run --passWithNoTests --config ../../vitest.config.ts", - "test:e2e:typecheck": "tsc --build tsconfig.json" + "test:e2e": "vitest run --passWithNoTests --typecheck --config ../../vitest.config.ts" }, "dependencies": { "nexus": "catalog:test", diff --git a/e2e/tests/nexus--enums--protobufjs/package.json b/e2e/tests/nexus--enums--protobufjs/package.json index 59543dbd..57bdaf8e 100644 --- a/e2e/tests/nexus--enums--protobufjs/package.json +++ b/e2e/tests/nexus--enums--protobufjs/package.json @@ -4,12 +4,10 @@ "description": "E2E tests for protoc-gen-nexus", "private": true, "scripts": { - "test:e2e": "pnpm run test:e2e:gen && pnpm run test:e2e:vitest && pnpm run test:e2e:typecheck", - "test:e2e:gen": "pnpm run test:e2e:gen:proto && pnpm run test:e2e:gen:types", + "test:e2e:prepare": "pnpm run test:e2e:gen:proto && pnpm run test:e2e:gen:types", "test:e2e:gen:proto": "rm -rf __generated__/schema && buf generate --template buf.gen.json", "test:e2e:gen:types": "rm -rf __generated__/typings.ts && tsx schema.ts", - "test:e2e:vitest": "vitest run --passWithNoTests --config ../../vitest.config.ts", - "test:e2e:typecheck": "tsc --build tsconfig.json" + "test:e2e": "vitest run --passWithNoTests --typecheck --config ../../vitest.config.ts" }, "dependencies": { "nexus": "catalog:test", diff --git a/e2e/tests/nexus--extensions--google-protobuf/package.json b/e2e/tests/nexus--extensions--google-protobuf/package.json index b7507695..3bc7c146 100644 --- a/e2e/tests/nexus--extensions--google-protobuf/package.json +++ b/e2e/tests/nexus--extensions--google-protobuf/package.json @@ -4,12 +4,10 @@ "description": "E2E tests for protoc-gen-nexus", "private": true, "scripts": { - "test:e2e": "pnpm run test:e2e:gen && pnpm run test:e2e:vitest && pnpm run test:e2e:typecheck", - "test:e2e:gen": "pnpm run test:e2e:gen:proto && pnpm run test:e2e:gen:types", + "test:e2e:prepare": "pnpm run test:e2e:gen:proto && pnpm run test:e2e:gen:types", "test:e2e:gen:proto": "rm -rf __generated__/schema && buf generate --template buf.gen.json", "test:e2e:gen:types": "rm -rf __generated__/typings.ts && tsx schema.ts", - "test:e2e:vitest": "vitest run --passWithNoTests --config ../../vitest.config.ts", - "test:e2e:typecheck": "tsc --build tsconfig.json" + "test:e2e": "vitest run --passWithNoTests --typecheck --config ../../vitest.config.ts" }, "dependencies": { "nexus": "catalog:test", diff --git a/e2e/tests/nexus--extensions--protobufjs/package.json b/e2e/tests/nexus--extensions--protobufjs/package.json index 8f2c8992..59469c3c 100644 --- a/e2e/tests/nexus--extensions--protobufjs/package.json +++ b/e2e/tests/nexus--extensions--protobufjs/package.json @@ -4,12 +4,10 @@ "description": "E2E tests for protoc-gen-nexus", "private": true, "scripts": { - "test:e2e": "pnpm run test:e2e:gen && pnpm run test:e2e:vitest && pnpm run test:e2e:typecheck", - "test:e2e:gen": "pnpm run test:e2e:gen:proto && pnpm run test:e2e:gen:types", + "test:e2e:prepare": "pnpm run test:e2e:gen:proto && pnpm run test:e2e:gen:types", "test:e2e:gen:proto": "rm -rf __generated__/schema && buf generate --template buf.gen.json", "test:e2e:gen:types": "rm -rf __generated__/typings.ts && tsx schema.ts", - "test:e2e:vitest": "vitest run --passWithNoTests --config ../../vitest.config.ts", - "test:e2e:typecheck": "tsc --build tsconfig.json" + "test:e2e": "vitest run --passWithNoTests --typecheck --config ../../vitest.config.ts" }, "dependencies": { "nexus": "catalog:test", diff --git a/e2e/tests/nexus--field_behavior--google-protobuf/package.json b/e2e/tests/nexus--field_behavior--google-protobuf/package.json index 952b27a0..8c0f9b77 100644 --- a/e2e/tests/nexus--field_behavior--google-protobuf/package.json +++ b/e2e/tests/nexus--field_behavior--google-protobuf/package.json @@ -4,12 +4,10 @@ "description": "E2E tests for protoc-gen-nexus", "private": true, "scripts": { - "test:e2e": "pnpm run test:e2e:gen && pnpm run test:e2e:vitest && pnpm run test:e2e:typecheck", - "test:e2e:gen": "pnpm run test:e2e:gen:proto && pnpm run test:e2e:gen:types", + "test:e2e:prepare": "pnpm run test:e2e:gen:proto && pnpm run test:e2e:gen:types", "test:e2e:gen:proto": "rm -rf __generated__/schema && buf generate --template buf.gen.json", "test:e2e:gen:types": "rm -rf __generated__/typings.ts && tsx schema.ts", - "test:e2e:vitest": "vitest run --passWithNoTests --config ../../vitest.config.ts", - "test:e2e:typecheck": "tsc --build tsconfig.json" + "test:e2e": "vitest run --passWithNoTests --typecheck --config ../../vitest.config.ts" }, "dependencies": { "nexus": "catalog:test", diff --git a/e2e/tests/nexus--field_behavior--protobufjs/package.json b/e2e/tests/nexus--field_behavior--protobufjs/package.json index 0a1a509c..2733a651 100644 --- a/e2e/tests/nexus--field_behavior--protobufjs/package.json +++ b/e2e/tests/nexus--field_behavior--protobufjs/package.json @@ -4,12 +4,10 @@ "description": "E2E tests for protoc-gen-nexus", "private": true, "scripts": { - "test:e2e": "pnpm run test:e2e:gen && pnpm run test:e2e:vitest && pnpm run test:e2e:typecheck", - "test:e2e:gen": "pnpm run test:e2e:gen:proto && pnpm run test:e2e:gen:types", + "test:e2e:prepare": "pnpm run test:e2e:gen:proto && pnpm run test:e2e:gen:types", "test:e2e:gen:proto": "rm -rf __generated__/schema && buf generate --template buf.gen.json", "test:e2e:gen:types": "rm -rf __generated__/typings.ts && tsx schema.ts", - "test:e2e:vitest": "vitest run --passWithNoTests --config ../../vitest.config.ts", - "test:e2e:typecheck": "tsc --build tsconfig.json" + "test:e2e": "vitest run --passWithNoTests --typecheck --config ../../vitest.config.ts" }, "dependencies": { "nexus": "catalog:test", diff --git a/e2e/tests/nexus--multipkgs--google-protobuf/package.json b/e2e/tests/nexus--multipkgs--google-protobuf/package.json index bfbbd96b..c323b5b6 100644 --- a/e2e/tests/nexus--multipkgs--google-protobuf/package.json +++ b/e2e/tests/nexus--multipkgs--google-protobuf/package.json @@ -4,12 +4,10 @@ "description": "E2E tests for protoc-gen-nexus", "private": true, "scripts": { - "test:e2e": "pnpm run test:e2e:gen && pnpm run test:e2e:vitest && pnpm run test:e2e:typecheck", - "test:e2e:gen": "pnpm run test:e2e:gen:proto && pnpm run test:e2e:gen:types", + "test:e2e:prepare": "pnpm run test:e2e:gen:proto && pnpm run test:e2e:gen:types", "test:e2e:gen:proto": "rm -rf __generated__/schema && buf generate --template buf.gen.json", "test:e2e:gen:types": "rm -rf __generated__/typings.ts && tsx schema.ts", - "test:e2e:vitest": "vitest run --passWithNoTests --config ../../vitest.config.ts", - "test:e2e:typecheck": "tsc --build tsconfig.json" + "test:e2e": "vitest run --passWithNoTests --typecheck --config ../../vitest.config.ts" }, "dependencies": { "nexus": "catalog:test", diff --git a/e2e/tests/nexus--multipkgs--protobufjs/package.json b/e2e/tests/nexus--multipkgs--protobufjs/package.json index 282f5937..69936707 100644 --- a/e2e/tests/nexus--multipkgs--protobufjs/package.json +++ b/e2e/tests/nexus--multipkgs--protobufjs/package.json @@ -4,12 +4,10 @@ "description": "E2E tests for protoc-gen-nexus", "private": true, "scripts": { - "test:e2e": "pnpm run test:e2e:gen && pnpm run test:e2e:vitest && pnpm run test:e2e:typecheck", - "test:e2e:gen": "pnpm run test:e2e:gen:proto && pnpm run test:e2e:gen:types", + "test:e2e:prepare": "pnpm run test:e2e:gen:proto && pnpm run test:e2e:gen:types", "test:e2e:gen:proto": "rm -rf __generated__/schema && buf generate --template buf.gen.json", "test:e2e:gen:types": "rm -rf __generated__/typings.ts && tsx schema.ts", - "test:e2e:vitest": "vitest run --passWithNoTests --config ../../vitest.config.ts", - "test:e2e:typecheck": "tsc --build tsconfig.json" + "test:e2e": "vitest run --passWithNoTests --typecheck --config ../../vitest.config.ts" }, "dependencies": { "nexus": "catalog:test", diff --git a/e2e/tests/nexus--nested--google-protobuf/package.json b/e2e/tests/nexus--nested--google-protobuf/package.json index 9c93f57f..8984aec4 100644 --- a/e2e/tests/nexus--nested--google-protobuf/package.json +++ b/e2e/tests/nexus--nested--google-protobuf/package.json @@ -4,12 +4,10 @@ "description": "E2E tests for protoc-gen-nexus", "private": true, "scripts": { - "test:e2e": "pnpm run test:e2e:gen && pnpm run test:e2e:vitest && pnpm run test:e2e:typecheck", - "test:e2e:gen": "pnpm run test:e2e:gen:proto && pnpm run test:e2e:gen:types", + "test:e2e:prepare": "pnpm run test:e2e:gen:proto && pnpm run test:e2e:gen:types", "test:e2e:gen:proto": "rm -rf __generated__/schema && buf generate --template buf.gen.json", "test:e2e:gen:types": "rm -rf __generated__/typings.ts && tsx schema.ts", - "test:e2e:vitest": "vitest run --passWithNoTests --config ../../vitest.config.ts", - "test:e2e:typecheck": "tsc --build tsconfig.json" + "test:e2e": "vitest run --passWithNoTests --typecheck --config ../../vitest.config.ts" }, "dependencies": { "nexus": "catalog:test", diff --git a/e2e/tests/nexus--nested--protobufjs/package.json b/e2e/tests/nexus--nested--protobufjs/package.json index 2fcea8bd..49e3f1af 100644 --- a/e2e/tests/nexus--nested--protobufjs/package.json +++ b/e2e/tests/nexus--nested--protobufjs/package.json @@ -4,12 +4,10 @@ "description": "E2E tests for protoc-gen-nexus", "private": true, "scripts": { - "test:e2e": "pnpm run test:e2e:gen && pnpm run test:e2e:vitest && pnpm run test:e2e:typecheck", - "test:e2e:gen": "pnpm run test:e2e:gen:proto && pnpm run test:e2e:gen:types", + "test:e2e:prepare": "pnpm run test:e2e:gen:proto && pnpm run test:e2e:gen:types", "test:e2e:gen:proto": "rm -rf __generated__/schema && buf generate --template buf.gen.json", "test:e2e:gen:types": "rm -rf __generated__/typings.ts && tsx schema.ts", - "test:e2e:vitest": "vitest run --passWithNoTests --config ../../vitest.config.ts", - "test:e2e:typecheck": "tsc --build tsconfig.json" + "test:e2e": "vitest run --passWithNoTests --typecheck --config ../../vitest.config.ts" }, "dependencies": { "nexus": "catalog:test", diff --git a/e2e/tests/nexus--oneof--google-protobuf/package.json b/e2e/tests/nexus--oneof--google-protobuf/package.json index 317d4545..64ed00dd 100644 --- a/e2e/tests/nexus--oneof--google-protobuf/package.json +++ b/e2e/tests/nexus--oneof--google-protobuf/package.json @@ -4,12 +4,10 @@ "description": "E2E tests for protoc-gen-nexus", "private": true, "scripts": { - "test:e2e": "pnpm run test:e2e:gen && pnpm run test:e2e:vitest && pnpm run test:e2e:typecheck", - "test:e2e:gen": "pnpm run test:e2e:gen:proto && pnpm run test:e2e:gen:types", + "test:e2e:prepare": "pnpm run test:e2e:gen:proto && pnpm run test:e2e:gen:types", "test:e2e:gen:proto": "rm -rf __generated__/schema && buf generate --template buf.gen.json", "test:e2e:gen:types": "rm -rf __generated__/typings.ts && tsx schema.ts", - "test:e2e:vitest": "vitest run --passWithNoTests --config ../../vitest.config.ts", - "test:e2e:typecheck": "tsc --build tsconfig.json" + "test:e2e": "vitest run --passWithNoTests --typecheck --config ../../vitest.config.ts" }, "dependencies": { "nexus": "catalog:test", diff --git a/e2e/tests/nexus--oneof--protobufjs/package.json b/e2e/tests/nexus--oneof--protobufjs/package.json index 33e964d1..136f3d7f 100644 --- a/e2e/tests/nexus--oneof--protobufjs/package.json +++ b/e2e/tests/nexus--oneof--protobufjs/package.json @@ -4,12 +4,10 @@ "description": "E2E tests for protoc-gen-nexus", "private": true, "scripts": { - "test:e2e": "pnpm run test:e2e:gen && pnpm run test:e2e:vitest && pnpm run test:e2e:typecheck", - "test:e2e:gen": "pnpm run test:e2e:gen:proto && pnpm run test:e2e:gen:types", + "test:e2e:prepare": "pnpm run test:e2e:gen:proto && pnpm run test:e2e:gen:types", "test:e2e:gen:proto": "rm -rf __generated__/schema && buf generate --template buf.gen.json", "test:e2e:gen:types": "rm -rf __generated__/typings.ts && tsx schema.ts", - "test:e2e:vitest": "vitest run --passWithNoTests --config ../../vitest.config.ts", - "test:e2e:typecheck": "tsc --build tsconfig.json" + "test:e2e": "vitest run --passWithNoTests --typecheck --config ../../vitest.config.ts" }, "dependencies": { "nexus": "catalog:test", diff --git a/e2e/tests/nexus--primitives--google-protobuf/package.json b/e2e/tests/nexus--primitives--google-protobuf/package.json index ecffc8f7..3be565c4 100644 --- a/e2e/tests/nexus--primitives--google-protobuf/package.json +++ b/e2e/tests/nexus--primitives--google-protobuf/package.json @@ -4,12 +4,10 @@ "description": "E2E tests for protoc-gen-nexus", "private": true, "scripts": { - "test:e2e": "pnpm run test:e2e:gen && pnpm run test:e2e:vitest && pnpm run test:e2e:typecheck", - "test:e2e:gen": "pnpm run test:e2e:gen:proto && pnpm run test:e2e:gen:types", + "test:e2e:prepare": "pnpm run test:e2e:gen:proto && pnpm run test:e2e:gen:types", "test:e2e:gen:proto": "rm -rf __generated__/schema && buf generate --template buf.gen.json", "test:e2e:gen:types": "rm -rf __generated__/typings.ts && tsx schema.ts", - "test:e2e:vitest": "vitest run --passWithNoTests --config ../../vitest.config.ts", - "test:e2e:typecheck": "tsc --build tsconfig.json" + "test:e2e": "vitest run --passWithNoTests --typecheck --config ../../vitest.config.ts" }, "dependencies": { "nexus": "catalog:test", diff --git a/e2e/tests/nexus--primitives--protobufjs/package.json b/e2e/tests/nexus--primitives--protobufjs/package.json index 14f6c7b0..12b6c2bc 100644 --- a/e2e/tests/nexus--primitives--protobufjs/package.json +++ b/e2e/tests/nexus--primitives--protobufjs/package.json @@ -4,12 +4,10 @@ "description": "E2E tests for protoc-gen-nexus", "private": true, "scripts": { - "test:e2e": "pnpm run test:e2e:gen && pnpm run test:e2e:vitest && pnpm run test:e2e:typecheck", - "test:e2e:gen": "pnpm run test:e2e:gen:proto && pnpm run test:e2e:gen:types", + "test:e2e:prepare": "pnpm run test:e2e:gen:proto && pnpm run test:e2e:gen:types", "test:e2e:gen:proto": "rm -rf __generated__/schema && buf generate --template buf.gen.json", "test:e2e:gen:types": "rm -rf __generated__/typings.ts && tsx schema.ts", - "test:e2e:vitest": "vitest run --passWithNoTests --config ../../vitest.config.ts", - "test:e2e:typecheck": "tsc --build tsconfig.json" + "test:e2e": "vitest run --passWithNoTests --typecheck --config ../../vitest.config.ts" }, "dependencies": { "nexus": "catalog:test", diff --git a/e2e/tests/nexus--proto3_optional--google-protobuf/package.json b/e2e/tests/nexus--proto3_optional--google-protobuf/package.json index 012bd9cc..69f8050c 100644 --- a/e2e/tests/nexus--proto3_optional--google-protobuf/package.json +++ b/e2e/tests/nexus--proto3_optional--google-protobuf/package.json @@ -4,12 +4,10 @@ "description": "E2E tests for protoc-gen-nexus", "private": true, "scripts": { - "test:e2e": "pnpm run test:e2e:gen && pnpm run test:e2e:vitest && pnpm run test:e2e:typecheck", - "test:e2e:gen": "pnpm run test:e2e:gen:proto && pnpm run test:e2e:gen:types", + "test:e2e:prepare": "pnpm run test:e2e:gen:proto && pnpm run test:e2e:gen:types", "test:e2e:gen:proto": "rm -rf __generated__/schema && buf generate --template buf.gen.json", "test:e2e:gen:types": "rm -rf __generated__/typings.ts && tsx schema.ts", - "test:e2e:vitest": "vitest run --passWithNoTests --config ../../vitest.config.ts", - "test:e2e:typecheck": "tsc --build tsconfig.json" + "test:e2e": "vitest run --passWithNoTests --typecheck --config ../../vitest.config.ts" }, "dependencies": { "nexus": "catalog:test", diff --git a/e2e/tests/nexus--proto3_optional--protobufjs/package.json b/e2e/tests/nexus--proto3_optional--protobufjs/package.json index b48ede03..e46fd01c 100644 --- a/e2e/tests/nexus--proto3_optional--protobufjs/package.json +++ b/e2e/tests/nexus--proto3_optional--protobufjs/package.json @@ -4,12 +4,10 @@ "description": "E2E tests for protoc-gen-nexus", "private": true, "scripts": { - "test:e2e": "pnpm run test:e2e:gen && pnpm run test:e2e:vitest && pnpm run test:e2e:typecheck", - "test:e2e:gen": "pnpm run test:e2e:gen:proto && pnpm run test:e2e:gen:types", + "test:e2e:prepare": "pnpm run test:e2e:gen:proto && pnpm run test:e2e:gen:types", "test:e2e:gen:proto": "rm -rf __generated__/schema && buf generate --template buf.gen.json", "test:e2e:gen:types": "rm -rf __generated__/typings.ts && tsx schema.ts", - "test:e2e:vitest": "vitest run --passWithNoTests --config ../../vitest.config.ts", - "test:e2e:typecheck": "tsc --build tsconfig.json" + "test:e2e": "vitest run --passWithNoTests --typecheck --config ../../vitest.config.ts" }, "dependencies": { "nexus": "catalog:test", diff --git a/e2e/tests/nexus--wktypes--google-protobuf/package.json b/e2e/tests/nexus--wktypes--google-protobuf/package.json index 8de3cdad..21730959 100644 --- a/e2e/tests/nexus--wktypes--google-protobuf/package.json +++ b/e2e/tests/nexus--wktypes--google-protobuf/package.json @@ -4,12 +4,10 @@ "description": "E2E tests for protoc-gen-nexus", "private": true, "scripts": { - "test:e2e": "pnpm run test:e2e:gen && pnpm run test:e2e:vitest && pnpm run test:e2e:typecheck", - "test:e2e:gen": "pnpm run test:e2e:gen:proto && pnpm run test:e2e:gen:types", + "test:e2e:prepare": "pnpm run test:e2e:gen:proto && pnpm run test:e2e:gen:types", "test:e2e:gen:proto": "rm -rf __generated__/schema && buf generate --template buf.gen.json", "test:e2e:gen:types": "rm -rf __generated__/typings.ts && tsx schema.ts", - "test:e2e:vitest": "vitest run --passWithNoTests --config ../../vitest.config.ts", - "test:e2e:typecheck": "tsc --build tsconfig.json" + "test:e2e": "vitest run --passWithNoTests --typecheck --config ../../vitest.config.ts" }, "dependencies": { "nexus": "catalog:test", diff --git a/e2e/tests/nexus--wktypes--protobufjs/package.json b/e2e/tests/nexus--wktypes--protobufjs/package.json index a1975c5d..6b18880d 100644 --- a/e2e/tests/nexus--wktypes--protobufjs/package.json +++ b/e2e/tests/nexus--wktypes--protobufjs/package.json @@ -4,12 +4,10 @@ "description": "E2E tests for protoc-gen-nexus", "private": true, "scripts": { - "test:e2e": "pnpm run test:e2e:gen && pnpm run test:e2e:vitest && pnpm run test:e2e:typecheck", - "test:e2e:gen": "pnpm run test:e2e:gen:proto && pnpm run test:e2e:gen:types", + "test:e2e:prepare": "pnpm run test:e2e:gen:proto && pnpm run test:e2e:gen:types", "test:e2e:gen:proto": "rm -rf __generated__/schema && buf generate --template buf.gen.json", "test:e2e:gen:types": "rm -rf __generated__/typings.ts && tsx schema.ts", - "test:e2e:vitest": "vitest run --passWithNoTests --config ../../vitest.config.ts", - "test:e2e:typecheck": "tsc --build tsconfig.json" + "test:e2e": "vitest run --passWithNoTests --typecheck --config ../../vitest.config.ts" }, "dependencies": { "nexus": "catalog:test", diff --git a/e2e/tests/pothos--deprecation--protobuf-es/package.json b/e2e/tests/pothos--deprecation--protobuf-es/package.json index d6426196..75da0082 100644 --- a/e2e/tests/pothos--deprecation--protobuf-es/package.json +++ b/e2e/tests/pothos--deprecation--protobuf-es/package.json @@ -4,10 +4,8 @@ "description": "E2E tests for protoc-gen-pothos", "private": true, "scripts": { - "test:e2e": "pnpm run test:e2e:gen && pnpm run test:e2e:vitest && pnpm run test:e2e:typecheck", - "test:e2e:gen": "rm -rf __generated__/schema && buf generate --template buf.gen.json", - "test:e2e:vitest": "vitest run --passWithNoTests --config ../../vitest.config.ts", - "test:e2e:typecheck": "tsc --build tsconfig.json" + "test:e2e:prepare": "rm -rf __generated__/schema && buf generate --template buf.gen.json", + "test:e2e": "vitest run --passWithNoTests --typecheck --config ../../vitest.config.ts" }, "dependencies": { "@pothos/core": "catalog:test", diff --git a/e2e/tests/pothos--deprecation--ts-proto/package.json b/e2e/tests/pothos--deprecation--ts-proto/package.json index 115a62c5..f0354f16 100644 --- a/e2e/tests/pothos--deprecation--ts-proto/package.json +++ b/e2e/tests/pothos--deprecation--ts-proto/package.json @@ -4,10 +4,8 @@ "description": "E2E tests for protoc-gen-pothos", "private": true, "scripts": { - "test:e2e": "pnpm run test:e2e:gen && pnpm run test:e2e:vitest && pnpm run test:e2e:typecheck", - "test:e2e:gen": "rm -rf __generated__/schema && buf generate --template buf.gen.json", - "test:e2e:vitest": "vitest run --passWithNoTests --config ../../vitest.config.ts", - "test:e2e:typecheck": "tsc --build tsconfig.json" + "test:e2e:prepare": "rm -rf __generated__/schema && buf generate --template buf.gen.json", + "test:e2e": "vitest run --passWithNoTests --typecheck --config ../../vitest.config.ts" }, "dependencies": { "@pothos/core": "catalog:test", diff --git a/e2e/tests/pothos--edgecases-import_from_same_pkg--protobuf-es/package.json b/e2e/tests/pothos--edgecases-import_from_same_pkg--protobuf-es/package.json index 832c693c..d5a9a50b 100644 --- a/e2e/tests/pothos--edgecases-import_from_same_pkg--protobuf-es/package.json +++ b/e2e/tests/pothos--edgecases-import_from_same_pkg--protobuf-es/package.json @@ -4,10 +4,8 @@ "description": "E2E tests for protoc-gen-pothos", "private": true, "scripts": { - "test:e2e": "pnpm run test:e2e:gen && pnpm run test:e2e:vitest && pnpm run test:e2e:typecheck", - "test:e2e:gen": "rm -rf __generated__/schema && buf generate --template buf.gen.json", - "test:e2e:vitest": "vitest run --passWithNoTests --config ../../vitest.config.ts", - "test:e2e:typecheck": "tsc --build tsconfig.json" + "test:e2e:prepare": "rm -rf __generated__/schema && buf generate --template buf.gen.json", + "test:e2e": "vitest run --passWithNoTests --typecheck --config ../../vitest.config.ts" }, "dependencies": { "@pothos/core": "catalog:test", diff --git a/e2e/tests/pothos--edgecases-import_from_same_pkg--ts-proto/package.json b/e2e/tests/pothos--edgecases-import_from_same_pkg--ts-proto/package.json index 29816644..29cfffe0 100644 --- a/e2e/tests/pothos--edgecases-import_from_same_pkg--ts-proto/package.json +++ b/e2e/tests/pothos--edgecases-import_from_same_pkg--ts-proto/package.json @@ -4,10 +4,8 @@ "description": "E2E tests for protoc-gen-pothos", "private": true, "scripts": { - "test:e2e": "pnpm run test:e2e:gen && pnpm run test:e2e:vitest && pnpm run test:e2e:typecheck", - "test:e2e:gen": "rm -rf __generated__/schema && buf generate --template buf.gen.json", - "test:e2e:vitest": "vitest run --passWithNoTests --config ../../vitest.config.ts", - "test:e2e:typecheck": "tsc --build tsconfig.json" + "test:e2e:prepare": "rm -rf __generated__/schema && buf generate --template buf.gen.json", + "test:e2e": "vitest run --passWithNoTests --typecheck --config ../../vitest.config.ts" }, "dependencies": { "@pothos/core": "catalog:test", diff --git a/e2e/tests/pothos--edgecases-import_oneof_member_from_other_file--protobuf-es/package.json b/e2e/tests/pothos--edgecases-import_oneof_member_from_other_file--protobuf-es/package.json index b0adb568..7630f9a1 100644 --- a/e2e/tests/pothos--edgecases-import_oneof_member_from_other_file--protobuf-es/package.json +++ b/e2e/tests/pothos--edgecases-import_oneof_member_from_other_file--protobuf-es/package.json @@ -4,10 +4,8 @@ "description": "E2E tests for protoc-gen-pothos", "private": true, "scripts": { - "test:e2e": "pnpm run test:e2e:gen && pnpm run test:e2e:vitest && pnpm run test:e2e:typecheck", - "test:e2e:gen": "rm -rf __generated__/schema && buf generate --template buf.gen.json", - "test:e2e:vitest": "vitest run --passWithNoTests --config ../../vitest.config.ts", - "test:e2e:typecheck": "tsc --build tsconfig.json" + "test:e2e:prepare": "rm -rf __generated__/schema && buf generate --template buf.gen.json", + "test:e2e": "vitest run --passWithNoTests --typecheck --config ../../vitest.config.ts" }, "dependencies": { "@pothos/core": "catalog:test", diff --git a/e2e/tests/pothos--edgecases-import_squashed_union--protobuf-es/package.json b/e2e/tests/pothos--edgecases-import_squashed_union--protobuf-es/package.json index dd2e89d7..c7471bc1 100644 --- a/e2e/tests/pothos--edgecases-import_squashed_union--protobuf-es/package.json +++ b/e2e/tests/pothos--edgecases-import_squashed_union--protobuf-es/package.json @@ -4,10 +4,8 @@ "description": "E2E tests for protoc-gen-pothos", "private": true, "scripts": { - "test:e2e": "pnpm run test:e2e:gen && pnpm run test:e2e:vitest && pnpm run test:e2e:typecheck", - "test:e2e:gen": "rm -rf __generated__/schema && buf generate --template buf.gen.json", - "test:e2e:vitest": "vitest run --passWithNoTests --config ../../vitest.config.ts", - "test:e2e:typecheck": "tsc --build tsconfig.json" + "test:e2e:prepare": "rm -rf __generated__/schema && buf generate --template buf.gen.json", + "test:e2e": "vitest run --passWithNoTests --typecheck --config ../../vitest.config.ts" }, "dependencies": { "@pothos/core": "catalog:test", diff --git a/e2e/tests/pothos--edgecases-import_squashed_union--ts-proto/package.json b/e2e/tests/pothos--edgecases-import_squashed_union--ts-proto/package.json index dc91257d..1c1d2265 100644 --- a/e2e/tests/pothos--edgecases-import_squashed_union--ts-proto/package.json +++ b/e2e/tests/pothos--edgecases-import_squashed_union--ts-proto/package.json @@ -4,10 +4,8 @@ "description": "E2E tests for protoc-gen-pothos", "private": true, "scripts": { - "test:e2e": "pnpm run test:e2e:gen && pnpm run test:e2e:vitest && pnpm run test:e2e:typecheck", - "test:e2e:gen": "rm -rf __generated__/schema && buf generate --template buf.gen.json", - "test:e2e:vitest": "vitest run --passWithNoTests --config ../../vitest.config.ts", - "test:e2e:typecheck": "tsc --build tsconfig.json" + "test:e2e:prepare": "rm -rf __generated__/schema && buf generate --template buf.gen.json", + "test:e2e": "vitest run --passWithNoTests --typecheck --config ../../vitest.config.ts" }, "dependencies": { "@pothos/core": "catalog:test", diff --git a/e2e/tests/pothos--empty_types--protobuf-es/package.json b/e2e/tests/pothos--empty_types--protobuf-es/package.json index 8ebd92b2..a26447c5 100644 --- a/e2e/tests/pothos--empty_types--protobuf-es/package.json +++ b/e2e/tests/pothos--empty_types--protobuf-es/package.json @@ -4,10 +4,8 @@ "description": "E2E tests for protoc-gen-pothos", "private": true, "scripts": { - "test:e2e": "pnpm run test:e2e:gen && pnpm run test:e2e:vitest && pnpm run test:e2e:typecheck", - "test:e2e:gen": "rm -rf __generated__/schema && buf generate --template buf.gen.json", - "test:e2e:vitest": "vitest run --passWithNoTests --config ../../vitest.config.ts", - "test:e2e:typecheck": "tsc --build tsconfig.json" + "test:e2e:prepare": "rm -rf __generated__/schema && buf generate --template buf.gen.json", + "test:e2e": "vitest run --passWithNoTests --typecheck --config ../../vitest.config.ts" }, "dependencies": { "@pothos/core": "catalog:test", diff --git a/e2e/tests/pothos--empty_types--ts-proto/package.json b/e2e/tests/pothos--empty_types--ts-proto/package.json index 209de9be..cb12e7d2 100644 --- a/e2e/tests/pothos--empty_types--ts-proto/package.json +++ b/e2e/tests/pothos--empty_types--ts-proto/package.json @@ -4,10 +4,8 @@ "description": "E2E tests for protoc-gen-pothos", "private": true, "scripts": { - "test:e2e": "pnpm run test:e2e:gen && pnpm run test:e2e:vitest && pnpm run test:e2e:typecheck", - "test:e2e:gen": "rm -rf __generated__/schema && buf generate --template buf.gen.json", - "test:e2e:vitest": "vitest run --passWithNoTests --config ../../vitest.config.ts", - "test:e2e:typecheck": "tsc --build tsconfig.json" + "test:e2e:prepare": "rm -rf __generated__/schema && buf generate --template buf.gen.json", + "test:e2e": "vitest run --passWithNoTests --typecheck --config ../../vitest.config.ts" }, "dependencies": { "@pothos/core": "catalog:test", diff --git a/e2e/tests/pothos--enums--protobuf-es/package.json b/e2e/tests/pothos--enums--protobuf-es/package.json index 68e44c49..bcd7fc1e 100644 --- a/e2e/tests/pothos--enums--protobuf-es/package.json +++ b/e2e/tests/pothos--enums--protobuf-es/package.json @@ -4,10 +4,8 @@ "description": "E2E tests for protoc-gen-pothos", "private": true, "scripts": { - "test:e2e": "pnpm run test:e2e:gen && pnpm run test:e2e:vitest && pnpm run test:e2e:typecheck", - "test:e2e:gen": "rm -rf __generated__/schema && buf generate --template buf.gen.json", - "test:e2e:vitest": "vitest run --passWithNoTests --config ../../vitest.config.ts", - "test:e2e:typecheck": "tsc --build tsconfig.json" + "test:e2e:prepare": "rm -rf __generated__/schema && buf generate --template buf.gen.json", + "test:e2e": "vitest run --passWithNoTests --typecheck --config ../../vitest.config.ts" }, "dependencies": { "@pothos/core": "catalog:test", diff --git a/e2e/tests/pothos--enums--ts-proto/package.json b/e2e/tests/pothos--enums--ts-proto/package.json index 2c7b858a..3761a1f2 100644 --- a/e2e/tests/pothos--enums--ts-proto/package.json +++ b/e2e/tests/pothos--enums--ts-proto/package.json @@ -4,10 +4,8 @@ "description": "E2E tests for protoc-gen-pothos", "private": true, "scripts": { - "test:e2e": "pnpm run test:e2e:gen && pnpm run test:e2e:vitest && pnpm run test:e2e:typecheck", - "test:e2e:gen": "rm -rf __generated__/schema && buf generate --template buf.gen.json", - "test:e2e:vitest": "vitest run --passWithNoTests --config ../../vitest.config.ts", - "test:e2e:typecheck": "tsc --build tsconfig.json" + "test:e2e:prepare": "rm -rf __generated__/schema && buf generate --template buf.gen.json", + "test:e2e": "vitest run --passWithNoTests --typecheck --config ../../vitest.config.ts" }, "dependencies": { "@pothos/core": "catalog:test", diff --git a/e2e/tests/pothos--extensions--protobuf-es/package.json b/e2e/tests/pothos--extensions--protobuf-es/package.json index b89cf65a..be9a5735 100644 --- a/e2e/tests/pothos--extensions--protobuf-es/package.json +++ b/e2e/tests/pothos--extensions--protobuf-es/package.json @@ -4,10 +4,8 @@ "description": "E2E tests for protoc-gen-pothos", "private": true, "scripts": { - "test:e2e": "pnpm run test:e2e:gen && pnpm run test:e2e:vitest && pnpm run test:e2e:typecheck", - "test:e2e:gen": "rm -rf __generated__/schema && buf generate --template buf.gen.json", - "test:e2e:vitest": "vitest run --passWithNoTests --config ../../vitest.config.ts", - "test:e2e:typecheck": "tsc --build tsconfig.json" + "test:e2e:prepare": "rm -rf __generated__/schema && buf generate --template buf.gen.json", + "test:e2e": "vitest run --passWithNoTests --typecheck --config ../../vitest.config.ts" }, "dependencies": { "@pothos/core": "catalog:test", diff --git a/e2e/tests/pothos--extensions--ts-proto/package.json b/e2e/tests/pothos--extensions--ts-proto/package.json index b7e1e64e..214535a8 100644 --- a/e2e/tests/pothos--extensions--ts-proto/package.json +++ b/e2e/tests/pothos--extensions--ts-proto/package.json @@ -4,10 +4,8 @@ "description": "E2E tests for protoc-gen-pothos", "private": true, "scripts": { - "test:e2e": "pnpm run test:e2e:gen && pnpm run test:e2e:vitest && pnpm run test:e2e:typecheck", - "test:e2e:gen": "rm -rf __generated__/schema && buf generate --template buf.gen.json", - "test:e2e:vitest": "vitest run --passWithNoTests --config ../../vitest.config.ts", - "test:e2e:typecheck": "tsc --build tsconfig.json" + "test:e2e:prepare": "rm -rf __generated__/schema && buf generate --template buf.gen.json", + "test:e2e": "vitest run --passWithNoTests --typecheck --config ../../vitest.config.ts" }, "dependencies": { "@pothos/core": "catalog:test", diff --git a/e2e/tests/pothos--field_behavior--protobuf-es/package.json b/e2e/tests/pothos--field_behavior--protobuf-es/package.json index eb4405ce..cf2d6ee9 100644 --- a/e2e/tests/pothos--field_behavior--protobuf-es/package.json +++ b/e2e/tests/pothos--field_behavior--protobuf-es/package.json @@ -4,10 +4,8 @@ "description": "E2E tests for protoc-gen-pothos", "private": true, "scripts": { - "test:e2e": "pnpm run test:e2e:gen && pnpm run test:e2e:vitest && pnpm run test:e2e:typecheck", - "test:e2e:gen": "rm -rf __generated__/schema && buf generate --template buf.gen.json", - "test:e2e:vitest": "vitest run --passWithNoTests --config ../../vitest.config.ts", - "test:e2e:typecheck": "tsc --build tsconfig.json" + "test:e2e:prepare": "rm -rf __generated__/schema && buf generate --template buf.gen.json", + "test:e2e": "vitest run --passWithNoTests --typecheck --config ../../vitest.config.ts" }, "dependencies": { "@pothos/core": "catalog:test", diff --git a/e2e/tests/pothos--field_behavior--ts-proto/package.json b/e2e/tests/pothos--field_behavior--ts-proto/package.json index e230fa60..861218ab 100644 --- a/e2e/tests/pothos--field_behavior--ts-proto/package.json +++ b/e2e/tests/pothos--field_behavior--ts-proto/package.json @@ -4,10 +4,8 @@ "description": "E2E tests for protoc-gen-pothos", "private": true, "scripts": { - "test:e2e": "pnpm run test:e2e:gen && pnpm run test:e2e:vitest && pnpm run test:e2e:typecheck", - "test:e2e:gen": "rm -rf __generated__/schema && buf generate --template buf.gen.json", - "test:e2e:vitest": "vitest run --passWithNoTests --config ../../vitest.config.ts", - "test:e2e:typecheck": "tsc --build tsconfig.json" + "test:e2e:prepare": "rm -rf __generated__/schema && buf generate --template buf.gen.json", + "test:e2e": "vitest run --passWithNoTests --typecheck --config ../../vitest.config.ts" }, "dependencies": { "@pothos/core": "catalog:test", diff --git a/e2e/tests/pothos--multipkgs--protobuf-es/package.json b/e2e/tests/pothos--multipkgs--protobuf-es/package.json index 4606f7fb..4899d2a2 100644 --- a/e2e/tests/pothos--multipkgs--protobuf-es/package.json +++ b/e2e/tests/pothos--multipkgs--protobuf-es/package.json @@ -4,10 +4,8 @@ "description": "E2E tests for protoc-gen-pothos", "private": true, "scripts": { - "test:e2e": "pnpm run test:e2e:gen && pnpm run test:e2e:vitest && pnpm run test:e2e:typecheck", - "test:e2e:gen": "rm -rf __generated__/schema && buf generate --template buf.gen.json", - "test:e2e:vitest": "vitest run --passWithNoTests --config ../../vitest.config.ts", - "test:e2e:typecheck": "tsc --build tsconfig.json" + "test:e2e:prepare": "rm -rf __generated__/schema && buf generate --template buf.gen.json", + "test:e2e": "vitest run --passWithNoTests --typecheck --config ../../vitest.config.ts" }, "dependencies": { "@pothos/core": "catalog:test", diff --git a/e2e/tests/pothos--multipkgs--ts-proto/package.json b/e2e/tests/pothos--multipkgs--ts-proto/package.json index 05e085f2..0e72eef7 100644 --- a/e2e/tests/pothos--multipkgs--ts-proto/package.json +++ b/e2e/tests/pothos--multipkgs--ts-proto/package.json @@ -4,10 +4,8 @@ "description": "E2E tests for protoc-gen-pothos", "private": true, "scripts": { - "test:e2e": "pnpm run test:e2e:gen && pnpm run test:e2e:vitest && pnpm run test:e2e:typecheck", - "test:e2e:gen": "rm -rf __generated__/schema && buf generate --template buf.gen.json", - "test:e2e:vitest": "vitest run --passWithNoTests --config ../../vitest.config.ts", - "test:e2e:typecheck": "tsc --build tsconfig.json" + "test:e2e:prepare": "rm -rf __generated__/schema && buf generate --template buf.gen.json", + "test:e2e": "vitest run --passWithNoTests --typecheck --config ../../vitest.config.ts" }, "dependencies": { "@pothos/core": "catalog:test", diff --git a/e2e/tests/pothos--nested--protobuf-es/package.json b/e2e/tests/pothos--nested--protobuf-es/package.json index 90e44dc2..abe0ba4e 100644 --- a/e2e/tests/pothos--nested--protobuf-es/package.json +++ b/e2e/tests/pothos--nested--protobuf-es/package.json @@ -4,10 +4,8 @@ "description": "E2E tests for protoc-gen-pothos", "private": true, "scripts": { - "test:e2e": "pnpm run test:e2e:gen && pnpm run test:e2e:vitest && pnpm run test:e2e:typecheck", - "test:e2e:gen": "rm -rf __generated__/schema && buf generate --template buf.gen.json", - "test:e2e:vitest": "vitest run --passWithNoTests --config ../../vitest.config.ts", - "test:e2e:typecheck": "tsc --build tsconfig.json" + "test:e2e:prepare": "rm -rf __generated__/schema && buf generate --template buf.gen.json", + "test:e2e": "vitest run --passWithNoTests --typecheck --config ../../vitest.config.ts" }, "dependencies": { "@pothos/core": "catalog:test", diff --git a/e2e/tests/pothos--nested--ts-proto/package.json b/e2e/tests/pothos--nested--ts-proto/package.json index c47dd1dd..b2806c16 100644 --- a/e2e/tests/pothos--nested--ts-proto/package.json +++ b/e2e/tests/pothos--nested--ts-proto/package.json @@ -4,10 +4,8 @@ "description": "E2E tests for protoc-gen-pothos", "private": true, "scripts": { - "test:e2e": "pnpm run test:e2e:gen && pnpm run test:e2e:vitest && pnpm run test:e2e:typecheck", - "test:e2e:gen": "rm -rf __generated__/schema && buf generate --template buf.gen.json", - "test:e2e:vitest": "vitest run --passWithNoTests --config ../../vitest.config.ts", - "test:e2e:typecheck": "tsc --build tsconfig.json" + "test:e2e:prepare": "rm -rf __generated__/schema && buf generate --template buf.gen.json", + "test:e2e": "vitest run --passWithNoTests --typecheck --config ../../vitest.config.ts" }, "dependencies": { "@pothos/core": "catalog:test", diff --git a/e2e/tests/pothos--oneof--protobuf-es/package.json b/e2e/tests/pothos--oneof--protobuf-es/package.json index dd2d046d..d5a673cf 100644 --- a/e2e/tests/pothos--oneof--protobuf-es/package.json +++ b/e2e/tests/pothos--oneof--protobuf-es/package.json @@ -4,10 +4,8 @@ "description": "E2E tests for protoc-gen-pothos", "private": true, "scripts": { - "test:e2e": "pnpm run test:e2e:gen && pnpm run test:e2e:vitest && pnpm run test:e2e:typecheck", - "test:e2e:gen": "rm -rf __generated__/schema && buf generate --template buf.gen.json", - "test:e2e:vitest": "vitest run --passWithNoTests --config ../../vitest.config.ts", - "test:e2e:typecheck": "tsc --build tsconfig.json" + "test:e2e:prepare": "rm -rf __generated__/schema && buf generate --template buf.gen.json", + "test:e2e": "vitest run --passWithNoTests --typecheck --config ../../vitest.config.ts" }, "dependencies": { "@pothos/core": "catalog:test", diff --git a/e2e/tests/pothos--oneof--ts-proto/package.json b/e2e/tests/pothos--oneof--ts-proto/package.json index 05345e32..c329c1e1 100644 --- a/e2e/tests/pothos--oneof--ts-proto/package.json +++ b/e2e/tests/pothos--oneof--ts-proto/package.json @@ -4,10 +4,8 @@ "description": "E2E tests for protoc-gen-pothos", "private": true, "scripts": { - "test:e2e": "pnpm run test:e2e:gen && pnpm run test:e2e:vitest && pnpm run test:e2e:typecheck", - "test:e2e:gen": "rm -rf __generated__/schema && buf generate --template buf.gen.json", - "test:e2e:vitest": "vitest run --passWithNoTests --config ../../vitest.config.ts", - "test:e2e:typecheck": "tsc --build tsconfig.json" + "test:e2e:prepare": "rm -rf __generated__/schema && buf generate --template buf.gen.json", + "test:e2e": "vitest run --passWithNoTests --typecheck --config ../../vitest.config.ts" }, "dependencies": { "@pothos/core": "catalog:test", diff --git a/e2e/tests/pothos--primitives--protobuf-es/package.json b/e2e/tests/pothos--primitives--protobuf-es/package.json index ab6a5c5c..0df69480 100644 --- a/e2e/tests/pothos--primitives--protobuf-es/package.json +++ b/e2e/tests/pothos--primitives--protobuf-es/package.json @@ -4,10 +4,8 @@ "description": "E2E tests for protoc-gen-pothos", "private": true, "scripts": { - "test:e2e": "pnpm run test:e2e:gen && pnpm run test:e2e:vitest && pnpm run test:e2e:typecheck", - "test:e2e:gen": "rm -rf __generated__/schema && buf generate --template buf.gen.json", - "test:e2e:vitest": "vitest run --passWithNoTests --config ../../vitest.config.ts", - "test:e2e:typecheck": "tsc --build tsconfig.json" + "test:e2e:prepare": "rm -rf __generated__/schema && buf generate --template buf.gen.json", + "test:e2e": "vitest run --passWithNoTests --typecheck --config ../../vitest.config.ts" }, "dependencies": { "@pothos/core": "catalog:test", diff --git a/e2e/tests/pothos--primitives--ts-proto-with-forcelong-number/package.json b/e2e/tests/pothos--primitives--ts-proto-with-forcelong-number/package.json index 88075e7f..3f0e12ea 100644 --- a/e2e/tests/pothos--primitives--ts-proto-with-forcelong-number/package.json +++ b/e2e/tests/pothos--primitives--ts-proto-with-forcelong-number/package.json @@ -4,10 +4,8 @@ "description": "E2E tests for protoc-gen-pothos", "private": true, "scripts": { - "test:e2e": "pnpm run test:e2e:gen && pnpm run test:e2e:vitest && pnpm run test:e2e:typecheck", - "test:e2e:gen": "rm -rf __generated__/schema && buf generate --template buf.gen.json", - "test:e2e:vitest": "vitest run --passWithNoTests --config ../../vitest.config.ts", - "test:e2e:typecheck": "tsc --build tsconfig.json" + "test:e2e:prepare": "rm -rf __generated__/schema && buf generate --template buf.gen.json", + "test:e2e": "vitest run --passWithNoTests --typecheck --config ../../vitest.config.ts" }, "dependencies": { "@pothos/core": "catalog:test", diff --git a/e2e/tests/pothos--primitives--ts-proto/package.json b/e2e/tests/pothos--primitives--ts-proto/package.json index 2363fd8d..8017c86f 100644 --- a/e2e/tests/pothos--primitives--ts-proto/package.json +++ b/e2e/tests/pothos--primitives--ts-proto/package.json @@ -4,10 +4,8 @@ "description": "E2E tests for protoc-gen-pothos", "private": true, "scripts": { - "test:e2e": "pnpm run test:e2e:gen && pnpm run test:e2e:vitest && pnpm run test:e2e:typecheck", - "test:e2e:gen": "rm -rf __generated__/schema && buf generate --template buf.gen.json", - "test:e2e:vitest": "vitest run --passWithNoTests --config ../../vitest.config.ts", - "test:e2e:typecheck": "tsc --build tsconfig.json" + "test:e2e:prepare": "rm -rf __generated__/schema && buf generate --template buf.gen.json", + "test:e2e": "vitest run --passWithNoTests --typecheck --config ../../vitest.config.ts" }, "dependencies": { "@pothos/core": "catalog:test", diff --git a/e2e/tests/pothos--proto3_optional--protobuf-es/package.json b/e2e/tests/pothos--proto3_optional--protobuf-es/package.json index ec08157f..eb6bba60 100644 --- a/e2e/tests/pothos--proto3_optional--protobuf-es/package.json +++ b/e2e/tests/pothos--proto3_optional--protobuf-es/package.json @@ -4,10 +4,8 @@ "description": "E2E tests for protoc-gen-pothos", "private": true, "scripts": { - "test:e2e": "pnpm run test:e2e:gen && pnpm run test:e2e:vitest && pnpm run test:e2e:typecheck", - "test:e2e:gen": "rm -rf __generated__/schema && buf generate --template buf.gen.json", - "test:e2e:vitest": "vitest run --passWithNoTests --config ../../vitest.config.ts", - "test:e2e:typecheck": "tsc --build tsconfig.json" + "test:e2e:prepare": "rm -rf __generated__/schema && buf generate --template buf.gen.json", + "test:e2e": "vitest run --passWithNoTests --typecheck --config ../../vitest.config.ts" }, "dependencies": { "@pothos/core": "catalog:test", diff --git a/e2e/tests/pothos--proto3_optional--ts-proto/package.json b/e2e/tests/pothos--proto3_optional--ts-proto/package.json index b73438e1..448f309d 100644 --- a/e2e/tests/pothos--proto3_optional--ts-proto/package.json +++ b/e2e/tests/pothos--proto3_optional--ts-proto/package.json @@ -4,10 +4,8 @@ "description": "E2E tests for protoc-gen-pothos", "private": true, "scripts": { - "test:e2e": "pnpm run test:e2e:gen && pnpm run test:e2e:vitest && pnpm run test:e2e:typecheck", - "test:e2e:gen": "rm -rf __generated__/schema && buf generate --template buf.gen.json", - "test:e2e:vitest": "vitest run --passWithNoTests --config ../../vitest.config.ts", - "test:e2e:typecheck": "tsc --build tsconfig.json" + "test:e2e:prepare": "rm -rf __generated__/schema && buf generate --template buf.gen.json", + "test:e2e": "vitest run --passWithNoTests --typecheck --config ../../vitest.config.ts" }, "dependencies": { "@pothos/core": "catalog:test", diff --git a/e2e/tests/pothos--wktypes--protobuf-es/package.json b/e2e/tests/pothos--wktypes--protobuf-es/package.json index 32f7c73e..f5800f5a 100644 --- a/e2e/tests/pothos--wktypes--protobuf-es/package.json +++ b/e2e/tests/pothos--wktypes--protobuf-es/package.json @@ -4,10 +4,8 @@ "description": "E2E tests for protoc-gen-pothos", "private": true, "scripts": { - "test:e2e": "pnpm run test:e2e:gen && pnpm run test:e2e:vitest && pnpm run test:e2e:typecheck", - "test:e2e:gen": "rm -rf __generated__/schema && buf generate --template buf.gen.json", - "test:e2e:vitest": "vitest run --passWithNoTests --config ../../vitest.config.ts", - "test:e2e:typecheck": "tsc --build tsconfig.json" + "test:e2e:prepare": "rm -rf __generated__/schema && buf generate --template buf.gen.json", + "test:e2e": "vitest run --passWithNoTests --typecheck --config ../../vitest.config.ts" }, "dependencies": { "@pothos/core": "catalog:test", diff --git a/e2e/tests/pothos--wktypes--ts-proto-with-forcelong-number/package.json b/e2e/tests/pothos--wktypes--ts-proto-with-forcelong-number/package.json index da63ff17..d216ee6b 100644 --- a/e2e/tests/pothos--wktypes--ts-proto-with-forcelong-number/package.json +++ b/e2e/tests/pothos--wktypes--ts-proto-with-forcelong-number/package.json @@ -4,10 +4,8 @@ "description": "E2E tests for protoc-gen-pothos", "private": true, "scripts": { - "test:e2e": "pnpm run test:e2e:gen && pnpm run test:e2e:vitest && pnpm run test:e2e:typecheck", - "test:e2e:gen": "rm -rf __generated__/schema && buf generate --template buf.gen.json", - "test:e2e:vitest": "vitest run --passWithNoTests --config ../../vitest.config.ts", - "test:e2e:typecheck": "tsc --build tsconfig.json" + "test:e2e:prepare": "rm -rf __generated__/schema && buf generate --template buf.gen.json", + "test:e2e": "vitest run --passWithNoTests --typecheck --config ../../vitest.config.ts" }, "dependencies": { "@pothos/core": "catalog:test", diff --git a/e2e/tests/pothos--wktypes--ts-proto/package.json b/e2e/tests/pothos--wktypes--ts-proto/package.json index 19a89e3c..b5645b5b 100644 --- a/e2e/tests/pothos--wktypes--ts-proto/package.json +++ b/e2e/tests/pothos--wktypes--ts-proto/package.json @@ -4,10 +4,8 @@ "description": "E2E tests for protoc-gen-pothos", "private": true, "scripts": { - "test:e2e": "pnpm run test:e2e:gen && pnpm run test:e2e:vitest && pnpm run test:e2e:typecheck", - "test:e2e:gen": "rm -rf __generated__/schema && buf generate --template buf.gen.json", - "test:e2e:vitest": "vitest run --passWithNoTests --config ../../vitest.config.ts", - "test:e2e:typecheck": "tsc --build tsconfig.json" + "test:e2e:prepare": "rm -rf __generated__/schema && buf generate --template buf.gen.json", + "test:e2e": "vitest run --passWithNoTests --typecheck --config ../../vitest.config.ts" }, "dependencies": { "@pothos/core": "catalog:test", diff --git a/scripts/setupE2ETests.ts b/scripts/setupE2ETests.ts index 6f6f90c4..05dcd888 100755 --- a/scripts/setupE2ETests.ts +++ b/scripts/setupE2ETests.ts @@ -95,12 +95,9 @@ async function genPackageJson(test: TestCase): Promise { description: `E2E tests for protoc-gen-${test.target}`, private: true, scripts: { - "test:e2e": ["gen", "vitest", "typecheck"] - .map((t) => `pnpm run test:e2e:${t}`) - .join(" && "), ...(test.target === "nexus" ? { - "test:e2e:gen": + "test:e2e:prepare": "pnpm run test:e2e:gen:proto && pnpm run test:e2e:gen:types", "test:e2e:gen:proto": "rm -rf __generated__/schema && buf generate --template buf.gen.json", @@ -108,12 +105,11 @@ async function genPackageJson(test: TestCase): Promise { "rm -rf __generated__/typings.ts && tsx schema.ts", } : { - "test:e2e:gen": + "test:e2e:prepare": "rm -rf __generated__/schema && buf generate --template buf.gen.json", }), - "test:e2e:vitest": - "vitest run --passWithNoTests --config ../../vitest.config.ts", - "test:e2e:typecheck": "tsc --build tsconfig.json", + "test:e2e": + "vitest run --passWithNoTests --typecheck --config ../../vitest.config.ts", }, dependencies: deps, devDependencies: Object.fromEntries( diff --git a/turbo.json b/turbo.json index 87d7bb70..982d2241 100644 --- a/turbo.json +++ b/turbo.json @@ -13,8 +13,11 @@ }, "build:test": {}, "build:e2e": {}, - "test:e2e": { + "test:e2e:prepare": { "dependsOn": ["^build", "^build:e2e"] + }, + "test:e2e": { + "dependsOn": ["^build:e2e", "test:e2e:prepare"] } } }