Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
fa476fe
✨ feat: add start, dev, and build scripts to playground package.json
Cleboost Jan 26, 2025
7d72253
✨ feat: add CLI build command with obfuscation option and dependencies
Cleboost Jan 26, 2025
fcc2a9e
remove @deprecated
Cleboost Jan 26, 2025
b293896
🐛 fix: remove console log for javascript-obfuscator installation
Cleboost Jan 26, 2025
bac28eb
[autofix.ci] apply automated fixes
autofix-ci[bot] Jan 26, 2025
9c955f9
📦 chore: update chalk and ora dependencies to stable versions (not esm)
Cleboost Jan 26, 2025
8e0d034
📦 chore: remove obsolete tsup configuration file
Cleboost Jan 26, 2025
3cef0b3
📦 chore: rename package from 'test' to 'playground' and update javasc…
Cleboost Jan 26, 2025
78e705c
💡 style: add padding line rule between function statements in ESLint …
Cleboost Jan 26, 2025
b2207d3
feat✨: enhance build process with obfuscation and package.json genera…
Cleboost Jan 26, 2025
20553e0
[autofix.ci] apply automated fixes
autofix-ci[bot] Jan 26, 2025
c520f87
feat✨: add CLI commands for project initialization and development mode
Cleboost Jan 26, 2025
be887d4
[autofix.ci] apply automated fixes
autofix-ci[bot] Jan 26, 2025
198724d
💡 style: update .prettierignore to include YAML files
Cleboost Jan 26, 2025
eb34549
feat✨: add file watcher for development mode and include chokidar dep…
Cleboost Jan 26, 2025
a3463d7
[autofix.ci] apply automated fixes
autofix-ci[bot] Jan 26, 2025
f32d8e6
feat✨: add experimental obfuscation option and improve file handling
Cleboost Jan 26, 2025
688cef6
Merge branch 'dev-builder' of https://github.com/Cleboost/djs-core in…
Cleboost Jan 26, 2025
6bfb530
[autofix.ci] apply automated fixes
autofix-ci[bot] Jan 26, 2025
c0616f0
fix🐛: update execSync command to use correct working directory
Cleboost Jan 26, 2025
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 .prettierignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Ignore artifacts:
dist/
.github/
.github/
*.yml
4 changes: 4 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ export default [
files: ["src/**/*.{js,mjs,cjs,ts}"],
ignores: ["dist/**/*"],
rules: {
"padding-line-between-statements": [
"error",
{ blankLine: "always", prev: "function", next: "function" },
],
"headers/header-format": [
"error",
{
Expand Down
11 changes: 9 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
"main": "index.js",
"types": "index.d.ts",
"author": "Cleboost",
"bin": {
"djs-core": "index.js"
},
"repository": {
"url": "https://github.com/Cleboost/djs-core"
},
Expand All @@ -22,8 +25,13 @@
"preinstall": "npx only-allow pnpm"
},
"dependencies": {
"chalk": "4.1.2",
"chokidar": "4.0.3",
"commander": "13.1.0",
"discord.js": "14.17.3",
"kolorist": "1.8.0"
"kolorist": "1.8.0",
"ora": "5.4.1",
"tsup": "8.3.6"
},
"devDependencies": {
"@eslint/js": "9.18.0",
Expand All @@ -34,7 +42,6 @@
"jest": "29.7.0",
"prettier": "3.4.2",
"ts-jest": "29.2.5",
"tsup": "8.3.5",
"typescript": "5.7.3",
"typescript-eslint": "8.21.0"
},
Expand Down
12 changes: 7 additions & 5 deletions playground/package.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
{
"name": "test",
"name": "playground",
"version": "1.0.0",
"main": "dist/index.js",
"scripts": {
"start": "djs-core start",
"dev": "djs-core dev",
"build": "djs-core build",
"preinstall": "npx only-allow pnpm"
},
"dependencies": {
"djs-core": "file:../dist/",
"dotenv": "16.4.7"
},
"devDependencies": {
"cross-env": "^7.0.3",
"ts-node": "^10.9.2",
"typescript": "^5.7.2",
"tsup": "8.3.5"
"cross-env": "7.0.3",
"javascript-obfuscator": "^4.1.1",
"typescript": "5.7.2"
}
}
Loading
Loading