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

Commit

Permalink
feat!: release new API
Browse files Browse the repository at this point in the history
* BREAKING CHANGES (@redux-eggs/core): change API and make `core` redux-agnostic
* BREAKING CHANGES (@redux-eggs/core): change Extension API, see docs
* BREAKING CHANGES (@redux-eggs/react): import `@redux-eggs/react` for concurrent mode
* BREAKING CHANGES (@redux-eggs/react): import `@redux-eggs/react/legacy` for legacy root
* BREAKING CHANGES (@redux-eggs/react): HOC `withEggs` not generic
* BREAKING CHANGES (@redux-eggs/react): type `WithEggsReturnType` not generic
* add React 18 support
* simplify test
* update examples
* update internal configs
* update `yarn`
* update deps
  • Loading branch information
fostyfost committed May 7, 2023
1 parent 3058356 commit a89b74d
Show file tree
Hide file tree
Showing 1,299 changed files with 22,043 additions and 20,537 deletions.
34 changes: 24 additions & 10 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,30 +1,44 @@
// TODO eslint-plugin-import, unicorn

module.exports = {
root: true,
parser: '@typescript-eslint/parser',
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', 'prettier'],
plugins: ['@typescript-eslint', 'simple-import-sort', 'unicorn'],
plugins: ['@typescript-eslint', 'simple-import-sort', 'unicorn', 'prettier'],
rules: {
'unicorn/filename-case': 'error',
'no-use-before-define': 'off',
'@typescript-eslint/no-use-before-define': 'error',
'@typescript-eslint/consistent-type-imports': 'error',
'@typescript-eslint/no-unused-vars': 'error',
'no-console': 'off',
'linebreak-style': ['error', 'unix'],
'no-multiple-empty-lines': ['error', { max: 1, maxEOF: 0, maxBOF: 0 }],
strict: ['error', 'global'],
curly: 'warn',
quotes: ['error', 'single'],
'simple-import-sort/imports': 'error',
'simple-import-sort/exports': 'error',
quotes: ['error', 'single', { avoidEscape: true }],
'sort-imports': 'off',
'import/order': 'off',
'simple-import-sort/imports': 'error',
'simple-import-sort/exports': 'error',
'no-use-before-define': 'off',
'@typescript-eslint/no-use-before-define': [
'error',
{
enums: false,
typedefs: false,
ignoreTypeReferences: true,
},
],
'@typescript-eslint/consistent-type-imports': 'error',
'@typescript-eslint/no-unused-vars': 'error',
'@typescript-eslint/explicit-module-boundary-types': 'off',
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/ban-ts-comment': 'off',
'@typescript-eslint/ban-types': [
'error',
{
types: {
'{}': false,
},
},
],
'prettier/prettier': 'error',
},
settings: {
'import/resolver': {
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -54,7 +54,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1
uses: github/codeql-action/autobuild@v2

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
Expand All @@ -68,4 +68,4 @@ jobs:
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v2
13,747 changes: 8,768 additions & 4,979 deletions .pnp.cjs

Large diffs are not rendered by default.

Loading

1 comment on commit a89b74d

@vercel
Copy link

@vercel vercel bot commented on a89b74d May 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deployment failed with the following error:

Resource is limited - try again in 2 hours (more than 100, code: "api-deployments-free-per-day").

Please sign in to comment.