Skip to content

Commit

Permalink
feat: rename sync to merge-config
Browse files Browse the repository at this point in the history
  • Loading branch information
ckt1031 committed Feb 28, 2023
1 parent e08ef01 commit aaeb0d2
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ jobs:
- name: Install dependencies
run: pnpm i

- name: Sync and Merge config files
run: pnpm sync
- name: Merge config files
run: pnpm merge-config

- name: Run Type Checking
run: pnpm typecheck
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ With its robust performance, intuitive design, and vast array of functionalities

1. NodeJS v16.9.0 or later (LTS or Latest)
> Additional requirements: Python3, FFmpeg, Build-essential, etc.
1. 512 MB RAM (based on number of servers)
1. 1 GB Storage
1. 1 CPU Core
2. 512 MB RAM (based on number of servers)
3. 1 GB Storage
4. 1 CPU Core

## 🚀 Getting Started

Expand All @@ -32,19 +32,19 @@ MONGODB_URL=XXXXXXXXXXXXXXXX
2. Install dependencies:

```bash
npm install
pnpm install
```

3. Sync your config:
3. Merge your config:

```bash
npm sync
pnpm merge-config
```

4. Start the bot:

```bash
npm run start
pnpm run start
```

## Legacy Version
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"dev": "nodemon",
"format": "prettier -w .",
"lint": "eslint --fix .",
"merge-config": "node --loader @esbuild-kit/esm-loader tools/merge-config.ts",
"start": "cross-env NODE_ENV=production node --loader @esbuild-kit/esm-loader src/index.ts",
"sync": "node --loader @esbuild-kit/esm-loader tools/copy-config.ts",
"typecheck": "tsc"
},
"dependencies": {
Expand Down
File renamed without changes.

0 comments on commit aaeb0d2

Please sign in to comment.