Skip to content

Commit ffe126c

Browse files
fix: missing dist outputs in published packages
1 parent 8733fb2 commit ffe126c

File tree

4 files changed

+5
-1
lines changed

4 files changed

+5
-1
lines changed

packages/scratch-gui/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
"default": "./dist/scratch-gui-standalone.js"
2222
}
2323
},
24+
"files": ["dist"],
2425
"scripts": {
2526
"build": "npm run clean && BUILD_TYPE=dev webpack && BUILD_TYPE=dist webpack && BUILD_TYPE=dist-standalone webpack",
2627
"clean": "rimraf ./build ./dist",
@@ -31,7 +32,7 @@
3132
"i18n:src": "rimraf ./translations/messages/src && babel src > tmp.js && rimraf tmp.js && build-i18n-src ./translations/messages/src ./translations/",
3233
"start": "webpack serve",
3334
"test": "npm run test:lint && npm run test:unit && npm run build && npm run test:integration",
34-
"test:integration": "cross-env JEST_JUNIT_OUTPUT_NAME=integration-tests-results.xml jest --maxWorkers=2 test[\\\\/]integration",
35+
"test:integration": "cross-env JEST_JUNIT_OUTPUT_NAME=integration-tests-results.xml jest --maxWorkers=4 test[\\\\/]integration",
3536
"test:lint": "eslint . --ext .js,.jsx,.ts,.tsx",
3637
"test:unit": "cross-env JEST_JUNIT_OUTPUT_NAME=unit-tests-results.xml jest test[\\\\/]unit",
3738
"test:smoke": "jest --runInBand test[\\\\/]smoke",

packages/scratch-render/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"node": "./dist/node/scratch-render.js",
1616
"default": "./src/index.js"
1717
},
18+
"files": ["dist"],
1819
"scripts": {
1920
"build": "webpack --progress",
2021
"docs": "jsdoc -c .jsdoc.json",

packages/scratch-svg-renderer/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"node": "./dist/node/scratch-svg-renderer.js",
1111
"default": "./src/index.js"
1212
},
13+
"files": ["dist"],
1314
"scripts": {
1415
"build": "npm run clean && webpack",
1516
"clean": "rimraf ./dist",

packages/scratch-vm/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
"node": "./dist/node/scratch-vm.js",
1818
"default": "./src/index.js"
1919
},
20+
"files": ["dist"],
2021
"scripts": {
2122
"build": "npm run docs && webpack --progress",
2223
"coverage": "tap ./test/{unit,integration}/*.js --coverage --coverage-report=lcov",

0 commit comments

Comments
 (0)