-
Notifications
You must be signed in to change notification settings - Fork 457
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade Cerebro core update packages and improve project build (#559)
* fix: removeNoise function not working correctly * style: fix linter errors * chore(deps): use exact dependencies * CI: try build gh action * ci: fix gh token * ci: fix repo * chore: small refactor * chore: rm deprecated proptypes - use prop-types * chore: small refactor * fix: can not read getPrimarydisplay of undefined * chore: update electron to v19 * chore: update deps * chore: update deps * chore: use new electron whenReady * chore: lint webpack configs * CI: delete unused files * CI: run on workflow dispatch * chore: update dev deps * chore: update deps * deps: update url-loader * chore: fix plugin installation errors chore: move to rimraf * chore: fix building errors * CI: run scripts in parallel * chore: update babel * chore: update webpack dev middleware * chore: update cross-env * chore: update redux * chore: update linter config * fix: quit app not working * chore: remove unused code * fix: remote module in background window * chore: update deps, autoinstall app deps * docs: update readme * chore: minor fixes * docs: two package.json msg + delete broken links * ci: update workflows, work when tags pushed * ci: test CI * chore: fix babel target * CI: test new release * CI: test on release * CI: run on gh release * Update build.yml * Update build.yml * docs: update release configuration * docs: target info * docs: how to publish a release * CI: run on git tags * chore: move to @cerebroapp/cerebro-ui * chore: add @cerebroapp/cerebro-ui dependency * feat: support @cerebroapp in plugin names * fix: handle @cerebroapp directory * chore: refactor promises * chore: small refactor * chore: fix tests script * CI: add tests to publish workflow * chore: adjusting json package description and version * chore: add new rule in eslint * doc: update readme * feat: add template string * refactor: fix lint problems * chore: remove comments Co-authored-by: oguhpereira <[email protected]>
- Loading branch information
1 parent
606a1ba
commit eaa59bf
Showing
80 changed files
with
5,216 additions
and
5,242 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: Build/release | ||
|
||
on: | ||
push: | ||
tags: | ||
- '*' | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Use Node.js 16 | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
- run: yarn | ||
- run: yarn test --detectOpenHandles --forceExit | ||
|
||
release: | ||
needs: test | ||
runs-on: ${{ matrix.os }} | ||
|
||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, windows-latest] | ||
|
||
steps: | ||
- name: Check out Git repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Install Node.js, NPM and Yarn | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
|
||
- name: Build & Release Electron app | ||
uses: samuelmeuli/action-electron-builder@v1 | ||
with: | ||
github_token: ${{ secrets.github_token }} | ||
release: true |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
module.exports = { | ||
app: { | ||
getPath: jest.fn(), | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
module.exports = { | ||
app: { | ||
getPath: jest.fn(), | ||
}, | ||
ipcRenderer: { | ||
on: jest.fn(), | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
module.exports = '' |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.