mirror of
https://github.com/brianc/node-postgres.git
synced 2025-12-08 20:16:25 +00:00
* build: add esm exports * fix: add defaults as per arethetypeswrong report * fix: add missing types * lint * Fix broken tests * Add (failing) test for esm compat * Begin moving files to proper extension and adding tests * Add tests for connection-string and fix cloudflare module type and esm compat * Add query-stream and cursor as esm exports * Update PR copilot review * Publish - pg-cloudflare@1.1.2-alpha.0 - pg-connection-string@2.7.1-alpha.0 - pg-cursor@2.13.2-alpha.0 - pg-esm-test@1.0.1-alpha.0 - pg-native@3.3.1-alpha.0 - pg-pool@3.8.1-alpha.0 - pg-protocol@1.8.1-alpha.0 - pg-query-stream@4.8.2-alpha.0 - pg@8.14.2-alpha.0 * More cf compat work * Publish - pg-cloudflare@1.1.2-alpha.1 - pg-cursor@2.13.2-alpha.1 - pg-esm-test@1.0.1-alpha.1 - pg-pool@3.8.1-alpha.1 - pg-query-stream@4.8.2-alpha.1 - pg@8.14.2-alpha.1 * Add more cf compat and update tests * Make tests pass - update exports for esm * Use env vars for test connection in cf tests * Fix lint * Fit vitest into existing legacy framework * Skip worker tests on node below 18 * Revert doc changes for now * Remove legacy worker test in favor of vitest --------- Co-authored-by: Luca Ban <mesqueeb@users.noreply.github.com>
41 lines
1.1 KiB
JSON
41 lines
1.1 KiB
JSON
{
|
|
"name": "node-postgres",
|
|
"description": "node postgres monorepo",
|
|
"main": "index.js",
|
|
"private": true,
|
|
"repository": "git@github.com:brianc/node-postgres.git",
|
|
"author": "Brian M. Carlson <brian.m.carlson@gmail.com>",
|
|
"license": "MIT",
|
|
"workspaces": [
|
|
"packages/*"
|
|
],
|
|
"scripts": {
|
|
"test": "yarn lerna exec --concurrency 1 yarn test",
|
|
"build": "tsc --build",
|
|
"build:watch": "tsc --build --watch",
|
|
"docs:build": "cd docs && yarn build",
|
|
"docs:start": "cd docs && yarn start",
|
|
"pretest": "yarn build",
|
|
"prepublish": "yarn build",
|
|
"lint": "eslint --cache 'packages/**/*.{js,ts,tsx}'"
|
|
},
|
|
"devDependencies": {
|
|
"@typescript-eslint/eslint-plugin": "^7.0.0",
|
|
"@typescript-eslint/parser": "^6.17.0",
|
|
"eslint": "^8.56.0",
|
|
"eslint-config-prettier": "^9.1.0",
|
|
"eslint-plugin-node": "^11.1.0",
|
|
"eslint-plugin-prettier": "^5.1.2",
|
|
"lerna": "^3.19.0",
|
|
"prettier": "3.0.3",
|
|
"typescript": "^4.0.3"
|
|
},
|
|
"prettier": {
|
|
"semi": false,
|
|
"printWidth": 120,
|
|
"arrowParens": "always",
|
|
"trailingComma": "es5",
|
|
"singleQuote": true
|
|
}
|
|
}
|