Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: bump dependencies #116

Merged
merged 1 commit into from
May 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
chore: bump dependencies
  • Loading branch information
ytakahashi committed May 18, 2024
commit 19b898953fe4f7b128f7e774deacf84279af6c23
39 changes: 0 additions & 39 deletions .eslintrc.js

This file was deleted.

1 change: 1 addition & 0 deletions electron-builder.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// eslint-disable-next-line no-undef
module.exports = {
productName: 'miru',
appId: 'net.ytakahashi.miru',
Expand Down
39 changes: 39 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
import pluginVue from 'eslint-plugin-vue'
import js from '@eslint/js'
import { FlatCompat } from '@eslint/eslintrc'

const compat = new FlatCompat()

export default [
// https://eslint.vuejs.org/user-guide/
...pluginVue.configs['flat/recommended'],
// https://eslint.org/docs/latest/use/configure/configuration-files#using-predefined-configurations
js.configs.recommended,
...compat.extends(
'plugin:vue/vue3-recommended',
'@vue/typescript/recommended',
'@vue/prettier',
'@vue/eslint-config-typescript',
'@vue/eslint-config-prettier'
),
{
rules: {
'@typescript-eslint/no-unused-vars': [
'warn',
{
argsIgnorePattern: '^_',
varsIgnorePattern: '^_',
caughtErrorsIgnorePattern: '^_',
destructuredArrayIgnorePattern: '^_',
},
],
},
},
{
files: ['**/tests/unit/**/*.spec.{j,t}s?(x)'],
rules: {
'@typescript-eslint/no-var-requires': 'off',
'vue/one-component-per-file': 'off',
},
},
]
36 changes: 18 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,38 +4,38 @@
"version": "1.1.0",
"author": "ytakahashi",
"dependencies": {
"core-js": "3.36.0",
"dayjs": "^1.11.10",
"electron-log": "5.1.1",
"core-js": "3.37.1",
"dayjs": "1.11.11",
"electron-log": "5.1.4",
"electron-store": "8.2.0",
"graphql": "^16.8.1",
"graphql-request": "^6.1.0",
"graphql-request": "6.1.0",
"tinycolor2": "^1.6.0",
"vue": "3.4.21",
"vue-router": "4.3.0"
"vue": "3.4.27",
"vue-router": "4.3.2"
},
"devDependencies": {
"@types/tinycolor2": "^1.4.6",
"@typescript-eslint/eslint-plugin": "7.5.0",
"@typescript-eslint/parser": "7.5.0",
"@typescript-eslint/eslint-plugin": "7.9.0",
"@typescript-eslint/parser": "7.9.0",
"@vitejs/plugin-vue": "4.6.2",
"@vue/eslint-config-prettier": "9.0.0",
"@vue/eslint-config-typescript": "13.0.0",
"@vue/test-utils": "2.4.5",
"@vue/test-utils": "2.4.6",
"concurrently": "^8.2.2",
"electron": "29.2.0",
"electron": "30.0.6",
"electron-builder": "24.13.3",
"eslint": "8.57.0",
"eslint": "9.3.0",
"eslint-plugin-prettier": "5.1.3",
"eslint-plugin-vue": "9.24.0",
"eslint-plugin-vue": "9.26.0",
"jsdom": "24.0.0",
"prettier": "3.2.5",
"sass": "1.74.1",
"sass-loader": "14.1.1",
"typescript": "5.4.4",
"sass": "1.77.2",
"sass-loader": "14.2.1",
"typescript": "5.4.5",
"vite": "^4.5.3",
"vitest": "1.4.0",
"vue-tsc": "1.8.27"
"vitest": "1.6.0",
"vue-tsc": "2.0.19"
},
"packageManager": "[email protected]",
"license": "MIT",
Expand All @@ -55,7 +55,7 @@
"electron:dev": "ELECTRON_DISABLE_SECURITY_WARNINGS=true yarn ts && concurrently vite \" electron --trace-warnings .\" \"yarn ts -w\"",
"electron:preview": "yarn build && electron .",
"electron:release": "yarn build && electron-builder --config electron-builder.js --mac dmg --publish onTagOrDraft",
"lint": "NODE_ENV=production eslint -c .eslintrc.js --ext .ts ./src ./tests",
"lint": "NODE_ENV=production eslint ./src ./tests",
"rm-dist": "node -e 'fs.rmSync(`dist`, {recursive:true, force:true}); fs.rmSync(`dist_electron`, {recursive:true, force:true})'",
"test:unit": "vitest run",
"ts": "tsc -p tsconfig.build.json",
Expand Down
4 changes: 2 additions & 2 deletions src/views/releases/ReleaseContent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ export default defineComponent({
? 'Draft'
: props.release.title
: props.release.title === ''
? props.release.tagName
: props.release.title
? props.release.tagName
: props.release.title

const releaseType = props.release.isDraft === true ? 'drafted' : 'published'
const releaseLocalTime =
Expand Down
Loading
Loading