-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
25 changed files
with
2,124 additions
and
2,773 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,5 +33,8 @@ jobs: | |
run: nci | ||
|
||
- name: lint | ||
run: nr lint | ||
|
||
- name: lint text | ||
run: nr lint:text | ||
# TODO: configure other jobs |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"recommendations": ["Vue.volar", "dbaeumer.vscode-eslint", "esbenp.prettier-vscode"] | ||
"recommendations": ["Vue.volar", "dbaeumer.vscode-eslint"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import antfu from '@antfu/eslint-config' | ||
|
||
export default antfu({ vue: true, typescript: true }) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
{ | ||
"name": "@vueyous/monorepo", | ||
"type": "module", | ||
"version": "0.0.1-alpha.1", | ||
"private": true, | ||
"packageManager": "[email protected]", | ||
"type": "module", | ||
"scripts": { | ||
"dev": "vite", | ||
"build": "run-p type-check \"build-only {@}\" --", | ||
"preview": "vite preview", | ||
"build-only": "vite build", | ||
"type-check": "vue-tsc --build --force", | ||
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", | ||
"lint": "eslint .", | ||
"lint:fix": "eslint . --fix", | ||
"lint:text": "textlint .", | ||
"fmt": "prettier --write src/", | ||
"docs:dev": "vitepress dev packages", | ||
"docs:build": "vitepress build packages", | ||
"docs:preview": "vitepress preview packages" | ||
|
@@ -22,24 +22,20 @@ | |
"vue": "^3.4.21" | ||
}, | ||
"devDependencies": { | ||
"@rushstack/eslint-patch": "^1.3.3", | ||
"@antfu/eslint-config": "^2.13.3", | ||
"@tsconfig/node20": "^20.1.2", | ||
"@types/fs-extra": "^11.0.4", | ||
"@types/jsdom": "^21.1.6", | ||
"@types/node": "^20.11.28", | ||
"@vitejs/plugin-vue": "^5.0.4", | ||
"@vueyous/core": "workspace:*", | ||
"@vueyous/shared": "workspace:*", | ||
"@vue/eslint-config-prettier": "^8.0.0", | ||
"@vue/eslint-config-typescript": "^12.0.0", | ||
"@vue/test-utils": "^2.4.5", | ||
"@vue/tsconfig": "^0.5.1", | ||
"@vueyous/core": "workspace:*", | ||
"@vueyous/shared": "workspace:*", | ||
"eslint": "^8.49.0", | ||
"eslint-plugin-vue": "^9.17.0", | ||
"fs-extra": "^11.2.0", | ||
"jsdom": "^24.0.0", | ||
"npm-run-all2": "^6.1.2", | ||
"prettier": "^3.0.3", | ||
"textlint": "^14.0.4", | ||
"textlint-rule-ja-space-between-half-and-full-width": "^2.3.1", | ||
"typescript": "~5.4.0", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import DefaultTheme from 'vitepress/theme'; | ||
import DefaultTheme from 'vitepress/theme' | ||
|
||
import './styles/main.css'; | ||
import './styles/main.css' | ||
|
||
export default DefaultTheme; | ||
export default DefaultTheme |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
export { useManualRefHistory } from './useManualRefHistory'; | ||
export { useRefHistory } from './useRefHistory'; | ||
export { useManualRefHistory } from './useManualRefHistory' | ||
export { useRefHistory } from './useRefHistory' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
{ | ||
"name": "@vueyous/core", | ||
"version": "0.0.1-alpha.1", | ||
"type": "module", | ||
"version": "0.0.1-alpha.1", | ||
"dependencies": { | ||
"@vueyous/shared": "workspace:*" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
export type CloneFn<F, T = F> = (x: F) => T; | ||
export type CloneFn<F, T = F> = (x: F) => T | ||
|
||
export function cloneFnJSON<T>(source: T): T { | ||
return JSON.parse(JSON.stringify(source)); | ||
return JSON.parse(JSON.stringify(source)) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.