Previously we had been downgrading rimraf to v3 simply to handle clean with glob patterns across platforms. In v4 and newer of rimraf you can add `-g` to use glob patterns. This change updates rimraf and adds the flag to handle globs in our package scripts to be windows compatible.
139 lines
4.5 KiB
JSON
139 lines
4.5 KiB
JSON
{
|
|
"name": "@payloadcms/db-postgres",
|
|
"version": "3.11.0",
|
|
"description": "The officially supported Postgres database adapter for Payload",
|
|
"homepage": "https://payloadcms.com",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/payloadcms/payload.git",
|
|
"directory": "packages/db-postgres"
|
|
},
|
|
"license": "MIT",
|
|
"author": "Payload <dev@payloadcms.com> (https://payloadcms.com)",
|
|
"maintainers": [
|
|
{
|
|
"name": "Payload",
|
|
"email": "info@payloadcms.com",
|
|
"url": "https://payloadcms.com"
|
|
}
|
|
],
|
|
"type": "module",
|
|
"exports": {
|
|
".": {
|
|
"import": "./src/index.ts",
|
|
"types": "./src/index.ts",
|
|
"default": "./src/index.ts"
|
|
},
|
|
"./types": {
|
|
"import": "./src/types.ts",
|
|
"types": "./src/types.ts",
|
|
"default": "./src/types.ts"
|
|
},
|
|
"./migration-utils": {
|
|
"import": "./src/exports/migration-utils.ts",
|
|
"types": "./src/exports/migration-utils.ts",
|
|
"default": "./src/exports/migration-utils.ts"
|
|
},
|
|
"./drizzle": {
|
|
"import": "./src/drizzle-proxy/index.ts",
|
|
"types": "./src/drizzle-proxy/index.ts",
|
|
"default": "./src/drizzle-proxy/index.ts"
|
|
},
|
|
"./drizzle/pg-core": {
|
|
"import": "./src/drizzle-proxy/pg-core.ts",
|
|
"types": "./src/drizzle-proxy/pg-core.ts",
|
|
"default": "./src/drizzle-proxy/pg-core.ts"
|
|
},
|
|
"./drizzle/node-postgres": {
|
|
"import": "./src/drizzle-proxy/node-postgres.ts",
|
|
"types": "./src/drizzle-proxy/node-postgres.ts",
|
|
"default": "./src/drizzle-proxy/node-postgres.ts"
|
|
},
|
|
"./drizzle/relations": {
|
|
"import": "./src/drizzle-proxy/relations.ts",
|
|
"types": "./src/drizzle-proxy/relations.ts",
|
|
"default": "./src/drizzle-proxy/relations.ts"
|
|
}
|
|
},
|
|
"main": "./src/index.ts",
|
|
"types": "./src/types.ts",
|
|
"files": [
|
|
"dist",
|
|
"mock.js"
|
|
],
|
|
"scripts": {
|
|
"build": "rimraf .dist && rimraf tsconfig.tsbuildinfo && pnpm build:types && pnpm build:swc && pnpm build:esbuild && pnpm renamePredefinedMigrations",
|
|
"build:esbuild": "echo skipping esbuild",
|
|
"build:swc": "swc ./src -d ./dist --config-file .swcrc --strip-leading-paths",
|
|
"build:types": "tsc --emitDeclarationOnly --outDir dist",
|
|
"clean": "rimraf -g {dist,*.tsbuildinfo}",
|
|
"lint": "eslint .",
|
|
"lint:fix": "eslint . --fix",
|
|
"prepack": "pnpm clean && pnpm turbo build",
|
|
"prepublishOnly": "pnpm clean && pnpm turbo build --filter=./",
|
|
"renamePredefinedMigrations": "node --no-deprecation --import @swc-node/register/esm-register ./scripts/renamePredefinedMigrations.ts"
|
|
},
|
|
"dependencies": {
|
|
"@payloadcms/drizzle": "workspace:*",
|
|
"@types/pg": "8.10.2",
|
|
"console-table-printer": "2.12.1",
|
|
"drizzle-kit": "0.28.0",
|
|
"drizzle-orm": "0.36.1",
|
|
"pg": "8.11.3",
|
|
"prompts": "2.4.2",
|
|
"to-snake-case": "1.0.0",
|
|
"uuid": "10.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@hyrious/esbuild-plugin-commonjs": "^0.2.4",
|
|
"@payloadcms/eslint-config": "workspace:*",
|
|
"@types/to-snake-case": "1.0.0",
|
|
"esbuild": "0.24.0",
|
|
"payload": "workspace:*"
|
|
},
|
|
"peerDependencies": {
|
|
"payload": "workspace:*"
|
|
},
|
|
"publishConfig": {
|
|
"exports": {
|
|
".": {
|
|
"import": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"default": "./dist/index.js"
|
|
},
|
|
"./types": {
|
|
"import": "./dist/types.js",
|
|
"types": "./dist/types.d.ts",
|
|
"default": "./dist/types.js"
|
|
},
|
|
"./migration-utils": {
|
|
"import": "./dist/exports/migration-utils.js",
|
|
"types": "./dist/exports/migration-utils.d.ts",
|
|
"default": "./dist/exports/migration-utils.js"
|
|
},
|
|
"./drizzle": {
|
|
"import": "./dist/drizzle-proxy/index.js",
|
|
"types": "./dist/drizzle-proxy/index.d.ts",
|
|
"default": "./dist/drizzle-proxy/index.js"
|
|
},
|
|
"./drizzle/pg-core": {
|
|
"import": "./dist/drizzle-proxy/pg-core.js",
|
|
"types": "./dist/drizzle-proxy/pg-core.d.ts",
|
|
"default": "./dist/drizzle-proxy/pg-core.js"
|
|
},
|
|
"./drizzle/node-postgres": {
|
|
"import": "./dist/drizzle-proxy/node-postgres.js",
|
|
"types": "./dist/drizzle-proxy/node-postgres.d.ts",
|
|
"default": "./dist/drizzle-proxy/node-postgres.js"
|
|
},
|
|
"./drizzle/relations": {
|
|
"import": "./dist/drizzle-proxy/relations.js",
|
|
"types": "./dist/drizzle-proxy/relations.d.ts",
|
|
"default": "./dist/drizzle-proxy/relations.js"
|
|
}
|
|
},
|
|
"main": "./dist/index.js",
|
|
"types": "./dist/index.d.ts"
|
|
}
|
|
}
|