Skip to content

Commit

Permalink
Transition to Electron Forge (#34)
Browse files Browse the repository at this point in the history
* Using files to store pid and refactor processes termination (#2)

* Using files to store pid and refactor processes termination

* Refactor process termination

* Update logging message during IPFS daemon termination

* Refactor process termination and returned getPid async

* Deleting a file before processes are terminated

* Fix review comments

* Add to fs.readFile to catch errors handler

* Transition to Electron Forge

* Replace npm with yarn in config.yml

* Add dpkg and fakeroot dependencies in CircleCI config

* Add rpm to CircleCI configuration

* Convert PNG icon into a true ICO icon

* Linux support

* Remove compiled code

* Enable global yarn cache

* Lint script

* Lint harder

* Fix `make` in CCI

* Renames

* Update building and packaging

* Update deps

* Fix for empty args

* Support ipns codec

* No need to tear down

* Return config

* Return icons

* Add back svg and config checks

* Update readme for config pinning

* Fix teardown

* Return svg icons

* Remove node-fetch

* Lint harder

* Fix typo

* Package not make

---------

Co-authored-by: Noisekit <[email protected]>
  • Loading branch information
vderunov and noisekit authored Mar 11, 2024
1 parent 63bd072 commit 5dff181
Show file tree
Hide file tree
Showing 87 changed files with 11,197 additions and 20,211 deletions.
24 changes: 13 additions & 11 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@ version: 2.1
parameters:
node-version:
type: string
default: '20.10.0'
default: '20.11.1'

commands:
npm-install:
yarn-install:
steps:
- restore_cache:
keys:
- node_modules-{{ .Environment.CACHE_VERSION }}-{{ checksum "package-lock.json" }}
- node_modules-{{ .Environment.CACHE_VERSION }}-{{ checksum "yarn.lock" }}
- node_modules-{{ .Environment.CACHE_VERSION }}-
- run: npm install
- run: yarn install
- save_cache:
key: node_modules-{{ .Environment.CACHE_VERSION }}-{{ checksum "package-lock.json" }}
key: node_modules-{{ .Environment.CACHE_VERSION }}-{{ checksum "yarn.lock" }}
paths:
- node_modules

Expand Down Expand Up @@ -80,12 +80,14 @@ jobs:
working_directory: ~/app
steps:
- checkout
- npm-install
- run: npm run lint:check
- run: npm run pretty:check
- run: npm run config:check
- run: npm run svg:check
- run: npm run package
- yarn-install
- run:
name: 'Install dependencies'
command: sudo apt-get update && sudo apt-get install -y dpkg fakeroot rpm
- run: yarn lint:check
- run: yarn config:check
- run: yarn svg:check
- run: yarn package

ipfs-deploy:
docker:
Expand Down
7 changes: 0 additions & 7 deletions .erb/configs/.eslintrc

This file was deleted.

59 changes: 0 additions & 59 deletions .erb/configs/webpack.config.base.ts

This file was deleted.

1 change: 0 additions & 1 deletion .erb/configs/webpack.config.eslint.ts

This file was deleted.

76 changes: 0 additions & 76 deletions .erb/configs/webpack.config.main.prod.ts

This file was deleted.

59 changes: 0 additions & 59 deletions .erb/configs/webpack.config.preload.dev.ts

This file was deleted.

74 changes: 0 additions & 74 deletions .erb/configs/webpack.config.renderer.dev.dll.ts

This file was deleted.

Loading

0 comments on commit 5dff181

Please sign in to comment.