Skip to content

Commit 992be09

Browse files
authoredOct 4, 2024
refactor: major project structure update (#1564)
* refactor: split code into main and renderer modules, adopt TS for main, and improve webpack process for bundling Signed-off-by: Adam Setch <adam.setch@outlook.com> * refactor: split code into main and renderer modules, adopt TS for main, and improve webpack process for bundling Signed-off-by: Adam Setch <adam.setch@outlook.com> * refactor: split code into main and renderer modules, adopt TS for main, and improve webpack process for bundling Signed-off-by: Adam Setch <adam.setch@outlook.com> * refactor: split code into main and renderer modules, adopt TS for main, and improve webpack process for bundling Signed-off-by: Adam Setch <adam.setch@outlook.com> * refactor: split code into main and renderer modules, adopt TS for main, and improve webpack process for bundling Signed-off-by: Adam Setch <adam.setch@outlook.com> * refactor: split code into main and renderer modules, adopt TS for main, and improve webpack process for bundling Signed-off-by: Adam Setch <adam.setch@outlook.com> * refactor: split code into main and renderer modules, adopt TS for main, and improve webpack process for bundling Signed-off-by: Adam Setch <adam.setch@outlook.com> * build: universal only Signed-off-by: Adam Setch <adam.setch@outlook.com> * refactor: split code into main and renderer modules, adopt TS for main, and improve webpack process for bundling Signed-off-by: Adam Setch <adam.setch@outlook.com> * build: remove resize polyfill dep Signed-off-by: Adam Setch <adam.setch@outlook.com> * build: macos dist Signed-off-by: Adam Setch <adam.setch@outlook.com> * build: macos dist Signed-off-by: Adam Setch <adam.setch@outlook.com> * build: fix order of source maps Signed-off-by: Adam Setch <adam.setch@outlook.com> --------- Signed-off-by: Adam Setch <adam.setch@outlook.com>
1 parent 3e549c7 commit 992be09

File tree

203 files changed

+2047
-887
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

203 files changed

+2047
-887
lines changed
 

‎.github/workflows/build.yml

+6-3
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ jobs:
2222
cache: 'pnpm'
2323
- run: pnpm install
2424
- run: pnpm build
25-
- run: pnpm make:macos --publish=never -c.mac.identity=null
25+
- run: pnpm prepare:remove-source-maps
26+
- run: pnpm package:macos --publish=never -c.mac.identity=null
2627
env:
2728
CSC_LINK: ${{ secrets.mac_certs }}
2829
CSC_KEY_PASSWORD: ${{ secrets.mac_certs_password }}
@@ -47,7 +48,8 @@ jobs:
4748
cache: 'pnpm'
4849
- run: pnpm install
4950
- run: pnpm build
50-
- run: pnpm make:win --publish=never
51+
- run: pnpm prepare:remove-source-maps
52+
- run: pnpm package:win --publish=never
5153
- name: Clean up builds
5254
run: Remove-Item dist/win-unpacked -Recurse
5355
- uses: actions/upload-artifact@v4
@@ -69,7 +71,8 @@ jobs:
6971
cache: 'pnpm'
7072
- run: pnpm install
7173
- run: pnpm build
72-
- run: pnpm make:linux --publish=never
74+
- run: pnpm prepare:remove-source-maps
75+
- run: pnpm package:linux --publish=never
7376
- name: Clean up builds
7477
run: rm -rfv dist/linux-unpacked
7578
- uses: actions/upload-artifact@v4

‎.github/workflows/release.yml

+6-3
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ jobs:
2626
env:
2727
OAUTH_CLIENT_ID: ${{ secrets.oauth_client_id }}
2828
OAUTH_CLIENT_SECRET: ${{ secrets.oauth_client_secret }}
29-
- run: pnpm make:macos --publish onTagOrDraft
29+
- run: pnpm prepare:remove-source-maps
30+
- run: pnpm package:macos --publish onTagOrDraft
3031
env:
3132
APPLEID_USERNAME: ${{ secrets.appleid_username }}
3233
APPLEID_PASSWORD: ${{ secrets.appleid_password }}
@@ -57,7 +58,8 @@ jobs:
5758
env:
5859
OAUTH_CLIENT_ID: ${{ secrets.oauth_client_id }}
5960
OAUTH_CLIENT_SECRET: ${{ secrets.oauth_client_secret }}
60-
- run: pnpm make:win --publish onTagOrDraft
61+
- run: pnpm prepare:remove-source-maps
62+
- run: pnpm package:win --publish onTagOrDraft
6163
env:
6264
GH_TOKEN: ${{ secrets.github_token }}
6365
- uses: actions/upload-artifact@v4
@@ -82,7 +84,8 @@ jobs:
8284
env:
8385
OAUTH_CLIENT_ID: ${{ secrets.oauth_client_id }}
8486
OAUTH_CLIENT_SECRET: ${{ secrets.oauth_client_secret }}
85-
- run: pnpm make:linux --publish onTagOrDraft
87+
- run: pnpm prepare:remove-source-maps
88+
- run: pnpm package:linux --publish onTagOrDraft
8689
env:
8790
GH_TOKEN: ${{ secrets.github_token }}
8891
- uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)