Skip to content

Commit 5c1b43e

Browse files
committed
Restructure
Flatten src: Remove src/client src/server directories
1 parent 61a0320 commit 5c1b43e

File tree

137 files changed

+7
-16
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

137 files changed

+7
-16
lines changed

.github/ISSUE_TEMPLATE.md

Lines changed: 0 additions & 2 deletions
This file was deleted.

FAQ.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

config.js renamed to config/index.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@ const ENV = dotenv.load({
2020

2121
const config = {
2222
ENV: ENV,
23-
ROOT_DIR: path.resolve(__dirname), // Root dir
24-
TMP_DIR: path.resolve(__dirname, './.tmp'), // Tmp dir
25-
NPM_DIR: path.resolve(__dirname, './node_modules'), // Npm dir
26-
SRC_DIR: path.resolve(__dirname, './src'), // Source files
23+
ROOT_DIR: path.resolve(__dirname, '../'), // Root dir
24+
TMP_DIR: path.resolve(__dirname, '../.tmp'), // Tmp dir
25+
NPM_DIR: path.resolve(__dirname, '../node_modules'), // Npm dir
26+
SRC_DIR: path.resolve(__dirname, '../src'), // Source files
2727

28-
CLIENT_DIR: path.resolve(__dirname, './src/client'), // Client source files
29-
SERVER_DIR: path.resolve(__dirname, './src/server'), // Server source files
28+
CLIENT_DIR: path.resolve(__dirname, '../src/client'), // Client source files
29+
SERVER_DIR: path.resolve(__dirname, '../src/server'), // Server source files
3030

31-
DIST_DIR: path.resolve(__dirname, './dist'), // Build destination
31+
DIST_DIR: path.resolve(__dirname, '../dist'), // Build destination
3232
};
3333

3434
module.exports = config;
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)