You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The B2C CLI is not yet published to npm. This installation method will be available in a future release. For now, please use Homebrew or download from GitHub Releases.
46
-
:::
12
+
## Install via npm (Recommended)
47
13
48
14
Install the CLI globally using your preferred package manager:
49
15
@@ -63,6 +29,21 @@ yarn global add @salesforce/b2c-cli
Download the latest release tarball from [GitHub Releases](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/releases) and install manually:
@@ -81,10 +62,6 @@ b2c --version
81
62
82
63
## Install the SDK (Optional)
83
64
84
-
::: warning Not Yet Available
85
-
The SDK is not yet published to npm. This installation method will be available in a future release.
86
-
:::
87
-
88
65
If you want to use the SDK library in your own projects:
Copy file name to clipboardExpand all lines: docs/guide/security.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -60,6 +60,10 @@ When adding a new dependency that requires build scripts:
60
60
2. Review what the build script does
61
61
3. Add it to `onlyBuiltDependencies` if necessary
62
62
63
+
## NPM Trusted Publishing
64
+
65
+
This project uses [NPM trusted publishers](https://docs.npmjs.com/trusted-publishers) for package publication. Instead of storing long-lived npm tokens, packages are published via GitHub Actions using short-lived OIDC tokens that cannot be extracted or reused.
0 commit comments