Skip to content

Commit 24c29a9

Browse files
committed
Merge remote-tracking branch 'upstream/main' into W-21083961-adding-wait-flag-ODS
2 parents 18c4bbf + 901fe40 commit 24c29a9

632 files changed

Lines changed: 50197 additions & 2230 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.changeset/add-update-warning.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@salesforce/b2c-cli': patch
3+
---
4+
5+
Add update notifications that warn users when a newer version of the CLI is available
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'@salesforce/b2c-cli': patch
3+
'@salesforce/b2c-tooling-sdk': patch
4+
---
5+
6+
Account Manager (AM) topic with `users`, `roles`, and `orgs` subtopics. Use `b2c am users`, `b2c am roles`, and `b2c am orgs` for user, role, and organization management.

.changeset/code-bugfix.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/doc-improvements.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/friendly-sandbox-id.md

Lines changed: 0 additions & 6 deletions
This file was deleted.

.changeset/log-tailing-feature.md

Lines changed: 0 additions & 6 deletions
This file was deleted.

.changeset/mrt-warnings.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.claude-plugin/marketplace.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"name": "Salesforce"
1515
},
1616
"license": "Apache-2.0",
17-
"source": "./plugins/b2c-cli",
17+
"source": "./skills/b2c-cli",
1818
"category": "productivity",
1919
"strict": false
2020
},
@@ -25,7 +25,7 @@
2525
"name": "Salesforce"
2626
},
2727
"license": "Apache-2.0",
28-
"source": "./plugins/b2c",
28+
"source": "./skills/b2c",
2929
"category": "productivity",
3030
"strict": false
3131
}
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# Update Script API Documentation
2+
3+
Download the latest B2C Commerce Script API documentation from the configured sandbox and update the bundled docs in the SDK.
4+
5+
## Steps
6+
7+
1. Download Script API docs from the configured sandbox using `./cli docs download`
8+
2. Replace the markdown files in `packages/b2c-tooling-sdk/data/script-api/`
9+
3. Regenerate the search index with `pnpm --filter @salesforce/b2c-tooling-sdk run generate:docs-index`
10+
4. Show the version extracted from `index.md` header
11+
5. Show git status/diff summary of what changed
12+
13+
## Commands to Run
14+
15+
```bash
16+
# Download to temp directory
17+
./cli docs download /tmp/script-api-docs-update
18+
19+
# Check version
20+
head -1 /tmp/script-api-docs-update/index.md
21+
22+
# Replace existing files
23+
rm -f packages/b2c-tooling-sdk/data/script-api/*.md
24+
cp /tmp/script-api-docs-update/*.md packages/b2c-tooling-sdk/data/script-api/
25+
26+
# Regenerate index
27+
pnpm --filter @salesforce/b2c-tooling-sdk run generate:docs-index
28+
29+
# Show changes
30+
git status packages/b2c-tooling-sdk/data/script-api/ --short
31+
git diff packages/b2c-tooling-sdk/data/script-api/*.md --stat
32+
33+
# Cleanup
34+
rm -rf /tmp/script-api-docs-update
35+
```
36+
37+
After running, summarize:
38+
- The Script API version (from index.md header like "# B2C Commerce Script API 26.2")
39+
- Number of files updated
40+
- Key changes (new classes, deprecated methods, etc.)

.claude/skills/api-client-development/SKILL.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
---
22
name: api-client-development
33
description: Creating API clients with OpenAPI specs, authentication, and OAuth scopes for SCAPI and similar APIs
4+
metadata:
5+
internal: true
46
---
57

68
# API Client Development

0 commit comments

Comments
 (0)