Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
7d06bb3
implement address bar suggestions for buff items
atalantus Mar 19, 2024
d8383ac
add explicit vanilla tag
atalantus Mar 19, 2024
d4bd91c
implement rich suggestion description
atalantus Mar 19, 2024
f61c489
bug fixes
atalantus Mar 19, 2024
6edae2d
cleanup
atalantus Mar 19, 2024
f301c7c
reorder special items in buff-items-sorted.json
atalantus Mar 19, 2024
d9a7d6e
add default suggestion
atalantus Mar 19, 2024
4c26250
add script to automatically generate buff-items-sorted.json
atalantus Mar 19, 2024
f515cfc
Json typing
GODrums Mar 20, 2024
bb9eefc
update order in buff-items-sorted.json
atalantus Mar 20, 2024
9c98578
WIP: update buff-item data generation to generate different compresse…
atalantus Mar 21, 2024
201f9f8
update buff data
atalantus Mar 22, 2024
fa98dfa
update buff data
atalantus Mar 23, 2024
2553077
remove unused changes
atalantus Mar 23, 2024
b84032d
remove unused changes
atalantus Mar 23, 2024
89501fc
bug fix
atalantus Mar 25, 2024
2627125
implement fuzzy search and other algorithm improvements
atalantus Mar 28, 2024
0719368
added jest unit tests for item suggestion
atalantus Mar 29, 2024
d2fd293
add github ci pipeline for jest tests
atalantus Mar 29, 2024
b13b440
add fork branch to github ci
atalantus Mar 29, 2024
6349dee
fix github ci
atalantus Mar 29, 2024
0e39fed
fix github ci
atalantus Mar 29, 2024
3175e71
update lockfile
atalantus Mar 29, 2024
d5e0ca9
update item suggestion test
atalantus Mar 29, 2024
457175c
fix ci
atalantus Mar 29, 2024
8cce8b5
add benchmark test
atalantus Mar 29, 2024
9bf595c
update benchmark test
atalantus Mar 29, 2024
93ae3ce
update benchmark test
atalantus Mar 29, 2024
66bf7b2
disable fuzzy search
atalantus Mar 29, 2024
7cc7210
optimizations
atalantus Mar 29, 2024
ed54c4e
disable common cache
atalantus Mar 29, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/workflows/jest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: "Jest Tests"

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
with:
version: 8
- uses: actions/setup-node@v4
with:
node-version: '20.x'
- run: CI=true pnpm i # see: https://stackoverflow.com/a/75486166/6920681
- run: pnpm test
9 changes: 9 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
module.exports = {
transform: { '^.+\\.ts?$': ['ts-jest', { tsconfig: './tsconfig.jest.json' }] },
testEnvironment: 'node',
testRegex: '/tests/.*\\.(test|spec)?\\.(ts|tsx)$',
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
moduleNameMapper: {
"@/(.*)": "<rootDir>/src/$1"
},
};
7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"private": true,
"version": "0.1.1",
"scripts": {
"test": "jest",
"dev": "wxt",
"dev:firefox": "wxt -b firefox --mv3",
"build": "wxt build",
Expand All @@ -14,21 +15,25 @@
"check": "svelte-check --tsconfig ./tsconfig.json",
"postinstall": "wxt prepare",
"submit": "wxt submit",
"submit:dry": "wxt submit --dry-run"
"submit:dry": "wxt submit --dry-run",
"update-buff-items": "node ./scripts/generateBuffItemsSorted.js"
},
"devDependencies": {
"@sentry/vite-plugin": "^2.16.0",
"@sveltejs/vite-plugin-svelte": "^3.0.2",
"@tailwindcss/typography": "^0.5.10",
"@tsconfig/svelte": "^5.0.2",
"@types/jest": "^29.5.12",
"autoprefixer": "^10.4.19",
"daisyui": "^4.7.3",
"env-cmd": "^10.1.0",
"jest": "^29.7.0",
"postcss": "^8.4.38",
"publish-browser-extension": "^2.1.3",
"svelte": "^4.2.12",
"svelte-check": "^3.6.8",
"tailwindcss": "^3.4.1",
"ts-jest": "^29.1.2",
"tslib": "^2.6.2",
"typescript": "^5.4.3",
"vite": "^5.2.4",
Expand Down
Loading