dpm 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +24 -39
- data/bin/dpm +1 -1
- data/lib/dpm/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: de7ae4c906843c34498a67042506c418ad54d13e
|
4
|
+
data.tar.gz: 165801e917b80d4c366a25c6756fc27dd4a3656e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: edd038e771c9f3a84ae5653898d1327fbbd603cb3283c40ed14003b570a8f0e20fe26d0862d418c50a07c83af4f4de1210e8c89bef71f323f0a03307bf7356af
|
7
|
+
data.tar.gz: 405337509a687011a790188e0a2b2d1cc2ce01b2c368b53221d49e21b861d3f70fa830fd2f8b234e064337b48ce379d7f6367d37293c4ede865da81b6379c322
|
data/README.md
CHANGED
@@ -1,49 +1,34 @@
|
|
1
1
|
# DPM
|
2
2
|
|
3
|
-
DPM is an experimental package manager for
|
3
|
+
DPM is an experimental package manager for Sketch. It allows you to simply keep plugins in sync across teams and devices.
|
4
4
|
|
5
5
|
### Getting started
|
6
|
-
|
7
|
-
|
8
|
-
###
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
This creates a skeleton Palette file in the local directory. Let's open it and add some fonts and Sketch plugins we use on this project. The resulting Palette.json file should look something like this...
|
16
|
-
|
17
|
-
```JSON
|
18
|
-
{
|
19
|
-
"name": "My Project",
|
20
|
-
"author": "Alasdair Monk",
|
21
|
-
"version": "1.0",
|
22
|
-
"fonts": [
|
23
|
-
"http://www.fontsquirrel.com/fonts/download/Inconsolata",
|
24
|
-
"http://www.fontsquirrel.com/fonts/download/junicode",
|
25
|
-
],
|
26
|
-
"sketch_plugins": [
|
27
|
-
"https://github.com/fnky/sketch-dockpreview/archive/master.zip",
|
28
|
-
"https://github.com/matt-curtis/Fluid-for-Sketch/archive/master.zip"
|
29
|
-
]
|
30
|
-
}
|
6
|
+
`gem install dpm`
|
7
|
+
|
8
|
+
### Basic sage
|
9
|
+
Init a Palette.json file
|
10
|
+
|
11
|
+
```
|
12
|
+
$ dpm init
|
13
|
+
$ dpm install marcosvidal/Sketch-Notebook --save
|
31
14
|
```
|
32
15
|
|
33
|
-
|
34
|
-
|
35
|
-
```
|
36
|
-
|
37
|
-
Downloaded 100% |oooooooooooooooooooooooooooooooooooooooo| 34.9KB 278.1KB/s ETA: 0:00:00
|
38
|
-
Downloaded 100% |oooooooooooooooooooooooooooooooooooooooo| 1.4MB 610.5KB/s ETA: 0:00:00
|
39
|
-
Installing fonts...
|
40
|
-
Downloaded
|
41
|
-
Downloaded 100% |oooooooooooooooooooooooooooooooooooooooo| 2.5MB 1.6MB/s ETA: 0:00:00
|
42
|
-
Installing Sketch plugins...
|
43
|
-
Palette complete. 9 fonts, 2 Sketch plugins now installed.
|
16
|
+
Install plugins from a pre-existing Palette.json file
|
17
|
+
|
18
|
+
```
|
19
|
+
$ dpm install
|
44
20
|
```
|
45
21
|
|
22
|
+
Install a plugin without saving it to a Palette.json file
|
23
|
+
|
24
|
+
```
|
25
|
+
$ dpm install marcosvidal/Sketch-Notebook
|
26
|
+
```
|
27
|
+
|
28
|
+
Find a list of Sketch plugins you can use with dpm [here](https://github.com/sketchplugins/plugin-directory).
|
29
|
+
|
30
|
+
|
46
31
|
### Limitations
|
47
|
-
* DPM currently **only** supports installing from
|
48
|
-
* Currenly only works with
|
32
|
+
* DPM currently **only** supports installing from repos publicly available on Github
|
33
|
+
* Currenly only works with Sketch plugins
|
49
34
|
* Probably a ton of bugs
|
data/bin/dpm
CHANGED
data/lib/dpm/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dpm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alasdair Monk
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-01
|
11
|
+
date: 2016-02-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|