meocord 1.5.0-beta.3 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/meocord.eslint.mjs +12 -16
- package/package.json +1 -1
- package/webpack.config.js +3 -15
package/meocord.eslint.mjs
CHANGED
|
@@ -1,19 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
2
|
* MeoCord Framework
|
|
3
|
-
* Copyright (
|
|
4
|
-
*
|
|
5
|
-
* This program is free software: you can redistribute it and/or modify
|
|
6
|
-
* it under the terms of the GNU General Public License as published by
|
|
7
|
-
* the Free Software Foundation, either version 3 of the License, or
|
|
8
|
-
* (at your option) any later version.
|
|
9
|
-
*
|
|
10
|
-
* This program is distributed in the hope that it will be useful,
|
|
11
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
12
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
13
|
-
* GNU General Public License for more details.
|
|
14
|
-
*
|
|
15
|
-
* You should have received a copy of the GNU General Public License
|
|
16
|
-
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
3
|
+
* Copyright (c) 2025 Ukasyah Rahmatullah Zada
|
|
4
|
+
* SPDX-License-Identifier: MIT
|
|
17
5
|
*/
|
|
18
6
|
|
|
19
7
|
import { importX } from 'eslint-plugin-import-x'
|
|
@@ -54,7 +42,7 @@ export const typescriptConfig = {
|
|
|
54
42
|
'import-x/resolver': {
|
|
55
43
|
typescript: {
|
|
56
44
|
alwaysTryTypes: true,
|
|
57
|
-
project: './tsconfig.json',
|
|
45
|
+
project: ['./tsconfig.json', './tsconfig.test.json'],
|
|
58
46
|
},
|
|
59
47
|
},
|
|
60
48
|
},
|
|
@@ -85,9 +73,17 @@ const recommendedTypeScriptConfigs = [
|
|
|
85
73
|
})),
|
|
86
74
|
]
|
|
87
75
|
|
|
76
|
+
const specConfig = {
|
|
77
|
+
files: ['**/*.spec.ts'],
|
|
78
|
+
rules: {
|
|
79
|
+
'@typescript-eslint/no-empty-function': 'off',
|
|
80
|
+
},
|
|
81
|
+
}
|
|
82
|
+
|
|
88
83
|
export default [
|
|
89
84
|
{ ignores: ['docs/*', 'build/*', 'lib/*', 'dist/*', 'meocord.config.ts', 'jest.config.ts'] },
|
|
90
85
|
...recommendedTypeScriptConfigs,
|
|
86
|
+
specConfig,
|
|
91
87
|
eslintConfigPrettier,
|
|
92
88
|
typescriptConfig,
|
|
93
89
|
]
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "meocord",
|
|
3
3
|
"description": "MeoCord is a lightweight and modular framework for building scalable Discord bots using TypeScript and Discord.js. It simplifies bot development with an extensible architecture, TypeScript-first approach, and powerful CLI tools.",
|
|
4
|
-
"version": "1.5.0
|
|
4
|
+
"version": "1.5.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"lint": "eslint --fix . && tsc --noEmit && tsc --noEmit --project tsconfig.test.json",
|
package/webpack.config.js
CHANGED
|
@@ -1,19 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
2
|
* MeoCord Framework
|
|
3
|
-
* Copyright (
|
|
4
|
-
*
|
|
5
|
-
* This program is free software: you can redistribute it and/or modify
|
|
6
|
-
* it under the terms of the GNU General Public License as published by
|
|
7
|
-
* the Free Software Foundation, either version 3 of the License, or
|
|
8
|
-
* (at your option) any later version.
|
|
9
|
-
*
|
|
10
|
-
* This program is distributed in the hope that it will be useful,
|
|
11
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
12
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
13
|
-
* GNU General Public License for more details.
|
|
14
|
-
*
|
|
15
|
-
* You should have received a copy of the GNU General Public License
|
|
16
|
-
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
3
|
+
* Copyright (c) 2025 Ukasyah Rahmatullah Zada
|
|
4
|
+
* SPDX-License-Identifier: MIT
|
|
17
5
|
*/
|
|
18
6
|
|
|
19
7
|
import path from 'path'
|