@decaf-ts/for-nest 0.0.2

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/package.json ADDED
@@ -0,0 +1,137 @@
1
+ {
2
+ "name": "@decaf-ts/for-nest",
3
+ "version": "0.0.2",
4
+ "description": "NestJS decaf integration",
5
+ "type": "module",
6
+ "exports": {
7
+ "require": "./lib/index.cjs",
8
+ "import": "./lib/esm/index.js"
9
+ },
10
+ "types": "lib/index.d.ts",
11
+ "scripts": {
12
+ "do-install": "NPM_TOKEN=$(cat .npmtoken) npm install",
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
+ "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
+ "flash-forward": "npx npm-check-updates -u && npm run do-install",
18
+ "reset": "rm -rf * && git checkout . && git pull && npm run do-install",
19
+ "build": "npx build-scripts --dev",
20
+ "build:prod": "npx build-scripts --prod",
21
+ "test": "jest --runInBand --coverage --detectOpenHandles",
22
+ "test:unit": "jest --testPathPattern=\"/tests/unit\" --passWithNoTests --detectOpenHandles",
23
+ "test:integration": "jest --testPathPattern=\"/tests/(integration)\" --passWithNoTests --detectOpenHandles",
24
+ "test:all": "jest --testPathPattern=\"/tests\" --passWithNoTests --detectOpenHandles",
25
+ "test:circular": "dpdm -T --no-warning --no-tree ./src/index.ts",
26
+ "coverage": "rimraf ./workdocs/reports/data/*.json && npm run test:all -- --coverage --config=./workdocs/reports/jest.coverage.config.ts",
27
+ "lint": "eslint .",
28
+ "lint-fix": "eslint --fix .",
29
+ "prepare-pr": "npm run lint-fix && npm run build:prod && npm run coverage && npm run docs",
30
+ "prepare-release": "npm run lint-fix && npm run build:prod && npm run coverage && npm run docs",
31
+ "release": "./bin/tag-release.sh",
32
+ "clean-publish": "npx clean-publish",
33
+ "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/",
34
+ "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/",
35
+ "docs": "npx rimraf ./docs && mkdir docs && npx build-scripts --docs",
36
+ "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",
37
+ "docker:login": "docker login ghcr.io -u $(cat .dockeruser) -p $(cat .dockertoken)",
38
+ "docker:build": "npm run docker:build-base",
39
+ "docker:build-base": "DOCKER_BUILDKIT=1 docker build --secret id=TOKEN,src=$PWD/.npmtoken -t ghcr.io/decaf-ts/ts-workspace:base-$(cat package.json | jq -r '.version') -t ghcr.io/decaf-ts/ts-workspace:base-${VERSION:-latest} -f ./Dockerfile .",
40
+ "docker:publish": "npm run docker:publish-base",
41
+ "docker:publish-base": "docker push ghcr.io/decaf-ts/ts-workspace:base-$(cat package.json | jq -r '.version') && docker push ghcr.io/decaf-ts/ts-workspace:base-${VERSION:-latest}",
42
+ "repo:init": "codex exec \"$(cat ./.codex/prompts/repo-setup.md)\nbase_path is `./`, initialize the repository\"",
43
+ "repo:setup": "codex exec \"$(cat ./.codex/prompts/repo-setup.md)\nbase_path is ./\"",
44
+ "repo:doc": "codex exec \"$(cat ./.codex/prompts/doc.md) $(cat ./.codex/prompts/bulk-docs.md)\nbase_path is ./\"",
45
+ "repo:tests": "codex exec \"$(cat ./.codex/prompts/bulk-tests.md)\nbase_path is ./ and coverage is 95%\" -s workspace-write",
46
+ "repo:readme": "codex exec \"$(cat ./.codex/prompts/update-readme.md)\nbase_path is ./\"",
47
+ "repo:pr": "npm run repo:doc && npm run repo:tests && npm run repo:readme",
48
+ "sync-codex": "./bin/sync-codex.sh"
49
+ },
50
+ "repository": {
51
+ "type": "git",
52
+ "url": "git+https://github.com/decaf-ts/for-nest.git"
53
+ },
54
+ "engines": {
55
+ "node": ">=20.0.0",
56
+ "npm": ">=10.0.0"
57
+ },
58
+ "files": [
59
+ "lib",
60
+ "dist"
61
+ ],
62
+ "keywords": [
63
+ "plantuml",
64
+ "mermaid",
65
+ "uml",
66
+ "drawio",
67
+ "mddocs",
68
+ "md",
69
+ "jsdoc",
70
+ "doc",
71
+ "docs",
72
+ "documentation",
73
+ "test",
74
+ "reports",
75
+ "confluence",
76
+ "ci/cd",
77
+ "ci",
78
+ "cd",
79
+ "template",
80
+ "typescript",
81
+ "ts"
82
+ ],
83
+ "author": "Tiago Venceslau and Contributors",
84
+ "license": "MIT",
85
+ "bugs": {
86
+ "url": "https://github.com/decaf-ts/for-nest/issues"
87
+ },
88
+ "homepage": "https://github.com/decaf-ts/for-nest#readme",
89
+ "devDependencies": {
90
+ "@decaf-ts/utils": "latest",
91
+ "@eslint/js": "^9.25.1",
92
+ "@nestjs/cli": "^11.0.0",
93
+ "@nestjs/schematics": "^11.0.9",
94
+ "@nestjs/swagger": "^11.2.0",
95
+ "@nestjs/testing": "^11.0.1",
96
+ "@rollup/plugin-commonjs": "^28.0.3",
97
+ "@rollup/plugin-json": "^6.1.0",
98
+ "@rollup/plugin-node-resolve": "^16.0.1",
99
+ "@rollup/plugin-typescript": "^12.1.2",
100
+ "@stylistic/eslint-plugin": "^4.2.0",
101
+ "@types/jest": "^29.5.14",
102
+ "clean-publish": "^5.1.0",
103
+ "dpdm": "^3.14.0",
104
+ "eslint": "^9.25.1",
105
+ "eslint-config-prettier": "^10.1.2",
106
+ "eslint-plugin-prettier": "^5.2.6",
107
+ "globals": "^16.0.0",
108
+ "jest": "^29.7.0",
109
+ "jest-html-reporters": "^3.1.7",
110
+ "jest-junit": "^16.0.0",
111
+ "jsdoc": "^4.0.4",
112
+ "jsdoc-mermaid": "^1.0.0",
113
+ "markdown-include": "^0.4.3",
114
+ "minimist": "^1.2.8",
115
+ "nodemon": "^3.1.9",
116
+ "npm-check-updates": "^18.0.0",
117
+ "prettier": "3.5.3",
118
+ "rimraf": "^6.0.1",
119
+ "rollup": "^4.40.0",
120
+ "ts-jest": "^29.3.2",
121
+ "ts-loader": "^9.5.2",
122
+ "ts-node": "^10.9.2",
123
+ "typescript": "^5.8.3",
124
+ "typescript-eslint": "^8.31.0"
125
+ },
126
+ "peerDependencies": {
127
+ "@decaf-ts/core": "latest",
128
+ "@decaf-ts/db-decorators": "latest",
129
+ "@decaf-ts/decoration": "latest",
130
+ "@decaf-ts/decorator-validation": "latest",
131
+ "@decaf-ts/injectable-decorators": "latest",
132
+ "@decaf-ts/logging": "latest",
133
+ "@decaf-ts/reflection": "latest",
134
+ "@decaf-ts/transactional-decorators": "latest",
135
+ "@nestjs/common": "^11.0.1"
136
+ }
137
+ }