Skip to content

Commit

Permalink
chore: migrate submodule cactbot to download from npm (#455)
Browse files Browse the repository at this point in the history
  • Loading branch information
MaikoTan authored Jun 3, 2024
1 parent 2eb0e89 commit 95cec03
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 11 deletions.
4 changes: 0 additions & 4 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,4 +0,0 @@
[submodule "3rdparty/cactbot"]
path = 3rdparty/cactbot
url = https://github.com/OverlayPlugin/cactbot.git
shallow = true
1 change: 0 additions & 1 deletion 3rdparty/cactbot
Submodule cactbot deleted from f62736
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@
"vsce": "^2.15.0"
},
"dependencies": {
"cactbot": "^0.31.5",
"typescript": "^5.4.2"
},
"prettier": {
Expand Down
3 changes: 1 addition & 2 deletions src/timeline/translate.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
/* eslint-disable import/no-named-as-default-member */
import { access, constants, readFile } from 'fs/promises'

import { commonReplacement } from 'cactbot/ui/raidboss/common_replacement'
import ts from 'typescript'
import { EventEmitter, l10n, languages, TextDocumentContentProvider, Uri, window, workspace } from 'vscode'

import { commonReplacement } from 'cactbot/ui/raidboss/common_replacement'

import { output } from '../utils'

import type { Lang } from 'cactbot/resources/languages'
Expand Down
6 changes: 2 additions & 4 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,8 @@
// "noUnusedParameters": true, /* Report errors on unused parameters. */
"allowJs": true,
"esModuleInterop": true,
"paths": {
"cactbot/*": ["./3rdparty/cactbot/*"]
}
"skipLibCheck": true,
},
"include": ["src", "./node_modules/vscode/vscode.d.ts", "./node_modules/vscode/lib/*"],
"include": ["src"],
"exclude": ["node_modules", ".vscode-test"]
}
5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1069,6 +1069,11 @@ buffer@^6.0.3:
base64-js "^1.3.1"
ieee754 "^1.2.1"

cactbot@^0.31.5:
version "0.31.5"
resolved "https://registry.yarnpkg.com/cactbot/-/cactbot-0.31.5.tgz#00e94bf8a1f4aee86a696e70ef0848acd0ac24d2"
integrity sha512-MXGDbWtEAfP6r4vNJKCZ5UxPXcpl6MbbpAMPJ25Vs8uSok7BTcG40fOMxTL5jPwwc9Uno5K6YxYzuTbzFLRgOg==

call-bind@^1.0.2, call-bind@^1.0.5, call-bind@^1.0.6, call-bind@^1.0.7:
version "1.0.7"
resolved "https://registry.yarnpkg.com/call-bind/-/call-bind-1.0.7.tgz#06016599c40c56498c18769d2730be242b6fa3b9"
Expand Down

0 comments on commit 95cec03

Please sign in to comment.