Fixes https://github.com/payloadcms/payload/issues/13833 When generating graphql schemas, named tabs were not properly being accounted for. This PR fixes that and ensure that the correct schema types are generated for named tabs.
298 lines
9.1 KiB
JSON
298 lines
9.1 KiB
JSON
{
|
|
// Use IntelliSense to learn about possible attributes.
|
|
// Hover to view descriptions of existing attributes.
|
|
"configurations": [
|
|
{
|
|
"command": "pnpm generate:types",
|
|
"name": "Generate Types CLI",
|
|
"request": "launch",
|
|
"type": "node-terminal",
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
{
|
|
"command": "pnpm tsx --no-deprecation test/dev.ts _community",
|
|
"cwd": "${workspaceFolder}",
|
|
"name": "Run Dev Community",
|
|
"request": "launch",
|
|
"type": "node-terminal"
|
|
},
|
|
{
|
|
"command": "pnpm tsx --no-deprecation test/dev.ts storage-uploadthing",
|
|
"cwd": "${workspaceFolder}",
|
|
"name": "Uploadthing",
|
|
"request": "launch",
|
|
"type": "node-terminal",
|
|
"envFile": "${workspaceFolder}/test/storage-uploadthing/.env"
|
|
},
|
|
{
|
|
"command": "pnpm tsx --no-deprecation test/dev.ts live-preview",
|
|
"cwd": "${workspaceFolder}",
|
|
"name": "Run Dev Live Preview",
|
|
"request": "launch",
|
|
"type": "node-terminal"
|
|
},
|
|
{
|
|
"command": "node --no-deprecation test/loader/init.js",
|
|
"cwd": "${workspaceFolder}",
|
|
"name": "Run Loader",
|
|
"request": "launch",
|
|
"type": "node-terminal",
|
|
"env": {
|
|
"LOADER_TEST_FILE_PATH": "./dependency-test.js"
|
|
// "LOADER_TEST_FILE_PATH": "../fields/config.ts"
|
|
}
|
|
},
|
|
{
|
|
"command": "pnpm tsx --no-deprecation test/dev.ts admin",
|
|
"cwd": "${workspaceFolder}",
|
|
"name": "Run Dev Admin",
|
|
"request": "launch",
|
|
"type": "node-terminal"
|
|
},
|
|
{
|
|
"command": "pnpm tsx --no-deprecation test/dev.ts auth",
|
|
"cwd": "${workspaceFolder}",
|
|
"name": "Run Dev Auth",
|
|
"request": "launch",
|
|
"type": "node-terminal"
|
|
},
|
|
{
|
|
"command": "pnpm tsx --no-deprecation test/dev.ts fields-relationship",
|
|
"cwd": "${workspaceFolder}",
|
|
"name": "Run Dev Fields-Relationship",
|
|
"request": "launch",
|
|
"type": "node-terminal"
|
|
},
|
|
{
|
|
"command": "pnpm tsx --no-deprecation test/dev.ts query-presets",
|
|
"cwd": "${workspaceFolder}",
|
|
"name": "Run Dev Query Presets",
|
|
"request": "launch",
|
|
"type": "node-terminal"
|
|
},
|
|
{
|
|
"command": "pnpm tsx --no-deprecation test/dev.ts login-with-username",
|
|
"cwd": "${workspaceFolder}",
|
|
"name": "Run Dev Login-With-Username",
|
|
"request": "launch",
|
|
"type": "node-terminal"
|
|
},
|
|
{
|
|
"command": "pnpm run dev plugin-cloud-storage",
|
|
"cwd": "${workspaceFolder}",
|
|
"name": "Run Dev - plugin-cloud-storage",
|
|
"request": "launch",
|
|
"type": "node-terminal",
|
|
"env": {
|
|
"PAYLOAD_PUBLIC_CLOUD_STORAGE_ADAPTER": "s3"
|
|
}
|
|
},
|
|
{
|
|
"command": "pnpm tsx --no-deprecation test/dev.ts collections-graphql",
|
|
"cwd": "${workspaceFolder}",
|
|
"name": "Run Dev GraphQL",
|
|
"request": "launch",
|
|
"type": "node-terminal"
|
|
},
|
|
{
|
|
"command": "pnpm tsx --no-deprecation test/dev.ts fields",
|
|
"cwd": "${workspaceFolder}",
|
|
"name": "Run Dev Fields",
|
|
"request": "launch",
|
|
"type": "node-terminal"
|
|
},
|
|
{
|
|
"command": "pnpm tsx --no-deprecation test/dev.ts versions",
|
|
"cwd": "${workspaceFolder}",
|
|
"name": "Run Dev Postgres",
|
|
"request": "launch",
|
|
"type": "node-terminal",
|
|
"env": {
|
|
"PAYLOAD_DATABASE": "postgres"
|
|
}
|
|
},
|
|
{
|
|
"command": "pnpm tsx --no-deprecation test/dev.ts versions",
|
|
"cwd": "${workspaceFolder}",
|
|
"name": "Run Dev Versions",
|
|
"request": "launch",
|
|
"type": "node-terminal"
|
|
},
|
|
{
|
|
"command": "pnpm tsx --no-deprecation test/dev.ts folder-view",
|
|
"cwd": "${workspaceFolder}",
|
|
"name": "Run Dev Folder View",
|
|
"request": "launch",
|
|
"type": "node-terminal"
|
|
},
|
|
{
|
|
"command": "pnpm tsx --no-deprecation test/dev.ts localization",
|
|
"cwd": "${workspaceFolder}",
|
|
"name": "Run Dev Localization",
|
|
"request": "launch",
|
|
"type": "node-terminal"
|
|
},
|
|
{
|
|
"command": "pnpm tsx --no-deprecation test/dev.ts locked-documents",
|
|
"cwd": "${workspaceFolder}",
|
|
"name": "Run Dev Locked Documents",
|
|
"request": "launch",
|
|
"type": "node-terminal"
|
|
},
|
|
{
|
|
"command": "pnpm tsx --no-deprecation test/dev.ts trash",
|
|
"cwd": "${workspaceFolder}",
|
|
"name": "Run Dev Trash",
|
|
"request": "launch",
|
|
"type": "node-terminal"
|
|
},
|
|
{
|
|
"command": "pnpm tsx --no-deprecation test/dev.ts uploads",
|
|
"cwd": "${workspaceFolder}",
|
|
"name": "Run Dev Uploads",
|
|
"request": "launch",
|
|
"type": "node-terminal"
|
|
},
|
|
{
|
|
"command": "pnpm tsx --no-deprecation test/dev.ts field-error-states",
|
|
"cwd": "${workspaceFolder}",
|
|
"name": "Run Dev Field Error States",
|
|
"request": "launch",
|
|
"type": "node-terminal"
|
|
},
|
|
{
|
|
"command": "pnpm tsx --no-deprecation test/dev.ts plugin-search",
|
|
"cwd": "${workspaceFolder}",
|
|
"name": "Run Dev plugin-search",
|
|
"request": "launch",
|
|
"type": "node-terminal"
|
|
},
|
|
{
|
|
"command": "pnpm run test:int live-preview",
|
|
"cwd": "${workspaceFolder}",
|
|
"name": "Live Preview Int Tests",
|
|
"request": "launch",
|
|
"type": "node-terminal"
|
|
},
|
|
{
|
|
"command": "pnpm run test:int plugin-search",
|
|
"cwd": "${workspaceFolder}",
|
|
"name": "Search Plugin Int Tests",
|
|
"request": "launch",
|
|
"type": "node-terminal"
|
|
},
|
|
{
|
|
"command": "ts-node ./packages/payload/src/bin/index.ts build",
|
|
"env": {
|
|
"PAYLOAD_CONFIG_PATH": "test/fields/config.ts",
|
|
"PAYLOAD_BUNDLER": "vite",
|
|
"DISABLE_SWC": "true" // SWC messes up debugging the bin scripts
|
|
},
|
|
"name": "Build CLI - Vite",
|
|
"outputCapture": "std",
|
|
"request": "launch",
|
|
"type": "node-terminal"
|
|
},
|
|
{
|
|
"command": "ts-node ./packages/payload/src/bin/index.ts build",
|
|
"env": {
|
|
"PAYLOAD_CONFIG_PATH": "test/fields/config.ts",
|
|
"PAYLOAD_ANALYZE_BUNDLE": "true",
|
|
"DISABLE_SWC": "true" // SWC messes up debugging the bin scripts
|
|
},
|
|
"name": "Build CLI - Webpack",
|
|
"outputCapture": "std",
|
|
"request": "launch",
|
|
"type": "node-terminal"
|
|
},
|
|
{
|
|
"command": "ts-node ./packages/payload/src/bin/index.ts migrate:status",
|
|
"env": {
|
|
"PAYLOAD_CONFIG_PATH": "test/migrations-cli/config.ts",
|
|
"PAYLOAD_DATABASE": "postgres",
|
|
"DISABLE_SWC": "true" // SWC messes up debugging the bin scripts
|
|
// "PAYLOAD_DROP_DATABASE": "true",
|
|
},
|
|
"name": "Migrate CLI - status",
|
|
"outputCapture": "std",
|
|
"request": "launch",
|
|
"type": "node-terminal"
|
|
},
|
|
{
|
|
"command": "ts-node ./packages/payload/src/bin/index.ts migrate:create yass",
|
|
"env": {
|
|
"PAYLOAD_CONFIG_PATH": "test/migrations-cli/config.ts",
|
|
"PAYLOAD_DATABASE": "postgres",
|
|
"DISABLE_SWC": "true" // SWC messes up debugging the bin scripts
|
|
// "PAYLOAD_DROP_DATABASE": "true",
|
|
},
|
|
"name": "Migrate CLI - create",
|
|
"outputCapture": "std",
|
|
"request": "launch",
|
|
"type": "node-terminal"
|
|
},
|
|
{
|
|
"command": "ts-node ./packages/payload/src/bin/index.ts migrate:down",
|
|
"env": {
|
|
"PAYLOAD_CONFIG_PATH": "test/migrations-cli/config.ts",
|
|
"PAYLOAD_DATABASE": "mongoose",
|
|
"DISABLE_SWC": "true" // SWC messes up debugging the bin scripts
|
|
// "PAYLOAD_DROP_DATABASE": "true",
|
|
},
|
|
"name": "Migrate CLI - down",
|
|
"outputCapture": "std",
|
|
"request": "launch",
|
|
"type": "node-terminal"
|
|
},
|
|
{
|
|
"command": "ts-node ./packages/payload/src/bin/index.ts migrate:reset",
|
|
"env": {
|
|
"PAYLOAD_CONFIG_PATH": "test/migrations-cli/config.ts",
|
|
"PAYLOAD_DATABASE": "mongoose",
|
|
"DISABLE_SWC": "true" // SWC messes up debugging the bin scripts
|
|
// "PAYLOAD_DROP_DATABASE": "true",
|
|
},
|
|
"name": "Migrate CLI - reset",
|
|
"outputCapture": "std",
|
|
"request": "launch",
|
|
"type": "node-terminal"
|
|
},
|
|
{
|
|
"command": "ts-node ./packages/payload/src/bin/index.ts migrate:refresh",
|
|
"env": {
|
|
"PAYLOAD_CONFIG_PATH": "test/migrations-cli/config.ts",
|
|
"PAYLOAD_DATABASE": "mongoose",
|
|
"DISABLE_SWC": "true" // SWC messes up debugging the bin scripts
|
|
// "PAYLOAD_DROP_DATABASE": "true",
|
|
},
|
|
"name": "Migrate CLI - refresh",
|
|
"outputCapture": "std",
|
|
"request": "launch",
|
|
"type": "node-terminal"
|
|
},
|
|
{
|
|
"name": "Debug GraphQL Schema Generation",
|
|
"type": "node",
|
|
"request": "launch",
|
|
"program": "${workspaceFolder}/test/generateGraphQLSchema.ts",
|
|
"args": ["graphql"],
|
|
"cwd": "${workspaceFolder}",
|
|
"env": {
|
|
"NODE_OPTIONS": "--no-deprecation --no-experimental-strip-types"
|
|
},
|
|
"runtimeArgs": [
|
|
"--no-deprecation",
|
|
"--no-experimental-strip-types",
|
|
"--import",
|
|
"@swc-node/register/esm-register"
|
|
],
|
|
"console": "integratedTerminal",
|
|
"outputCapture": "std",
|
|
"sourceMaps": true,
|
|
"skipFiles": ["<node_internals>/**"]
|
|
}
|
|
],
|
|
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
|
"version": "0.2.0"
|
|
}
|