Skip to content

Commit 16347de

Browse files
committed
chore: set cjs path for electron
1 parent 85fff58 commit 16347de

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

.travis.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,9 @@ jobs:
8787
name: electron main
8888
addons:
8989
firefox: latest
90-
script: npm run test -- -- -- -t electron-main
90+
script:
91+
- npm run build
92+
- npm run test -- -- -- -t electron-main -f dist/cjs/node-test/*js
9193

9294
- stage: release
9395
# only run on changes to master

packages/ipfs-unixfs-exporter/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"scripts": {
1212
"prepare": "aegir build --no-bundle",
1313
"test": "aegir test",
14-
"build": "aegir build",
14+
"build": "aegir build --esm-tests",
1515
"clean": "rimraf ./dist",
1616
"lint": "aegir ts -p check && aegir lint",
1717
"coverage": "nyc -s npm run test -t node && nyc report --reporter=html",

packages/ipfs-unixfs-importer/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"scripts": {
1212
"prepare": "aegir build --no-bundle",
1313
"test": "aegir test",
14-
"build": "aegir build",
14+
"build": "aegir build --esm-tests",
1515
"clean": "rimraf ./dist",
1616
"lint": "aegir ts -p check && aegir lint",
1717
"coverage": "nyc -s npm run test -t node && nyc report --reporter=html",

packages/ipfs-unixfs/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"prepare:proto-types": "pbts -o src/unixfs.d.ts src/unixfs.js",
1515
"prepare:types": "aegir build --no-bundle",
1616
"test": "aegir test",
17-
"build": "aegir build",
17+
"build": "aegir build --esm-tests",
1818
"clean": "rimraf ./dist",
1919
"lint": "aegir ts -p check && aegir lint",
2020
"coverage": "nyc -s aegir test -t node && nyc report --reporter=html",

0 commit comments

Comments
 (0)