@peterseibel/hug 0.1.0 → 0.1.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.
package/CLAUDE.md CHANGED
@@ -46,6 +46,15 @@ them suitable for variant UIs against the same data, but not for dev/prod
46
46
  separation. For dev/prod, use `hug fork` + git branches instead — each branch
47
47
  gets its own script project with independent properties and deployments.
48
48
 
49
+ ### Container-bound vs standalone scripts
50
+
51
+ Container-bound scripts are created from within a Google Doc/Sheet/Form via
52
+ Extensions > Apps Script. They can call `getActiveSpreadsheet()` etc. but are
53
+ tied to that container. There's no way to convert them to standalone. `hug fork`
54
+ detects container-bound projects (via `parentId` in `.clasp.json`) and refuses
55
+ unless `--force` is used, since the forked standalone copy would lose access to
56
+ the container's APIs.
57
+
49
58
  ### Config
50
59
 
51
60
  `hug config` manages a local `config.js` file (JS constants object) that gets
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@peterseibel/hug",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "A lightweight wrapper around clasp for managing Google Apps Script projects",
5
5
  "bin": {
6
6
  "hug": "bin/hug"
7
7
  },
8
- "keywords": ["google-apps-script", "clasp", "gas"],
8
+ "keywords": ["google-apps-script", "clasp"],
9
9
  "license": "ISC",
10
10
  "dependencies": {
11
11
  "@google/clasp": "^3.2.0"
@@ -1,20 +0,0 @@
1
- {
2
- "permissions": {
3
- "allow": [
4
- "WebFetch(domain:registry.npmjs.org)",
5
- "WebFetch(domain:script.googleapis.com)",
6
- "WebFetch(domain:oauth2.googleapis.com)",
7
- "Bash(./node_modules/.bin/clasp clone:*)",
8
- "WebFetch(domain:developers.google.com)",
9
- "WebFetch(domain:github.com)",
10
- "WebSearch",
11
- "WebFetch(domain:www.npmjs.com)",
12
- "Bash(./node_modules/.bin/clasp --version && ./node_modules/.bin/clasp deploy --help 2>&1; ./node_modules/.bin/clasp redeploy --help 2>&1)",
13
- "Bash(./node_modules/.bin/clasp list-versions:*)",
14
- "Bash(./node_modules/.bin/clasp create-version:*)",
15
- "Bash(./node_modules/.bin/clasp list-deployments:*)",
16
- "WebFetch(domain:raw.githubusercontent.com)",
17
- "Bash(gh api:*)"
18
- ]
19
- }
20
- }
File without changes
File without changes