Skip to content

Commit

Permalink
Merge pull request reduxjs#4056 from reduxjs/feature/4x-update-build-…
Browse files Browse the repository at this point in the history
…tooling

Former-commit-id: a69e218
Former-commit-id: 1bb98f7
  • Loading branch information
markerikson committed Apr 2, 2021
2 parents 531b63d + 4c0123f commit cbccf59
Show file tree
Hide file tree
Showing 85 changed files with 287 additions and 109 deletions.
7 changes: 7 additions & 0 deletions .codesandbox/ci.json
@@ -0,0 +1,7 @@
{
"sandboxes": [
"vanilla",
"vanilla-ts"
],
"node": "14"
}
1 change: 1 addition & 0 deletions .github/FUNDING.yml
@@ -0,0 +1 @@
github: timdorr
16 changes: 0 additions & 16 deletions .github/ISSUE_TEMPLATE/Bug_report.md

This file was deleted.

1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/Bug_report.md.REMOVED.git-id
@@ -0,0 +1 @@
0af257525b41f26a90c844bcf0da117902f1e70a
9 changes: 0 additions & 9 deletions .github/ISSUE_TEMPLATE/Custom.md

This file was deleted.

1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/Feature_request.md.REMOVED.git-id
@@ -0,0 +1 @@
ac4ce16fd614c255da122749bc972c90bfe40a28
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
@@ -0,0 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: 🤔 Questions and Help
url: https://redux.js.org/introduction/getting-started#help-and-discussion
about: This is a bug tracker, not a support system. For usage questions, please use our support resources.
13 changes: 13 additions & 0 deletions .github/ISSUE_TEMPLATE/documentation-edit.md
@@ -0,0 +1,13 @@
---
name: "\U0001F4DD Documentation Fix"
about: Fixing a problem in an existing docs page
---

## What docs page needs to be fixed?

- **Section**:
- **Page**:

## What is the problem?

## What should be changed to fix the problem?
27 changes: 27 additions & 0 deletions .github/ISSUE_TEMPLATE/documentation-new.md
@@ -0,0 +1,27 @@
---
name: "\U0001F4D6 New/Updated Documentation Content"
about: Adding a new docs page, or updating content in an existing docs page
---

## What docs page is being added or updated?

- **Section**:
- **Page**:

## For Adding New Content

### What kind of content category is this page (tutorial, how-to, explanation, reference)?

### Who is the intended target audience?

#### What knowledge are we assuming they have?

### What are the intended results or takeaways from reading this page?

### What is the most critical info they should learn?

## For Updating Existing Content

### What updates should be made to the page?

### Do these updates change any of the assumptions or target audience? If so, how do they change?
9 changes: 9 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
@@ -0,0 +1,9 @@
Thanks for the PR!

To better assist you, please select the type of PR you want to create.

Click the "Preview" tab above, and click on the link for the PR type:

- [:bug: Bug fix or new feature](?template=bugfix.md)
- [:memo: Documentation Fix](?template=documentation-edit.md)
- [:book: New/Updated Documentation Content](?template=documentation-new.md)
34 changes: 34 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE/bugfix.md
@@ -0,0 +1,34 @@
---
name: :bug: Bug fix or new feature
about: Fixing a problem with Redux
---

## PR Type

### Does this PR add a new _feature_, or fix a _bug_?

### Why should this PR be included?

## Checklist

- [ ] Have you added an explanation of what your changes do and why you'd like us to include them?
- [ ] Is there an existing issue for this PR?
- _link issue here_
- [ ] Have the files been linted and formatted?
- [ ] Have the docs been updated to match the changes in the PR?
- [ ] Have the tests been updated to match the changes in the PR?
- [ ] Have you run the tests locally to confirm they pass?

## New Features

### What new capabilities does this PR add?

### What docs changes are needed to explain this?

## Bug Fixes

### What is the current behavior, and the steps to reproduce the issue?

### What is the expected behavior?

### How does this PR fix the problem?
19 changes: 19 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE/documentation-edit.md
@@ -0,0 +1,19 @@
---
name: :memo: Documentation Fix
about: Fixing a problem in an existing docs page
---

## Checklist

- [ ] Is there an existing issue for this PR?
- _link issue here_
- [ ] Have the files been linted and formatted?

## What docs page needs to be fixed?

- **Section**:
- **Page**:

## What is the problem?

## What changes does this PR make to fix the problem?
37 changes: 37 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE/documentation-new.md
@@ -0,0 +1,37 @@
---
name: :book: New/Updated Documentation Content
about: Adding a new docs page, or updating content in an existing docs page
---

## PR Type

**Does this PR add a _new_ page, or update an _existing_ page?**

## Checklist

- [ ] Is there an existing issue for this PR?
- _link issue here_
- [ ] Have the files been linted and formatted?

## What docs page is being added or updated?

- **Section**:
- **Page**:

## For Adding New Content

### What kind of content category is this page (tutorial, how-to, explanation, reference)?

### Who is the intended target audience?

#### What knowledge are we assuming they have?

### What are the intended results or takeaways from reading this page?

### What is the most critical info they should learn?

## For Updating Existing Content

### What updates should be made to the page?

### Do these updates change any of the assumptions or target audience? If so, how do they change?
17 changes: 17 additions & 0 deletions .github/workflows/size.yaml
@@ -0,0 +1,17 @@
name: Bundle Size

on: [pull_request]

jobs:
build:
name: Check compressed size
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2-beta
with:
fetch-depth: 1
- uses: preactjs/compressed-size-action@v1
with:
repo-token: '${{ secrets.GITHUB_TOKEN }}'
pattern: './{dist,es,lib}/*.js'
42 changes: 42 additions & 0 deletions .github/workflows/test.yaml
@@ -0,0 +1,42 @@
name: Tests

on:
push:
branches: [4.x]
pull_request:
branches: [4.x]

jobs:
build:
name: Test Suite
runs-on: ubuntu-latest

steps:
- name: Set up Node
uses: actions/setup-node@v1
with:
node-version: 14.x

- name: Checkout code
uses: actions/checkout@v2

- name: Cache dependencies
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.OS }}-npm-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.OS }}-npm-
${{ runner.OS }}-
- name: Install dependencies
run: npm ci

- name: Check formatting
run: npm run format:check

- name: Lint code
run: npm run lint

- name: Run test suite
run: npm test
6 changes: 0 additions & 6 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion docs/Troubleshooting.md.REMOVED.git-id
@@ -1 +1 @@
3396f25b19f4d2e560ed90b0ed297fd99a7c35b7
c06ccbba45638215c49a3b7aebc99bf55167ce18
2 changes: 1 addition & 1 deletion docs/advanced/AsyncActions.md.REMOVED.git-id
@@ -1 +1 @@
5e684f193c4f4266f940fc4a13ca258c785e65b1
2f81f76bc2af8a43c3cce5e45d39d60839d270af
2 changes: 1 addition & 1 deletion docs/advanced/ExampleRedditAPI.md.REMOVED.git-id
@@ -1 +1 @@
49102d986df3bc216a45d7135a9b2512d7a495ce
3ececd6913eabc9d8687e734f99c515713bb07dd
2 changes: 1 addition & 1 deletion docs/advanced/Middleware.md.REMOVED.git-id
@@ -1 +1 @@
a573d2a32cfc6baaa712f47a489ba4db0ee50460
f8286779c4b42c238a5348f655b0d86b03d209a3
2 changes: 1 addition & 1 deletion docs/advanced/UsageWithReactRouter.md.REMOVED.git-id
@@ -1 +1 @@
c41d02a13b6497029eaba6c07ff12cd5ff773af4
b6fb5d8f22cf43a990baee1bf0a18e052eefbd32
2 changes: 1 addition & 1 deletion docs/api/Store.md.REMOVED.git-id
@@ -1 +1 @@
a1e3531009cbbed0d8e2b3bf76b2f96e0f6fe919
577bff063a66d635a83dedeb33ebf1d57bbc04e6
2 changes: 1 addition & 1 deletion docs/api/applyMiddleware.md.REMOVED.git-id
@@ -1 +1 @@
39bb8971fca8a21d345eec00cebf9a7fc4830bbd
d46240620d2877262ebbf93ab242de64442ef822
2 changes: 1 addition & 1 deletion docs/api/bindActionCreators.md.REMOVED.git-id
@@ -1 +1 @@
a0afb131b9f54bb72e9166cd3764199ca953e3ec
9e26632212283ab51cf66735605cae0a94568ef7
2 changes: 1 addition & 1 deletion docs/api/combineReducers.md.REMOVED.git-id
@@ -1 +1 @@
0a489a4c8f7cf620d54fdbf3a6d03cc78968e366
c332b93c5410c310e9aeedd24575c1db55e896bc
2 changes: 1 addition & 1 deletion docs/api/compose.md.REMOVED.git-id
@@ -1 +1 @@
bb9b65f8ad56345cc5f376b4007920781b115d34
ce6d828ff4ca977cc3cfcaad3486e6bf5aeb5ea2
2 changes: 1 addition & 1 deletion docs/api/createStore.md.REMOVED.git-id
@@ -1 +1 @@
569776cfa19ed32d32df47effd9649bf22fa6bf9
52372db2c366ef04ee0ddc6457bbe5eaf59ecb9f
2 changes: 1 addition & 1 deletion docs/basics/Actions.md.REMOVED.git-id
@@ -1 +1 @@
01bc6b9cdb07f1895870c968552e4dcef421a3c5
abb23c5fa300d8d2b5bcb7612b8864a13e2ea8e6
2 changes: 1 addition & 1 deletion docs/basics/DataFlow.md.REMOVED.git-id
@@ -1 +1 @@
07f664685b81c001aa1239723f001dbe46e7994a
1e512444e3842ab82a822085c81d6f54496dc075
2 changes: 1 addition & 1 deletion docs/basics/ExampleTodoList.md.REMOVED.git-id
@@ -1 +1 @@
72c1202d23c35fbdce4718f4719247ea13f9c8d3
833f0c92fd5acb6e192e456b42b2388e0858d45d
2 changes: 1 addition & 1 deletion docs/basics/Reducers.md.REMOVED.git-id
@@ -1 +1 @@
6574b0ff60a65f8cf4609edab3bb63b8f9d9a88d
1f3af108ea006f99b121bc9b7ad3c1a65637d572
2 changes: 1 addition & 1 deletion docs/basics/Store.md.REMOVED.git-id
@@ -1 +1 @@
2a642d4b11640d4761b44fd95fa22fc808647925
692ff0020c8239be97a07d841a1ccad325c0a674
2 changes: 1 addition & 1 deletion docs/basics/UsageWithReact.md.REMOVED.git-id
@@ -1 +1 @@
3bc00bb07f751419aeb4daf6e5806b0ba2d3c001
28e112ed93daf57e194277aef7a930644e19ed2b
2 changes: 1 addition & 1 deletion docs/faq/ImmutableData.md.REMOVED.git-id
@@ -1 +1 @@
18878fbcf29891ec8666a7740ef4697375b9b0a7
002ff61fd3598fd3a419a1e8dfa4e8582645b9d3
2 changes: 1 addition & 1 deletion docs/faq/ReactRedux.md.REMOVED.git-id
@@ -1 +1 @@
db10cbc0164ada5be7c9ef99b84e058af88a1386
ef516d3a21db308c5c25ccd6d726fb12cff877cb
2 changes: 1 addition & 1 deletion docs/introduction/CoreConcepts.md.REMOVED.git-id
@@ -1 +1 @@
95d288c2e76efaac4f6763a921593fc75d615b71
979fd52114a4caa517566a583443151be1c6db46
2 changes: 1 addition & 1 deletion docs/introduction/Ecosystem.md.REMOVED.git-id
@@ -1 +1 @@
9d5eafa60099d158e4e33deb83f9274e335ce7d7
62c6ee0946f1ab13bd413e694d3a2abb4240de66
2 changes: 1 addition & 1 deletion docs/introduction/PriorArt.md.REMOVED.git-id
@@ -1 +1 @@
7de044220b8cf735faa64ef8a67ff7fb6f53d088
416311eba37cc5c2b0207be06988f83ca960a85a
2 changes: 1 addition & 1 deletion docs/introduction/ThreePrinciples.md.REMOVED.git-id
@@ -1 +1 @@
92e7d2ddaabf1b250cf90631d5f522660120b361
bcf804e6f41e0a463c45c8b8b96a86fea0283d48
2 changes: 1 addition & 1 deletion docs/recipes/CodeSplitting.md.REMOVED.git-id
@@ -1 +1 @@
337a733013a8045eff85ca2a79ba73fe76382fae
26d26564b9246c06ee029d5ae3f38a1555e57a11
2 changes: 1 addition & 1 deletion docs/recipes/ComputingDerivedData.md.REMOVED.git-id
@@ -1 +1 @@
f535a8a97619603b267c69839b8e986dea4e6b4a
1f2020c9d7c1cd206ca0aa1cab468b4bbe91c720
2 changes: 1 addition & 1 deletion docs/recipes/ConfiguringYourStore.md.REMOVED.git-id
@@ -1 +1 @@
363746d5bf7b91f05eb6af714d3d078a6dd3fd53
6d6f549fd22ea703431d3dd51ce725e7ce679450
2 changes: 1 addition & 1 deletion docs/recipes/ImplementingUndoHistory.md.REMOVED.git-id
@@ -1 +1 @@
d33491ea0b2210de25f56100f1a2a5ae6ae44b96
c478feab512ca4c20be73d79d0a612500e11f0e6

0 comments on commit cbccf59

Please sign in to comment.