Skip to content

Commit

Permalink
build(client): correct dependencies for ESM primary build
Browse files Browse the repository at this point in the history
  • Loading branch information
jason-ha committed Dec 21, 2023
1 parent 535475c commit dc82c5a
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions packages/common/core-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"bench": "mocha --timeout 999999 --perfMode --parentProcess --fgrep @Benchmark --reporter @fluid-tools/benchmark/dist/MochaReporter.js",
"bench:profile": "mocha --v8-prof --v8-logfile=profile.log --v8-no-logfile-per-isolate --timeout 999999 --perfMode --fgrep @Benchmark --reporter @fluid-tools/benchmark/dist/MochaReporter.js && node --prof-process profile.log > profile.txt && rimraf profile.log && echo See results in profile.txt",
"build": "fluid-build . --task build",
"build:commonjs": "tsc-multi --config ./tsc-multi.cjs.json",
"build:commonjs": "fluid-build . --task commonjs",
"build:compile": "fluid-build . --task compile",
"build:docs": "fluid-build . --task api",
"build:esnext": "tsc",
Expand All @@ -54,7 +54,7 @@
"test:coverage": "c8 npm test",
"test:mocha": "mocha",
"test:mocha:verbose": "cross-env FLUID_TEST_VERBOSE=1 npm run test:mocha",
"tsc": "tsc",
"tsc": "tsc-multi --config ./tsc-multi.cjs.json",
"typetests:gen": "fluid-type-test-generator",
"typetests:prepare": "flub typetests --dir . --reset --previous --normalize"
},
Expand Down Expand Up @@ -114,6 +114,24 @@
"api-extractor:esnext"
],
"script": false
},
"build:esnext": [
"^api",
"^build:esnext"
],
"commonjs": {
"dependsOn": [
"tsc"
],
"script": false
},
"compile": {
"dependsOn": [
"build:commonjs",
"build:esnext",
"build:test"
],
"script": false
}
}
},
Expand Down

0 comments on commit dc82c5a

Please sign in to comment.