Compare commits

..

49 Commits

Author SHA1 Message Date
ec7bf82421 chore: bump version to 1.4.1 [skip ci] 2026-02-17 16:20:44 +00:00
Space-Banane
94fd7f9f81 Merge branch 'main' of ssh://gitea.reversed.dev:2222/space/vinted-favs-price
All checks were successful
CI / build-and-publish (push) Successful in 23s
2026-02-17 17:19:03 +01:00
Space-Banane
5c12de59bd Merge branch 'dev' 2026-02-17 17:17:55 +01:00
Space-Banane
9a29cd9be5 chore: update version to 1.4.0 in manifest.json
All checks were successful
CI / build-and-publish (push) Successful in 12s
CI / build-and-publish (pull_request) Successful in 12s
2026-02-17 17:16:21 +01:00
Space-Banane
6853c882de make icon "square"
All checks were successful
CI / build-and-publish (push) Successful in 11s
2026-02-17 17:09:48 +01:00
Space-Banane
c4897062af fix: correct key from "icon" to "icons" in manifest.json
Some checks failed
CI / build-and-publish (push) Failing after 11s
2026-02-17 17:07:55 +01:00
Space-Banane
cb20957171 fix: add missing icons section in metadata.json
All checks were successful
CI / build-and-publish (push) Successful in 10s
2026-02-17 17:06:02 +01:00
Space-Banane
7814a6a3de Refactor code structure for improved readability and maintainability
All checks were successful
CI / build-and-publish (push) Successful in 11s
2026-02-17 17:05:20 +01:00
Space-Banane
fd54ef990c removed dumb step [skip ci] 2026-02-17 17:02:07 +01:00
Space-Banane
09ddca6957 feat: add artifact unzipping step and update upload path in CI workflows
All checks were successful
CI / build-and-publish (push) Successful in 10s
2026-02-17 17:01:30 +01:00
Space-Banane
24a18e8f8e fix: update artifact upload path to only include zip files in dist directory
All checks were successful
CI / build-and-publish (push) Successful in 9s
2026-02-17 17:00:11 +01:00
Space-Banane
d4fb8a054b fix: update artifact upload path to include all files in dist directory
All checks were successful
CI / build-and-publish (push) Successful in 11s
2026-02-17 16:58:36 +01:00
Space-Banane
7b2c6affe1 refactor: remove npm cache configuration from CI workflow
All checks were successful
CI / build-and-publish (push) Successful in 10s
2026-02-17 16:55:53 +01:00
Space-Banane
1bf2fbe3a6 refactor: remove version increment and commit step from CI workflow
Some checks failed
CI / build-and-publish (push) Has been cancelled
2026-02-17 16:54:08 +01:00
Space-Banane
b9481a7dad Merge branch 'dev' of ssh://gitea.reversed.dev:2222/space/vinted-favs-price into dev
Some checks failed
CI / build-and-publish (push) Has been cancelled
2026-02-17 16:52:31 +01:00
Space-Banane
fd65ad9de1 Added NPM Cache 2026-02-17 16:52:18 +01:00
343d85d5a0 chore: bump version to 1.3.1 [skip ci] 2026-02-17 15:51:54 +00:00
Space-Banane
09267c7501 feat: add CI workflow for build and versioning
All checks were successful
CI / build-and-publish (push) Successful in 25s
2026-02-17 16:51:23 +01:00
292f55e89f chore: bump version to 1.3.1 [skip ci] 2026-02-17 15:49:24 +00:00
Space-Banane
0d4407b100 Finally fixed CI
All checks were successful
CI / build-and-publish (push) Successful in 39s
2026-02-17 16:48:47 +01:00
Space-Banane
6b3295e532 fix: add missing backslash for continuation in web-ext sign command
Some checks failed
CI / build-and-publish (push) Failing after 31s
2026-02-17 16:47:55 +01:00
Space-Banane
1ae6d73338 fix: update channel to listed in web-ext sign command and add metadata.json
Some checks failed
CI / build-and-publish (push) Failing after 36s
2026-02-17 16:43:18 +01:00
414eebee5f chore: bump version to 1.2.5 [skip ci] 2026-02-17 15:36:17 +00:00
Space-Banane
4c1a53cdf9 fix: update version to 1.2.4 in manifest.json
All checks were successful
CI / build-and-publish (push) Successful in 31s
2026-02-17 16:35:50 +01:00
Space-Banane
6f03935906 fix: add approval timeout option for unlisted channel in web-ext sign command
Some checks failed
CI / build-and-publish (push) Failing after 34s
2026-02-17 16:34:54 +01:00
Space-Banane
6858b95854 fix: change web-ext sign channel from listed to unlisted
Some checks failed
CI / build-and-publish (push) Has been cancelled
2026-02-17 16:31:32 +01:00
Space-Banane
079deec711 fix: update version to 1.2.3 and restore license field in manifest.json
Some checks failed
CI / build-and-publish (push) Failing after 40s
2026-02-17 16:29:04 +01:00
Space-Banane
2bbbd69e0c fix: change license field to custom_license in manifest.json
Some checks failed
CI / build-and-publish (push) Failing after 32s
2026-02-17 16:23:41 +01:00
Space-Banane
c0c579656c fix: add license field to manifest.json
Some checks failed
CI / build-and-publish (push) Failing after 33s
2026-02-17 16:21:39 +01:00
Space-Banane
4cfcaf62aa fix: update publish step to use current directory for extension signing
Some checks failed
CI / build-and-publish (push) Failing after 35s
2026-02-17 16:20:04 +01:00
Space-Banane
5bc492f3c0 fix: improve extension publishing step to handle missing files
Some checks failed
CI / build-and-publish (push) Failing after 26s
2026-02-17 16:18:44 +01:00
Space-Banane
e5d3aec15f Merge branch 'main' of ssh://gitea.reversed.dev:2222/space/vinted-favs-price
Some checks failed
CI / build-and-publish (push) Failing after 29s
2026-02-17 16:17:29 +01:00
Space-Banane
dbbe0cae04 fix: rename increment version step and separate push action 2026-02-17 16:17:28 +01:00
1c32a78c0b chore: bump version to 1.2.2 [skip ci] 2026-02-17 15:16:19 +00:00
Space-Banane
784e537f26 Merge branch 'main' of ssh://gitea.reversed.dev:2222/space/vinted-favs-price
Some checks failed
CI / build-and-publish (push) Failing after 34s
2026-02-17 16:15:40 +01:00
Space-Banane
1b7c56b088 Update artifact upload action to v3 for Gitea compatibility 2026-02-17 16:15:39 +01:00
f7543cfa1d chore: bump version to 1.2.1 [skip ci] 2026-02-17 15:11:33 +00:00
Space-Banane
d5a86b84a3 Update CI workflow to use npm install --only=dev instead of npm ci
Some checks failed
CI / build-and-publish (push) Failing after 27s
2026-02-17 16:10:59 +01:00
Space-Banane
6a5a2adbdc Remove npm cache configuration from CI workflow
Some checks failed
CI / build-and-publish (push) Failing after 6s
2026-02-17 16:09:52 +01:00
Space-Banane
553506c02b Remove old CI workflow and add new CI configuration with version bumping and publishing steps
Some checks failed
CI / build-and-publish (push) Failing after 34s
2026-02-17 16:08:53 +01:00
Space-Banane
6277bb50c6 Removed npm cache
All checks were successful
CI / build (push) Successful in 22s
2026-02-17 15:38:02 +01:00
Space-Banane
94241fae82 Added npm cache
Some checks failed
CI / build (push) Failing after 3s
2026-02-17 15:37:39 +01:00
Space-Banane
c9db282086 Update CI workflow to install web-ext instead of pnpm
Some checks failed
CI / build (push) Has been cancelled
2026-02-17 15:37:19 +01:00
Space-Banane
2e8ccfff02 remove unused pnpm cache from ci
Some checks failed
CI / build (push) Has been cancelled
2026-02-17 15:26:51 +01:00
Space-Banane
d48fe649be Fix CI workflow to use correct Node.js runtime identifier
Some checks failed
CI / build (push) Failing after 8s
2026-02-17 15:26:25 +01:00
Space-Banane
dc95613d8e Update CI workflow to use Node.js 24 as the runtime environment
Some checks failed
CI / build (push) Has been cancelled
2026-02-17 15:10:01 +01:00
Space-Banane
0be91c0611 Add CI workflow configuration for GitHub Actions
Some checks failed
CI / build (push) Failing after 4s
2026-02-17 15:09:34 +01:00
Space-Banane
ef6e9a7c48 Update version to 1.2.0 and change Gecko ID in manifest.json; add .gitignore for web-ext-artifacts 2026-02-17 15:05:06 +01:00
Space-Banane
12fbfe15bc Update version to 1.1 and add Gecko ID in manifest.json 2026-02-17 15:03:47 +01:00
8 changed files with 4293 additions and 6 deletions

77
.gitea/workflows/ci.yml Normal file
View File

@@ -0,0 +1,77 @@
name: CI
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
jobs:
build-and-publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '24'
- run: npm install --only=dev
- name: web-ext lint
run: npx web-ext lint -v
- name: Increment Version and Commit
if: github.event_name == 'push' # Only push back on actual merges/pushes, not PRs
run: |
# 1. Increment logic
VERSION=$(jq -r '.version' manifest.json)
BASE=$(echo $VERSION | cut -d. -f1-2)
PATCH=$(echo $VERSION | cut -d. -f3)
NEW_VERSION="$BASE.$((PATCH + 1))"
# Update manifest.json version
jq ".version = \"$NEW_VERSION\"" manifest.json > temp.manifest.json && mv temp.manifest.json manifest.json
# Keep package.json version in sync, if present
if [ -f package.json ]; then
jq ".version = \"$NEW_VERSION\"" package.json > temp.package.json && mv temp.package.json package.json
fi
# 2. Git Config
git config --local user.email "space@reversed.dev"
git config --local user.name "space"
# 3. Commit (push will be done after publish)
git add manifest.json package.json
git commit -m "chore: bump version to $NEW_VERSION [skip ci]"
- name: web-ext build
run: npx web-ext build -s . -a dist --overwrite-dest
- name: Unzip build artifact
run: |
mkdir -p disst
unzip -o dist/*.zip -d disst
- name: Upload build artifact
uses: actions/upload-artifact@v3
with:
name: web-ext-build
path: disst/**
- name: Publish to Mozilla Add-ons
if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master')
run: |
npx web-ext sign \
--api-key ${{ secrets.MOZILLA_ADDON_API_KEY }} \
--api-secret ${{ secrets.MOZILLA_ADDON_API_SECRET }} \
--channel listed \
--approval-timeout 0 \
--source-dir . \
--artifacts-dir dist \
--amo-metadata metadata.json
- name: Push changes
if: github.event_name == 'push'
run: git push

37
.gitea/workflows/dev.yml Normal file
View File

@@ -0,0 +1,37 @@
name: CI
on:
push:
branches: [dev]
pull_request:
branches: [dev]
jobs:
build-and-publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '24'
- run: npm install --only=dev
- name: web-ext lint
run: npx web-ext lint -v
- name: web-ext build
run: npx web-ext build -s . -a dist --overwrite-dest
- name: Unzip build artifact
run: |
mkdir -p disst
unzip -o dist/*.zip -d disst
- name: Upload build artifact
# v4+ not supported on Gitea Actions/Forgejo, use v3 for compatibility
uses: actions/upload-artifact@v3
with:
name: web-ext-build
path: disst/**

6
.gitignore vendored Normal file
View File

@@ -0,0 +1,6 @@
web-ext-artifacts/
node_modules/
dist/
build/
*.zip
*.xpi

BIN
icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

View File

@@ -1,17 +1,36 @@
{
"manifest_version": 2,
"name": "vinted-favs-price",
"version": "1.0",
"name": "Vinted Favorites Price",
"version": "1.4.1",
"icons": {
"16": "icon.png",
"32": "icon.png",
"48": "icon.png",
"128": "icon.png"
},
"categories": {
"firefox": [
"shopping"
]
},
"requires_payment": false,
"content_scripts": [
{
"matches": ["https://www.vinted.de/member/items/favourite_list"],
"js": ["calculate-total.js"]
"matches": [
"https://www.vinted.de/member/items/favourite_list"
],
"js": [
"calculate-total.js"
]
}
],
"browser_specific_settings": {
"gecko": {
"id": "{425f78c9-e49e-4346-a7b5-b03ce33ea526}",
"data_collection_permissions": {
"required": ["websiteContent"]
"required": [
"websiteContent"
]
}
}
}

11
metadata.json Normal file
View File

@@ -0,0 +1,11 @@
{
"version": { "license": "MIT" },
"categories": { "firefox": ["shopping"] },
"requires_payment": false,
"icons": {
"16": "icon.png",
"32": "icon.png",
"48": "icon.png",
"128": "icon.png"
}
}

4118
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

19
package.json Normal file
View File

@@ -0,0 +1,19 @@
{
"name": "vinted-favs-price",
"version": "1.4.1",
"description": "Firefox extension to track Vinted favorite prices.",
"main": "index.js",
"scripts": {
"start": "web-ext run",
"lint": "web-ext lint",
"build": "web-ext build -s . -a dist --overwrite-dest",
"sign": "web-ext sign"
},
"devDependencies": {
"web-ext": "^8.0.0"
},
"engines": {
"node": ">=24.0.0"
},
"private": true
}