@salesforce/b2c-tooling-sdk 1.12.0 → 1.13.0
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.
|
@@ -2,14 +2,15 @@ import type { SkillSet, SkillSourceConfig } from './types.js';
|
|
|
2
2
|
/**
|
|
3
3
|
* Registry mapping skill sets to their source configurations.
|
|
4
4
|
*
|
|
5
|
-
* Each skill set (b2c, b2c-cli, storefront-next, cap-dev)
|
|
6
|
-
* GitHub repository and download configuration for
|
|
5
|
+
* Each skill set (b2c, b2c-cli, storefront-next, storefront-next-figma, cap-dev)
|
|
6
|
+
* maps to its respective GitHub repository and download configuration for
|
|
7
|
+
* artifact retrieval.
|
|
7
8
|
*/
|
|
8
9
|
export declare const SKILL_SOURCES: Record<SkillSet, SkillSourceConfig>;
|
|
9
10
|
/**
|
|
10
11
|
* Get the source configuration for a specific skill set.
|
|
11
12
|
*
|
|
12
|
-
* @param skillSet - The skill set identifier ('b2c', 'b2c-cli', 'storefront-next', or 'cap-dev')
|
|
13
|
+
* @param skillSet - The skill set identifier ('b2c', 'b2c-cli', 'storefront-next', 'storefront-next-figma', or 'cap-dev')
|
|
13
14
|
* @returns The source configuration for the skill set
|
|
14
15
|
* @throws Error if the skill set is not recognized
|
|
15
16
|
*/
|
|
@@ -10,8 +10,9 @@ function pluginsTag(version) {
|
|
|
10
10
|
/**
|
|
11
11
|
* Registry mapping skill sets to their source configurations.
|
|
12
12
|
*
|
|
13
|
-
* Each skill set (b2c, b2c-cli, storefront-next, cap-dev)
|
|
14
|
-
* GitHub repository and download configuration for
|
|
13
|
+
* Each skill set (b2c, b2c-cli, storefront-next, storefront-next-figma, cap-dev)
|
|
14
|
+
* maps to its respective GitHub repository and download configuration for
|
|
15
|
+
* artifact retrieval.
|
|
15
16
|
*/
|
|
16
17
|
export const SKILL_SOURCES = {
|
|
17
18
|
b2c: {
|
|
@@ -38,6 +39,14 @@ export const SKILL_SOURCES = {
|
|
|
38
39
|
assetName: 'storefront-next-skills.zip',
|
|
39
40
|
tagPattern: pluginsTag,
|
|
40
41
|
},
|
|
42
|
+
'storefront-next-figma': {
|
|
43
|
+
id: 'storefront-next-figma',
|
|
44
|
+
displayName: 'Storefront Next Figma design-kit skills (requires the Figma MCP server)',
|
|
45
|
+
type: 'release-artifact',
|
|
46
|
+
repo: 'SalesforceCommerceCloud/b2c-developer-tooling',
|
|
47
|
+
assetName: 'storefront-next-figma-skills.zip',
|
|
48
|
+
tagPattern: pluginsTag,
|
|
49
|
+
},
|
|
41
50
|
'cap-dev': {
|
|
42
51
|
id: 'cap-dev',
|
|
43
52
|
displayName: 'Commerce Apps development skills',
|
|
@@ -50,7 +59,7 @@ export const SKILL_SOURCES = {
|
|
|
50
59
|
/**
|
|
51
60
|
* Get the source configuration for a specific skill set.
|
|
52
61
|
*
|
|
53
|
-
* @param skillSet - The skill set identifier ('b2c', 'b2c-cli', 'storefront-next', or 'cap-dev')
|
|
62
|
+
* @param skillSet - The skill set identifier ('b2c', 'b2c-cli', 'storefront-next', 'storefront-next-figma', or 'cap-dev')
|
|
54
63
|
* @returns The source configuration for the skill set
|
|
55
64
|
* @throws Error if the skill set is not recognized
|
|
56
65
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sources.js","sourceRoot":"","sources":["../../../src/skills/sources.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH,SAAS,UAAU,CAAC,OAAe;IACjC,MAAM,IAAI,GAAG,OAAO,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;IACvC,OAAO,qBAAqB,IAAI,EAAE,CAAC;AACrC,CAAC;AAED
|
|
1
|
+
{"version":3,"file":"sources.js","sourceRoot":"","sources":["../../../src/skills/sources.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH,SAAS,UAAU,CAAC,OAAe;IACjC,MAAM,IAAI,GAAG,OAAO,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;IACv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OAAO,MAAM,CAAC;AAChB,CAAC;AAED;;;GAGG;AACH,MAAM,CAAC,MAAM,cAAc,GAAe,MAAM,CAAC,IAAI,CAAC,aAAa,CAAe,CAAC"}
|
|
@@ -5,7 +5,7 @@ export type IdeType = 'claude-code' | 'cursor' | 'windsurf' | 'vscode' | 'codex'
|
|
|
5
5
|
/**
|
|
6
6
|
* Skill set categories matching the plugins directory structure.
|
|
7
7
|
*/
|
|
8
|
-
export type SkillSet = 'b2c' | 'b2c-cli' | 'cap-dev' | 'storefront-next';
|
|
8
|
+
export type SkillSet = 'b2c' | 'b2c-cli' | 'cap-dev' | 'storefront-next' | 'storefront-next-figma';
|
|
9
9
|
/**
|
|
10
10
|
* Configuration for a skill source — defines how to fetch skills from a particular repository.
|
|
11
11
|
*/
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/b2c-tooling-sdk",
|
|
3
3
|
"description": "Core tooling library for Salesforce B2C Commerce CLI",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.13.0",
|
|
5
5
|
"author": "Charles Lavery",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"repository": "SalesforceCommerceCloud/b2c-developer-tooling",
|