sedentary-pg 0.0.41 → 0.0.42

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -31,7 +31,7 @@
31
31
 
32
32
  # Description
33
33
 
34
- The **PostgreSQL** specilized package of [Sedentary](https://www.npmjs.com/package/sedentary).
34
+ The **PostgreSQL** specialized package of [Sedentary](https://www.npmjs.com/package/sedentary).
35
35
 
36
36
  # Usage
37
37
 
package/dist/cjs/adsrc.js CHANGED
@@ -1,7 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.adsrc = void 0;
4
+ // cspell: disable-next-line
4
5
  function adsrc(version) {
6
+ // cspell: disable-next-line
5
7
  return version >= 12 ? "pg_get_expr(pg_attrdef.adbin, pg_attrdef.adrelid) AS adsrc" : "adsrc";
6
8
  }
7
9
  exports.adsrc = adsrc;
package/dist/es/adsrc.js CHANGED
@@ -1,3 +1,5 @@
1
+ // cspell: disable-next-line
1
2
  export function adsrc(version) {
3
+ // cspell: disable-next-line
2
4
  return version >= 12 ? "pg_get_expr(pg_attrdef.adbin, pg_attrdef.adrelid) AS adsrc" : "adsrc";
3
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "author": "Daniele Ricci <daniele.icc@gmail.com> (https://github.com/iccicci)",
3
- "bugs": "https://github.com/iccicci/sedentary-pg/issues",
3
+ "bugs": "https://github.com/iccicci/sedentary/issues",
4
4
  "contributors": [
5
5
  "Daniele Ricci <daniele.icc@gmail.com> (https://github.com/iccicci)",
6
6
  "yossarian <sergiybiluk@gmail.com> (https://github.com/captain-yossarian)"
@@ -9,32 +9,16 @@
9
9
  "@types/pg": "8.6.5",
10
10
  "pg": "8.7.3",
11
11
  "pg-format": "1.0.4",
12
- "sedentary": "0.0.41"
12
+ "sedentary": "0.0.42"
13
13
  },
14
14
  "description": "The ORM which never needs to migrate - PostgreSQL",
15
- "devDependencies": {
16
- "@types/jest": "28.1.3",
17
- "@types/node": "18.0.0",
18
- "@types/pg-format": "1.0.2",
19
- "@types/yamljs": "0.2.31",
20
- "@typescript-eslint/eslint-plugin": "5.30.0",
21
- "@typescript-eslint/parser": "5.30.0",
22
- "eslint": "8.18.0",
23
- "jest": "28.1.1",
24
- "jest-environment-node-single-context": "28.0.0",
25
- "prettier": "2.7.1",
26
- "ts-jest": "28.0.5",
27
- "ts-node": "10.8.1",
28
- "typescript": "4.7.4",
29
- "yamljs": "0.3.0"
30
- },
31
15
  "engines": {
32
16
  "node": ">=14.0"
33
17
  },
34
18
  "funding": {
35
19
  "url": "https://blockchain.info/address/1Md9WFAHrXTb3yPBwQWmUfv2RmzrtbHioB"
36
20
  },
37
- "homepage": "https://github.com/iccicci/sedentary-pg#readme",
21
+ "homepage": "https://github.com/iccicci/sedentary/packages/sedentary-pg#readme",
38
22
  "keywords": [
39
23
  "DB",
40
24
  "ORM",
@@ -51,42 +35,17 @@
51
35
  "optionalDependencies": {
52
36
  "fsevents": "2.3.2"
53
37
  },
54
- "prettier": {
55
- "arrowParens": "avoid",
56
- "endOfLine": "lf",
57
- "jsxBracketSameLine": true,
58
- "printWidth": 200,
59
- "trailingComma": "none",
60
- "useTabs": false
61
- },
62
38
  "readmeFilename": "README.md",
63
- "repository": "https://github.com/iccicci/sedentary-pg",
39
+ "repository": "https://github.com/iccicci/sedentary",
64
40
  "scripts": {
65
- "coverage": "jest --coverage --runInBand",
66
- "gitignore": "node -r ts-node/register utils.ts gitignore",
67
- "npmignore": "node -r ts-node/register utils.ts npmignore",
68
- "packagejson": "node -r ts-node/register utils.ts packagejson",
69
- "test": "jest --runInBand --verbose",
70
- "travis": "node -r ts-node/register utils.ts travis",
71
- "tsc": "tsc -p tsconfig.cjs.json && tsc -p tsconfig.es.json && tsc -p tsconfig.types.json",
72
- "version": "node -r ts-node/register utils.ts version"
73
- },
74
- "tsd": {
75
- "compilerOptions": {
76
- "alwaysStrict": true,
77
- "esModuleInterop": true,
78
- "moduleResolution": "Node",
79
- "noImplicitAny": true,
80
- "noImplicitReturns": true,
81
- "noImplicitThis": true,
82
- "strict": true,
83
- "strictBindCallApply": true,
84
- "strictFunctionTypes": true,
85
- "strictNullChecks": true,
86
- "strictPropertyInitialization": true,
87
- "target": "ESNext"
88
- }
41
+ "build": "make build",
42
+ "coverage": "jest --coverage --runInBand",
43
+ "deploy": "npm_config_registry=\"registry.npmjs.org\" npm publish",
44
+ "precoverage": "make pretest",
45
+ "preinstall": "if [ -f Makefile ] ; then make ; fi",
46
+ "pretest": "make pretest",
47
+ "test": "jest --runInBand"
89
48
  },
90
49
  "types": "./dist/types/index.d.ts",
91
- "version": "0.0.41"
50
+ "version": "0.0.42"
92
51
  }