diff --git a/.all-contributorsrc b/.all-contributorsrc index 098d70cd..0f175cdb 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -567,6 +567,15 @@ "review" ] }, + { + "login": "snowystinger", + "name": "Robert Snow", + "avatar_url": "https://avatars.githubusercontent.com/u/698229?v=4", + "profile": "https://github.com/snowystinger", + "contributions": [ + "test" + ] + }, { "login": "chris110408", "name": "Chris Chen", diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index ed3d3724..2bdcf04e 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -17,6 +17,7 @@ jobs: strategy: matrix: node: [12.13, 12, 14, 16] + react: [16.9.0, ^16, ^17] runs-on: ubuntu-latest steps: - name: 🛑 Cancel Previous Runs @@ -37,6 +38,9 @@ jobs: env: HUSKY_SKIP_INSTALL: true + - name: Use React version + run: npm install --save-dev react@"${{ matrix.react }}" react-dom@"${{ matrix.react }}" react-test-renderer@"${{ matrix.react }}" + - name: ▶️ Run validate script run: npm run validate diff --git a/README.md b/README.md index 7117e70b..eb79ae8b 100644 --- a/README.md +++ b/README.md @@ -246,6 +246,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
Matan Borenkraout

🚧
andyrooger

💻
Bryan Wain

🐛 👀 +
Robert Snow

⚠️
Chris Chen

⚠️ diff --git a/package.json b/package.json index 797f1ff3..ba03720e 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,6 @@ "scripts": { "setup": "npm install && npm run validate -s", "validate": "kcd-scripts validate", - "prepare": "npm run build", "build": "kcd-scripts build --out-dir lib && npm run generate:submodules", "generate:submodules": "ts-node scripts/generate-submodules.ts", "test": "kcd-scripts test", @@ -43,7 +42,10 @@ "coverage": "codecov", "docs:dev": "docz dev", "docs:build": "docz build", - "contributors:add": "all-contributors add" + "contributors:add": "all-contributors add", + "install:react-16-9": "npm install --no-save react@16.9.0 react-dom@16.9.0 react-test-renderer@16.9.0", + "install:react-16": "npm install --no-save react@^16 react-dom@^16 react-test-renderer@^16", + "install:react-17": "npm install --no-save react@^17 react-dom@^17 react-test-renderer@^17" }, "dependencies": { "@babel/runtime": "^7.12.5",