@google/clasp 3.0.5-alpha → 3.0.6-alpha

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 CHANGED
@@ -189,7 +189,7 @@ If your organization restricts authorization for third-party apps, you may eithe
189
189
  * Request your admin allow-list clasp's client id `1072944905499-vm2v2i5dvn0a0d2o4ca36i1vge8cvbn0.apps.googleusercontent.com`
190
190
  * Set up an internal-only GCP project for clasp as described in the previous section.
191
191
 
192
- ### Service accounts
192
+ ### Service accounts (EXPERIMENTAL/NOT WORKING)
193
193
 
194
194
  Use the `--adc` option on any command to read credentials from the environment using Google Cloud's [application default credentials](https://cloud.google.com/docs/authentication/application-default-credentials) mechanism.
195
195
 
@@ -18,6 +18,7 @@ import { command as openContainerCommand } from './open-container.js';
18
18
  import { command as openAuthCommand } from './open-credentials.js';
19
19
  import { command as openLogsCommand } from './open-logs.js';
20
20
  import { command as openScriptCommand } from './open-script.js';
21
+ import { command as openWebappCommand } from './open-webapp.js';
21
22
  import { command as pullCommand } from './pull.js';
22
23
  import { command as pushCommand } from './push.js';
23
24
  import { command as runCommand } from './run-function.js';
@@ -26,6 +27,7 @@ import { command as authStatusCommand } from './show-authorized-user.js';
26
27
  import { command as filesStatusCommand } from './show-file-status.js';
27
28
  import { command as mcpCommand } from './start-mcp.js';
28
29
  import { command as tailLogsCommand } from './tail-logs.js';
30
+ import { command as updateDeploymentCommand } from './update-deployment.js';
29
31
  import { dirname } from 'path';
30
32
  import { fileURLToPath } from 'url';
31
33
  import { readPackageUpSync } from 'read-package-up';
@@ -82,6 +84,7 @@ export function makeProgram(exitOveride) {
82
84
  createDeploymentCommand,
83
85
  deleteDeploymentCOmand,
84
86
  listDeploymentsCommand,
87
+ updateDeploymentCommand,
85
88
  disableApiCommand,
86
89
  enableApiCommand,
87
90
  listApisCommand,
@@ -93,6 +96,7 @@ export function makeProgram(exitOveride) {
93
96
  tailLogsCommand,
94
97
  openScriptCommand,
95
98
  openContainerCommand,
99
+ openWebappCommand,
96
100
  runCommand,
97
101
  listCommand,
98
102
  createVersionCommand,
@@ -371,7 +371,10 @@ export class Files {
371
371
  debug('Skipping empty file.');
372
372
  return;
373
373
  }
374
- await fs.mkdir(path.dirname(file.localPath), { recursive: true });
374
+ const localDirname = path.dirname(file.localPath);
375
+ if (localDirname !== '.') {
376
+ await fs.mkdir(localDirname, { recursive: true });
377
+ }
375
378
  await fs.writeFile(file.localPath, file.source);
376
379
  };
377
380
  return await pMap(files, mapper);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@google/clasp",
3
- "version": "3.0.5-alpha",
3
+ "version": "3.0.6-alpha",
4
4
  "description": "Develop Apps Script Projects locally",
5
5
  "type": "module",
6
6
  "exports": "./build/src/index.js",