Skip to content

Commit

Permalink
1.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
DonovanDMC committed Sep 25, 2023
1 parent 29f2c07 commit 62afa24
Show file tree
Hide file tree
Showing 5 changed files with 180 additions and 225 deletions.
30 changes: 15 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "oceanic.js",
"version": "1.8.0",
"version": "1.8.1",
"description": "A NodeJS library for interfacing with Discord.",
"main": "./dist/lib/index.js",
"types": "./dist/lib/index.d.ts",
Expand Down Expand Up @@ -42,31 +42,31 @@
"homepage": "https://github.com/OceanicJS/Oceanic#readme",
"devDependencies": {
"@favware/npm-deprecate": "^1.0.7",
"@mxssfd/typedoc-theme": "^1.1.2",
"@types/node": "^20.5.7",
"@types/pako": "^2.0.0",
"@mxssfd/typedoc-theme": "^1.1.3",
"@types/node": "^20.6.5",
"@types/pako": "^2.0.1",
"@types/ws": "^8.5.5",
"@typescript-eslint/eslint-plugin": "^6.5.0",
"@typescript-eslint/parser": "^6.3.0",
"eslint": "^8.46.0",
"@typescript-eslint/eslint-plugin": "^6.7.2",
"@typescript-eslint/parser": "^6.7.2",
"eslint": "^8.50.0",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-import-newlines": "^1.3.4",
"eslint-plugin-jsdoc": "^46.4.6",
"eslint-plugin-jsdoc": "^46.8.2",
"eslint-plugin-json": "^3.1.0",
"eslint-plugin-prefer-arrow": "^1.2.3",
"eslint-plugin-unicorn": "^48.0.1",
"eslint-plugin-unused-imports": "^3.0.0",
"rimraf": "^5.0.1",
"typedoc": "^0.25.0",
"typedoc-plugin-extras": "2.3.3",
"typedoc": "^0.25.1",
"typedoc-plugin-extras": "3.0.0",
"typedoc-plugin-mdn-links": "^3.1.0",
"typedoc-plugin-merge-modules": "^5.0.1",
"typedoc-plugin-merge-modules": "^5.1.0",
"typescript": "^5.2.2"
},
"dependencies": {
"tslib": "^2.6.1",
"undici": "^5.23.0",
"ws": "^8.13.0"
"tslib": "^2.6.2",
"undici": "^5.25.2",
"ws": "^8.14.2"
},
"engines": {
"node": ">=16.16.0"
Expand All @@ -76,7 +76,7 @@
},
"pnpm": {
"patchedDependencies": {
"typedoc-plugin-merge-modules@5.0.1": "patches/typedoc-plugin-merge-modules@5.0.1.patch"
"typedoc-plugin-merge-modules@5.1.0": "patches/typedoc-plugin-merge-modules@5.1.0.patch"
}
}
}
26 changes: 0 additions & 26 deletions patches/[email protected]

This file was deleted.

18 changes: 18 additions & 0 deletions patches/[email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
diff --git a/dist/merger/project_merger.js b/dist/merger/project_merger.js
index bf66c8ba53fdf558d6fc775f32241e9ca285d9be..6d5862adba2c0ace184de2ff5d36bb5ca365cf2f 100644
--- a/dist/merger/project_merger.js
+++ b/dist/merger/project_merger.js
@@ -23,8 +23,13 @@ class ProjectMerger {
if (modules.length > 0) {
this.project.children = [];
for (const mod of modules) {
+ if(["Constants", "Routes"].includes(mod.name) || mod.name.startsWith("Types/")) {
+ this.project.children.push(mod);
+ continue;
+ }
const reflections = (_b = mod.children) !== null && _b !== void 0 ? _b : [];
for (const ref of reflections) {
+ if(mod.name.startsWith("REST/")) ref.name = `REST/${ref.name}`;
// Drop aliases
if (!ref.kindOf(typedoc_1.ReflectionKind.Reference)) {
ref.parent = this.project;
Loading

0 comments on commit 62afa24

Please sign in to comment.