ci(bundlesize): Attempt to fix bundlesize build

This commit is contained in:
Josep M Sobrepere 2020-07-17 01:42:53 +02:00
parent 7ed7affd35
commit 8bb059d0f0
5 changed files with 11 additions and 7 deletions

View File

@ -2,4 +2,4 @@ language: node_js
node_js: node
cache: yarn
script:
- yarn test:ci
- yarn test:ci && yarn build:ci

View File

@ -5,6 +5,7 @@
"packages/*"
],
"scripts": {
"build:ci": "wsrun build:ci",
"build": "wsrun build",
"lint": "wsrun lint",
"test:ci": "cross-env CI=true wsrun test:ci"

View File

@ -2,7 +2,7 @@
"version": "0.1.0-alpha.0",
"bundlesize": [
{
"path": "./dist/react-rxjs/core.cjs.production.min.js",
"path": "./dist/core.cjs.production.min.js",
"maxSize": "5 kB",
"compression": "none"
}
@ -21,9 +21,10 @@
"scripts": {
"start": "tsdx watch",
"build": "tsdx build",
"build:ci": "yarn build && bundlesize",
"coverage": "codecov",
"test": "tsdx test --passWithNoTests --coverage",
"test:ci": "npm run test && npm run coverage && bundlesize",
"test:ci": "yarn test && yarn coverage",
"lint": "tsdx lint",
"prepare": "tsdx build"
},

View File

@ -2,7 +2,7 @@
"version": "0.1.0-alpha.0",
"bundlesize": [
{
"path": "./dist/react-rxjs/dom.cjs.production.min.js",
"path": "./dist/dom.cjs.production.min.js",
"maxSize": "1 kB",
"compression": "none"
}
@ -21,9 +21,10 @@
"scripts": {
"start": "tsdx watch",
"build": "tsdx build",
"build:ci": "yarn build && bundlesize",
"coverage": "codecov",
"test": "tsdx test --passWithNoTests --coverage",
"test:ci": "npm run test && npm run coverage && bundlesize",
"test:ci": "yarn test && yarn coverage",
"lint": "tsdx lint",
"prepare": "tsdx build"
},

View File

@ -2,7 +2,7 @@
"version": "0.1.0-alpha.0",
"bundlesize": [
{
"path": "./dist/react-rxjs/utils.cjs.production.min.js",
"path": "./dist/utils.cjs.production.min.js",
"maxSize": "5 kB",
"compression": "none"
}
@ -21,9 +21,10 @@
"scripts": {
"start": "tsdx watch",
"build": "tsdx build",
"build:ci": "yarn build && bundlesize",
"coverage": "codecov",
"test": "tsdx test --passWithNoTests --coverage",
"test:ci": "npm run test && npm run coverage && bundlesize",
"test:ci": "yarn test && yarn coverage",
"lint": "tsdx lint",
"prepare": "tsdx build"
},