xernerx 3.3.1 → 3.3.3

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.
@@ -3,7 +3,7 @@ import { ClientUtil } from '../utils/ClientUtil.js';
3
3
  import { ClientOptions, DiscordOptions, ExtensionOptions, HandlerOptions } from '../types/options.js';
4
4
  import { ClientCache, ClientCommands, ClientModules } from '../types/interfaces.js';
5
5
  import EventBuilder from '../build/EventBuilder.js';
6
- import ExtensionBuilder from '../build/ExtensionBuilder.js';
6
+ import ExtensionBuilder from 'xernerx-extension-builder';
7
7
  import InhibitorBuilder from '../build/InhibitorBuilder.js';
8
8
  /**
9
9
  * @description - The Client.
package/dist/main.d.ts CHANGED
@@ -8,7 +8,7 @@ import ContextCommandBuilder from './build/ContextCommandBuilder.js';
8
8
  import SlashCommandBuilder from './build/SlashCommandBuilder.js';
9
9
  import { CommandType, EventEmitterType, ContextCommandType, InhibitorType } from './types/enums.js';
10
10
  import XernerxError from './tools/XernerxError.js';
11
- import ExtensionBuilder from './build/ExtensionBuilder.js';
11
+ import ExtensionBuilder from 'xernerx-extension-builder';
12
12
  declare const version: string;
13
13
  declare const _default: {
14
14
  Discord: typeof Discord;
package/dist/main.js CHANGED
@@ -8,8 +8,8 @@ import ContextCommandBuilder from './build/ContextCommandBuilder.js';
8
8
  import SlashCommandBuilder from './build/SlashCommandBuilder.js';
9
9
  import { CommandType, EventEmitterType, ContextCommandType, InhibitorType } from './types/enums.js';
10
10
  import XernerxError from './tools/XernerxError.js';
11
- import ExtensionBuilder from './build/ExtensionBuilder.js';
12
- import pkg from '../package.js';
11
+ import ExtensionBuilder from 'xernerx-extension-builder';
12
+ import pkg from '../scripts/package.js';
13
13
  const version = pkg.version;
14
14
  export default {
15
15
  // Imported methods
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xernerx",
3
- "version": "3.3.1",
3
+ "version": "3.3.3",
4
4
  "type": "module",
5
5
  "description": "A bot framework for discord.js.",
6
6
  "main": "dist/main.js",
@@ -17,7 +17,8 @@
17
17
  "checks": "npm i && npm fund && npm audit fix --force && npm link && tsc -w",
18
18
  "patch": "git add . && git commit -m \"Version Patch\" && npm version patch && npm publish && git push",
19
19
  "minor": "git add . && git commit -m \"Version Upgrade\" && npm version minor && npm publish && git push",
20
- "major": "git add . && git commit -m \"Version Rewrite\" && npm version major && npm publish && git push"
20
+ "major": "git add . && git commit -m \"Version Rewrite\" && npm version major && npm publish && git push",
21
+ "test": "git add . && node scripts/commit.js && npm version patch && git push && npm publish"
21
22
  },
22
23
  "repository": {
23
24
  "type": "git",
@@ -32,7 +33,8 @@
32
33
  "discord.js": "^14.7.0",
33
34
  "dumfunctions": "^2.0.0",
34
35
  "express": "^4.18.2",
35
- "topgg-autoposter": "^2.0.1"
36
+ "topgg-autoposter": "^2.0.1",
37
+ "xernerx-extension-builder": "^0.0.1"
36
38
  },
37
39
  "devDependencies": {
38
40
  "@types/express": "^4.17.15",
File without changes
@@ -0,0 +1,3 @@
1
+ import pkg from '../package.json' assert { type: 'json' };
2
+
3
+ export default pkg;
package/package.js DELETED
@@ -1,3 +0,0 @@
1
- import pkg from "./package.json" assert {type: 'json'};
2
-
3
- export default pkg;