Skip to content

Commit 81772da

Browse files
authored
fix(scanner): add missing ./src/data in ./dist at build (#503)
1 parent eb751d8 commit 81772da

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/rude-paws-read.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@nodesecure/scanner": patch
3+
---
4+
5+
Add missing ./src/data when building TypeScript source

workspaces/scanner/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"node": ">=20"
1010
},
1111
"scripts": {
12-
"build": "tsc -b",
12+
"build": "tsc -b & cp -R ./src/data ./dist/data",
1313
"lint": "eslint src test",
1414
"prepublishOnly": "npm run build && pkg-ok",
1515
"test": "npm run test-only",

0 commit comments

Comments
 (0)