Skip to content

Commit 2af92f7

Browse files
committed
Visual Editor: Update
1 parent 0d80125 commit 2af92f7

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

fern/products/sdks/overview/typescript/publishing-to-npm.mdx

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ title: Publishing to npm
33
description: How to publish the Fern TypeScript SDK to npm.
44
---
55

6-
Publish your public-facing Fern TypeScript SDK to the [npm
7-
registry](https://www.npmjs.com/). After following the steps on this page,
8-
you'll have a versioned package published on npm.
6+
Publish your public-facing Fern TypeScript SDK to the [npm registry](https://www.npmjs.com/). After following the steps on this page, you'll have a versioned package published on npm.
7+
8+
Deep made a change!!!
99

1010
<Frame>
11-
<img src="assets/npm-packages.png" alt="Versioned package published on npm" />
11+
<img src="file:3afaf258-4304-4245-8cef-fb9bd4909581" alt="Versioned package published on npm" />
1212
</Frame>
1313

1414
<Info>
@@ -35,7 +35,7 @@ you'll have a versioned package published on npm.
3535
ts-sdk: # Group name for your TypeScript SDK
3636
generators:
3737
- name: fernapi/fern-typescript-sdk
38-
version: <Markdown src="/snippets/typescript-sdk-version.mdx"/>
38+
version: 2.5.0
3939
output:
4040
location: npm
4141

@@ -52,7 +52,7 @@ groups:
5252
ts-sdk:
5353
generators:
5454
- name: fernapi/fern-typescript-sdk
55-
version: <Markdown src="/snippets/typescript-sdk-version.mdx"/>
55+
version: 2.5.0
5656
output:
5757
location: npm
5858
package-name: your-package-name
@@ -70,7 +70,7 @@ groups:
7070
ts-sdk:
7171
generators:
7272
- name: fernapi/fern-typescript-sdk
73-
version: <Markdown src="/snippets/typescript-sdk-version.mdx"/>
73+
version: 2.5.0
7474
output:
7575
location: npm
7676
package-name: your-package-name
@@ -89,7 +89,7 @@ groups:
8989
ts-sdk:
9090
generators:
9191
- name: fernapi/fern-typescript-sdk
92-
version: <Markdown src="/snippets/typescript-sdk-version.mdx"/>
92+
version: 2.5.0
9393
output:
9494
location: npm
9595
package-name: your-package-name
@@ -136,7 +136,7 @@ groups:
136136
<Warning>Save your new token – it won’t be displayed after you leave the page.</Warning>
137137

138138
<Frame>
139-
<img src="assets/npm-automation-token.png" alt="Creating NPM Automation Token" />
139+
<img src="file:fb37cb53-1eb0-4486-ab6a-248135d769f4" alt="Creating NPM Automation Token" />
140140
</Frame>
141141

142142
</Accordion>
@@ -152,7 +152,7 @@ groups:
152152
<Warning>Save your new token – it won’t be displayed after you leave the page.</Warning>
153153

154154
<Frame>
155-
<img src="assets/granular-access-token.png" alt="Creating Granular Access Token" />
155+
<img src="file:8a9eb374-127c-4f03-926a-6b987150edec" alt="Creating Granular Access Token" />
156156
</Frame>
157157

158158
</Accordion>
@@ -177,7 +177,7 @@ Set up a release workflow via [GitHub Actions](https://docs.github.com/en/action
177177
Open your Fern repository in GitHub. Click on the **Settings** tab in your repository. Then, under the **Security** section, open **Secrets and variables** > **Actions**.
178178

179179
<Frame>
180-
<img src="assets/github-secret.png" alt="Adding GitHub Repository Secret" />
180+
<img src="file:18b8f1bc-85ca-4aa1-97ba-7b0dbe27bc88" alt="Adding GitHub Repository Secret" />
181181
</Frame>
182182

183183
You can also use the url `https://github.com/<your-repo>/settings/secrets/actions`.
@@ -191,7 +191,7 @@ Set up a release workflow via [GitHub Actions](https://docs.github.com/en/action
191191
1. Click **Add secret**.
192192

193193
<Frame>
194-
<img src="assets/npm-token-secret.png" alt="NPM_TOKEN secret" />
194+
<img src="file:33df8efe-2d45-4790-b612-7cdb57200877" alt="NPM_TOKEN secret" />
195195
</Frame>
196196

197197
</Step>
@@ -205,7 +205,7 @@ Set up a release workflow via [GitHub Actions](https://docs.github.com/en/action
205205
1. Click **Add secret**.
206206

207207
<Frame>
208-
<img src="assets/npm-token-secret.png" alt="NPM_TOKEN secret" />
208+
<img src="file:33df8efe-2d45-4790-b612-7cdb57200877" alt="NPM_TOKEN secret" />
209209
</Frame>
210210

211211
</Step>
@@ -248,7 +248,7 @@ Set up a release workflow via [GitHub Actions](https://docs.github.com/en/action
248248
click **Run workflow**.
249249

250250
<Frame>
251-
<img src="assets/ts-sdk-release-action.png" alt="Running TS publish workflow" />
251+
<img src="file:740c3de5-b652-47ef-b643-8026bfb3ced9" alt="Running TS publish workflow" />
252252
</Frame>
253253
254254
Once your workflow completes, log back into npm and
@@ -269,7 +269,7 @@ groups:
269269
ts-sdk:
270270
generators:
271271
- name: fernapi/fern-typescript-sdk
272-
version: <Markdown src="/snippets/typescript-sdk-version.mdx"/>
272+
version: 2.5.0
273273
output:
274274
location: npm
275275
package-name: name-of-your-package

0 commit comments

Comments
 (0)