Skip to content

Commit

Permalink
build: blog 기능을 위한 서버 필요
Browse files Browse the repository at this point in the history
  • Loading branch information
DingX2 committed May 21, 2024
1 parent 9119758 commit 1a3bc32
Show file tree
Hide file tree
Showing 6 changed files with 71 additions and 65 deletions.
3 changes: 2 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@
"jsx": "never",
"ts": "never",
"tsx": "never",
"json": "never"
"json": "never",
"mdx": "never"
}
],
"no-restricted-imports": [
Expand Down
Binary file modified bun.lockb
Binary file not shown.
124 changes: 62 additions & 62 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,64 +1,64 @@
{
"name": "devxuan",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview",
"prepare": "husky",
"lint": "eslint .",
"prettier": "prettier .",
"type-check": "tsc --noEmit",
"type-check:watch": "tsc --noEmit --watch"
},
"dependencies": {
"@solidjs/router": "^0.13.3",
"@tanstack/solid-query": "^5.35.1",
"ky": "^1.2.4",
"motion": "^10.17.0",
"solid-fontawesome": "^0.2.1",
"solid-js": "^1.8.15",
"solid-styled-components": "^0.28.5"
},
"devDependencies": {
"@commitlint/config-conventional": "^19.2.2",
"@eslint/js": "^9.1.1",
"@tanstack/solid-query-devtools": "^5.35.1",
"commitlint": "^19.3.0",
"eslint": "^8.56.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^18.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-solid": "^0.14.0",
"globals": "^15.1.0",
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
"prettier": "^3.2.5",
"typescript": "^5.2.2",
"typescript-eslint": "^7.8.0",
"vite": "^5.2.0",
"vite-plugin-babel": "^1.2.0",
"vite-plugin-eslint": "^1.8.1",
"vite-plugin-solid": "^2.10.2",
"vite-tsconfig-paths": "^4.3.2"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"bash -c 'bun prettier'",
"bash -c 'bun lint'",
"bash -c 'bun type-check'"
],
"*.css": [
"bash -c 'bun prettier'"
],
"*.{json,md}": [
"bash -c 'bun prettier'"
]
}
"name": "devxuan",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview",
"prepare": "husky",
"lint": "eslint .",
"prettier": "prettier .",
"type-check": "tsc --noEmit",
"type-check:watch": "tsc --noEmit --watch"
},
"dependencies": {
"@solidjs/router": "^0.13.3",
"@tanstack/solid-query": "^5.35.1",
"ky": "^1.2.4",
"solid-fontawesome": "^0.2.1",
"solid-js": "^1.8.15",
"solid-motionone": "^1.0.0",
"solid-styled-components": "^0.28.5"
},
"devDependencies": {
"@commitlint/config-conventional": "^19.2.2",
"@eslint/js": "^9.1.1",
"@tanstack/solid-query-devtools": "^5.35.1",
"commitlint": "^19.3.0",
"eslint": "^8.56.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^18.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-solid": "^0.14.0",
"globals": "^15.1.0",
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
"prettier": "^3.2.5",
"typescript": "^5.2.2",
"typescript-eslint": "^7.8.0",
"vite": "^5.2.0",
"vite-plugin-babel": "^1.2.0",
"vite-plugin-eslint": "^1.8.1",
"vite-plugin-solid": "^2.10.2",
"vite-tsconfig-paths": "^4.3.2"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"bash -c 'bun prettier'",
"bash -c 'bun lint'",
"bash -c 'bun type-check'"
],
"*.css": [
"bash -c 'bun prettier'"
],
"*.{json,md}": [
"bash -c 'bun prettier'"
]
}
}
2 changes: 1 addition & 1 deletion src/components/molecules/Content.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { ParentComponent } from 'solid-js';

export const Content: ParentComponent = () => {
return <>임시</>;
return <>Blog 자리</>;
};
1 change: 1 addition & 0 deletions src/components/molecules/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ export * from './Card';
export * from './ImageBox';
export * from './Background';
export * from './Speech';
export * from './Content';
6 changes: 5 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
import { defineConfig } from 'vite';
import solid from 'vite-plugin-solid';
import tsconfigPaths from 'vite-tsconfig-paths';
import mdx from '@mdx-js/rollup';

export default defineConfig({
plugins: [solid(), tsconfigPaths()],
plugins: [mdx({ jsxImportSource: 'solid-jsx'}), solid(), tsconfigPaths()],
build: {
target: 'esnext',
},
});

0 comments on commit 1a3bc32

Please sign in to comment.