From: NknightA Date: Wed, 5 Apr 2023 02:30:06 +0000 (+0900) Subject: update X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=9d73fff2182edf738006668ad6921ac7b31ed176;p=projectv%2Fserver.git update --- diff --git a/.eslintrc.json b/front/.eslintrc.json similarity index 100% rename from .eslintrc.json rename to front/.eslintrc.json diff --git a/.gitignore b/front/.gitignore similarity index 100% rename from .gitignore rename to front/.gitignore diff --git a/LICENSE b/front/LICENSE similarity index 100% rename from LICENSE rename to front/LICENSE diff --git a/config/local.json b/front/config/local.json similarity index 100% rename from config/local.json rename to front/config/local.json diff --git a/dist/components/background.jsx b/front/dist/components/background.jsx similarity index 100% rename from dist/components/background.jsx rename to front/dist/components/background.jsx diff --git a/dist/components/box.jsx b/front/dist/components/box.jsx similarity index 100% rename from dist/components/box.jsx rename to front/dist/components/box.jsx diff --git a/dist/components/mode.js b/front/dist/components/mode.js similarity index 100% rename from dist/components/mode.js rename to front/dist/components/mode.js diff --git a/dist/index.js b/front/dist/index.js similarity index 100% rename from dist/index.js rename to front/dist/index.js diff --git a/dist/pages/_app.jsx b/front/dist/pages/_app.jsx similarity index 100% rename from dist/pages/_app.jsx rename to front/dist/pages/_app.jsx diff --git a/dist/pages/_document.jsx b/front/dist/pages/_document.jsx similarity index 100% rename from dist/pages/_document.jsx rename to front/dist/pages/_document.jsx diff --git a/dist/pages/account.jsx b/front/dist/pages/account.jsx similarity index 100% rename from dist/pages/account.jsx rename to front/dist/pages/account.jsx diff --git a/dist/pages/api/hello.js b/front/dist/pages/api/hello.js similarity index 100% rename from dist/pages/api/hello.js rename to front/dist/pages/api/hello.js diff --git a/dist/pages/index.js b/front/dist/pages/index.js similarity index 100% rename from dist/pages/index.js rename to front/dist/pages/index.js diff --git a/dist/pages/index.jsx b/front/dist/pages/index.jsx similarity index 100% rename from dist/pages/index.jsx rename to front/dist/pages/index.jsx diff --git a/dist/server/server.js b/front/dist/server/server.js similarity index 100% rename from dist/server/server.js rename to front/dist/server/server.js diff --git a/dist/status/store.jsx b/front/dist/status/store.jsx similarity index 100% rename from dist/status/store.jsx rename to front/dist/status/store.jsx diff --git a/dist/user/create_user_post.js b/front/dist/user/create_user_post.js similarity index 100% rename from dist/user/create_user_post.js rename to front/dist/user/create_user_post.js diff --git a/next.config.js b/front/next.config.js similarity index 100% rename from next.config.js rename to front/next.config.js diff --git a/nodemon.json b/front/nodemon.json similarity index 100% rename from nodemon.json rename to front/nodemon.json diff --git a/package-lock.json b/front/package-lock.json similarity index 100% rename from package-lock.json rename to front/package-lock.json diff --git a/front/package.json b/front/package.json new file mode 100644 index 0000000..d9cebd3 --- /dev/null +++ b/front/package.json @@ -0,0 +1,50 @@ +{ + "name": "v", + "version": "0.4.9", + "description": "", + "version": "0.4.72", + "private": true, + "scripts": { + "dev": "tsc -p tsconfig.server.json && cross-env NODE_ENV=development node ./dist/server/server.js", + "pre-build": "tsc -p tsconfig.server.json", + "dev_next": "cross-env NODE_ENV=development && npx ts-node ./src/server/server.ts" + }, + "keywords": [], + "author": "nknight amamiya ", + "license": "MIT", + "dependencies": { + "@reduxjs/toolkit": "^1.9.3", + "@types/express": "^4.17.17", + "@types/node": "^18.15.5", + "@types/react": "^18.0.28", + "@types/react-dom": "^18.0.11", + "cgi-express": "^0.1.2", + "dotenv": "^16.0.3", + "eslint": "^8.36.0", + "eslint-config-next": "^13.2.4", + "next": "^13.2.4", + "pg": "^8.10.0", + "react": "^18.2.0", + "react-dom": "^18.2.0", + "ts-node": "^10.9.1" + }, + "devDependencies": { + "@webpack-cli/generators": "^3.0.1", + "cross-env": "^7.0.3", + "css-loader": "^6.7.3", + "express": "^4.18.2", + "html-loader": "^4.2.0", + "html-webpack-plugin": "^5.5.0", + "mini-css-extract-plugin": "^2.7.5", + "nodemon": "^2.0.21", + "prettier": "^2.8.6", + "sass": "^1.60.0", + "sass-loader": "^13.2.2", + "style-loader": "^3.3.2", + "ts-loader": "^9.4.2", + "typescript": "^5.0.2", + "webpack": "^5.77.0", + "webpack-cli": "^5.0.1", + "webpack-node-externals": "^3.0.0" + } +} \ No newline at end of file diff --git a/public/favicon.ico b/front/public/favicon.ico similarity index 100% rename from public/favicon.ico rename to front/public/favicon.ico diff --git a/public/global.png b/front/public/global.png similarity index 100% rename from public/global.png rename to front/public/global.png diff --git a/public/image.jpg b/front/public/image.jpg similarity index 100% rename from public/image.jpg rename to front/public/image.jpg diff --git a/public/image_4.png b/front/public/image_4.png similarity index 100% rename from public/image_4.png rename to front/public/image_4.png diff --git a/public/image_credit.txt b/front/public/image_credit.txt similarity index 100% rename from public/image_credit.txt rename to front/public/image_credit.txt diff --git a/public/next.svg b/front/public/next.svg similarity index 100% rename from public/next.svg rename to front/public/next.svg diff --git a/public/thirteen.svg b/front/public/thirteen.svg similarity index 100% rename from public/thirteen.svg rename to front/public/thirteen.svg diff --git a/public/v1_icon_beta.png b/front/public/v1_icon_beta.png similarity index 100% rename from public/v1_icon_beta.png rename to front/public/v1_icon_beta.png diff --git a/public/v1_icon_canary.png b/front/public/v1_icon_canary.png similarity index 100% rename from public/v1_icon_canary.png rename to front/public/v1_icon_canary.png diff --git a/public/v1_icon_stable.png b/front/public/v1_icon_stable.png similarity index 100% rename from public/v1_icon_stable.png rename to front/public/v1_icon_stable.png diff --git a/public/vercel.svg b/front/public/vercel.svg similarity index 100% rename from public/vercel.svg rename to front/public/vercel.svg diff --git a/src/components/background.module.sass b/front/src/components/background.module.sass similarity index 100% rename from src/components/background.module.sass rename to front/src/components/background.module.sass diff --git a/src/components/background.tsx b/front/src/components/background.tsx similarity index 100% rename from src/components/background.tsx rename to front/src/components/background.tsx diff --git a/src/components/box.tsx b/front/src/components/box.tsx similarity index 100% rename from src/components/box.tsx rename to front/src/components/box.tsx diff --git a/src/components/mode.ts b/front/src/components/mode.ts similarity index 100% rename from src/components/mode.ts rename to front/src/components/mode.ts diff --git a/src/pages/_app.tsx b/front/src/pages/_app.tsx similarity index 100% rename from src/pages/_app.tsx rename to front/src/pages/_app.tsx diff --git a/src/pages/_document.tsx b/front/src/pages/_document.tsx similarity index 100% rename from src/pages/_document.tsx rename to front/src/pages/_document.tsx diff --git a/src/pages/account.tsx b/front/src/pages/account.tsx similarity index 100% rename from src/pages/account.tsx rename to front/src/pages/account.tsx diff --git a/src/pages/api/hello.ts b/front/src/pages/api/hello.ts similarity index 100% rename from src/pages/api/hello.ts rename to front/src/pages/api/hello.ts diff --git a/src/pages/index.tsx b/front/src/pages/index.tsx similarity index 100% rename from src/pages/index.tsx rename to front/src/pages/index.tsx diff --git a/src/styles/Home.module.css b/front/src/styles/Home.module.css similarity index 100% rename from src/styles/Home.module.css rename to front/src/styles/Home.module.css diff --git a/src/styles/global/global.css b/front/src/styles/global/global.css similarity index 100% rename from src/styles/global/global.css rename to front/src/styles/global/global.css diff --git a/src/styles/globals.css b/front/src/styles/globals.css similarity index 100% rename from src/styles/globals.css rename to front/src/styles/globals.css diff --git a/src/styles/home.module.sass b/front/src/styles/home.module.sass similarity index 100% rename from src/styles/home.module.sass rename to front/src/styles/home.module.sass diff --git a/src/styles/module-css/home.module.sass b/front/src/styles/module-css/home.module.sass similarity index 100% rename from src/styles/module-css/home.module.sass rename to front/src/styles/module-css/home.module.sass diff --git a/src/user/create_user_post.ts b/front/src/user/create_user_post.ts similarity index 100% rename from src/user/create_user_post.ts rename to front/src/user/create_user_post.ts diff --git a/tsconfig.json b/front/tsconfig.json similarity index 100% rename from tsconfig.json rename to front/tsconfig.json diff --git a/tsconfig.server.json b/front/tsconfig.server.json similarity index 100% rename from tsconfig.server.json rename to front/tsconfig.server.json diff --git a/yarn.lock b/front/yarn.lock similarity index 100% rename from yarn.lock rename to front/yarn.lock diff --git a/next-env.d.ts b/next-env.d.ts deleted file mode 100644 index 4f11a03..0000000 --- a/next-env.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -/// -/// - -// NOTE: This file should not be edited -// see https://nextjs.org/docs/basic-features/typescript for more information. diff --git a/package.json b/package.json index d9cebd3..c311177 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "devDependencies": { "@webpack-cli/generators": "^3.0.1", "cross-env": "^7.0.3", - "css-loader": "^6.7.3", + "css-loader": "^6.7.3",n@x "express": "^4.18.2", "html-loader": "^4.2.0", "html-webpack-plugin": "^5.5.0",