Skip to content

Commit 8632aa7

Browse files
committed
chore: remove deprecated files and update project structure
- Deleted unused environment example, content scripts, and stylesheets to streamline the extension. - Updated .gitignore to exclude local environment files. - Refactored the popup component to utilize a new structure for better maintainability. - Removed legacy test files and configurations to clean up the codebase. - Enhanced package.json with updated dependencies and permissions for improved functionality.
1 parent fcca09d commit 8632aa7

Some content is hidden

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

68 files changed

+3466
-6232
lines changed

extension/.env.example

Lines changed: 0 additions & 2 deletions
This file was deleted.
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: "Submit to Web Store"
2+
on:
3+
workflow_dispatch:
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v3
10+
- name: Cache pnpm modules
11+
uses: actions/cache@v3
12+
with:
13+
path: ~/.pnpm-store
14+
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
15+
restore-keys: |
16+
${{ runner.os }}-
17+
- uses: pnpm/[email protected]
18+
with:
19+
version: latest
20+
run_install: true
21+
- name: Use Node.js 16.x
22+
uses: actions/[email protected]
23+
with:
24+
node-version: 16.x
25+
cache: "pnpm"
26+
- name: Build the extension
27+
run: pnpm build
28+
- name: Package the extension into a zip artifact
29+
run: pnpm package
30+
- name: Browser Platform Publish
31+
uses: PlasmoHQ/bpp@v3
32+
with:
33+
keys: ${{ secrets.SUBMIT_KEYS }}
34+
artifact: build/chrome-mv3-prod.zip

extension/.gitignore

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ yarn-error.log*
2020
.pnpm-debug.log*
2121

2222
# local env files
23-
.env
23+
.env*.local
2424

2525
out/
2626
build/
@@ -31,5 +31,3 @@ dist/
3131

3232
# typescript
3333
.tsbuildinfo
34-
35-
/trash

extension/IMPLEMENTATION_NOTES.md

Lines changed: 0 additions & 156 deletions
This file was deleted.

extension/IMPROVEMENTS.md

Lines changed: 0 additions & 164 deletions
This file was deleted.

0 commit comments

Comments
 (0)