Skip to content
This repository has been archived by the owner on Sep 4, 2024. It is now read-only.

Commit

Permalink
Rework everything to use skpm
Browse files Browse the repository at this point in the history
  • Loading branch information
soulchild committed Aug 13, 2018
1 parent fa974ff commit a28cd93
Show file tree
Hide file tree
Showing 14 changed files with 7,487 additions and 260 deletions.
93 changes: 93 additions & 0 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
root: true
extends:
- airbnb-base
- plugin:import/errors
- prettier
plugins:
- no-not-accumulator-reassign
- prettier
env:
node: true
rules:
no-not-accumulator-reassign/no-not-accumulator-reassign: [2, ['reduce'], { props: true }]
globals:
NSFont: false
MOPointer: false
NSAlertFirstButtonReturn: false
NSMakeRange: false
NSMaxRange: false
MSSelfContainedHighLevelExporter: false
MSLayerMovement: false
NSMakeRect: false
MSBitmapLayer: false
MSLayerGroup: false
MSTextLayer: false
MSShapeGroup: false
NSArray: false
NSMakePoint: false
CGRectMake: false
MSArtboardGroup: false
MSPage: false
MSApplicationMetadata: false
log: false
NSApplication: false
NSDocumentController: false
NSAlert: false
NSComboBox: false
NSUserDefaults: false
AppController: false
MSImageData: false
NSImage: false
NSURLRequest: false
NSURLConnection: false
NSUTF8StringEncoding: false
MSSVGImporter: false
MSModalInputSheet: false
MSStyleFill: false
MSStyleBorder: false
MSColor: false
MSImmutableColor: false
MSDefaultStyle: false
MSLayer: false
MSDocumentData: false
MSSymbolMaster: false
MSSymbolInstance: false
MSAvailableOverride: false
MSAssetLibrary: false
MSDocument: false
NSURL: false
NSSaveToOperation: false
NSData: false
NSDataBase64DecodingIgnoreUnknownCharacters: false
__command: false
MSFlowConnection: false
MSHotspotLayer: false
NSPredicate: false
MSRectangleShape: false
MSSymbolMasterReference: false
MSShareableObjectReference: false
MSSharedStyleReference: false
NSString: false
MSForeignSymbolProvider: false
MSForeignObjectCollector: false
MSStyleShadow: false
MSStyleInnerShadow: false
MSGradientStop: false
MSGradient: false
CGPointMake: false
MSSharedLayerReference: false
MSSharedTextReference: false
MSUserAssetLibrary: false
MSRemoteAssetLibrary: false
NSSaveAsOperation: false
NSSaveOperation: false
coscript: false
__mocha__: false
NSOpenPanel: false
NSOKButton: false
NSNull: false
MSSharedLayerStyleProvider: false
MSSharedTextStyleProvider: false
MSForeignObjectProvider: false
MSSharedStyle: false
MSStyle: false
13 changes: 13 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# build artefacts
plugin.sketchplugin/Contents/Sketch
plugin.sketchplugin/Contents/Resources/_webpack_resources

# npm
node_modules
.npm
npm-debug.log

# mac
.DS_Store

.vscode
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [v0.4.0]

### Changed

- (Almost) complete rewrite using [skpm](https://github.com/skpm/skpm)
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
> [Logos API](https://github.com/soulchild/logos-api) (user-contributed, SVG) or
> [Clearbit API](https://blog.clearbit.com/logo) (scraped from websites, PNG).
**IMPORTANT NOTICE:** Beginning with Sketch version 42, [App Transport Security has been enabled](http://developer.sketchapp.com/blog/2016-09-26-plugin-latest-v40/).
**IMPORTANT NOTICE:** Beginning with Sketch version 42, [App Transport Security has been enabled](http://developer.sketchapp.com/blog/2016-09-26-plugin-latest-v40/).
**You'll need to upgrade to Sketch Logo Fetcher v0.3.2 or higher to make it work with the latest Sketch versions.**

## Demo
Expand All @@ -14,12 +14,12 @@
## Usage

1. Select a shape you want to fill with a logo
2. Go to `Plugins ▸ Logo fetcher` in Sketch's menu bar and select either `Insert SVG logo (Logos API)` or `Insert PNG logo (Clearbit API)`.
2. Go to `Plugins ▸ Logo Fetcher` in Sketch's menu bar and select either `Insert SVG logo (Logos API)` or `Insert PNG logo (Clearbit API)`.

**Keyboard Shortcuts**

* Logos API: `Control` + `Command` + `K`
* Clearbit API: `Control` + `Command` + `L`
- Logos API: `Control` + `Command` + `K`
- Clearbit API: `Control` + `Command` + `L`

## Installation

Expand All @@ -32,4 +32,4 @@ Many thanks to [DG-i](https://www.dg-i.net) for hosting the [Logos API](https://

## Author

* [Tobias Kremer](https://www.github.com/soulchild)
- [Tobias Kremer](https://www.github.com/soulchild)
Loading

0 comments on commit a28cd93

Please sign in to comment.