3.0.18 • Published 19 days ago

multi-clasp2 v3.0.18

Weekly downloads
-
License
GPL-3.0
Repository
github
Last release
19 days ago

multi-clasp2

This library is inspired by multi-clasp.

multi-clasp2 is meant to solve a specific problem: You have multiple google artifacts (sheets, docs, etc.) that all use the same Apps Script project.

You want them to share the same code, but making this Apps Script project into a library significantly slows its performance.

The solution is to maintain a reference to each artifact's Apps Script project, and simultaneously push changes to these projects so they can receive updates while maintaining their non-library performance.

Install

Install clasp:

npm install -g @google/clasp

Install multi-clasp2:

npm install -g multi-clasp2

Example File

Create a .multi-clasp.json file, which is just an array of JSON objects identical to the standard .clasp.json format.

You do not need a .clasp.json file anymore.

[
	{
		"scriptId": "1VBe_bo7OtOw1EQ_f86HBKSDEDdcGX3mYfCNIcp5L2tR1P-VAU8Sl7KX1",
		"rootDir": "build"
	},
	{
		"scriptId": "1VBe_bo7OtOw1EQ_f86HBKSDEDdcGX3mYfCNIcp5L2tR1P-VAU8Sl7KX2",
		"rootDir": "build"
	},
	{
		"scriptId": "1VBe_bo7OtOw1EQ_f86HBKSDEDdcGX3mYfCNIcp5L2tR1P-VAU8Sl7KX3",
		"rootDir": "build"
	}
]

Commands

The following clasp commands are supported. For the documentation refer to the official documentation

3.0.18

19 days ago

3.0.17

2 months ago

3.0.16

3 months ago

3.0.15

5 months ago

3.0.14

7 months ago

3.0.12

11 months ago

3.0.13

10 months ago

3.0.11

12 months ago

3.0.10

1 year ago

3.0.8

1 year ago

3.0.7

1 year ago

3.0.6

1 year ago

3.0.9

1 year ago

3.0.5

2 years ago

3.0.4

2 years ago

3.0.3

2 years ago

3.0.2

2 years ago

3.0.1

2 years ago

3.0.0

2 years ago

2.1.0

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago