Skip to content

Commit dab6eed

Browse files
fixing post-build issue in jswrapper (#1032)
* fixing post-build issue in jswrapper * Updating the js wrapper version
1 parent 0877c5c commit dab6eed

3 files changed

Lines changed: 6 additions & 5 deletions

File tree

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@ dist
55
.DS_Store
66
.npmrc
77
.idea
8+
/.claude
9+
/.vscode

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@Checkmarx/ast-cli-javascript-wrapper",
3-
"version": "0.0.159",
3+
"version": "0.0.160",
44
"description": "AST CLI Javascript wrapper",
55
"main": "dist/main/wrapper/CxWrapper.js",
66
"typings": "dist/main/wrapper/CxWrapper.d.ts",
@@ -12,8 +12,7 @@
1212
"log4js": "^6.9.1"
1313
},
1414
"scripts": {
15-
"build": "tsc",
16-
"postbuild": "copyfiles -u 1 src/main/wrapper/resources/cx* dist/;copyfiles -u 1 src/tests/data/* dist/;",
15+
"build": "tsc && copyfiles -u 1 src/main/wrapper/resources/cx* dist/ && copyfiles -u 1 src/tests/data/* dist/",
1716
"lint": "eslint . --ext .ts",
1817
"lint-and-fix": "eslint . --ext .ts --fix",
1918
"test": "copyfiles -u 1 src/tests/data/* dist/; tsc && jest"

0 commit comments

Comments
 (0)