Skip to content

Commit

Permalink
fix: Include pretty-format in package too
Browse files Browse the repository at this point in the history
  • Loading branch information
TimothyJones committed Oct 2, 2024
1 parent 7d04efa commit c17b646
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/case-definition-dsl/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@
"@contract-case/case-entities-internal": "0.16.1",
"@contract-case/case-plugin-base": "0.16.1",
"@contract-case/case-core-plugin-http-dsl": "0.16.1",
"@contract-case/case-core-plugin-function-dsl": "0.16.1"
"@contract-case/case-core-plugin-function-dsl": "0.16.1",
"pretty-format": "29.7.0"
},
"stability": "stable",
"types": "build/index.d.ts",
Expand Down Expand Up @@ -127,6 +128,7 @@
"@contract-case/case-entities-internal",
"@contract-case/case-plugin-base",
"@contract-case/case-core-plugin-http-dsl",
"@contract-case/case-core-plugin-function-dsl"
"@contract-case/case-core-plugin-function-dsl",
"pretty-format"
]
}
3 changes: 3 additions & 0 deletions packages/case-definition-dsl/script/link-bundled-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,6 @@ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")"; pwd)" # Figure out where the
BASE=$(realpath "$SCRIPT_DIR"/../../../node_modules/@contract-case/)

find "$BASE"* -exec bash -c 'echo $0; mkdir -p .'"$SCRIPT_DIR"/..'/node_modules/@contract-case/$(basename $0); cp -R "$0/"* ./node_modules/@contract-case/$(basename $0) 2>/dev/null; echo done' '{}' \;

mkdir -p ./node_modules/pretty-format
cp -R "$SCRIPT_DIR"/../../../node_modules/pretty-format/* ./node_modules/pretty-format

0 comments on commit c17b646

Please sign in to comment.