Skip to content

Commit

Permalink
Merge pull request #75 from balena-io-modules/keep-comments
Browse files Browse the repository at this point in the history
Keep comments on TS builds
  • Loading branch information
flowzone-app[bot] authored Feb 10, 2025
2 parents 45a9b1c + 8ec95a4 commit fcbf3f1
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 13 deletions.
18 changes: 9 additions & 9 deletions lib/testing/mermaid.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -805,23 +805,23 @@ describe('Mermaid', () => {
graph TD
start(( ))
start -.- d0{ }
d0 -.- ae76317[["increment counters"]]
ae76317 -.- 1bda1fb("a + 1")
1bda1fb -.- 25cd4c8("a + 1")
d0 -.- d9a1c45[["increment counters"]]
d9a1c45 -.- 5175d85("a + 1")
5175d85 -.- 25cd4c8("a + 1")
25cd4c8 -.- 910b67c("b + 1")
910b67c -.- c522839("b + 1")
c522839 -.- d1{ }
d1 -.- 2899232[["increment counters"]]
2899232 -.- 2899232-err[ ]
2899232-err:::error
d1 -.- 3e36602[["increment counters"]]
3e36602 -.- 3e36602-err[ ]
3e36602-err:::error
d1 -.- ef2fdcd("a + 1")
ef2fdcd -.- stop(( ))
stop:::finish
classDef finish stroke:#000,fill:#000
start:::selected
start --> 1bda1fb
1bda1fb:::selected
1bda1fb --> 25cd4c8
start --> 5175d85
5175d85:::selected
5175d85 --> 25cd4c8
25cd4c8:::selected
25cd4c8 --> 910b67c
910b67c:::selected
Expand Down
2 changes: 0 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,12 @@
"outDir": "build",
"noUnusedParameters": true,
"noUnusedLocals": true,
"removeComments": true,
"strictNullChecks": true,
"sourceMap": true,
"strict": true,
"target": "es2022",
"declaration": true,
"skipLibCheck": true,
"noUncheckedIndexedAccess": true,
"paths": {
"mahler": [
"lib/index.ts"
Expand Down
11 changes: 9 additions & 2 deletions tsconfig.release.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
{
"extends": "./tsconfig.json",
"include": ["lib/**/*.ts"],
"exclude": ["lib/**/*.spec.ts"]
"compilerOptions": {
"noUncheckedIndexedAccess": true
},
"include": [
"lib/**/*.ts"
],
"exclude": [
"lib/**/*.spec.ts"
]
}

0 comments on commit fcbf3f1

Please sign in to comment.