Skip to content

Commit

Permalink
chore(package): Actually install mocha-junit-reporter.
Browse files Browse the repository at this point in the history
Also wrap our `build` steps with `cross-env`.
  • Loading branch information
randytarampi committed May 8, 2020
1 parent 171320f commit b0a5f9a
Show file tree
Hide file tree
Showing 15 changed files with 49 additions and 25 deletions.
5 changes: 3 additions & 2 deletions packages/browser-logger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"cross-env": "^7.0.2",
"gulp": "^4.0.2",
"jsdom": "^16.2.2",
"mocha-junit-reporter": "^1.23.3",
"sinon": "^9.0.2",
"snyk": "^1.319.0"
},
Expand Down Expand Up @@ -53,8 +54,8 @@
"scripts": {
"build": "yarn run build:babel",
"build:babel": "yarn run build:babel:esm && yarn run build:babel:es5",
"build:babel:es5": "BABEL_ENV=client.es5 babel src --out-dir es5 --root-mode upward --copy-files",
"build:babel:esm": "BABEL_ENV=client.esm babel src --out-dir esm --root-mode upward --copy-files",
"build:babel:es5": "cross-env-shell BABEL_ENV=client.es5 babel src --out-dir es5 --root-mode upward --copy-files",
"build:babel:esm": "cross-env-shell BABEL_ENV=client.esm babel src --out-dir esm --root-mode upward --copy-files",
"clean": "gulp -LLLL --color clean",
"cover": "cross-env-shell NODE_ENV=test nyc gulp -LLLL --color test",
"prepack": "if [ -z \"$RELEASE\" ] && [ -z \"$CI\" ]; then cross-env-shell NODE_ENV=prd yarn run build; fi; if [ ! -d \"./dist\" ] && [ ! -d \"./es5\" ] && [ ! -d \"./esm\" ]; then exit 74; fi;",
Expand Down
5 changes: 3 additions & 2 deletions packages/job-application/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"express": "^4.17.1",
"gulp": "^4.0.2",
"jsdom": "^16.2.2",
"mocha-junit-reporter": "^1.23.3",
"snyk": "^1.319.0",
"yargs": "^15.3.1"
},
Expand All @@ -58,8 +59,8 @@
"scripts": {
"build": "yarn run build:babel",
"build:babel": "yarn run build:babel:esm && yarn run build:babel:es5",
"build:babel:es5": "BABEL_ENV=client.es5 babel src --out-dir es5 --root-mode upward --copy-files",
"build:babel:esm": "BABEL_ENV=client.esm babel src --out-dir esm --root-mode upward --copy-files",
"build:babel:es5": "cross-env-shell BABEL_ENV=client.es5 babel src --out-dir es5 --root-mode upward --copy-files",
"build:babel:esm": "cross-env-shell BABEL_ENV=client.esm babel src --out-dir esm --root-mode upward --copy-files",
"clean": "gulp -LLLL --color clean",
"cover": "cross-env-shell NODE_ENV=test nyc gulp -LLLL --color test",
"job-application": "cross-env-shell NODE_ENV=printable CAMPAIGN_SOURCE=$(node -p \"require(\\\"./package.json\\\").name\") CAMPAIGN_MEDIUM=pdf CAMPAIGN_CONTENT=$(node -p \"require(\\\"./package.json\\\").version\") gulp -LLLL --color job-application",
Expand Down
5 changes: 3 additions & 2 deletions packages/js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"gulp": "^4.0.2",
"mocha-junit-reporter": "^1.23.3",
"snyk": "^1.319.0"
},
"directories": {
Expand Down Expand Up @@ -65,8 +66,8 @@
"scripts": {
"build": "yarn run build:babel",
"build:babel": "yarn run build:babel:esm && yarn run build:babel:es5",
"build:babel:es5": "BABEL_ENV=client.es5 babel src --out-dir es5 --root-mode upward --copy-files",
"build:babel:esm": "BABEL_ENV=client.esm babel src --out-dir esm --root-mode upward --copy-files",
"build:babel:es5": "cross-env-shell BABEL_ENV=client.es5 babel src --out-dir es5 --root-mode upward --copy-files",
"build:babel:esm": "cross-env-shell BABEL_ENV=client.esm babel src --out-dir esm --root-mode upward --copy-files",
"clean": "gulp -LLLL --color clean",
"cover": "cross-env-shell NODE_ENV=test nyc gulp -LLLL --color test",
"prepack": "if [ -z \"$RELEASE\" ] && [ -z \"$CI\" ]; then cross-env-shell NODE_ENV=prd yarn run build; fi; if [ ! -d \"./es5\" ] && [ ! -d \"./esm\" ]; then exit 74; fi;",
Expand Down
3 changes: 2 additions & 1 deletion packages/jsonresume-theme/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"express": "^4.17.1",
"gulp": "^4.0.2",
"snyk": "^1.319.0",
"mocha-junit-reporter": "^1.23.3",
"webpack-node-externals": "^1.7.2"
},
"directories": {
Expand Down Expand Up @@ -69,7 +70,7 @@
"scripts": {
"build": "yarn run build:copy && yarn run build:webpack && yarn run build:babel",
"build:babel": "yarn run build:babel:esm",
"build:babel:esm": "BABEL_ENV=client.esm babel src --out-dir esm --root-mode upward --copy-files",
"build:babel:esm": "cross-env-shell BABEL_ENV=client.esm babel src --out-dir esm --root-mode upward --copy-files",
"build:copy": "mkdir -p dist && yarn build:copy:index.pug && yarn build:copy:layout.pug && yarn build:copy:styles.css && cp *.md dist/",
"build:copy:index.pug": "cp $(node -p 'require(\"path\").resolve(require.resolve(\"@randy.tarampi/views\"), \"../../templates/index.pug\")') ./dist/index.pug",
"build:copy:layout.pug": "cp $(node -p 'require(\"path\").resolve(require.resolve(\"@randy.tarampi/views\"), \"../../templates/layout.pug\")') ./dist/layout.pug",
Expand Down
5 changes: 3 additions & 2 deletions packages/jsx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
"enzyme-adapter-react-16": "^1.15.2",
"gulp": "^4.0.2",
"jsdom": "^16.2.2",
"mocha-junit-reporter": "^1.23.3",
"mock-local-storage": "^1.1.12",
"proxyquire": "^2.1.3",
"redux-mock-store": "^1.5.4",
Expand Down Expand Up @@ -113,8 +114,8 @@
"scripts": {
"build": "yarn run build:gulp && yarn run build:babel",
"build:babel": "yarn run build:babel:esm && yarn run build:babel:es5",
"build:babel:es5": "BABEL_ENV=client.es5 babel src --out-dir es5 --root-mode upward --copy-files",
"build:babel:esm": "BABEL_ENV=client.esm babel src --out-dir esm --root-mode upward --copy-files",
"build:babel:es5": "cross-env-shell BABEL_ENV=client.es5 babel src --out-dir es5 --root-mode upward --copy-files",
"build:babel:esm": "cross-env-shell BABEL_ENV=client.esm babel src --out-dir esm --root-mode upward --copy-files",
"build:gulp": "gulp -LLLL --color build",
"clean": "gulp -LLLL --color clean",
"cover": "cross-env-shell NODE_ENV=test nyc gulp -LLLL --color test",
Expand Down
5 changes: 3 additions & 2 deletions packages/lambda-logger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"gulp": "^4.0.2",
"mocha-junit-reporter": "^1.23.3",
"proxyquire": "^2.1.3",
"sinon": "^9.0.2"
},
Expand Down Expand Up @@ -53,8 +54,8 @@
"scripts": {
"build": "yarn run build:babel",
"build:babel": "yarn run build:babel:esm && yarn run build:babel:es5",
"build:babel:es5": "BABEL_ENV=client.es5 babel src --out-dir es5 --root-mode upward --copy-files",
"build:babel:esm": "BABEL_ENV=client.esm babel src --out-dir esm --root-mode upward --copy-files",
"build:babel:es5": "cross-env-shell BABEL_ENV=client.es5 babel src --out-dir es5 --root-mode upward --copy-files",
"build:babel:esm": "cross-env-shell BABEL_ENV=client.esm babel src --out-dir esm --root-mode upward --copy-files",
"clean": "gulp -LLLL --color clean",
"cover": "cross-env-shell NODE_ENV=test nyc gulp -LLLL --color test",
"prepack": "if [ -z \"$RELEASE\" ] && [ -z \"$CI\" ]; then cross-env-shell NODE_ENV=prd yarn run build; fi; if [ ! -d \"./dist\" ] && [ ! -d \"./es5\" ] && [ ! -d \"./esm\" ]; then exit 74; fi;",
Expand Down
5 changes: 3 additions & 2 deletions packages/letter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
"jsdom": "^16.2.2",
"koa-mount": "^4.0.0",
"koa-static": "^5.0.0",
"mocha-junit-reporter": "^1.23.3",
"proxyquire": "^2.1.3",
"redux-mock-store": "^1.5.4",
"redux-thunk": "^2.3.0",
Expand Down Expand Up @@ -105,8 +106,8 @@
"scripts": {
"build": "yarn run build:gulp && yarn run build:babel",
"build:babel": "yarn run build:babel:esm && yarn run build:babel:es5",
"build:babel:es5": "BABEL_ENV=client.es5 babel src --out-dir es5 --root-mode upward --copy-files",
"build:babel:esm": "BABEL_ENV=client.esm babel src --out-dir esm --root-mode upward --copy-files",
"build:babel:es5": "cross-env-shell BABEL_ENV=client.es5 babel src --out-dir es5 --root-mode upward --copy-files",
"build:babel:esm": "cross-env-shell BABEL_ENV=client.esm babel src --out-dir esm --root-mode upward --copy-files",
"build:gulp": "gulp -LLLL --color build",
"clean": "gulp -LLLL --color clean",
"cover": "cross-env-shell NODE_ENV=test nyc gulp -LLLL --color test",
Expand Down
5 changes: 3 additions & 2 deletions packages/printables/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"enzyme-adapter-react-16": "^1.15.2",
"gulp": "^4.0.2",
"jsdom": "^16.2.2",
"mocha-junit-reporter": "^1.23.3",
"sinon": "^9.0.2",
"snyk": "^1.319.0"
},
Expand Down Expand Up @@ -58,8 +59,8 @@
"scripts": {
"build": "yarn run build:babel",
"build:babel": "yarn run build:babel:esm && yarn run build:babel:es5",
"build:babel:es5": "BABEL_ENV=client.es5 babel src --out-dir es5 --root-mode upward --copy-files",
"build:babel:esm": "BABEL_ENV=client.esm babel src --out-dir esm --root-mode upward --copy-files",
"build:babel:es5": "cross-env-shell BABEL_ENV=client.es5 babel src --out-dir es5 --root-mode upward --copy-files",
"build:babel:esm": "cross-env-shell BABEL_ENV=client.esm babel src --out-dir esm --root-mode upward --copy-files",
"clean": "gulp -LLLL --color clean",
"cover": "cross-env-shell NODE_ENV=test nyc gulp -LLLL --color test",
"prepack": "if [ -z \"$RELEASE\" ] && [ -z \"$CI\" ]; then cross-env-shell NODE_ENV=prd yarn run build; fi; if [ ! -d \"./dist\" ] && [ ! -d \"./es5\" ] && [ ! -d \"./esm\" ]; then exit 74; fi;",
Expand Down
5 changes: 3 additions & 2 deletions packages/redux-metrics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"cross-env": "^7.0.2",
"gulp": "^4.0.2",
"jsdom": "^16.2.2",
"mocha-junit-reporter": "^1.23.3",
"sinon": "^9.0.2"
},
"directories": {
Expand Down Expand Up @@ -52,8 +53,8 @@
"scripts": {
"build": "npm run build:babel",
"build:babel": "npm run build:babel:esm && npm run build:babel:es5",
"build:babel:es5": "BABEL_ENV=client.es5 babel src --out-dir es5 --root-mode upward --copy-files",
"build:babel:esm": "BABEL_ENV=client.esm babel src --out-dir esm --root-mode upward --copy-files",
"build:babel:es5": "cross-env-shell BABEL_ENV=client.es5 babel src --out-dir es5 --root-mode upward --copy-files",
"build:babel:esm": "cross-env-shell BABEL_ENV=client.esm babel src --out-dir esm --root-mode upward --copy-files",
"clean": "gulp -LLLL --color clean",
"cover": "cross-env-shell NODE_ENV=test nyc gulp -LLLL --color test",
"dev": "npm run dev:client",
Expand Down
5 changes: 3 additions & 2 deletions packages/resume/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
"jsdom": "^16.2.2",
"koa-mount": "^4.0.0",
"koa-static": "^5.0.0",
"mocha-junit-reporter": "^1.23.3",
"proxyquire": "^2.1.3",
"redux-mock-store": "^1.5.4",
"sinon": "^9.0.2",
Expand Down Expand Up @@ -119,8 +120,8 @@
"scripts": {
"build": "yarn run build:gulp && yarn run build:babel",
"build:babel": "yarn run build:babel:esm && yarn run build:babel:es5",
"build:babel:es5": "BABEL_ENV=client.es5 babel src --out-dir es5 --root-mode upward --copy-files",
"build:babel:esm": "BABEL_ENV=client.esm babel src --out-dir esm --root-mode upward --copy-files",
"build:babel:es5": "cross-env-shell BABEL_ENV=client.es5 babel src --out-dir es5 --root-mode upward --copy-files",
"build:babel:esm": "cross-env-shell BABEL_ENV=client.esm babel src --out-dir esm --root-mode upward --copy-files",
"build:gulp": "gulp -LLLL --color build",
"clean": "gulp -LLLL --color clean",
"cover": "cross-env-shell NODE_ENV=test nyc gulp -LLLL --color test",
Expand Down
5 changes: 3 additions & 2 deletions packages/serverless/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"gulp": "^4.0.2",
"mocha-junit-reporter": "^1.23.3",
"sinon": "^9.0.2",
"snyk": "^1.319.0"
},
Expand Down Expand Up @@ -54,8 +55,8 @@
"scripts": {
"build": "yarn run build:babel",
"build:babel": "yarn run build:babel:esm && yarn run build:babel:es5",
"build:babel:es5": "BABEL_ENV=client.es5 babel src --out-dir es5 --root-mode upward --copy-files",
"build:babel:esm": "BABEL_ENV=client.esm babel src --out-dir esm --root-mode upward --copy-files",
"build:babel:es5": "cross-env-shell BABEL_ENV=client.es5 babel src --out-dir es5 --root-mode upward --copy-files",
"build:babel:esm": "cross-env-shell BABEL_ENV=client.esm babel src --out-dir esm --root-mode upward --copy-files",
"clean": "gulp -LLLL --color clean",
"cover": "cross-env-shell NODE_ENV=test nyc gulp -LLLL --color test",
"prepack": "if [ -z \"$RELEASE\" ] && [ -z \"$CI\" ]; then cross-env-shell NODE_ENV=prd yarn run build; fi; if [ ! -d \"./dist\" ] && [ ! -d \"./es5\" ] && [ ! -d \"./esm\" ]; then exit 74; fi;",
Expand Down
1 change: 1 addition & 0 deletions packages/service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
"copy-webpack-plugin": "^5.1.1",
"cross-env": "^7.0.2",
"gulp": "^4.0.2",
"mocha-junit-reporter": "^1.23.3",
"proxyquire": "^2.1.3",
"serverless": "^1.68.0",
"serverless-domain-manager": "^3.3.2",
Expand Down
4 changes: 2 additions & 2 deletions packages/views/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
"scripts": {
"build": "yarn run build:gulp && yarn run build:babel",
"build:babel": "yarn run build:babel:esm && yarn run build:babel:es5",
"build:babel:es5": "BABEL_ENV=client.es5 babel src --out-dir es5 --root-mode upward --copy-files",
"build:babel:esm": "BABEL_ENV=client.esm babel src --out-dir esm --root-mode upward --copy-files",
"build:babel:es5": "cross-env-shell BABEL_ENV=client.es5 babel src --out-dir es5 --root-mode upward --copy-files",
"build:babel:esm": "cross-env-shell BABEL_ENV=client.esm babel src --out-dir esm --root-mode upward --copy-files",
"build:gulp": "gulp -LLLL --color build",
"clean": "gulp -LLLL --color clean",
"prepack": "if [ -z \"$RELEASE\" ] && [ -z \"$CI\" ]; then cross-env-shell NODE_ENV=prd yarn run build; fi; if [ ! -d \"./dist\" ] && [ ! -d \"./es5\" ] && [ ! -d \"./esm\" ]; then exit 74; fi;",
Expand Down
1 change: 1 addition & 0 deletions packages/www/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
"koa-mount": "^4.0.0",
"koa-static": "^5.0.0",
"mock-local-storage": "^1.1.12",
"mocha-junit-reporter": "^1.23.3",
"optimize-css-assets-webpack-plugin": "^5.0.3",
"redux-mock-store": "^1.5.4",
"sinon": "^9.0.2",
Expand Down
15 changes: 13 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -12549,7 +12549,7 @@ md5.js@^1.3.4:
inherits "^2.0.1"
safe-buffer "^5.1.2"

md5@^2.2.1:
md5@^2.1.0, md5@^2.2.1:
version "2.2.1"
resolved "https://registry.yarnpkg.com/md5/-/md5-2.2.1.tgz#53ab38d5fe3c8891ba465329ea23fac0540126f9"
integrity sha1-U6s41f48iJG6RlMp6iP6wFQBJvk=
Expand Down Expand Up @@ -12986,6 +12986,17 @@ mkdirp@0.5.4:
dependencies:
minimist "^1.2.5"

mocha-junit-reporter@^1.23.3:
version "1.23.3"
resolved "https://registry.yarnpkg.com/mocha-junit-reporter/-/mocha-junit-reporter-1.23.3.tgz#941e219dd759ed732f8641e165918aa8b167c981"
integrity sha512-ed8LqbRj1RxZfjt/oC9t12sfrWsjZ3gNnbhV1nuj9R/Jb5/P3Xb4duv2eCfCDMYH+fEu0mqca7m4wsiVjsxsvA==
dependencies:
debug "^2.2.0"
md5 "^2.1.0"
mkdirp "~0.5.1"
strip-ansi "^4.0.0"
xml "^1.0.0"

mocha@^6.1.4, mocha@^6.2.0:
version "6.2.3"
resolved "https://registry.yarnpkg.com/mocha/-/mocha-6.2.3.tgz#e648432181d8b99393410212664450a4c1e31912"
Expand Down Expand Up @@ -21130,7 +21141,7 @@ xml2js@0.4.23, xml2js@^0.4.17:
sax ">=0.6.0"
xmlbuilder "~11.0.0"

xml@1.0.1:
xml@1.0.1, xml@^1.0.0:
version "1.0.1"
resolved "https://registry.yarnpkg.com/xml/-/xml-1.0.1.tgz#78ba72020029c5bc87b8a81a3cfcd74b4a2fc1e5"
integrity sha1-eLpyAgApxbyHuKgaPPzXS0ovweU=
Expand Down

0 comments on commit b0a5f9a

Please sign in to comment.