Skip to content
This repository was archived by the owner on Apr 11, 2024. It is now read-only.

Commit 0634196

Browse files
mxmulmarkdalgleish
authored andcommitted
fix(deps): Install html-sketchapp from the npm registry (#24)
1 parent 773702a commit 0634196

File tree

9 files changed

+54
-54
lines changed

9 files changed

+54
-54
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@
3535
},
3636
"homepage": "https://github.com/seek-oss/html-sketchapp-cli#readme",
3737
"dependencies": {
38+
"@brainly/html-sketchapp": "^1.0.0",
3839
"es6-promisify": "^6.0.0",
3940
"find-up": "^2.1.0",
4041
"get-port": "^3.2.0",
41-
"html-sketchapp": "github:brainly/html-sketchapp#49f1d0ea3e239608af0b8f7c0b6240e3a6a331e2",
4242
"mkdirp": "^0.5.1",
4343
"opn": "^5.1.0",
4444
"puppeteer": "^1.0.0",

script/src/generateAlmostSketch.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import Page from 'html-sketchapp/html2asketch/page.js';
2-
import Document from 'html-sketchapp/html2asketch/document.js';
3-
import Text from 'html-sketchapp/html2asketch/text.js';
4-
import SymbolMaster from 'html-sketchapp/html2asketch/symbolMaster.js';
5-
import nodeToSketchLayers from 'html-sketchapp/html2asketch/nodeToSketchLayers.js';
1+
import Page from '@brainly/html-sketchapp/html2asketch/page.js';
2+
import Document from '@brainly/html-sketchapp/html2asketch/document.js';
3+
import Text from '@brainly/html-sketchapp/html2asketch/text.js';
4+
import SymbolMaster from '@brainly/html-sketchapp/html2asketch/symbolMaster.js';
5+
import nodeToSketchLayers from '@brainly/html-sketchapp/html2asketch/nodeToSketchLayers.js';
66

77
const getAllLayers = async item => {
88
const itemAndChildren = [item, ...item.querySelectorAll('*')];

test/config-file-path/__snapshots__/file.test.js.snap

+6-6
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Object {
5656
"fontSize": 40,
5757
"fontWeight": 700,
5858
"textAlign": "start",
59-
"textDecoration": "solid",
59+
"textDecoration": "none",
6060
"textTransform": "none",
6161
},
6262
},
@@ -70,7 +70,7 @@ Object {
7070
"fontSize": 30,
7171
"fontWeight": 700,
7272
"textAlign": "start",
73-
"textDecoration": "solid",
73+
"textDecoration": "none",
7474
"textTransform": "none",
7575
},
7676
},
@@ -84,7 +84,7 @@ Object {
8484
"fontSize": 20,
8585
"fontWeight": 700,
8686
"textAlign": "start",
87-
"textDecoration": "solid",
87+
"textDecoration": "none",
8888
"textTransform": "none",
8989
},
9090
},
@@ -371,7 +371,7 @@ Object {
371371
"fontSize": 16,
372372
"fontWeight": 400,
373373
"textAlign": "start",
374-
"textDecoration": "solid",
374+
"textDecoration": "none",
375375
"textTransform": "none",
376376
},
377377
"text": "Symbol 1",
@@ -646,7 +646,7 @@ Object {
646646
"fontSize": 16,
647647
"fontWeight": 400,
648648
"textAlign": "start",
649-
"textDecoration": "solid",
649+
"textDecoration": "none",
650650
"textTransform": "none",
651651
},
652652
"text": "Symbol 2",
@@ -921,7 +921,7 @@ Object {
921921
"fontSize": 16,
922922
"fontWeight": 400,
923923
"textAlign": "start",
924-
"textDecoration": "solid",
924+
"textDecoration": "none",
925925
"textTransform": "none",
926926
},
927927
"text": "Symbol 3",

test/config-file/__snapshots__/file.test.js.snap

+6-6
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Object {
5656
"fontSize": 40,
5757
"fontWeight": 700,
5858
"textAlign": "start",
59-
"textDecoration": "solid",
59+
"textDecoration": "none",
6060
"textTransform": "none",
6161
},
6262
},
@@ -70,7 +70,7 @@ Object {
7070
"fontSize": 30,
7171
"fontWeight": 700,
7272
"textAlign": "start",
73-
"textDecoration": "solid",
73+
"textDecoration": "none",
7474
"textTransform": "none",
7575
},
7676
},
@@ -84,7 +84,7 @@ Object {
8484
"fontSize": 20,
8585
"fontWeight": 700,
8686
"textAlign": "start",
87-
"textDecoration": "solid",
87+
"textDecoration": "none",
8888
"textTransform": "none",
8989
},
9090
},
@@ -371,7 +371,7 @@ Object {
371371
"fontSize": 16,
372372
"fontWeight": 400,
373373
"textAlign": "start",
374-
"textDecoration": "solid",
374+
"textDecoration": "none",
375375
"textTransform": "none",
376376
},
377377
"text": "Symbol 1",
@@ -646,7 +646,7 @@ Object {
646646
"fontSize": 16,
647647
"fontWeight": 400,
648648
"textAlign": "start",
649-
"textDecoration": "solid",
649+
"textDecoration": "none",
650650
"textTransform": "none",
651651
},
652652
"text": "Symbol 2",
@@ -921,7 +921,7 @@ Object {
921921
"fontSize": 16,
922922
"fontWeight": 400,
923923
"textAlign": "start",
924-
"textDecoration": "solid",
924+
"textDecoration": "none",
925925
"textTransform": "none",
926926
},
927927
"text": "Symbol 3",

test/file/__snapshots__/file.test.js.snap

+6-6
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Object {
5656
"fontSize": 40,
5757
"fontWeight": 700,
5858
"textAlign": "start",
59-
"textDecoration": "solid",
59+
"textDecoration": "none",
6060
"textTransform": "none",
6161
},
6262
},
@@ -70,7 +70,7 @@ Object {
7070
"fontSize": 30,
7171
"fontWeight": 700,
7272
"textAlign": "start",
73-
"textDecoration": "solid",
73+
"textDecoration": "none",
7474
"textTransform": "none",
7575
},
7676
},
@@ -84,7 +84,7 @@ Object {
8484
"fontSize": 20,
8585
"fontWeight": 700,
8686
"textAlign": "start",
87-
"textDecoration": "solid",
87+
"textDecoration": "none",
8888
"textTransform": "none",
8989
},
9090
},
@@ -371,7 +371,7 @@ Object {
371371
"fontSize": 16,
372372
"fontWeight": 400,
373373
"textAlign": "start",
374-
"textDecoration": "solid",
374+
"textDecoration": "none",
375375
"textTransform": "none",
376376
},
377377
"text": "Symbol 1",
@@ -646,7 +646,7 @@ Object {
646646
"fontSize": 16,
647647
"fontWeight": 400,
648648
"textAlign": "start",
649-
"textDecoration": "solid",
649+
"textDecoration": "none",
650650
"textTransform": "none",
651651
},
652652
"text": "Symbol 2",
@@ -921,7 +921,7 @@ Object {
921921
"fontSize": 16,
922922
"fontWeight": 400,
923923
"textAlign": "start",
924-
"textDecoration": "solid",
924+
"textDecoration": "none",
925925
"textTransform": "none",
926926
},
927927
"text": "Symbol 3",

test/serve-with-url/__snapshots__/serve-with-url.test.js.snap

+6-6
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Object {
5656
"fontSize": 40,
5757
"fontWeight": 700,
5858
"textAlign": "start",
59-
"textDecoration": "solid",
59+
"textDecoration": "none",
6060
"textTransform": "none",
6161
},
6262
},
@@ -70,7 +70,7 @@ Object {
7070
"fontSize": 30,
7171
"fontWeight": 700,
7272
"textAlign": "start",
73-
"textDecoration": "solid",
73+
"textDecoration": "none",
7474
"textTransform": "none",
7575
},
7676
},
@@ -84,7 +84,7 @@ Object {
8484
"fontSize": 20,
8585
"fontWeight": 700,
8686
"textAlign": "start",
87-
"textDecoration": "solid",
87+
"textDecoration": "none",
8888
"textTransform": "none",
8989
},
9090
},
@@ -371,7 +371,7 @@ Object {
371371
"fontSize": 16,
372372
"fontWeight": 400,
373373
"textAlign": "start",
374-
"textDecoration": "solid",
374+
"textDecoration": "none",
375375
"textTransform": "none",
376376
},
377377
"text": "Symbol 1",
@@ -646,7 +646,7 @@ Object {
646646
"fontSize": 16,
647647
"fontWeight": 400,
648648
"textAlign": "start",
649-
"textDecoration": "solid",
649+
"textDecoration": "none",
650650
"textTransform": "none",
651651
},
652652
"text": "Symbol 2",
@@ -921,7 +921,7 @@ Object {
921921
"fontSize": 16,
922922
"fontWeight": 400,
923923
"textAlign": "start",
924-
"textDecoration": "solid",
924+
"textDecoration": "none",
925925
"textTransform": "none",
926926
},
927927
"text": "Symbol 3",

test/serve/__snapshots__/serve.test.js.snap

+6-6
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Object {
5656
"fontSize": 40,
5757
"fontWeight": 700,
5858
"textAlign": "start",
59-
"textDecoration": "solid",
59+
"textDecoration": "none",
6060
"textTransform": "none",
6161
},
6262
},
@@ -70,7 +70,7 @@ Object {
7070
"fontSize": 30,
7171
"fontWeight": 700,
7272
"textAlign": "start",
73-
"textDecoration": "solid",
73+
"textDecoration": "none",
7474
"textTransform": "none",
7575
},
7676
},
@@ -84,7 +84,7 @@ Object {
8484
"fontSize": 20,
8585
"fontWeight": 700,
8686
"textAlign": "start",
87-
"textDecoration": "solid",
87+
"textDecoration": "none",
8888
"textTransform": "none",
8989
},
9090
},
@@ -371,7 +371,7 @@ Object {
371371
"fontSize": 16,
372372
"fontWeight": 400,
373373
"textAlign": "start",
374-
"textDecoration": "solid",
374+
"textDecoration": "none",
375375
"textTransform": "none",
376376
},
377377
"text": "Symbol 1",
@@ -646,7 +646,7 @@ Object {
646646
"fontSize": 16,
647647
"fontWeight": 400,
648648
"textAlign": "start",
649-
"textDecoration": "solid",
649+
"textDecoration": "none",
650650
"textTransform": "none",
651651
},
652652
"text": "Symbol 2",
@@ -921,7 +921,7 @@ Object {
921921
"fontSize": 16,
922922
"fontWeight": 400,
923923
"textAlign": "start",
924-
"textDecoration": "solid",
924+
"textDecoration": "none",
925925
"textTransform": "none",
926926
},
927927
"text": "Symbol 3",

test/url/__snapshots__/url.test.js.snap

+6-6
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Object {
5656
"fontSize": 40,
5757
"fontWeight": 700,
5858
"textAlign": "start",
59-
"textDecoration": "solid",
59+
"textDecoration": "none",
6060
"textTransform": "none",
6161
},
6262
},
@@ -70,7 +70,7 @@ Object {
7070
"fontSize": 30,
7171
"fontWeight": 700,
7272
"textAlign": "start",
73-
"textDecoration": "solid",
73+
"textDecoration": "none",
7474
"textTransform": "none",
7575
},
7676
},
@@ -84,7 +84,7 @@ Object {
8484
"fontSize": 20,
8585
"fontWeight": 700,
8686
"textAlign": "start",
87-
"textDecoration": "solid",
87+
"textDecoration": "none",
8888
"textTransform": "none",
8989
},
9090
},
@@ -371,7 +371,7 @@ Object {
371371
"fontSize": 16,
372372
"fontWeight": 400,
373373
"textAlign": "start",
374-
"textDecoration": "solid",
374+
"textDecoration": "none",
375375
"textTransform": "none",
376376
},
377377
"text": "Symbol 1",
@@ -646,7 +646,7 @@ Object {
646646
"fontSize": 16,
647647
"fontWeight": 400,
648648
"textAlign": "start",
649-
"textDecoration": "solid",
649+
"textDecoration": "none",
650650
"textTransform": "none",
651651
},
652652
"text": "Symbol 2",
@@ -921,7 +921,7 @@ Object {
921921
"fontSize": 16,
922922
"fontWeight": 400,
923923
"textAlign": "start",
924-
"textDecoration": "solid",
924+
"textDecoration": "none",
925925
"textTransform": "none",
926926
},
927927
"text": "Symbol 3",

0 commit comments

Comments
 (0)