Pull contributions

This commit is contained in:
SevicheCC 2023-05-12 00:03:26 +08:00
parent 783d78e3da
commit 7ffe9a327b
Signed by untrusted user who does not match committer: SevicheCC
GPG key ID: C577000000000000
5 changed files with 21 additions and 30 deletions

1
.gitignore vendored
View file

@ -5,3 +5,4 @@
# misc # misc
.DS_Store .DS_Store
raycast-env.d.ts

View file

@ -1,3 +1,8 @@
# Post to Akkoma Changelog # Akkoma Changelog
## [Update] - 2023-05-11
- Update Raycast API to 1.51.0
- Refactor Request API
- Remove useless auth scopes
## [Initial Version] - 2023-04-06 ## [Initial Version] - 2023-04-06

32
package-lock.json generated
View file

@ -7,18 +7,17 @@
"name": "akkoma", "name": "akkoma",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@raycast/api": "^1.49.3", "@raycast/api": "^1.51.1",
"node-fetch": "^3.3.1", "node-fetch": "^3.3.1",
"node-html-markdown": "^1.3.0" "node-html-markdown": "^1.3.0"
}, },
"devDependencies": { "devDependencies": {
"@raycast/eslint-config": "1.0.5", "@raycast/eslint-config": "1.0.5",
"@types/node": "18.8.3", "@types/node": "18.8.3",
"@types/node-fetch": "^3.0.3",
"@types/react": "18.0.9", "@types/react": "18.0.9",
"eslint": "^7.32.0", "eslint": "^7.32.0",
"prettier": "^2.5.1", "prettier": "^2.8.8",
"typescript": "^4.4.3" "typescript": "^4.9.5"
} }
}, },
"node_modules/@babel/code-frame": { "node_modules/@babel/code-frame": {
@ -233,9 +232,9 @@
} }
}, },
"node_modules/@raycast/api": { "node_modules/@raycast/api": {
"version": "1.49.3", "version": "1.51.1",
"resolved": "https://mirrors.cloud.tencent.com/npm/@raycast/api/-/api-1.49.3.tgz", "resolved": "https://registry.npmmirror.com/@raycast/api/-/api-1.51.1.tgz",
"integrity": "sha512-h8OBaazNF52yE3JhJpmre7vjRD2xtlKojW9L+mK6eCfcPZDipVVlCs52Op6SxG5j9OFB2FpbGgyJLpwTYCglcA==", "integrity": "sha512-tEzIeE9HBNCHRebR+eWGRWvX+PA7ciT0U5MqHo2wGNavVq1B3elx9Kr48NF7LO9pZMTEwT1x6zqCKJuElCcizQ==",
"hasInstallScript": true, "hasInstallScript": true,
"dependencies": { "dependencies": {
"@types/node": "18.8.3", "@types/node": "18.8.3",
@ -307,16 +306,6 @@
"resolved": "https://mirrors.cloud.tencent.com/npm/@types/node/-/node-18.8.3.tgz", "resolved": "https://mirrors.cloud.tencent.com/npm/@types/node/-/node-18.8.3.tgz",
"integrity": "sha512-0os9vz6BpGwxGe9LOhgP/ncvYN5Tx1fNcd2TM3rD/aCGBkysb+ZWpXEocG24h6ZzOi13+VB8HndAQFezsSOw1w==" "integrity": "sha512-0os9vz6BpGwxGe9LOhgP/ncvYN5Tx1fNcd2TM3rD/aCGBkysb+ZWpXEocG24h6ZzOi13+VB8HndAQFezsSOw1w=="
}, },
"node_modules/@types/node-fetch": {
"version": "3.0.3",
"resolved": "https://mirrors.cloud.tencent.com/npm/@types/node-fetch/-/node-fetch-3.0.3.tgz",
"integrity": "sha512-HhggYPH5N+AQe/OmN6fmhKmRRt2XuNJow+R3pQwJxOOF9GuwM7O2mheyGeIrs5MOIeNjDEdgdoyHBOrFeJBR3g==",
"deprecated": "This is a stub types definition. node-fetch provides its own type definitions, so you do not need this installed.",
"dev": true,
"dependencies": {
"node-fetch": "*"
}
},
"node_modules/@types/prop-types": { "node_modules/@types/prop-types": {
"version": "15.7.5", "version": "15.7.5",
"resolved": "https://mirrors.cloud.tencent.com/npm/@types/prop-types/-/prop-types-15.7.5.tgz", "resolved": "https://mirrors.cloud.tencent.com/npm/@types/prop-types/-/prop-types-15.7.5.tgz",
@ -1733,18 +1722,15 @@
} }
}, },
"node_modules/prettier": { "node_modules/prettier": {
"version": "2.8.7", "version": "2.8.8",
"resolved": "https://mirrors.cloud.tencent.com/npm/prettier/-/prettier-2.8.7.tgz", "resolved": "https://registry.npmmirror.com/prettier/-/prettier-2.8.8.tgz",
"integrity": "sha512-yPngTo3aXUUmyuTjeTUT75txrf+aMh9FiD7q9ZE/i6r0bPb22g4FsE6Y338PQX1bmfy08i9QQCB7/rcUAVntfw==", "integrity": "sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==",
"dev": true, "dev": true,
"bin": { "bin": {
"prettier": "bin-prettier.js" "prettier": "bin-prettier.js"
}, },
"engines": { "engines": {
"node": ">=10.13.0" "node": ">=10.13.0"
},
"funding": {
"url": "https://github.com/prettier/prettier?sponsor=1"
} }
}, },
"node_modules/progress": { "node_modules/progress": {

View file

@ -97,18 +97,17 @@
} }
], ],
"dependencies": { "dependencies": {
"@raycast/api": "^1.49.3", "@raycast/api": "^1.51.1",
"node-fetch": "^3.3.1", "node-fetch": "^3.3.1",
"node-html-markdown": "^1.3.0" "node-html-markdown": "^1.3.0"
}, },
"devDependencies": { "devDependencies": {
"@raycast/eslint-config": "1.0.5", "@raycast/eslint-config": "1.0.5",
"@types/node": "18.8.3", "@types/node": "18.8.3",
"@types/node-fetch": "^3.0.3",
"@types/react": "18.0.9", "@types/react": "18.0.9",
"eslint": "^7.32.0", "eslint": "^7.32.0",
"prettier": "^2.5.1", "prettier": "^2.8.8",
"typescript": "^4.4.3" "typescript": "^4.9.5"
}, },
"scripts": { "scripts": {
"build": "ray build -e dist", "build": "ray build -e dist",

View file

@ -1,7 +1,7 @@
{ {
"$schema": "https://json.schemastore.org/tsconfig", "$schema": "https://json.schemastore.org/tsconfig",
"display": "Node 16", "display": "Node 16",
"include": ["src/**/*"], "include": ["src/**/*", "raycast-env.d.ts"],
"compilerOptions": { "compilerOptions": {
"lib": ["es2021"], "lib": ["es2021"],
"module": "commonjs", "module": "commonjs",