Skip to content

Commit

Permalink
version bump & linter fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Kvan7 committed Jan 9, 2025
1 parent 30a23d1 commit 4f1599e
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 12 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# ![Perfect Jewelers Orb](./renderer/public/images/jeweler.png) Exiled Exchange 2

![GitHub Downloads (specific asset, latest release)](https://img.shields.io/github/downloads/kvan7/exiled-exchange-2/latest/Exiled-Exchange-2-Setup-0.3.0.exe?style=plastic&link=https%3A%2F%2Ftooomm.github.io%2Fgithub-release-stats%2F%3Fusername%3Dkvan7%26repository%3DExiled-Exchange-2)
![GitHub Downloads (specific asset, latest release)](https://img.shields.io/github/downloads/kvan7/exiled-exchange-2/latest/Exiled-Exchange-2-Setup-0.3.1.exe?style=plastic&link=https%3A%2F%2Ftooomm.github.io%2Fgithub-release-stats%2F%3Fusername%3Dkvan7%26repository%3DExiled-Exchange-2)
![GitHub Tag](https://img.shields.io/github/v/tag/kvan7/exiled-exchange-2?style=plastic&label=latest%20version)
![GitHub commits since latest release (branch)](https://img.shields.io/github/commits-since/kvan7/exiled-exchange-2/latest/dev?style=plastic)

Expand Down
2 changes: 1 addition & 1 deletion docs/.vitepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default defineConfig({
},
themeConfig: {
// logo: 'TODO', https://github.com/vuejs/vitepress/issues/1401
appVersion: '0.3.0',
appVersion: '0.3.1',
github: {
releasesUrl: 'https://github.com/Kvan7/Exiled-Exchange-2/releases'
},
Expand Down
4 changes: 2 additions & 2 deletions main/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions main/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "exiled-exchange-2",
"version": "0.3.0",
"version": "0.3.1",
"private": true,
"scripts": {
"dev": "node build/script.mjs",
Expand Down Expand Up @@ -36,4 +36,4 @@
"typescript": "5.6.x",
"ws": "^8.16.0"
}
}
}
File renamed without changes.
8 changes: 4 additions & 4 deletions renderer/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion renderer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
"@vitejs/plugin-vue": "^4.0.0",
"autoprefixer": "^10.0.2",
"eslint-config-prettier": "^9.1.0",
"node-fetch": "^3.3.2",
"postcss": "^8.2.14",
"prettier": "3.4.2",
"typescript": "5.6.x",
Expand Down Expand Up @@ -67,4 +68,4 @@
"browserslist": [
"chrome >= 101"
]
}
}
2 changes: 1 addition & 1 deletion renderer/specs/vitest.setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const setupClientStringLoaderMock = () => {

// Mock fetch
export const setupFetchMock = () => {
// @ts-ignore
// @ts-expect-error - fetch is not defined in vitest
global.fetch = vi.fn(async (url) => {
const basePath = path.resolve(__dirname, "../public/");
const filePath = path.join(
Expand Down
2 changes: 2 additions & 0 deletions renderer/src/parser/Parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1530,6 +1530,8 @@ export function replaceHashWithValues(template: string, values: number[]) {
return result;
}

// Disable since this is export for tests
// eslint-disable-next-line @typescript-eslint/naming-convention
export const __testExports = {
itemTextToSections,
};

0 comments on commit 4f1599e

Please sign in to comment.