Compare commits

...

2 Commits

Author SHA1 Message Date
Platane
825e58e5fd 📦 1.1.2 2022-03-24 12:14:48 +00:00
platane
9232c14971 👷 fix release script 2022-03-24 13:11:04 +01:00
4 changed files with 6 additions and 3 deletions

View File

@@ -54,6 +54,7 @@ jobs:
run: |
yarn install --frozen-lockfile
yarn build:action
rm -r svg-only/dist
mv packages/action/dist svg-only/dist
- name: bump package version

View File

@@ -4,7 +4,7 @@ author: "platane"
runs:
using: docker
image: docker://platane/snk@sha256:368d5c159c47ebfe2c8afa2e2029fe4820e5fdfb80d69e499f327f895c5c2a00
image: docker://platane/snk@sha256:9c3604282bdf9cf367dc955545fff9e4a893e5716ee88701d8924fd2377dbc72
inputs:
github_user_name:

View File

@@ -1,7 +1,7 @@
{
"name": "snk",
"description": "Generates a snake game from a github user contributions grid",
"version": "1.1.1",
"version": "1.1.2",
"private": true,
"repository": "github:platane/snk",
"devDependencies": {

View File

@@ -36516,7 +36516,7 @@ var createGrid = function (cells, _a, duration) {
var sizeBorderRadius = _a.sizeBorderRadius, sizeDot = _a.sizeDot, sizeCell = _a.sizeCell;
var svgElements = [];
var styles = [
".c{\n shape-rendering: geometricPrecision;\n rx: ".concat(sizeBorderRadius, ";\n ry: ").concat(sizeBorderRadius, ";\n fill: var(--ce);\n stroke-width: 1px;\n stroke: var(--cb);\n animation: none ").concat(duration, "ms linear infinite;\n }"),
".c{\n shape-rendering: geometricPrecision;\n fill: var(--ce);\n stroke-width: 1px;\n stroke: var(--cb);\n animation: none ".concat(duration, "ms linear infinite;\n }"),
];
var i = 0;
for (var _i = 0, cells_1 = cells; _i < cells_1.length; _i++) {
@@ -36536,6 +36536,8 @@ var createGrid = function (cells, _a, duration) {
"class": ["c", id].filter(Boolean).join(" "),
x: x * s + m,
y: y * s + m,
rx: sizeBorderRadius,
ry: sizeBorderRadius,
width: d,
height: d
}));