Upgrading deps (#117)

* Upgrading deps

* Upgrading node
This commit is contained in:
Dessalines 2023-05-10 11:15:51 -04:00 committed by GitHub
parent 431b34e938
commit 68f0b8152f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 447 additions and 327 deletions

View file

@ -1,16 +1,16 @@
pipeline: pipeline:
yarn: yarn:
image: node:17-alpine image: node:alpine
commands: commands:
- yarn - yarn
yarn_lint: yarn_lint:
image: node:17-alpine image: node:alpine
commands: commands:
- yarn lint - yarn lint
npm_publish: npm_publish:
image: node:17-alpine image: node:alpine
commands: commands:
- echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> .npmrc - echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> .npmrc
- echo "email = tyhou13@gmx.com" >> ~/.npmrc - echo "email = tyhou13@gmx.com" >> ~/.npmrc

View file

@ -12,7 +12,7 @@
], ],
"scripts": { "scripts": {
"build": "tsc", "build": "tsc",
"docs": "typedoc src/index.ts --sourcefile-url-prefix 'https://github.com/LemmyNet/lemmy-js-client/tree/main/src/'", "docs": "typedoc src/index.ts",
"lint": "tsc --noEmit && eslint --report-unused-disable-directives --ext .js,.ts,.tsx src && prettier --check src", "lint": "tsc --noEmit && eslint --report-unused-disable-directives --ext .js,.ts,.tsx src && prettier --check src",
"prepare": "yarn run build && husky install" "prepare": "yarn run build && husky install"
}, },
@ -30,21 +30,20 @@
"form-data": "^4.0.0" "form-data": "^4.0.0"
}, },
"devDependencies": { "devDependencies": {
"@types/node": "^18.6.2", "@types/node": "^20.1.2",
"@typescript-eslint/eslint-plugin": "^5.31.0", "@typescript-eslint/eslint-plugin": "^5.59.5",
"@typescript-eslint/parser": "^5.31.0", "@typescript-eslint/parser": "^5.59.5",
"eslint": "^8.20.0", "eslint": "^8.40.0",
"eslint-plugin-prettier": "^4.2.1", "eslint-plugin-prettier": "^4.2.1",
"husky": "^8.0.1", "husky": "^8.0.3",
"lint-staged": "^13.0.3", "lint-staged": "^13.2.2",
"prettier": "^2.7.1", "prettier": "^2.8.8",
"prettier-plugin-import-sort": "^0.0.7", "prettier-plugin-import-sort": "^0.0.7",
"prettier-plugin-organize-imports": "^3.0.0", "prettier-plugin-organize-imports": "^3.2.2",
"prettier-plugin-packagejson": "^2.2.18", "prettier-plugin-packagejson": "^2.4.3",
"sortpack": "^2.3.0", "sortpack": "^2.3.4",
"typedoc": "^0.21.6", "typedoc": "^0.24.7",
"typedoc-plugin-sourcefile-url": "^1.0.6", "typescript": "^5.0.4"
"typescript": "^4.7.4"
}, },
"importSort": { "importSort": {
".js, .jsx, .ts, .tsx": { ".js, .jsx, .ts, .tsx": {

View file

@ -7,9 +7,9 @@ import { AddModToCommunityResponse } from "./types/AddModToCommunityResponse";
import { ApproveRegistrationApplication } from "./types/ApproveRegistrationApplication"; import { ApproveRegistrationApplication } from "./types/ApproveRegistrationApplication";
import { BanFromCommunity } from "./types/BanFromCommunity"; import { BanFromCommunity } from "./types/BanFromCommunity";
import { BanFromCommunityResponse } from "./types/BanFromCommunityResponse"; import { BanFromCommunityResponse } from "./types/BanFromCommunityResponse";
import { BannedPersonsResponse } from "./types/BannedPersonsResponse";
import { BanPerson } from "./types/BanPerson"; import { BanPerson } from "./types/BanPerson";
import { BanPersonResponse } from "./types/BanPersonResponse"; import { BanPersonResponse } from "./types/BanPersonResponse";
import { BannedPersonsResponse } from "./types/BannedPersonsResponse";
import { BlockCommunity } from "./types/BlockCommunity"; import { BlockCommunity } from "./types/BlockCommunity";
import { BlockCommunityResponse } from "./types/BlockCommunityResponse"; import { BlockCommunityResponse } from "./types/BlockCommunityResponse";
import { BlockPerson } from "./types/BlockPerson"; import { BlockPerson } from "./types/BlockPerson";
@ -95,7 +95,6 @@ import { MarkCommentReplyAsRead } from "./types/MarkCommentReplyAsRead";
import { MarkPersonMentionAsRead } from "./types/MarkPersonMentionAsRead"; import { MarkPersonMentionAsRead } from "./types/MarkPersonMentionAsRead";
import { MarkPostAsRead } from "./types/MarkPostAsRead"; import { MarkPostAsRead } from "./types/MarkPostAsRead";
import { MarkPrivateMessageAsRead } from "./types/MarkPrivateMessageAsRead"; import { MarkPrivateMessageAsRead } from "./types/MarkPrivateMessageAsRead";
import { UploadImage, UploadImageResponse, VERSION } from "./types/others";
import { PasswordChangeAfterReset } from "./types/PasswordChangeAfterReset"; import { PasswordChangeAfterReset } from "./types/PasswordChangeAfterReset";
import { PasswordReset } from "./types/PasswordReset"; import { PasswordReset } from "./types/PasswordReset";
import { PasswordResetResponse } from "./types/PasswordResetResponse"; import { PasswordResetResponse } from "./types/PasswordResetResponse";
@ -129,6 +128,7 @@ import { SiteResponse } from "./types/SiteResponse";
import { TransferCommunity } from "./types/TransferCommunity"; import { TransferCommunity } from "./types/TransferCommunity";
import { VerifyEmail } from "./types/VerifyEmail"; import { VerifyEmail } from "./types/VerifyEmail";
import { VerifyEmailResponse } from "./types/VerifyEmailResponse"; import { VerifyEmailResponse } from "./types/VerifyEmailResponse";
import { UploadImage, UploadImageResponse, VERSION } from "./types/others";
enum HttpType { enum HttpType {
Get = "GET", Get = "GET",

737
yarn.lock

File diff suppressed because it is too large Load diff