@mcpher/gas-fakes 1.0.25 → 1.0.27

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.
@@ -0,0 +1,47 @@
1
+ {
2
+ "timeZone": "Europe/London",
3
+ "exceptionLogging": "STACKDRIVER",
4
+ "runtimeVersion": "V8",
5
+ "oauthScopes": [
6
+ "https://www.googleapis.com/auth/drive",
7
+ "https://www.googleapis.com/auth/script.external_request",
8
+ "https://www.googleapis.com/auth/spreadsheets",
9
+ "https://www.googleapis.com/auth/userinfo.email",
10
+ "https://www.googleapis.com/auth/documents",
11
+ "https://www.googleapis.com/auth/presentations",
12
+ "https://www.googleapis.com/auth/forms",
13
+ "https://www.googleapis.com/auth/gmail.labels"
14
+ ],
15
+ "dependencies": {
16
+ "libraries": [
17
+ {
18
+ "userSymbol": "bmUnitTester",
19
+ "version": "20",
20
+ "libraryId": "1zOlHMOpO89vqLPe5XpC-wzA9r5yaBkWt_qFjKqFNsIZtNJ-iUjBYDt-x"
21
+ },
22
+ {
23
+ "userSymbol": "bmIs",
24
+ "version": "1",
25
+ "libraryId": "1tFa7Gc68142wiiZaNmj0zA-ELDHh0q31eDXodeeCf1LxRR1LeSr3opAd"
26
+ },
27
+ {
28
+ "userSymbol": "bmFiddler",
29
+ "version": "30",
30
+ "libraryId": "13EWG4-lPrEf34itxQhAQ7b9JEbmCBfO8uE4Mhr99CHi3Pw65oxXtq-rU",
31
+ "developmentMode": false
32
+ }
33
+ ],
34
+ "enabledAdvancedServices": [
35
+ {
36
+ "userSymbol": "Docs",
37
+ "version": "v1",
38
+ "serviceId": "docs"
39
+ },
40
+ {
41
+ "userSymbol": "Drive",
42
+ "version": "v3",
43
+ "serviceId": "drive"
44
+ }
45
+ ]
46
+ }
47
+ }
@@ -12,9 +12,12 @@
12
12
  "@mcpher/gas-fakes": "file:../../"
13
13
  }
14
14
  },
15
+ "..": {
16
+ "extraneous": true
17
+ },
15
18
  "../..": {
16
19
  "name": "@mcpher/gas-fakes",
17
- "version": "1.0.25",
20
+ "version": "1.0.26",
18
21
  "license": "MIT",
19
22
  "dependencies": {
20
23
  "@google-cloud/logging": "^11.2.1",
@@ -4,12 +4,14 @@
4
4
  "description": "",
5
5
  "main": "basic.js",
6
6
  "scripts": {
7
- "test": "echo \"Error: no test specified\" && exit 1"
7
+ "test": "echo \"Error: no test specified\" && exit 1",
8
+ "dev": "node --conditions=development"
8
9
  },
9
10
  "author": "",
10
11
  "license": "ISC",
11
12
  "type": "module",
12
13
  "dependencies": {
13
- "@mcpher/gas-fakes": "file:../../"
14
+
15
+ "@mcpher/gas-fakes": "file:../../"
14
16
  }
15
17
  }
@@ -1,9 +1,9 @@
1
- import '../../main.js';
1
+
2
2
  import { moveToTempFolder, deleteTempFile } from '../tempfolder.js';
3
3
  import { report, scl } from './dreport.js';
4
4
 
5
5
 
6
-
6
+ import '@mcpher/gas-fakes';
7
7
  const suffix = "-bruce"
8
8
  const tli = () => {
9
9
  let doc = DocumentApp.create("abc")
package/index.js ADDED
File without changes
package/package.json CHANGED
@@ -66,12 +66,11 @@
66
66
  "pub": "npm publish --access public"
67
67
  },
68
68
  "name": "@mcpher/gas-fakes",
69
- "version": "1.0.25",
69
+ "version": "1.0.27",
70
70
  "license": "MIT",
71
- "main": "mainlocal.js",
71
+ "main": "main.js",
72
72
  "exports": {
73
- ".": "./mainlocal.js",
74
- "./main.js": "./mainlocal.js"
73
+ ".": "./main.js"
75
74
  },
76
75
  "description": "A proof of concept implementation of Apps Script Environment on Node",
77
76
  "repository": "github:brucemcpherson/gas-fakes",
package/src/index.js CHANGED
@@ -1,9 +1,5 @@
1
- import colors from 'yoctocolors'
2
1
  import './services/scriptapp/app.js'
3
2
 
4
- import {default as pf } from '../package.json' with { type: 'json' };
5
- console.log (`You are using ${colors.blueBright(pf.name)} package version ${colors.greenBright(pf.version)}`)
6
- ScriptApp.__gasFakesVersion = pf.version
7
3
  import './services/driveapp/app.js'
8
4
  import './services/logger/app.js'
9
5
  import './services/urlfetchapp/app.js'
@@ -21,3 +17,4 @@ import './services/documentapp/app.js'
21
17
  import './services/advforms/app.js'
22
18
  import './services/formapp/app.js'
23
19
  import './services/slidesapp/app.js'
20
+ ScriptApp.isFake
package/mainlocal.js DELETED
@@ -1,2 +0,0 @@
1
- // testing locally
2
- import './src/index.js'