@decaf-ts/cli 0.3.6 → 0.3.7

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.
Files changed (3) hide show
  1. package/LICENSE.md +6 -5
  2. package/README.md +2 -2
  3. package/package.json +11 -4
package/LICENSE.md CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2025 Tiago Venceslau
3
+ Copyright (c) 2025 Tiago Venceslau and Contributors
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -9,13 +9,14 @@ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
9
  copies of the Software, and to permit persons to whom the Software is
10
10
  furnished to do so, subject to the following conditions:
11
11
 
12
- The above copyright notice and this permission notice shall be included in
13
- all copies or substantial portions of the Software.
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
14
 
15
15
  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
16
  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
17
  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
18
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
19
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
- THE SOFTWARE.
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
22
+
package/README.md CHANGED
@@ -78,8 +78,8 @@ Where `<module>` is the name of a Decaf-ts module and `<command>` is a specific
78
78
 
79
79
  ### How to Use
80
80
 
81
- - [Initial Setup](../../workdocs/tutorials/For%20Developers.md#_initial-setup_)
82
- - [Installation](../../workdocs/tutorials/For%20Developers.md#installation)
81
+ - [Initial Setup](./workdocs/tutorials/For%20Developers.md#_initial-setup_)
82
+ - [Installation](./workdocs/tutorials/For%20Developers.md#installation)
83
83
 
84
84
  #### Using the CLI
85
85
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@decaf-ts/cli",
3
- "version": "0.3.6",
3
+ "version": "0.3.7",
4
4
  "description": "cli for decaf-ts projects",
5
5
  "type": "module",
6
6
  "exports": {
@@ -29,14 +29,21 @@
29
29
  "coverage": "rimraf ./workdocs/reports/data/*.json && npm run test:all -- --coverage --config=./workdocs/reports/jest.coverage.config.ts",
30
30
  "lint": "eslint .",
31
31
  "lint-fix": "eslint --fix .",
32
- "prepare-pr": "npm run lint-fix && npm run build:prod && npm run coverage && npm run docs",
32
+ "prepare-pr": "npm run repo:pr && npm run lint-fix && npm run build:prod && npm run coverage && npm run docs",
33
33
  "prepare-release": "npm run lint-fix && npm run build:prod && npm run coverage && npm run docs",
34
34
  "release": "./bin/tag-release.sh",
35
35
  "clean-publish": "npx clean-publish",
36
36
  "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/",
37
37
  "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/",
38
38
  "docs": "npx rimraf ./docs && mkdir docs && npx build-scripts --docs",
39
- "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"
39
+ "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",
40
+ "repo:init": "codex exec \"$(cat ./.codex/prompts/repo-setup.md)\nbase_path is `./`, initialize the repository\"",
41
+ "repo:setup": "codex exec \"$(cat ./.codex/prompts/repo-setup.md)\nbase_path is ./\"",
42
+ "repo:doc": "codex exec \"$(cat ./.codex/prompts/doc.md) $(cat ./.codex/prompts/bulk-docs.md)\nbase_path is ./\"",
43
+ "repo:tests": "codex exec \"$(cat ./.codex/prompts/bulk-tests.md)\nbase_path is ./ and coverage is 95%\" -s workspace-write",
44
+ "repo:readme": "codex exec \"$(cat ./.codex/prompts/update-readme.md)\nbase_path is ./\"",
45
+ "repo:pr": "npm run repo:doc && npm run repo:tests && npm run repo:readme",
46
+ "sync-codex": "./bin/sync-codex.sh"
40
47
  },
41
48
  "repository": {
42
49
  "type": "git",
@@ -68,7 +75,7 @@
68
75
  "typescript",
69
76
  "ts"
70
77
  ],
71
- "author": "Tiago Venceslau",
78
+ "author": "Tiago Venceslau and Contributors",
72
79
  "license": "MIT",
73
80
  "bugs": {
74
81
  "url": "https://github.com/decaf-ts/cli/issues"