🚿 clena up and bump dependencies

This commit is contained in:
platane
2022-02-07 13:20:46 +01:00
committed by Platane
parent 4e9c1ff670
commit b4e8fc83ef
6 changed files with 893 additions and 729 deletions

View File

@@ -5,12 +5,12 @@
"private": true, "private": true,
"repository": "github:platane/snk", "repository": "github:platane/snk",
"devDependencies": { "devDependencies": {
"@types/jest": "27.0.2", "@types/jest": "27.4.0",
"@types/node": "16.11.7", "@types/node": "16.11.7",
"jest": "27.3.1", "jest": "27.5.0",
"prettier": "2.4.1", "prettier": "2.5.1",
"ts-jest": "27.0.7", "ts-jest": "27.1.3",
"typescript": "4.5.2" "typescript": "4.5.5"
}, },
"workspaces": [ "workspaces": [
"packages/**" "packages/**"

View File

@@ -7,14 +7,14 @@
}, },
"devDependencies": { "devDependencies": {
"@types/dat.gui": "0.7.7", "@types/dat.gui": "0.7.7",
"@types/webpack-dev-server": "4.5.0", "@types/webpack-dev-server": "4.7.2",
"dat.gui": "0.7.7", "dat.gui": "0.7.7",
"html-webpack-plugin": "5.5.0", "html-webpack-plugin": "5.5.0",
"ts-loader": "9.2.6", "ts-loader": "9.2.6",
"ts-node": "10.4.0", "ts-node": "10.4.0",
"webpack": "5.64.1", "webpack": "5.68.0",
"webpack-cli": "4.9.1", "webpack-cli": "4.9.2",
"webpack-dev-server": "4.5.0" "webpack-dev-server": "4.7.4"
}, },
"scripts": { "scripts": {
"build": "webpack", "build": "webpack",

View File

@@ -11,7 +11,7 @@ const demos: string[] = require("./demo.json");
const webpackDevServerConfiguration: WebpackDevServerConfiguration = { const webpackDevServerConfiguration: WebpackDevServerConfiguration = {
open: { target: demos[1] + ".html" }, open: { target: demos[1] + ".html" },
onAfterSetupMiddleware: ({ app }) => { onAfterSetupMiddleware: ({ app }) => {
app.get("/api/github-user-contribution/:userName", async (req, res) => { app!.get("/api/github-user-contribution/:userName", async (req, res) => {
const userName: string = req.params.userName; const userName: string = req.params.userName;
res.send(await getGithubUserContribution(userName)); res.send(await getGithubUserContribution(userName));
}); });

View File

@@ -4,14 +4,14 @@
"dependencies": { "dependencies": {
"@snk/draw": "1.0.0", "@snk/draw": "1.0.0",
"@snk/solver": "1.0.0", "@snk/solver": "1.0.0",
"canvas": "2.8.0", "canvas": "2.9.0",
"gif-encoder-2": "1.0.5", "gif-encoder-2": "1.0.5",
"gifsicle": "6.0.3", "gifsicle": "5.3.0",
"tmp": "0.2.1" "tmp": "0.2.1"
}, },
"devDependencies": { "devDependencies": {
"@types/gifsicle": "5.2.0", "@types/gifsicle": "5.2.0",
"@types/tmp": "0.2.2", "@types/tmp": "0.2.3",
"@zeit/ncc": "0.22.3" "@zeit/ncc": "0.22.3"
}, },
"scripts": { "scripts": {

View File

@@ -1439,7 +1439,7 @@ Object {
"y": 3, "y": 3,
}, },
Object { Object {
"color": "#216e39", "color": "#30a14e",
"count": 16, "count": 16,
"date": "2019-07-25", "date": "2019-07-25",
"x": 29, "x": 29,
@@ -1635,7 +1635,7 @@ Object {
"y": 3, "y": 3,
}, },
Object { Object {
"color": "#216e39", "color": "#30a14e",
"count": 16, "count": 16,
"date": "2019-08-22", "date": "2019-08-22",
"x": 33, "x": 33,
@@ -1978,15 +1978,15 @@ Object {
"y": 3, "y": 3,
}, },
Object { Object {
"color": "#9be9a8", "color": "#216e39",
"count": 1, "count": 35,
"date": "2019-10-10", "date": "2019-10-10",
"x": 40, "x": 40,
"y": 4, "y": 4,
}, },
Object { Object {
"color": "#40c463", "color": "#216e39",
"count": 6, "count": 20,
"date": "2019-10-11", "date": "2019-10-11",
"x": 40, "x": 40,
"y": 5, "y": 5,
@@ -2069,15 +2069,15 @@ Object {
"y": 2, "y": 2,
}, },
Object { Object {
"color": "#9be9a8", "color": "#216e39",
"count": 3, "count": 19,
"date": "2019-10-23", "date": "2019-10-23",
"x": 42, "x": 42,
"y": 3, "y": 3,
}, },
Object { Object {
"color": "#40c463", "color": "#30a14e",
"count": 10, "count": 16,
"date": "2019-10-24", "date": "2019-10-24",
"x": 42, "x": 42,
"y": 4, "y": 4,

1576
yarn.lock

File diff suppressed because it is too large Load Diff