Skip to content
Merged

Dev #146

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
3 changes: 2 additions & 1 deletion .prettierrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ insertPragma: false
jsxSingleQuote: false
objectWrap: "preserve"
# parser: null
plugins: []
plugins:
- prettier-plugin-tailwindcss
printWidth: 80
proseWrap: "preserve"
quoteProps: "as-needed"
Expand Down
8 changes: 5 additions & 3 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
{
"editor.codeActionsOnSave": {
"source.organizeImports": "explicit"
},
"editor.fontSize": 20,
"editor.formatOnSave": true,
"editor.linkedEditing": true,
"editor.tabSize": 2,
"workbench.iconTheme": "vscode-icons",
"git.autofetch": true,
"git.confirmSync": false,
"git.enableSmartCommit": true,
"git.autofetch": true
"workbench.iconTheme": "vscode-icons"
}
17 changes: 0 additions & 17 deletions dev.ts

This file was deleted.

31 changes: 0 additions & 31 deletions json-typed.d.ts

This file was deleted.

42 changes: 37 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,44 @@
{
"name": "yanglee2421.github.io",
"private": true,
"type": "module",
"version": "0.0.0",
"description": "",
"keywords": [],
"author": "",
"description": "Single pages application for github pages, built with Vite, React, Vue and TypeScript.",
"keywords": [
"github-pages",
"vite",
"react",
"vue",
"typescript",
"spa"
],
"license": "MIT",
"author": "yanglee2421",
"repository": {
"type": "git",
"url": "https://github.com/yanglee2421/yanglee2421.github.io.git",
"directory": "/"
},
"bugs": {
"url": "https://github.com/yanglee2421/yanglee2421.github.io/issues",
"email": "yanglee2421@outlook.com"
},
"homepage": "https://github.com/yanglee2421/yanglee2421.github.io/blob/main/README.md",
"private": true,
"files": [
"dist"
],
"type": "module",
"exports": {
"types": "./dist/main.d.ts",
"import": "./dist/main.mjs",
"require": "./dist/main.cjs"
},
"packageManager": "pnpm@10.30.1+sha512.3590e550d5384caa39bd5c7c739f72270234b2f6059e13018f975c313b1eb9fefcc09714048765d4d9efe961382c312e624572c0420762bdc5d5940cdf9be73a",
"scripts": {
"dev:react": "pnpm -F react-spa dev",
"dev:vue": "pnpm -F vue-spa dev",
"build:react": "pnpm -F react-spa build",
"build:vue": "pnpm -F vue-spa build"
},
"devDependencies": {
"@eslint/js": "^9.39.2",
"@types/node": "^25.3.0",
Expand All @@ -17,6 +48,7 @@
"eslint-plugin-react-refresh": "^0.4.24",
"globals": "^16.5.0",
"prettier": "^3.8.1",
"prettier-plugin-tailwindcss": "^0.7.2",
"typescript": "^5.9.3",
"typescript-eslint": "^8.49.0"
}
Expand Down
6 changes: 3 additions & 3 deletions packages/react-spa/eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import js from "@eslint/js";
import globals from "globals";
import tseslint from "typescript-eslint";
import reactHooks from "eslint-plugin-react-hooks";
import reactRefresh from "eslint-plugin-react-refresh";
import { globalIgnores, defineConfig } from "eslint/config";
import { defineConfig, globalIgnores } from "eslint/config";
import globals from "globals";
import tseslint from "typescript-eslint";

export default defineConfig([
globalIgnores(["dist"]),
Expand Down
35 changes: 29 additions & 6 deletions packages/react-spa/package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,36 @@
{
"name": "react-spa",
"private": true,
"version": "0.0.0",
"type": "module",
"description": "Haven't decided what type of website to build yet",
"description": "Single page application template built with Vite, React and TypeScript.",
"keywords": [
"spa",
"vite",
"react",
"typescript",
"react-router"
],
"license": "MIT",
"author": "yanglee2421",
"repository": {
"type": "git",
"url": "https://github.com/yanglee2421/yanglee2421.github.io",
"directory": "/"
"directory": "/packages/react-spa"
},
"bugs": {
"url": "https://github.com/yanglee2421/yanglee2421.github.io/issues",
"email": "yanglee2421@outlook.com"
},
"homepage": "https://github.com/yanglee2421/yanglee2421.github.io/blob/main/README.md",
"private": true,
"files": [
"dist"
],
"type": "module",
"exports": {
"types": "./dist/main.d.ts",
"import": "./dist/main.mjs",
"require": "./dist/main.cjs"
},
"homepage": "https://yanglee2421.github.io",
"scripts": {
"dev": "vite",
"build": "tsc -b && vite build",
Expand Down Expand Up @@ -48,6 +69,7 @@
"@tsparticles/preset-stars": "^3.2.0",
"@tsparticles/react": "^3.0.0",
"@tsparticles/slim": "^3.9.1",
"@yotulee/run": "jsr:^0.0.11",
"axios": "^1.13.2",
"classnames": "^2.5.1",
"dayjs": "^1.11.19",
Expand All @@ -73,7 +95,8 @@
"shiki": "^3.20.0",
"use-immer": "^0.11.0",
"zod": "^4.1.13",
"zustand": "^5.0.9"
"zustand": "^5.0.9",
"zxing-wasm": "^3.0.0"
},
"devDependencies": {
"@types/nprogress": "^0.2.3",
Expand Down
Loading