Skip to content
This repository has been archived by the owner on May 22, 2024. It is now read-only.

Commit

Permalink
deprecate error-view and no-data view from repository (#253)
Browse files Browse the repository at this point in the history
* remove error-view and no-data view from repository

* updating readme

* Revert "updating readme"

This reverts commit 0935242.

* Revert "remove error-view and no-data view from repository"

This reverts commit bd36c8b.

* updating readmes to mark components as deprecated and setting lerna to ignore components

* removing error-view and no-data-view tests from running

* fixing lint error

* marking deprecated to be bold
  • Loading branch information
kschuste authored and mjhenkes committed Jan 29, 2018
1 parent 3abb6b2 commit 3a10c03
Show file tree
Hide file tree
Showing 11 changed files with 34 additions and 8 deletions.
2 changes: 2 additions & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Cerner Corporation
- Ryan Manuel [@ryanthemanuel]
- Noah Benham [@noahbenham]
- Natalie Seeto [@njseeto]
- Kevin Schuster [@kschuste]

[@dkasper-was-taken]: https://github.com/dkasper-was-taken
[@jmsv6d]: https://github.com/jmsv6d
Expand All @@ -25,3 +26,4 @@ Cerner Corporation
[@ryanthemanuel]: https://github.com/ryanthemanuel
[@noahbenham]: https://github.com/noahbenham
[@njseeto]: https://github.com/njseeto
[@kschuste]: https://github.com/kschuste
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@
| terra-clinical-app-delegate |[![NPM version](http://img.shields.io/npm/v/terra-clinical-app-delegate.svg)](https://www.npmjs.org/package/terra-clinical-app-delegate) | :x:|
| [terra-clinical-application](https://github.com/cerner/terra-clinical/tree/master/packages/terra-clinical-application) |[![NPM version](http://img.shields.io/npm/v/terra-clinical-application.svg)](https://www.npmjs.org/package/terra-clinical-application) | :white_check_mark:|
| [terra-clinical-detail-view](https://github.com/cerner/terra-clinical/tree/master/packages/terra-clinical-detail-view) | [![NPM version](http://img.shields.io/npm/v/terra-clinical-detail-view.svg)](https://www.npmjs.org/package/terra-clinical-detail-view) | :white_check_mark: |
| [terra-clinical-error-view](https://github.com/cerner/terra-clinical/tree/master/packages/terra-clinical-error-view) | [![NPM version](http://img.shields.io/npm/v/terra-clinical-error-view.svg)](https://www.npmjs.org/package/terra-clinical-error-view) | :white_check_mark:|
| [terra-clinical-error-view](https://github.com/cerner/terra-clinical/tree/master/packages/terra-clinical-error-view) | [![NPM version](http://img.shields.io/npm/v/terra-clinical-error-view.svg)](https://www.npmjs.org/package/terra-clinical-error-view) | :x:|
| [terra-clinical-header](https://github.com/cerner/terra-clinical/tree/master/packages/terra-clinical-header) | [![NPM version](http://img.shields.io/npm/v/terra-clinical-header.svg)](https://www.npmjs.org/package/terra-clinical-header) | :white_check_mark: |
| [terra-clinical-item-collection](https://github.com/cerner/terra-clinical/tree/master/packages/terra-clinical-item-collection) | [![NPM version](http://img.shields.io/npm/v/terra-clinical-item-collection.svg)](https://www.npmjs.org/package/terra-clinical-item-collection) | :white_check_mark: |
| [terra-clinical-item-display](https://github.com/cerner/terra-clinical/tree/master/packages/terra-clinical-item-display) | [![NPM version](http://img.shields.io/npm/v/terra-clinical-item-display.svg)](https://www.npmjs.org/package/terra-clinical-item-display) | :white_check_mark: |
| [terra-clinical-item-view](https://github.com/cerner/terra-clinical/tree/master/packages/terra-clinical-item-view) | [![NPM version](http://img.shields.io/npm/v/terra-clinical-item-view.svg)](https://www.npmjs.org/package/terra-clinical-item-view) | :white_check_mark: |
| [terra-clinical-label-value-view](https://github.com/cerner/terra-clinical/tree/master/packages/terra-clinical-label-value-view) | [![NPM version](http://img.shields.io/npm/v/terra-clinical-label-value-view.svg)](https://www.npmjs.org/package/terra-clinical-label-value-view) | :white_check_mark: |
| terra-clinical-modal-manager |[![NPM version](http://img.shields.io/npm/v/terra-clinical-modal-manager.svg)](https://www.npmjs.org/package/terra-clinical-modal-manager) | :x:|
| [terra-clinical-no-data-view](https://github.com/cerner/terra-clinical/tree/master/packages/terra-clinical-no-data-view) | [![NPM version](http://img.shields.io/npm/v/terra-clinical-no-data-view.svg)](https://www.npmjs.org/package/terra-clinical-no-data-view) | :white_check_mark:|
| [terra-clinical-no-data-view](https://github.com/cerner/terra-clinical/tree/master/packages/terra-clinical-no-data-view) | [![NPM version](http://img.shields.io/npm/v/terra-clinical-no-data-view.svg)](https://www.npmjs.org/package/terra-clinical-no-data-view) | :x:|
| [terra-clinical-site](https://github.com/cerner/terra-clinical/tree/master/packages/terra-clinical-site) |[![NPM version](http://img.shields.io/npm/v/terra-clinical-site.svg)](https://www.npmjs.org/package/terra-clinical-site) | :white_check_mark:|
| terra-clinical-slide-group |[![NPM version](http://img.shields.io/npm/v/terra-clinical-slide-group.svg)](https://www.npmjs.org/package/terra-clinical-slide-group) | :x:|

Expand Down
11 changes: 10 additions & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,14 @@
"packages": [
"packages/*"
],
"version": "independent"
"version": "independent",
"commands": {
"publish": {
"ignore": [
"DEPENDENCIES.md",
"terra-clinical-error-view",
"terra-clinical-no-data-view"
]
}
}
}
1 change: 1 addition & 0 deletions nightwatch.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@ if (isRepoTest) {
}

const config = nightwatchConfig(webpackConfig, srcFolders);
config.src_folders = config.src_folders.filter(value => value !== 'packages/terra-clinical-error-view/tests/nightwatch' && value !== 'packages/terra-clinical-no-data-view/tests/nightwatch');

module.exports = config;
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,11 @@
],
"moduleNameMapper": {
"\\.(css|scss)$": "identity-obj-proxy"
}
},
"testPathIgnorePatterns": [
"/packages/terra-clinical-error-view/tests/jest/",
"/packages/terra-clinical-no-data-view/tests/jest/"
]
},
"scripts": {
"bootstrap": "lerna bootstrap",
Expand Down
3 changes: 2 additions & 1 deletion packages/terra-clinical-error-view/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
[![NPM version](http://img.shields.io/npm/v/terra-clinical-error-view.svg)](https://www.npmjs.org/package/terra-clinical-error-view)
[![Build Status](https://travis-ci.org/cerner/terra-clinical.svg?branch=master)](https://travis-ci.org/cerner/terra-clinical)

The Terra ErrorView is a display presented with an error message and location for a button.
The Terra ErrorView is a display presented with an error message and location for a button. This component has been **deprecated** in
favor of [terra-status-view](https://github.com/cerner/terra-core/tree/master/packages/terra-status-view).

- [Getting Started](#getting-started)
- [Documentation](https://github.com/cerner/terra-clinical/tree/master/packages/terra-clinical-error-view/docs)
Expand Down
3 changes: 2 additions & 1 deletion packages/terra-clinical-error-view/docs/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Terra Clinical ErrorView

The Terra Clinical ErrorView is a display presented with an error message and location for a button.
The Terra ErrorView is a display presented with an error message and location for a button. This component has been **deprecated** in
favor of [terra-status-view](https://github.com/cerner/terra-core/tree/master/packages/terra-status-view).

## Getting Started

Expand Down
3 changes: 2 additions & 1 deletion packages/terra-clinical-no-data-view/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
[![NPM version](http://img.shields.io/npm/v/terra-clinical-no-data-view.svg)](https://www.npmjs.org/package/terra-clinical-no-data-view)
[![Build Status](https://travis-ci.org/cerner/terra-clinical.svg?branch=master)](https://travis-ci.org/cerner/terra-clinical)

This component renders a no data glyph with with a message or a content section to display sub-component.
This component renders a no data glyph with with a message or a content section to display sub-component. This component has been **deprecated** in
favor of [terra-status-view](https://github.com/cerner/terra-core/tree/master/packages/terra-status-view).

- [Getting Started](#getting-started)
- [Documentation](https://github.com/cerner/terra-clinical/tree/master/packages/terra-clinical-no-data-view/docs)
Expand Down
4 changes: 3 additions & 1 deletion packages/terra-clinical-no-data-view/docs/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Terra Clinical NoDataView

This component renders a no data glyph with with a message or a content section to display sub-component.

This component renders a no data glyph with with a message or a content section to display sub-component. This component has been **deprecated** in
favor of [terra-status-view](https://github.com/cerner/terra-core/tree/master/packages/terra-status-view).

## Getting Started

Expand Down
2 changes: 2 additions & 0 deletions packages/terra-clinical-site/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ ChangeLog

Unreleased
----------
### Changed
* Marked terra-clinical-error-view and terra-clinical-no-data-view as deprecated.

1.8.0 - (January 23, 2018)
-----------------
Expand Down
3 changes: 3 additions & 0 deletions wdio.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ const config = {
...wdioConf.config,
baseUrl: `http://${localIP.address()}:${webpackPort}`,
specs: [specs],
exclude: [
'packages/terra-clinical-error-view/tests/wdio/**/*-spec.js',
],

// Terra-toolkit services are 'visual-regression', AxeService, TerraService, SeleniumDockerService
services: wdioConf.config.services.concat([WebpackDevService]),
Expand Down

0 comments on commit 3a10c03

Please sign in to comment.