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

Commit a98e112

Browse files
authored
Miscellaneous repo updates (#4035)
1 parent a7c68e6 commit a98e112

File tree

70 files changed

+1537
-1364
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+1537
-1364
lines changed

.eslintrc.yml

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
extends: "@cerner/terra"
2+
globals:
3+
enzyme: readonly
4+
enzymeIntl: readonly

.github/workflows/ci-cd.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ jobs:
7777
npm run compile:fusion -- --output-path build/fusion
7878
if: matrix.theme == 'fusion'
7979
- name: Run WDIO Tests for form factor ${{ matrix.form-factor }} and ${{ matrix.theme }}
80-
run: SITE=build/${{ matrix.theme }} FORM_FACTOR=${{ matrix.form-factor }} npm run wdio-${{ matrix.theme }}
80+
run: SITE=build/${{ matrix.theme }} FORM_FACTOR=${{ matrix.form-factor }} npm run wdio:${{ matrix.theme }}
8181

8282
release-and-deploy:
8383
runs-on: ubuntu-latest

.gitignore

+13-60
Original file line numberDiff line numberDiff line change
@@ -1,67 +1,20 @@
1-
# From https://github.com/github/gitignore
2-
# - Node.gitignore
3-
# - Ruby.gitignore
4-
# - Sass.gitignore
5-
6-
*.bridgesupport
7-
*.css.map
8-
*.gem
1+
# local-files
92
*.log
10-
*.pid
11-
*.pid.lock
12-
*.rbc
13-
*.seed
14-
.dat*
15-
.DS_Store
16-
.grunt
3+
*.tgz
4+
packages/**/package-lock.json
5+
6+
# local folders
7+
.fleet
178
.idea
18-
.lock-wscript
19-
.node_repl_history
20-
.npm
21-
.nyc_output
22-
.repl_history
23-
.rvmrc
249
.vscode
25-
.sass-cache/
26-
/.bundle/
27-
/.config
28-
/.yardoc/
29-
/_yardoc/
30-
/coverage/
31-
/doc/
32-
/InstalledFiles
33-
/lib/bundler/man/
34-
/pkg/
35-
/rdoc/
36-
/spec/examples.txt
37-
/spec/reports/
38-
/test/tmp/
39-
/test/version_tmp/
40-
/tmp/
41-
/vendor/bundle
42-
build-iPhoneOS/
43-
build-iPhoneSimulator/
44-
build/
45-
build/Release
46-
coverage
47-
jspm_packages
48-
lib-cov
49-
logs
10+
.DS_Store
11+
12+
# generated folders
13+
aggregated-translations
14+
generated-themes
15+
lib
5016
node_modules
51-
npm-debug.log*
52-
pids
53-
packages/**/package-lock.json
5417
reports
55-
screenshots
56-
target
57-
**/aggregated-translations/*.*
58-
lib
59-
props-table
60-
**/__snapshots__/screen
6118
**/__snapshots__/latest
19+
**/__snapshots__/errors
6220
**/__snapshots__/diff
63-
**/__snapshots__/error
64-
errorScreenshots
65-
*table.md
66-
generated-themes
67-
/.nova/

.npmrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
package-lock=true
22
node-options=--max_old_space_size=2048
3-
legacy-peer-deps=true
3+
legacy-peer-deps=false

.stylelintrc.yml

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
extends: "@cerner/stylelint-config-terra"
2+
rules:
3+
scss/at-mixin-pattern: "^(terra-)[a-z]+([a-z0-9-]+[a-z0-9]+)?$"
4+
overrides:
5+
- files:
6+
- "packages/terra-theme-properties/**/*.scss"
7+
- "packages/**/redwood-theme/**/*.scss"
8+
rules:
9+
terra/custom-property-name: false
10+
terra/custom-property-namespace: false

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ npm run test
205205
For example:
206206
```sh
207207
"scripts": {
208-
"wdio-lowlight": "terra wdio --disableSeleniumService=true --themes clinical-lowlight-theme"
208+
"wdio:lowlight": "terra wdio --disableSeleniumService=true --themes clinical-lowlight-theme"
209209
}
210210
```
211211
- If any of the compose files were to be changed, you must refresh the docker container by deleting the corresponding existing docker images, then running the following command:

babel.config.js

+1-9
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,5 @@ module.exports = (api) => {
66
['@babel/preset-env', { useBuiltIns: 'entry', corejs: { version: 3.6, proposals: true } }],
77
'@babel/preset-react',
88
];
9-
const plugins = [
10-
'@babel/plugin-transform-object-assign',
11-
'@babel/plugin-proposal-object-rest-spread',
12-
];
13-
14-
return {
15-
presets,
16-
plugins,
17-
};
9+
return { presets };
1810
};

0 commit comments

Comments
 (0)