From 15bbf324a39aab5f6fde1bb5884f0f3bd0876362 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Ma=C5=82kowski?= Date: Wed, 2 Oct 2024 14:18:24 +0200 Subject: [PATCH 1/8] Update README.md --- README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 8ff81a81..95c9c730 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,3 @@ -🚧 THIS IS **ALPHA** version of the library - the API still might change 🚧 - # electron-redux Electron-Redux is an Redux Store Enhancer that helps you loosely synchronize the redux stores in multiple electron processes. @@ -17,10 +15,10 @@ When working with Electron, using Redux poses couple of problems, since main and ```sh # with yarn -yarn add electron-redux@alpha +yarn add electron-redux # with npm -npm install electron-redux@alpha +npm install electron-redux ``` For more details, please see [the Installation docs page](#todo). From 51e2ae2c1ad6fdabd064b4425bcc7ad953389e7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Ma=C5=82kowski?= Date: Wed, 2 Oct 2024 14:29:06 +0200 Subject: [PATCH 2/8] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 95c9c730..33769196 100644 --- a/README.md +++ b/README.md @@ -5,9 +5,9 @@ Electron-Redux is an Redux Store Enhancer that helps you loosely synchronize the When working with Electron, using Redux poses couple of problems, since main and renderer processes are isolated and IPC is a single way of communication between them. This library, enables you to register all your Redux stores in the main & renderer process, and enable cross-process action dispatching & _loose_ store synchronization. [![GitHub Workflow Status](https://img.shields.io/github/workflow/status/klarna/electron-redux/Release)](https://github.com/klarna/electron-redux/actions?query=workflow%3ARelease) -[![npm (tag)](https://img.shields.io/npm/v/electron-redux/alpha)](https://www.npmjs.com/package/electron-redux/) +[![npm (tag)](https://img.shields.io/npm/v/electron-redux)](https://www.npmjs.com/package/electron-redux/) [![npm](https://img.shields.io/npm/dm/electron-redux)](https://www.npmjs.com/package/electron-redux/) -[![npm bundle size (version)](https://img.shields.io/bundlephobia/minzip/electron-redux/alpha)](https://bundlephobia.com/result?p=electron-redux) +[![npm bundle size (version)](https://img.shields.io/bundlephobia/minzip/electron-redux)](https://bundlephobia.com/result?p=electron-redux) [![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release) [![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg)](https://conventionalcommits.org) From b5cfcbc2827f763757c0791d981d4973401b95b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Ma=C5=82kowski?= Date: Wed, 2 Oct 2024 14:35:38 +0200 Subject: [PATCH 3/8] Update release.yml --- .github/workflows/release.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6c7a8c9a..8e7427ce 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,16 +8,16 @@ on: jobs: release: name: Release - runs-on: ubuntu-18.04 + runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 - name: Setup Node.js - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 with: - node-version: 12 + node-version: '16' - name: Install dependencies run: yarn install --frozen-lockfile - name: Build the package From dacc6c2f57d0158f67f71aa5241426f1bb30ece4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Ma=C5=82kowski?= Date: Wed, 2 Oct 2024 14:36:58 +0200 Subject: [PATCH 4/8] Update pull_request.yml --- .github/workflows/pull_request.yml | 58 +++++++++++++++--------------- 1 file changed, 30 insertions(+), 28 deletions(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index eb7f26f9..a1ffe4cf 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -3,31 +3,33 @@ name: Validate Pull Request on: [pull_request] jobs: - run: - runs-on: ubuntu-latest - - strategy: - matrix: - node-version: [12.x] - env: - CI: true - steps: - - uses: actions/checkout@v2 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 - with: - node-version: ${{ matrix.node-version }} - - run: sudo apt-get install xvfb - - name: yarn install, build & tests - run: | - yarn install --frozen-lockfile - xvfb-run --auto-servernum yarn test - env: - CI: true - - name: Cleanup xvfb pidx - uses: bcomnes/cleanup-xvfb@v1 - - name: Install and build docs - working-directory: docs - run: | - yarn - yarn build + run: + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [16.x, 18.x] # Updated to use more recent LTS versions + + steps: + - uses: actions/checkout@v3 + + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + + - run: sudo apt-get install xvfb + + - name: yarn install, build & tests + run: | + yarn install --frozen-lockfile + xvfb-run --auto-servernum yarn test + + - name: Cleanup xvfb pidx + uses: bcomnes/cleanup-xvfb@v1 + + - name: Install and build docs + working-directory: docs + run: | + yarn + yarn build From 605fb07e4bb550a5cb2154533d81a07b9dd1f840 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Ma=C5=82kowski?= Date: Wed, 2 Oct 2024 14:37:54 +0200 Subject: [PATCH 5/8] Update gh-pages.yml --- .github/workflows/gh-pages.yml | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 269eb591..a55ab4e7 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -3,27 +3,27 @@ name: deploy-docs on: push: branches: - - alpha # replace with master once merged + - alpha # replace with master once merged # install dependencies, build, and push to `gh-pages` jobs: build-and-deploy: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - with: - persist-credentials: false + - uses: actions/checkout@v3 + with: + persist-credentials: false - - name: Install and build - working-directory: docs - run: | - yarn - yarn build + - name: Install and build + working-directory: docs + run: | + yarn + yarn build - - name: Deploy to gh-pages - uses: JamesIves/github-pages-deploy-action@3.7.1 - with: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - BRANCH: gh-pages - FOLDER: docs/build - CLEAN: true + - name: Deploy to gh-pages + uses: JamesIves/github-pages-deploy-action@v4 + with: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + BRANCH: gh-pages + FOLDER: docs/build + CLEAN: true From c15d7b175be2e078f287f636599569d47f51cff8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Ma=C5=82kowski?= Date: Wed, 2 Oct 2024 14:38:35 +0200 Subject: [PATCH 6/8] Update semantic_release_lint.yml --- .github/workflows/semantic_release_lint.yml | 25 ++++++++++++--------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/.github/workflows/semantic_release_lint.yml b/.github/workflows/semantic_release_lint.yml index 97319ea8..7e59ea6e 100644 --- a/.github/workflows/semantic_release_lint.yml +++ b/.github/workflows/semantic_release_lint.yml @@ -1,15 +1,18 @@ name: 'Pull Request SemVer lint' + on: - pull_request_target: - types: - - opened - - edited - - synchronize + pull_request_target: + types: + - opened + - edited + - synchronize jobs: - main: - runs-on: ubuntu-latest - steps: - - uses: amannn/action-semantic-pull-request@v1.2.0 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + main: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + + - uses: amannn/action-semantic-pull-request@v3 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From 6516501a8a0817a7ce4a19155c63843c264064e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Ma=C5=82kowski?= Date: Wed, 2 Oct 2024 14:43:06 +0200 Subject: [PATCH 7/8] Update pull_request.yml --- .github/workflows/pull_request.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index a1ffe4cf..0c47f84a 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -8,7 +8,7 @@ jobs: strategy: matrix: - node-version: [16.x, 18.x] # Updated to use more recent LTS versions + node-version: [12.x] # Updated to use more recent LTS versions steps: - uses: actions/checkout@v3 From 32f72f556ac6cf6f95614dd414d0de9a2764f2b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Ma=C5=82kowski?= Date: Wed, 2 Oct 2024 14:43:25 +0200 Subject: [PATCH 8/8] Update release.yml --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8e7427ce..154f70b4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,7 +17,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v3 with: - node-version: '16' + node-version: '12' - name: Install dependencies run: yarn install --frozen-lockfile - name: Build the package