Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bloxy Version 6 #287

Draft
wants to merge 26 commits into
base: v5
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 14 commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
fdc8527
Fix package, update package versions, enforce node v16
Syrilai Jan 7, 2022
64095ab
Remove captcha api (#281)
Syrilai Jan 7, 2022
2b92729
Remove captcha api fully (#281)
Syrilai Jan 7, 2022
a7c9de1
Add .prettierrc
Syrilai Jan 7, 2022
b84c0c1
Export all types (#264)
Syrilai Jan 7, 2022
0fff134
Fix CircleCI errors (npm run eslint)
Syrilai Jan 7, 2022
b8eb2a8
Use `got` as http package again
Syrilai Jan 7, 2022
7da9a49
Switch from Jest to Mocha, rewrite tests
Syrilai Jan 8, 2022
4216bee
Run prettier, fix REST typings
Syrilai Jan 8, 2022
b9bfa13
Update `eslintrc.json`, ignore `security/detect-object-injection` in …
Syrilai Jan 8, 2022
08df677
Update all files to respect the new `.eslintrc.json`
Syrilai Jan 8, 2022
8e3a4c7
Update `typescript` devDependency, remove `jest` devDependency
Syrilai Jan 8, 2022
67e09ae
Update the first few APIs to a newer state
Syrilai Jan 8, 2022
c12e685
Update all APIs to a certain extend, strip all structures for the nex…
Syrilai Jan 8, 2022
e2b5f41
Remove `postinstall` from `package.json`
Syrilai Jan 8, 2022
de6c56c
Change typedoc to use `typedoc.json`
Syrilai Jan 8, 2022
f0cbe7c
Merge removal of `postinstall`
Syrilai Jan 8, 2022
7860347
Fix `RESTResponse.ts` to respect the right error name
Syrilai Jan 8, 2022
598e574
Add a suffix to all types in the api files
Syrilai Jan 9, 2022
02687a4
Merge branch 'v6' of https://github.com/Visualizememe/bloxy into v6
Syrilai Jan 9, 2022
b513358
FIX TYPEDOC
Syrilai Jan 9, 2022
12d6040
Remove default exports
Syrilai Jan 9, 2022
b1c1e74
Fix unit tests
Syrilai Jan 9, 2022
bfcfca5
Rewrite `BaseUser` and `User`, documented it
Syrilai Jan 15, 2022
3c277dc
Include the `dist` folder
Syrilai Jan 19, 2022
ea5281d
Build to latest state
Syrilai Jan 19, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
413 changes: 185 additions & 228 deletions .eslintrc.json

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,7 @@ dist
docs
site
.idea
.nyc_output

# temporary
tests_jest
4 changes: 4 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"tabWidth": 2,
"trailingComma": "none"
}
4 changes: 4 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"typescript.autoClosingTags": false,
"javascript.autoClosingTags": false
}
11,659 changes: 7,009 additions & 4,650 deletions package-lock.json

Large diffs are not rendered by default.

38 changes: 21 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "bloxy",
"private": false,
"version": "5.7.1",
"version": "6.0.0-alpha",
"engines": {
"node": ">=12.0.0"
"node": ">=16.0.0"
},
"main": "./dist/index.js",
"description": "A Node.JS library for interacting with the Roblox website and its API.",
Expand All @@ -17,14 +17,14 @@
},
"homepage": "https://bloxy.js.org/",
"scripts": {
"test": "jest",
"test-with-coverage": "jest --coverage && cat ./coverage/lcov.info | codacy-coverage",
"test": "nyc mocha --require ts-node/register tests/**/*.spec.ts",
"test-with-coverage": "nyc report --reporter=text-lcov | codacy-coverage",
"build": "tsc --skipLibCheck",
"eslint": "eslint . --ext .ts",
"postinstall": "npm install got && echo \"\nThank you for installing bloxy! Dependency 'got' has been installed automatically, uninstall it if you plan to use bloxy in a browser-related project!\"",
"prepublishOnly": "npm run build",
"create-docs": "typedoc --plugin typedoc-plugin-markdown --hideBreadcrumbs --namedAnchors --excludeExternals --out docs src && mkdocs build",
"prepare-windows": "npm install && npm run build && npm run create-docs && echo 'Finished'"
"prepare-windows": "npm install && npm run build && npm run create-docs && echo 'Finished'",
"postinstall": "npm install got && echo 'The package got has been installed. You can now use the bloxy package.'"
Syrilai marked this conversation as resolved.
Show resolved Hide resolved
},
"types": "./dist/index.d.ts",
"keywords": [
Expand All @@ -37,38 +37,42 @@
"roblox nodejs",
"roblox module"
],
"author": "ScriptBased",
"author": "VisualizeMeme",
"license": "MIT",
"devDependencies": {
"@types/chai": "^4.3.0",
"@types/debug": "^4.1.5",
"@types/lodash": "^4.14.167",
"@types/node": "^14.14.31",
"@types/mocha": "^9.0.0",
"@types/node": "^16.11.19",
"@types/tough-cookie": "^4.0.0",
"@types/websocket": "^1.0.1",
"@typescript-eslint/eslint-plugin": "^4.15.2",
"@typescript-eslint/parser": "^4.15.2",
"@typescript-eslint/eslint-plugin": "^5.9.0",
"@typescript-eslint/parser": "^5.9.0",
"chai": "^4.3.4",
"codacy-coverage": "^3.4.0",
"eslint": "^7.20.0",
"eslint": "^8.6.0",
"eslint-plugin-security": "^1.4.0",
"faker": "^5.1.0",
"fast-check": "^2.13.0",
"got": "^11.8.1",
"jest": "^26.6.3",
"joi": "^17.3.0",
"typedoc": "^0.20.27",
"mocha": "^9.1.3",
"nyc": "^15.1.0",
"ts-node": "^10.4.0",
"typedoc": "^0.22.10",
"typedoc-plugin-markdown": "^3.5.0",
"typedoc-plugin-markdown-pages": "^0.3.0",
"typescript": "^4.1.3"
"typescript": "^4.5.4"
},
"dependencies": {
"debug": "^4.3.1",
"got": "^11.8.3",
"signalr-client": "0.0.20",
"tough-cookie": "^4.0.0",
"tslib": "^2.1.0"
},
"jest": {
"collectCoverage": true,
"coverageDirectory": "./coverage/"
},
"optionalDependencies": {}
}
}
Loading