@gapi/gcli 1.8.200 → 1.8.202

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 (4) hide show
  1. package/README.md +20 -0
  2. package/build.js +0 -3
  3. package/package.json +5 -11
  4. package/release/index.js +36842 -35473
package/README.md CHANGED
@@ -198,6 +198,11 @@ environment:
198
198
  options:
199
199
  bundler:
200
200
  watch: ['src']
201
+ outfile: 'index.js'
202
+ bundle: true
203
+ minify: false
204
+ target: node24
205
+ external: []
201
206
  ```
202
207
 
203
208
  ### Configuration Auto-Discovery (Zero-Argument Commands)
@@ -307,6 +312,16 @@ gcli build --files src/index.ts --outfile dist/bundle.js --minify
307
312
  gcli start --files src/index.ts
308
313
  ```
309
314
 
315
+ When using with `lambforge.yaml`
316
+
317
+ ```bash
318
+ # Build a project
319
+ gcli build
320
+
321
+ # Start includes build and spawns `node bundled-file.js` it uses `function.file` in `lambforge.yaml` config
322
+ gcli start
323
+ ```
324
+
310
325
  ### Advanced Watch Options
311
326
 
312
327
  By default, `gcli start` watches only the entry file passed to the bundle. To watch specific directories or configure advanced options, use the `lambforge.yaml` file:
@@ -315,6 +330,11 @@ By default, `gcli start` watches only the entry file passed to the bundle. To wa
315
330
  options:
316
331
  bundler:
317
332
  watch: ['src', 'lib']
333
+ outfile: 'index.js'
334
+ bundle: true
335
+ minify: false
336
+ target: node24
337
+ external: []
318
338
  ```
319
339
 
320
340
  ---
package/build.js CHANGED
@@ -1,6 +1,3 @@
1
- const dotenvLoad = require('dotenv-load');
2
- dotenvLoad(process.env.NODE_ENV);
3
-
4
1
  require('esbuild')
5
2
  .build({
6
3
  entryPoints: ['./src/main.ts'],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gapi/gcli",
3
- "version": "1.8.200",
3
+ "version": "1.8.202",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/Stradivario/gapi.git"
@@ -38,9 +38,7 @@
38
38
  "url": "https://github.com/Stradivario/gapi/issues"
39
39
  },
40
40
  "devDependencies": {
41
- "@babel/core": "^7.10.2",
42
41
  "@rxdi/compressor": "^0.7.229",
43
- "@rxdi/parcel-plugin-shebang": "^0.7.229",
44
42
  "@types/jest": "^25.2.1",
45
43
  "@types/js-yaml": "^4.0.3",
46
44
  "@types/node": "^25.0.3",
@@ -48,21 +46,17 @@
48
46
  "@typescript-eslint/eslint-plugin": "^8.50.1",
49
47
  "@typescript-eslint/parser": "^8.50.1",
50
48
  "archiver": "^5.3.0",
51
- "babel-plugin-module-resolver": "^4.0.0",
52
- "chalk": "2.4.2",
53
49
  "commander": "8.2.0",
54
- "dotenv-load": "^2.0.1",
55
50
  "eslint": "^9.39.2",
56
51
  "eslint-config-prettier": "^10.1.8",
57
52
  "eslint-plugin-prettier": "^5.5.4",
58
53
  "eslint-plugin-simple-import-sort": "^12.1.1",
59
54
  "firebase": "7.14.6",
60
- "form-data": "^4.0.0",
55
+ "form-data": "^4.0.5",
61
56
  "jest": "^30.2.0",
62
- "js-yaml": "^4.1.0",
63
- "node-fetch": "^2.1.2",
64
- "parcel-plugin-electron-dotenv": "^0.1.0",
65
- "prettier": "^3.7.4",
57
+ "js-yaml": "^4.1.1",
58
+ "node-fetch": "^3.3.2",
59
+ "prettier": "^3.8.1",
66
60
  "rxjs": "^7.8.2",
67
61
  "stream-to-buffer": "^0.1.0",
68
62
  "ts-jest": "^29.4.6",