Skip to content

Commit

Permalink
2.0.1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
JayCanuck committed Feb 13, 2019
2 parents 7d8d819 + ea1510c commit 4f73b64
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 4 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 2.0.1 (February 13, 2019)

### test
* Fixed tests being ignored when out-of-project parent directories are named `coverage`, `dist`, or `build`. Such is the case on TravisCI.

## 2.0.0 (February 11, 2019)

Updated all dependencies to latest releases and added support for TypeScript. In keeping with community standards, CSS/LESS is now processed in the global scope, while modular CSS can be retained by using the `.module.css`/`.module.less` extension or setting the `forceCSSModules` Enact project setting in `package.json`.
Expand Down
12 changes: 10 additions & 2 deletions config/jest/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,25 @@ if (pkg.meta.name === '@enact/moonstone') {
globals.ILIB_BASE_PATH = 'ilib';
}

const ignorePatterns = [
// Common directories to ignore
'/node_modules/',
'<rootDir>/(.*/)*coverage/',
'<rootDir>/(.*/)*build/',
'<rootDir>/(.*/)*dist/'
];

module.exports = {
collectCoverageFrom: ['**/*.{js,jsx,ts,tsx}', '!**/*.d.ts'],
coveragePathIgnorePatterns: ['/node_modules/', '/build/', '/dist/', '/coverage/'],
coveragePathIgnorePatterns: ignorePatterns,
setupFiles: [require.resolve('../polyfills')],
setupFilesAfterEnv: [require.resolve('./setupTests')],
testMatch: [
'<rootDir>/**/__tests__/**/*.{js,jsx,ts,tsx}',
'<rootDir>/**/?(*.)(spec|test).{js,jsx,ts,tsx}',
'<rootDir>/**/*-specs.{js,jsx,ts,tsx}'
],
testPathIgnorePatterns: ['/node_modules/', '/build/', '/dist/', '/coverage/'],
testPathIgnorePatterns: ignorePatterns,
testEnvironment: 'jsdom',
testEnvironmentOptions: {pretendToBeVisual: true},
testURL: 'http://localhost',
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@enact/cli",
"version": "2.0.0",
"version": "2.0.1",
"description": "Full-featured build environment tool for Enact applications.",
"main": "index.js",
"author": "Jason Robitaille <[email protected]>",
Expand Down

0 comments on commit 4f73b64

Please sign in to comment.