Skip to content

Commit 81c15c9

Browse files
committed
prettier
1 parent 8f62181 commit 81c15c9

File tree

4 files changed

+53
-53
lines changed

4 files changed

+53
-53
lines changed

packages/action/package.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
{
2-
"name": "@snk/action",
3-
"version": "1.0.0",
4-
"dependencies": {
5-
"@actions/core": "1.10.1",
6-
"@snk/gif-creator": "1.0.0",
7-
"@snk/github-user-contribution": "1.0.0",
8-
"@snk/solver": "1.0.0",
9-
"@snk/svg-creator": "1.0.0",
10-
"@snk/types": "1.0.0"
11-
},
12-
"devDependencies": {
13-
"@vercel/ncc": "0.38.1"
14-
},
15-
"scripts": {
16-
"build": "bun build --external canvas --external gifsicle --target node --splitting --outdir dist ./index.ts "
17-
}
2+
"name": "@snk/action",
3+
"version": "1.0.0",
4+
"dependencies": {
5+
"@actions/core": "1.10.1",
6+
"@snk/gif-creator": "1.0.0",
7+
"@snk/github-user-contribution": "1.0.0",
8+
"@snk/solver": "1.0.0",
9+
"@snk/svg-creator": "1.0.0",
10+
"@snk/types": "1.0.0"
11+
},
12+
"devDependencies": {
13+
"@vercel/ncc": "0.38.1"
14+
},
15+
"scripts": {
16+
"build": "bun build --external canvas --external gifsicle --target node --splitting --outdir dist ./index.ts "
17+
}
1818
}

packages/demo/package.json

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
11
{
2-
"name": "@snk/demo",
3-
"version": "1.0.0",
4-
"dependencies": {
5-
"@snk/action": "1.0.0",
6-
"@snk/draw": "1.0.0",
7-
"@snk/github-user-contribution": "1.0.0",
8-
"@snk/solver": "1.0.0",
9-
"@snk/svg-creator": "1.0.0",
10-
"@snk/types": "1.0.0"
11-
},
12-
"devDependencies": {
13-
"@types/dat.gui": "0.7.13",
14-
"dat.gui": "0.7.9",
15-
"html-webpack-plugin": "5.6.0",
16-
"ts-loader": "9.5.1",
17-
"ts-node": "10.9.2",
18-
"webpack": "5.92.1",
19-
"webpack-cli": "5.1.4",
20-
"webpack-dev-server": "5.0.4"
21-
},
22-
"scripts": {
23-
"build": "webpack",
24-
"dev": "webpack serve"
25-
}
2+
"name": "@snk/demo",
3+
"version": "1.0.0",
4+
"dependencies": {
5+
"@snk/action": "1.0.0",
6+
"@snk/draw": "1.0.0",
7+
"@snk/github-user-contribution": "1.0.0",
8+
"@snk/solver": "1.0.0",
9+
"@snk/svg-creator": "1.0.0",
10+
"@snk/types": "1.0.0"
11+
},
12+
"devDependencies": {
13+
"@types/dat.gui": "0.7.13",
14+
"dat.gui": "0.7.9",
15+
"html-webpack-plugin": "5.6.0",
16+
"ts-loader": "9.5.1",
17+
"ts-node": "10.9.2",
18+
"webpack": "5.92.1",
19+
"webpack-cli": "5.1.4",
20+
"webpack-dev-server": "5.0.4"
21+
},
22+
"scripts": {
23+
"build": "webpack",
24+
"dev": "webpack serve"
25+
}
2626
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"name": "@snk/github-user-contribution",
3-
"version": "1.0.0",
3+
"version": "1.0.0"
44
}

packages/types/__tests__/grid.spec.ts

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,25 @@ import { it, expect, test } from "bun:test";
22
import { createEmptyGrid, setColor, getColor, isInside, Color } from "../grid";
33

44
it("should set / get cell", () => {
5-
const grid = createEmptyGrid(2, 3);
5+
const grid = createEmptyGrid(2, 3);
66

7-
expect(getColor(grid, 0, 1)).toBe(0 as any);
7+
expect(getColor(grid, 0, 1)).toBe(0 as any);
88

9-
setColor(grid, 0, 1, 1 as Color);
9+
setColor(grid, 0, 1, 1 as Color);
1010

11-
expect(getColor(grid, 0, 1)).toBe(1 as any);
11+
expect(getColor(grid, 0, 1)).toBe(1 as any);
1212
});
1313

1414
test.each([
15-
[0, 1, true],
16-
[1, 2, true],
15+
[0, 1, true],
16+
[1, 2, true],
1717

18-
[-1, 1, false],
19-
[0, -1, false],
20-
[2, 1, false],
21-
[0, 3, false],
18+
[-1, 1, false],
19+
[0, -1, false],
20+
[2, 1, false],
21+
[0, 3, false],
2222
])("isInside", (x, y, output) => {
23-
const grid = createEmptyGrid(2, 3);
23+
const grid = createEmptyGrid(2, 3);
2424

25-
expect(isInside(grid, x, y)).toBe(output);
25+
expect(isInside(grid, x, y)).toBe(output);
2626
});

0 commit comments

Comments
 (0)