@peterseibel/hug 0.1.1 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -1
- package/package.json +5 -2
package/README.md
CHANGED
|
@@ -15,6 +15,10 @@ git clone <repo-url> && cd hug
|
|
|
15
15
|
npm install && npm link
|
|
16
16
|
```
|
|
17
17
|
|
|
18
|
+
## Already using clasp?
|
|
19
|
+
|
|
20
|
+
Just use `hug` in your existing project. There's nothing special about a hug project — any clasp project works out of the box.
|
|
21
|
+
|
|
18
22
|
## Prerequisites
|
|
19
23
|
|
|
20
24
|
You need to be logged in to clasp:
|
|
@@ -48,7 +52,7 @@ Imports an existing Apps Script project into a new directory and sets up npm/cla
|
|
|
48
52
|
hug fork
|
|
49
53
|
```
|
|
50
54
|
|
|
51
|
-
Creates a new Apps Script project from the current local code. Useful with git branches — fork on a branch to get a separate Apps Script project you can develop against independently.
|
|
55
|
+
Creates a new Apps Script project from the current local code. Useful with git branches — fork on a branch to get a separate Apps Script project you can develop against independently. If you're using `hug config` to manage resources like spreadsheet IDs, you'll probably want to update them after forking so the new project points at its own resources.
|
|
52
56
|
|
|
53
57
|
### Configure
|
|
54
58
|
|
package/package.json
CHANGED
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@peterseibel/hug",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "A lightweight wrapper around clasp for managing Google Apps Script projects",
|
|
5
5
|
"bin": {
|
|
6
6
|
"hug": "bin/hug"
|
|
7
7
|
},
|
|
8
|
-
"keywords": [
|
|
8
|
+
"keywords": [
|
|
9
|
+
"google-apps-script",
|
|
10
|
+
"clasp"
|
|
11
|
+
],
|
|
9
12
|
"license": "ISC",
|
|
10
13
|
"dependencies": {
|
|
11
14
|
"@google/clasp": "^3.2.0"
|