@stackfactor/client-api 1.1.260 → 1.1.261

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 +4 -0
  2. package/package.json +6 -1
package/README.md CHANGED
@@ -138,3 +138,7 @@ For questions or support, open an issue in the [GitHub repository](https://githu
138
138
 
139
139
  - [StackFactor Developer Resources](https://stackfactor.ai/resources/developers)
140
140
  - [CC BY-ND 4.0 License](https://creativecommons.org/licenses/by-nd/4.0/legalcode)
141
+
142
+ ## Development and release
143
+
144
+ See [docs/README.md](docs/README.md) — branch flow, how to cut a release, and troubleshooting.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stackfactor/client-api",
3
- "version": "1.1.260",
3
+ "version": "1.1.261",
4
4
  "description": "Node.js library for the StackFactor API",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -30,6 +30,11 @@
30
30
  "prepublishOnly": "npm run build",
31
31
  "test": "jest",
32
32
  "lint": "eslint 'src/**/*.{ts,tsx}'",
33
+ "ar-auth": "npm config set @stackfactor:registry https://us-central1-npm.pkg.dev/virtual-development-team/sf-devenv-npm-private/; TOKEN=$(gcloud auth print-access-token 2>/dev/null || curl -sfH 'Metadata-Flavor: Google' http://169.254.169.254/computeMetadata/v1/instance/service-accounts/default/token | sed -n 's/.*\"access_token\":\"\\([^\"]*\\)\".*/\\1/p'); test -n \"$TOKEN\" || { echo 'ar-auth: no credential — run: gcloud auth login' >&2; exit 1; }; npm config set //us-central1-npm.pkg.dev/virtual-development-team/:_authToken \"$TOKEN\"; echo 'ar-auth: Artifact Registry scope + token configured'",
34
+ "reinstall": "npm run ar-auth && npm ci",
35
+ "work:start": "bash scripts/work-start.sh",
36
+ "work:commit": "bash scripts/work-commit.sh",
37
+ "work:release": "bash scripts/release.sh",
33
38
  "release": "bash scripts/release.sh"
34
39
  },
35
40
  "repository": {