Skip to content

Commit

Permalink
chore(deps): bump package versions
Browse files Browse the repository at this point in the history
  • Loading branch information
alanlu-zyl committed Dec 27, 2024
1 parent 76b061a commit 5547e5c
Show file tree
Hide file tree
Showing 14 changed files with 696 additions and 820 deletions.
10 changes: 10 additions & 0 deletions .changeset/early-ties-destroy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
'@alanlu-dev/markdownlint-config': patch
'@alanlu-dev/lint-staged-config': patch
'@alanlu-dev/release-it-config': patch
'@alanlu-dev/mastercss-helpers': patch
'@alanlu-dev/eslint-config': patch
'@alanlu-dev/utils': patch
---

chore(deps): bump package versions
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ jobs:
run: pnpm run build

- name: Lint
run: pnpm run lint:fix
run: pnpm run lint

- name: Format
run: pnpm run format:fix
run: pnpm run format

- name: TypeCheck
run: pnpm run typecheck
Expand Down
2 changes: 1 addition & 1 deletion apps/nuxt-demo/app/components/Tabs.vue
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const name = ref(nanoid(10))
function onInput(newIdx: number) {
idx.value = newIdx
const value = inputProps.value.tabs[newIdx].value as string
const value = inputProps.value?.tabs[newIdx]?.value as string
emit('update:modelValue', value)
}
Expand Down
4 changes: 3 additions & 1 deletion apps/nuxt-demo/config/formkit/rules.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@ export const rules = {
export const messages = Object.entries(_messages).reduce(
(acc, [key, messages]) => {
Object.entries(messages).forEach(([locale, func]) => {
acc[locale].validation![key] = func
if (acc[locale]?.validation && acc[locale].validation[key]) {
acc[locale].validation[key] = func
}
})
return acc
},
Expand Down
4 changes: 2 additions & 2 deletions apps/nuxt-demo/i18n.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import en from './locales/en.json'
import zh from './locales/zh.json'
import en from './app/locales/en.json'
import zh from './app/locales/zh.json'

// https://vue-i18n.intlify.dev/api/general.html#createi18n
// You can use `defineI18nConfig` to get type inferences for options to pass to vue-i18n.
Expand Down
57 changes: 8 additions & 49 deletions apps/nuxt-demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,60 +24,19 @@
"docker:nginx": "docker build -t fast-nginx .",
"docker:nginx:run": "docker run -d -p 80:80 fast-nginx"
},
"peerDependencies": {
"@alanlu-dev/mastercss-config": "workspace:*",
"@alanlu-dev/scss": "workspace:*",
"@alanlu-dev/types": "workspace:*",
"@alanlu-dev/utils": "workspace:*",
"@formkit/addons": "^1.6.9",
"@formkit/core": "^1.6.9",
"@formkit/i18n": "^1.6.9",
"@formkit/icons": "^1.6.9",
"@formkit/inputs": "^1.6.9",
"@formkit/nuxt": "^1.6.9",
"@formkit/themes": "^1.6.9",
"@formkit/vue": "^1.6.9",
"@formkit/zod": "^1.6.9",
"@master/css.nuxt": "2.0.0-rc.47",
"@master/css.vue": "2.0.0-rc.47",
"@nuxt/devtools": "^1.6.4",
"@nuxt/image": "^1.8.1",
"@nuxt/kit": "^3.14.1592",
"@nuxt/schema": "^3.14.1592",
"@nuxt/ui": "^2.20.0",
"@nuxtjs/color-mode": "^3.5.2",
"@nuxtjs/fontaine": "^0.4.4",
"@nuxtjs/google-fonts": "^3.2.0",
"@pinia/nuxt": "^0.9.0",
"@vue-final-modal/nuxt": "^1.0.3",
"@vueuse/core": "^12.1.0",
"@vueuse/nuxt": "^12.1.0",
"class-variant": "^2.0.4",
"focus-trap": "^7.6.2",
"nanoid": "^5.0.9",
"nuxt": "^3.14.1592",
"nuxt-icon": "^0.6.10",
"pinia": "^2.3.0",
"pinia-plugin-persistedstate": "^4.2.0",
"vue": "^3.5.13",
"vue-final-modal": "^4.5.5",
"vue-router": "^4.5.0",
"vue-tsc": "^2.1.10",
"zod": "^3.24.1"
},
"dependencies": {
"@alanlu-dev/utils": "workspace:*",
"@formkit/i18n": "^1.6.9",
"@splidejs/splide": "^4.1.4",
"@splidejs/splide-extension-intersection": "^0.2.0",
"@vueuse/core": "^12.1.0",
"@vueuse/core": "^12.2.0",
"class-variant": "^2.0.4",
"floating-vue": "^5.2.2",
"i18next": "^24.2.0",
"maska": "^3.0.4",
"nanoid": "^5.0.9",
"pinia": "^2.3.0",
"unstorage": "1.14.1",
"unstorage": "1.14.3",
"vue": "^3.5.13",
"vue-final-modal": "^4.5.5",
"vue-router": "^4.5.0",
Expand All @@ -103,10 +62,10 @@
"@intlify/unplugin-vue-i18n": "^6.0.2",
"@master/css.nuxt": "2.0.0-rc.47",
"@master/css.vue": "2.0.0-rc.47",
"@nuxt/devtools": "^1.6.4",
"@nuxt/devtools": "^1.7.0",
"@nuxt/image": "^1.8.1",
"@nuxt/kit": "^3.14.1592",
"@nuxt/schema": "^3.14.1592",
"@nuxt/kit": "^3.15.0",
"@nuxt/schema": "^3.15.0",
"@nuxt/test-utils": "^3.15.1",
"@nuxt/ui": "^2.20.0",
"@nuxtjs/color-mode": "^3.5.2",
Expand All @@ -118,14 +77,14 @@
"@testing-library/vue": "^8.1.0",
"@vue-final-modal/nuxt": "^1.0.3",
"@vue/test-utils": "^2.4.6",
"@vueuse/nuxt": "^12.1.0",
"@vueuse/nuxt": "^12.2.0",
"focus-trap": "^7.6.2",
"nuxt": "^3.14.1592",
"nuxt": "^3.15.0",
"nuxt-gtag": "^3.0.2",
"nuxt-icon": "^0.6.10",
"nuxt-security": "^2.1.5",
"nuxt-splide": "^1.1.1",
"pinia-plugin-persistedstate": "^4.2.0",
"vue-tsc": "^2.1.10"
"vue-tsc": "^2.2.0"
}
}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,14 +70,14 @@
"@vitest/coverage-v8": "^2.1.8",
"cspell": "^8.17.1",
"dotenv": "^16.4.7",
"happy-dom": "^15.11.7",
"happy-dom": "^16.0.0",
"husky": "^9.1.7",
"tsup": "^8.3.5",
"tsx": "^4.19.2",
"turbo": "^2.3.3",
"typescript": "^5.7.2",
"unbuild": "^3.0.1",
"vite": "^6.0.5",
"vite": "^6.0.6",
"vitest": "^2.1.8"
}
}
4 changes: 2 additions & 2 deletions packages/styles/mastercss/helpers/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ function group(config: GroupConfig): string {
otherGroup.push(
group({
parent: _parent,
cls: r[2].split(';').join(' '),
cls: r[2]!.split(';').join(' '),
selector: _selector,
mq: _mq,
scope,
Expand Down Expand Up @@ -150,7 +150,7 @@ function toLine(obj: Record<string, string>, options: Partial<ToLineOptions> = {
})
}
// 以下開頭視為後代選擇器
else if (['_', '>', '~', '+', ':', '[', '@', '!'].includes(temp[0]) || options?.scope) {
else if (['_', '>', '~', '+', ':', '[', '@', '!'].includes(temp[0]!) || options?.scope) {
styles = group({
selector,
cls: styles,
Expand Down
4 changes: 2 additions & 2 deletions packages/tooling/eslint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"lint": "eslint"
},
"peerDependencies": {
"@antfu/eslint-config": "^3.12.0",
"@antfu/eslint-config": "^3.12.1",
"@master/eslint-config-css": "2.0.0-rc.47",
"@master/eslint-plugin-css": "2.0.0-rc.47",
"eslint": "^9.17.0",
Expand All @@ -35,7 +35,7 @@
"eslint-plugin-vitest": "^0.5.4"
},
"devDependencies": {
"@antfu/eslint-config": "^3.12.0",
"@antfu/eslint-config": "^3.12.1",
"@master/eslint-config-css": "2.0.0-rc.47",
"@master/eslint-plugin-css": "2.0.0-rc.47",
"eslint": "^9.17.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/tooling/lint-staged-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@
"peerDependencies": {
"eslint": "^9.17.0",
"lint-staged": "^15.2.11",
"markdownlint-cli2": "^0.16.0",
"markdownlint-cli2": "^0.17.0",
"prettier": "^3.4.2",
"stylelint": "^16.12.0"
},
"devDependencies": {
"eslint": "^9.17.0",
"lint-staged": "^15.2.11",
"markdownlint-cli2": "^0.16.0",
"markdownlint-cli2": "^0.17.0",
"prettier": "^3.4.2",
"stylelint": "^16.12.0"
}
Expand Down
4 changes: 2 additions & 2 deletions packages/tooling/markdownlint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@
},
"peerDependencies": {
"@github/markdownlint-github": "^0.6.3",
"markdownlint-cli2": "^0.16.0",
"markdownlint-cli2": "^0.17.0",
"markdownlint-cli2-formatter-pretty": "^0.0.7"
},
"devDependencies": {
"@github/markdownlint-github": "^0.6.3",
"markdownlint-cli2": "^0.16.0",
"markdownlint-cli2": "^0.17.0",
"markdownlint-cli2-formatter-pretty": "^0.0.7"
}
}
2 changes: 1 addition & 1 deletion packages/utils/src/obj/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ function queryString2Obj(str?: string): Record<string, any> {
if (!str) return {}
return str.split('&').reduce((acc: Record<string, any>, params: string) => {
const p = params.split('=', 2)
if (p.length > 1) acc[p[0]] = decodeURIComponent(p[1].replace(/\+/g, ' '))
if (p.length > 1) acc[p[0]!] = decodeURIComponent(p[1]!.replace(/\+/g, ' '))
return acc
}, {})
}
Expand Down
8 changes: 4 additions & 4 deletions packages/versions/release-it-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@
"release:dry": "release-it --dry-run"
},
"peerDependencies": {
"@release-it/conventional-changelog": "^9.0.3",
"release-it": "^17.10.0"
"@release-it/conventional-changelog": "^9.0.4",
"release-it": "^17.11.0"
},
"devDependencies": {
"@release-it/conventional-changelog": "^9.0.3",
"@release-it/conventional-changelog": "^9.0.4",
"glob": "^11.0.0",
"js-yaml": "^4.1.0",
"release-it": "^17.10.0"
"release-it": "^17.11.0"
}
}
Loading

0 comments on commit 5547e5c

Please sign in to comment.