fix: add nyc config
MODIFY
src/generators/app/index.ts
src/generators/app/index.ts
@@ -344,7 +344,6 @@ class App extends Generator {
'mocha',
'mocha-junit-reporter',
'chai',
- '@dxcli/nyc-config',
)
if (this.type !== 'base') devDependencies.push(
'@dxcli/test',
@@ -386,12 +385,9 @@ class App extends Generator {
return _([
'*-debug.log',
'*-error.log',
- '/coverage.lcov',
- '/coverage',
'/node_modules',
'/tmp',
this.ts && '/lib',
- this.mocha && '/.nyc_output',
])
.concat(existing)
.compact()

MODIFY
templates/scripts/test
templates/scripts/test
@@ -23,7 +23,7 @@ if [[ "$CLI_ENGINE_GREENKEEPER_BRANCH" == 1 ]]; then
greenkeeper-lockfile-upload
fi
-yarn add nyc @dxcli/nyc-config
+yarn add -D nyc @dxcli/nyc-config
yarn test
curl -s https://codecov.io/bash | bash

fix: add nyc config