From 1acbddeb3038c0fc19ddc1b7bed4c36d82124883 Mon Sep 17 00:00:00 2001 From: Michael Fouquet Date: Mon, 3 Feb 2020 17:31:38 -0600 Subject: [PATCH 1/4] Update package.json - increment version number --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 8da3438..6882010 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "dribbble-sketch", - "version": "1.0.1", + "version": "1.1.0", "description": "Share your creative process directly to the Dribbble community from within Sketch.", "author": "Dribbble Holdings Ltd.", "license": "MIT", @@ -23,7 +23,7 @@ ] }, "scripts": { - "build": "skpm-build", + "build": "rimraf dribbble.sketchplugin && skpm-build", "watch": "skpm-build --watch", "start": "skpm-build --watch --run", "postinstall": "npm run build && skpm-link" @@ -49,4 +49,4 @@ "react-sketchapp": "^2.0.0", "sketch-module-web-view": "^1.2.3" } -} +} \ No newline at end of file From d7d244f9e2bfbf8f986791193ed4ec0bbc814f53 Mon Sep 17 00:00:00 2001 From: Michael Fouquet Date: Mon, 3 Feb 2020 17:33:49 -0600 Subject: [PATCH 2/4] Fix the background color of the window (login, error state, etc.) --- plugin/web/main.html | 1 + plugin/web/style.scss | 1 + 2 files changed, 2 insertions(+) diff --git a/plugin/web/main.html b/plugin/web/main.html index c53ab78..a61578f 100644 --- a/plugin/web/main.html +++ b/plugin/web/main.html @@ -8,6 +8,7 @@ width: 100%; height: 100%; margin: 0px; + background-color: #f4f4f4; font-family: -apple-system, BlinkMacSystemFont, sans-serif; } diff --git a/plugin/web/style.scss b/plugin/web/style.scss index 5aab2a9..fa802a2 100644 --- a/plugin/web/style.scss +++ b/plugin/web/style.scss @@ -1,4 +1,5 @@ body { + background-color: #f4f4f4; font-family: -apple-system, BlinkMacSystemFont, sans-serif; * { From 19efea40e9f272509c0aa27f6763922cccf3cde0 Mon Sep 17 00:00:00 2001 From: Michael Fouquet Date: Sat, 8 Feb 2020 13:19:28 -0600 Subject: [PATCH 3/4] Fix issue with certain artboards not exporting --- plugin/sketch/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/sketch/main.js b/plugin/sketch/main.js index e090fed..c17d6bd 100644 --- a/plugin/sketch/main.js +++ b/plugin/sketch/main.js @@ -43,7 +43,7 @@ module.exports = function(context) { userDetails: _.Settings.settingForKey('user-details'), selectionSize: selectionSize, selection: selectedComponent != null - ? selectedComponent.toJSON() + ? { name: selectedComponent.name, frame: selectedComponent.frame.toJSON() } : undefined }) } From 2b811798057c6ac95a394b44cb670bc96a117812 Mon Sep 17 00:00:00 2001 From: Michael Fouquet Date: Thu, 20 Feb 2020 18:10:12 -0600 Subject: [PATCH 4/4] Final updates to appcast, license, and manifest files --- .appcast.xml | 11 +++++++++++ LICENSE | 2 +- plugin/sketch/manifest.json | 7 +++++-- 3 files changed, 17 insertions(+), 3 deletions(-) diff --git a/.appcast.xml b/.appcast.xml index f152a61..bfbec47 100644 --- a/.appcast.xml +++ b/.appcast.xml @@ -1,7 +1,18 @@ + Stark + https://raw.githubusercontent.com/dribbble/dribbble-sketch/master/.appcast.xml + Allows you to share to Dribbble right within Sketch. + en + Version 1.1.0 + Fri, 20 Feb 2020 8:00:00 +0000 + + + + Version 1.0.1 + Wed, 6 Feb 2019 8:00:00 +0000 diff --git a/LICENSE b/LICENSE index f62870d..a9a90c4 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2019 Dribbble Holdings Ltd. +Copyright (c) 2020 Dribbble Holdings Ltd. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/plugin/sketch/manifest.json b/plugin/sketch/manifest.json index b053d0d..45eba2a 100644 --- a/plugin/sketch/manifest.json +++ b/plugin/sketch/manifest.json @@ -2,13 +2,16 @@ "compatibleVersion": 3, "bundleVersion": 1, "identifier": "com.dribbble.sketch-plugin", + "version": "1.1.0", + "description": "Allows you to share to Dribbble right within Sketch.", + "appcast": "https://raw.githubusercontent.com/dribbble/dribbble-sketch/master/.appcast.xml", "icon": "web/images/dribbble-ball.png", "commands": [ { "name": "Share to Dribbble", "identifier": "share-command", "script": "./main.js", - "shortcut" : "cmd shift d" + "shortcut": "cmd shift d" } ], "menu": { @@ -17,4 +20,4 @@ "share-command" ] } -} +} \ No newline at end of file