Skip to content

Commit

Permalink
Add #test to find test fixtures etc.
Browse files Browse the repository at this point in the history
  • Loading branch information
danfuzz committed Apr 23, 2024
1 parent 536b21a commit a2238d2
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions scripts/lib/bashy-node/node-project/fix-package-json
Original file line number Diff line number Diff line change
Expand Up @@ -113,16 +113,17 @@ function do-fix {
pkg="$(jval <"${filePath}" --input=read \
deps:json="${finalDeps}" '
{
name: .name,
name: .name,
version: .version,
type: "module",
type: "module",
private: true,
license: (.license // "UNLICENSED"),
BLANK_LINE_1: "",
exports: "./index.js",
imports: {
"#x/*": "./export/*.js",
"#p/*": "./private/*.js"
"#x/*": "./export/*.js",
"#p/*": "./private/*.js",
"#test/*": "./tests/*.js"
}
}
|
Expand Down

0 comments on commit a2238d2

Please sign in to comment.