@mcpher/gas-fakes 1.0.0 → 1.0.1

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.
Files changed (2) hide show
  1. package/README.md +9 -1
  2. package/package.json +3 -5
package/README.md CHANGED
@@ -28,7 +28,15 @@ I recommend you use the test project included in the repo to make sure all is se
28
28
 
29
29
  The script togas.sh will move your files to gas - just set the SOURCE and TARGET folders in the script. Make sure you have an appsscript.json manifest in the SOURCE folder, as gas-fakes reads that to handle OAuth on Node.
30
30
 
31
- You can write your project to run on Node and call GAS services, and it will also run on the GAS environment with no code changes.
31
+ You can write your project to run on Node and call GAS services, and it will also run on the GAS environment with no code changes, except on the node side you have this one import
32
+
33
+ ````
34
+ // all the fake services are here
35
+ import '@mcpher/gas-fakes/main.js'
36
+ ````
37
+
38
+ togas.sh will remove imports and exports on the way to apps script, which doesnt support them.
39
+
32
40
 
33
41
  ## Approach
34
42
 
package/package.json CHANGED
@@ -13,11 +13,9 @@
13
13
  "test": "node ./test/test.js",
14
14
  "pub": "npm publish --access public"
15
15
  },
16
- "devDependencies": {
17
- "@mcpher/unit": "^1.1.6"
18
- },
19
16
  "name": "@mcpher/gas-fakes",
20
- "version": "1.0.0",
17
+ "version": "1.0.1",
21
18
  "main": "main.js",
22
- "description": "A proof of concept implementation of Apps Script Environment on Node"
19
+ "description": "A proof of concept implementation of Apps Script Environment on Node",
20
+ "repository": "github:brucemcpherson/gas-fakes"
23
21
  }