@decaf-ts/for-couchdb 0.1.29 → 0.2.1
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/dist/for-couchdb.cjs +872 -0
- package/dist/for-couchdb.esm.cjs +858 -0
- package/lib/adapter.cjs +1 -2
- package/lib/constants.cjs +1 -2
- package/lib/errors.cjs +1 -2
- package/lib/esm/adapter.d.ts +37 -0
- package/lib/esm/adapter.js +1 -2
- package/lib/esm/constants.d.ts +12 -0
- package/lib/esm/constants.js +1 -2
- package/lib/esm/errors.d.ts +4 -0
- package/lib/esm/errors.js +1 -2
- package/{dist/types → lib/esm}/index.d.ts +1 -1
- package/lib/esm/index.js +2 -3
- package/lib/esm/indexes/generator.js +1 -2
- package/lib/esm/indexes/index.js +1 -2
- package/lib/esm/interfaces/CouchDBRepository.js +1 -2
- package/lib/esm/interfaces/index.js +1 -2
- package/{dist/types → lib/esm}/model/CouchDBSequence.d.ts +1 -1
- package/lib/esm/model/CouchDBSequence.js +1 -2
- package/lib/esm/model/index.js +1 -2
- package/lib/esm/query/FromClause.js +1 -2
- package/lib/esm/query/InsertClause.js +1 -2
- package/lib/esm/query/Paginator.js +1 -2
- package/lib/esm/query/SelectClause.js +1 -2
- package/lib/esm/query/Statement.js +1 -2
- package/lib/esm/query/ValuesClause.js +1 -2
- package/lib/esm/query/WhereClause.js +1 -2
- package/lib/esm/query/constants.js +1 -2
- package/lib/esm/query/factory.js +1 -2
- package/lib/esm/query/index.js +1 -2
- package/lib/esm/query/translate.js +1 -2
- package/lib/esm/sequences/Sequence.js +1 -2
- package/lib/esm/sequences/index.js +1 -2
- package/lib/esm/sequences/utils.js +1 -2
- package/lib/esm/types.js +1 -2
- package/lib/esm/utils.js +1 -2
- package/lib/index.cjs +2 -3
- package/lib/index.d.ts +27 -0
- package/lib/indexes/generator.cjs +1 -2
- package/lib/indexes/generator.d.ts +3 -0
- package/lib/indexes/index.cjs +1 -2
- package/lib/indexes/index.d.ts +1 -0
- package/lib/interfaces/CouchDBRepository.cjs +1 -2
- package/lib/interfaces/CouchDBRepository.d.ts +5 -0
- package/lib/interfaces/index.cjs +1 -2
- package/lib/interfaces/index.d.ts +1 -0
- package/lib/model/CouchDBSequence.cjs +1 -2
- package/lib/model/CouchDBSequence.d.ts +20 -0
- package/lib/model/index.cjs +1 -2
- package/lib/model/index.d.ts +1 -0
- package/lib/query/FromClause.cjs +1 -2
- package/lib/query/FromClause.d.ts +7 -0
- package/lib/query/InsertClause.cjs +1 -2
- package/lib/query/InsertClause.d.ts +7 -0
- package/lib/query/Paginator.cjs +1 -2
- package/lib/query/Paginator.d.ts +10 -0
- package/lib/query/SelectClause.cjs +1 -2
- package/lib/query/SelectClause.d.ts +7 -0
- package/lib/query/Statement.cjs +1 -2
- package/lib/query/Statement.d.ts +13 -0
- package/lib/query/ValuesClause.cjs +1 -2
- package/lib/query/ValuesClause.d.ts +7 -0
- package/lib/query/WhereClause.cjs +1 -2
- package/lib/query/WhereClause.d.ts +7 -0
- package/lib/query/constants.cjs +1 -2
- package/lib/query/constants.d.ts +4 -0
- package/lib/query/factory.cjs +1 -2
- package/lib/query/factory.d.ts +24 -0
- package/lib/query/index.cjs +1 -2
- package/lib/query/index.d.ts +1 -0
- package/lib/query/translate.cjs +1 -2
- package/lib/query/translate.d.ts +3 -0
- package/lib/sequences/Sequence.cjs +1 -2
- package/lib/sequences/Sequence.d.ts +49 -0
- package/lib/sequences/index.cjs +1 -2
- package/lib/sequences/index.d.ts +1 -0
- package/lib/sequences/utils.cjs +1 -2
- package/lib/sequences/utils.d.ts +1 -0
- package/lib/types.cjs +1 -2
- package/lib/types.d.ts +112 -0
- package/lib/utils.cjs +1 -2
- package/lib/utils.d.ts +7 -0
- package/package.json +23 -34
- /package/{dist/types → lib}/adapter.d.ts +0 -0
- /package/{dist/types → lib}/constants.d.ts +0 -0
- /package/{dist/types → lib}/errors.d.ts +0 -0
- /package/{dist/types → lib/esm}/indexes/generator.d.ts +0 -0
- /package/{dist/types → lib/esm}/indexes/index.d.ts +0 -0
- /package/{dist/types → lib/esm}/interfaces/CouchDBRepository.d.ts +0 -0
- /package/{dist/types → lib/esm}/interfaces/index.d.ts +0 -0
- /package/{dist/types → lib/esm}/model/index.d.ts +0 -0
- /package/{dist/types → lib/esm}/query/FromClause.d.ts +0 -0
- /package/{dist/types → lib/esm}/query/InsertClause.d.ts +0 -0
- /package/{dist/types → lib/esm}/query/Paginator.d.ts +0 -0
- /package/{dist/types → lib/esm}/query/SelectClause.d.ts +0 -0
- /package/{dist/types → lib/esm}/query/Statement.d.ts +0 -0
- /package/{dist/types → lib/esm}/query/ValuesClause.d.ts +0 -0
- /package/{dist/types → lib/esm}/query/WhereClause.d.ts +0 -0
- /package/{dist/types → lib/esm}/query/constants.d.ts +0 -0
- /package/{dist/types → lib/esm}/query/factory.d.ts +0 -0
- /package/{dist/types → lib/esm}/query/index.d.ts +0 -0
- /package/{dist/types → lib/esm}/query/translate.d.ts +0 -0
- /package/{dist/types → lib/esm}/sequences/Sequence.d.ts +0 -0
- /package/{dist/types → lib/esm}/sequences/index.d.ts +0 -0
- /package/{dist/types → lib/esm}/sequences/utils.d.ts +0 -0
- /package/{dist/types → lib/esm}/types.d.ts +0 -0
- /package/{dist/types → lib/esm}/utils.d.ts +0 -0
package/package.json
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@decaf-ts/for-couchdb",
|
|
3
|
-
"version": "0.1
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "template for ts projects",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
7
7
|
"require": "./lib/index.cjs",
|
|
8
8
|
"import": "./lib/esm/index.js"
|
|
9
9
|
},
|
|
10
|
-
"types": "
|
|
10
|
+
"types": "lib/index.d.ts",
|
|
11
11
|
"scripts": {
|
|
12
12
|
"do-install": "TOKEN=$(cat .token) npm install",
|
|
13
|
-
"update-dependencies": "
|
|
14
|
-
"update-scripts": "
|
|
15
|
-
"on-first-run": "
|
|
13
|
+
"update-dependencies": "PREFIX=\"decaf-ts\"; npm ls | grep \"$PREFIX\" | awk -F/ '{print $NF}' | sed 's/@.*//' | xargs -I package npm update @\"$PREFIX\"/package",
|
|
14
|
+
"update-scripts": "npx update-scripts",
|
|
15
|
+
"on-first-run": "npx update-scripts --boot",
|
|
16
16
|
"set-git-auth": "git config url.\"https://api:$(cat .token)@github.com/\".insteadOf \"https://github.com/\" && git config url.\"https://ssh:$(cat .token)@github.com/\".insteadOf \"ssh://git@github.com/\" && git config url.\"https://git:$(cat .token)@github.com/\".insteadOf \"git@github.com:\"",
|
|
17
17
|
"flash-forward": "npx npm-check-updates -u && npm run do-install",
|
|
18
18
|
"reset": "rm -rf * && git checkout . && git pull && npm run do-install",
|
|
19
|
-
"build": "
|
|
20
|
-
"build:prod": "
|
|
19
|
+
"build": "npx build-scripts --dev",
|
|
20
|
+
"build:prod": "npx build-scripts --prod",
|
|
21
21
|
"test": "jest --runInBand --coverage --detectOpenHandles",
|
|
22
22
|
"test:unit": "jest --testPathPattern=\"/tests/unit\" --passWithNoTests --detectOpenHandles",
|
|
23
23
|
"test:integration": "jest --testPathPattern=\"/tests/(integration)\" --passWithNoTests --detectOpenHandles",
|
|
24
|
-
"test:all": "jest --testPathPattern=\"/tests
|
|
24
|
+
"test:all": "jest --testPathPattern=\"/tests\" --passWithNoTests --detectOpenHandles",
|
|
25
25
|
"test:circular": "dpdm -T --no-warning --no-tree ./src/index.ts",
|
|
26
26
|
"coverage": "rimraf ./workdocs/reports/data/*.json && npm run test:all -- --coverage --config=./workdocs/reports/jest.coverage.config.ts",
|
|
27
27
|
"lint": "eslint .",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"clean-publish": "npx clean-publish",
|
|
32
32
|
"drawings": "for FILE in workdocs/drawings/*.drawio; do echo \"converting $FILE to image...\" && docker run --rm -v $(pwd):/data rlespinasse/drawio-export --format png $FILE; done && cp -rf workdocs/drawings/export/* workdocs/resources/",
|
|
33
33
|
"uml": "cd workdocs/uml && for FILE in ./*.puml; do docker run --rm -v $(pwd):/work -w /work miy4/plantuml -DPLANTUML_LIMIT_SIZE=8192 -tpng $FILE; done && cd ../.. && cp -fr workdocs/uml/*.png workdocs/resources/",
|
|
34
|
-
"docs": "npx rimraf ./docs && mkdir docs &&
|
|
34
|
+
"docs": "npx rimraf ./docs && mkdir docs && npx build-scripts --docs",
|
|
35
35
|
"publish-docs": "docker run -it --rm --user $(id -u):$(id -g) -v \"$(pwd)/workdocs/confluence:/content\" -e ATLASSIAN_API_TOKEN=$(cat .confluence-token) ghcr.io/markdown-confluence/publish:latest",
|
|
36
36
|
"docker:login": "echo $(cat .token) | docker login ghcr.io -u decaf --password-stdin",
|
|
37
37
|
"docker:build": "npm run docker:build-booter && npm run docker:build-couchdb",
|
|
@@ -79,43 +79,37 @@
|
|
|
79
79
|
},
|
|
80
80
|
"homepage": "https://github.com/decaf-ts/for-couchdb#readme",
|
|
81
81
|
"devDependencies": {
|
|
82
|
-
"@
|
|
82
|
+
"@decaf-ts/utils": "latest",
|
|
83
|
+
"@eslint/js": "^9.25.1",
|
|
84
|
+
"@rollup/plugin-commonjs": "^28.0.3",
|
|
85
|
+
"@rollup/plugin-json": "^6.1.0",
|
|
86
|
+
"@rollup/plugin-node-resolve": "^16.0.1",
|
|
87
|
+
"@rollup/plugin-typescript": "^12.1.2",
|
|
83
88
|
"@stylistic/eslint-plugin": "^4.2.0",
|
|
84
89
|
"@types/jest": "^29.5.14",
|
|
85
90
|
"clean-publish": "^5.1.0",
|
|
86
91
|
"dpdm": "^3.14.0",
|
|
87
|
-
"eslint": "^9.
|
|
88
|
-
"eslint-config-prettier": "^10.1.
|
|
89
|
-
"eslint-plugin-prettier": "^5.2.
|
|
92
|
+
"eslint": "^9.25.1",
|
|
93
|
+
"eslint-config-prettier": "^10.1.2",
|
|
94
|
+
"eslint-plugin-prettier": "^5.2.6",
|
|
90
95
|
"globals": "^16.0.0",
|
|
91
|
-
"gulp": "^5.0.0",
|
|
92
|
-
"gulp-if": "^3.0.0",
|
|
93
|
-
"gulp-rename": "^2.0.0",
|
|
94
|
-
"gulp-replace": "^1.1.4",
|
|
95
|
-
"gulp-run-command": "^0.0.10",
|
|
96
|
-
"gulp-sourcemaps": "^2.6.5",
|
|
97
|
-
"gulp-typescript": "^6.0.0-alpha.1",
|
|
98
|
-
"gulp-uglify": "^3.0.2",
|
|
99
96
|
"jest": "^29.7.0",
|
|
100
97
|
"jest-html-reporters": "^3.1.7",
|
|
101
98
|
"jest-junit": "^16.0.0",
|
|
102
99
|
"jsdoc": "^4.0.4",
|
|
103
100
|
"jsdoc-mermaid": "^1.0.0",
|
|
104
101
|
"markdown-include": "^0.4.3",
|
|
105
|
-
"merge-stream": "^2.0.0",
|
|
106
102
|
"minimist": "^1.2.8",
|
|
107
103
|
"nodemon": "^3.1.9",
|
|
108
|
-
"npm-check-updates": "^
|
|
104
|
+
"npm-check-updates": "^18.0.0",
|
|
109
105
|
"prettier": "3.5.3",
|
|
110
106
|
"rimraf": "^6.0.1",
|
|
111
|
-
"
|
|
107
|
+
"rollup": "^4.40.0",
|
|
108
|
+
"ts-jest": "^29.3.2",
|
|
112
109
|
"ts-loader": "^9.5.2",
|
|
113
110
|
"ts-node": "^10.9.2",
|
|
114
|
-
"typescript": "^5.8.
|
|
115
|
-
"typescript-eslint": "^8.
|
|
116
|
-
"vinyl-named": "^1.1.0",
|
|
117
|
-
"webpack-node-externals": "^3.0.0",
|
|
118
|
-
"webpack-stream": "^7.0.0"
|
|
111
|
+
"typescript": "^5.8.3",
|
|
112
|
+
"typescript-eslint": "^8.31.0"
|
|
119
113
|
},
|
|
120
114
|
"peerDependencies": {
|
|
121
115
|
"@decaf-ts/core": "latest",
|
|
@@ -124,10 +118,5 @@
|
|
|
124
118
|
"@decaf-ts/injectable-decorators": "latest",
|
|
125
119
|
"@decaf-ts/reflection": "latest",
|
|
126
120
|
"reflect-metadata": "^0.2.1"
|
|
127
|
-
},
|
|
128
|
-
"overrides": {
|
|
129
|
-
"gulp-run-command": {
|
|
130
|
-
"cross-spawn": "^7.0.6"
|
|
131
|
-
}
|
|
132
121
|
}
|
|
133
122
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|