Skip to content

Commit 3f2eb21

Browse files
committed
Merge remote-tracking branch 'origin/main' into feature/scaffolding-framework
2 parents 674b461 + e9c1b23 commit 3f2eb21

103 files changed

Lines changed: 4660 additions & 1490 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

.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
}

.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

.claude/skills/cli-command-development/SKILL.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
---
22
name: cli-command-development
33
description: Creating new CLI commands and topics for the B2C CLI using oclif
4+
metadata:
5+
internal: true
46
---
57

68
# CLI Command Development
@@ -330,6 +332,6 @@ See [API Client Development](../api-client-development/SKILL.md#error-handling)
330332
5. Implement `run()` method with proper return type
331333
6. Add topic to `package.json` if new
332334
7. Add i18n keys for all user-facing strings
333-
8. Update skill in `plugins/b2c-cli/skills/b2c-<topic>/SKILL.md` if exists
335+
8. Update skill in `skills/b2c-cli/skills/b2c-<topic>/SKILL.md` if exists
334336
9. Update CLI reference docs in `docs/cli/<topic>.md`
335337
10. Build and test: `pnpm run build && pnpm --filter @salesforce/b2c-cli run test`

.claude/skills/documentation/SKILL.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
---
22
name: documentation
33
description: Updating user guides, CLI reference, and API documentation for the B2C CLI project
4+
metadata:
5+
internal: true
46
---
57

68
# Documentation
@@ -323,7 +325,7 @@ When adding new CLI commands or guide pages, update the sidebar config.
323325

324326
## Claude Code Skills (Plugin)
325327

326-
The `plugins/b2c-cli/skills/` directory contains skills that teach Claude about using the CLI commands. These are distributed via the plugin.
328+
The `skills/b2c-cli/skills/` directory contains skills that teach Claude about using the CLI commands. These are distributed via the plugin.
327329

328330
When to update:
329331
- New CLI commands added
@@ -364,7 +366,7 @@ b2c <topic> <command> --flag value
364366

365367
1. Update `docs/cli/<topic>.md` with command documentation
366368
2. Update `docs/.vitepress/config.mts` sidebar if new topic
367-
3. Update `plugins/b2c-cli/skills/b2c-<topic>/SKILL.md` with examples
369+
3. Update `skills/b2c-cli/skills/b2c-<topic>/SKILL.md` with examples
368370

369371
### When Adding an SDK Module
370372

@@ -376,7 +378,7 @@ b2c <topic> <command> --flag value
376378
### When Changing CLI Behavior
377379

378380
1. Update affected examples in `docs/cli/*.md`
379-
2. Update affected examples in `plugins/b2c-cli/skills/*/SKILL.md`
381+
2. Update affected examples in `skills/b2c-cli/skills/*/SKILL.md`
380382
3. Update guide pages if conceptual changes
381383

382384
### When Adding Configuration Options

.claude/skills/sdk-module-development/SKILL.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
---
22
name: sdk-module-development
33
description: Adding new modules and exports to the @salesforce/b2c-tooling-sdk package
4+
metadata:
5+
internal: true
46
---
57

68
# SDK Module Development

.claude/skills/skill-authoring/SKILL.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
---
22
name: skill-authoring
33
description: Guide for creating and maintaining user-facing agent skills
4+
metadata:
5+
internal: true
46
---
57

68
# Skill Authoring Guide

.claude/skills/testing/SKILL.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
---
22
name: testing
33
description: Writing tests for the B2C CLI project using Mocha, Chai, and MSW
4+
metadata:
5+
internal: true
46
---
57

68
# Testing

.github/workflows/e2e-tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
node-version: [22.x]
3939
runs-on: ubuntu-latest
4040
environment: e2e-dev
41-
timeout-minutes: 25
41+
timeout-minutes: 40
4242
steps:
4343
- uses: actions/checkout@v4
4444
- uses: actions/setup-node@v4
@@ -110,8 +110,8 @@ jobs:
110110
echo "Running E2E tests with realm: ${TEST_REALM}"
111111
echo "Node version: $(node --version)"
112112
113-
# Run E2E tests with JSON reporter for test results
114-
pnpm run test:e2e && pnpm run lint
113+
# Run E2E tests with CI reporter (outputs test-results.json)
114+
pnpm run test:e2e:ci && pnpm run lint
115115
116116
- name: E2E Test Report
117117
uses: dorny/test-reporter@fe45e9537387dac839af0d33ba56eed8e24189e8 # v2.3.0

.github/workflows/publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -142,11 +142,11 @@ jobs:
142142
- name: Package skills artifacts
143143
if: steps.release-type.outputs.type == 'stable'
144144
run: |
145-
# Create b2c-skills.zip containing plugins/b2c/skills/
146-
cd plugins/b2c && zip -r ../../b2c-skills.zip skills/
145+
# Create b2c-skills.zip containing skills/b2c/skills/
146+
cd skills/b2c && zip -r ../../b2c-skills.zip skills/
147147
cd ../..
148-
# Create b2c-cli-skills.zip containing plugins/b2c-cli/skills/
149-
cd plugins/b2c-cli && zip -r ../../b2c-cli-skills.zip skills/
148+
# Create b2c-cli-skills.zip containing skills/b2c-cli/skills/
149+
cd skills/b2c-cli && zip -r ../../b2c-cli-skills.zip skills/
150150
cd ../..
151151
echo "Created skills artifacts:"
152152
ls -la *.zip

0 commit comments

Comments
 (0)