Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions fern/products/sdks/overview/dotnet/quickstart.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Generate a C#/.NET SDK by following the instructions on this page.
groups:
local:
generators:
- name: fernapi/fern-typescript-node-sdk
- name: fernapi/fern-typescript-sdk
output:
location: local-file-system
path: ../sdks/typescript
Expand All @@ -44,7 +44,7 @@ Generate a C#/.NET SDK by following the instructions on this page.
```

<Note>`fern init` creates a default configuration that includes the
TypeScript Node SDK generator. The `local` group containing this
TypeScript SDK generator. The `local` group containing this
generator only generates if you run fern generate without specifying a
group, or if you explicitly target it with `fern generate --group
local`. In subsequent steps, you'll add an additional generator for your
Expand Down
4 changes: 2 additions & 2 deletions fern/products/sdks/overview/java/quickstart.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Generate a Java SDK by following the instructions on this page.
groups:
local:
generators:
- name: fernapi/fern-typescript-node-sdk
- name: fernapi/fern-typescript-sdk
output:
location: local-file-system
path: ../sdks/typescript
Expand All @@ -44,7 +44,7 @@ Generate a Java SDK by following the instructions on this page.
```

<Note>`fern init` creates a default configuration that includes the
TypeScript Node SDK generator. The `local` group containing this
TypeScript SDK generator. The `local` group containing this
generator only generates if you run fern generate without specifying a
group, or if you explicitly target it with `fern generate --group
local`. In subsequent steps, you'll add an additional generator for your
Expand Down
4 changes: 2 additions & 2 deletions fern/products/sdks/overview/php/quickstart.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Generate a PHP SDK by following the instructions on this page.
groups:
local:
generators:
- name: fernapi/fern-typescript-node-sdk
- name: fernapi/fern-typescript-sdk
output:
location: local-file-system
path: ../sdks/typescript
Expand All @@ -44,7 +44,7 @@ Generate a PHP SDK by following the instructions on this page.
```

<Note>`fern init` creates a default configuration that includes the
TypeScript Node SDK generator. The `local` group containing this
TypeScript SDK generator. The `local` group containing this
generator only generates if you run fern generate without specifying a
group, or if you explicitly target it with `fern generate --group
local`. In subsequent steps, you'll add an additional generator for your
Expand Down
4 changes: 2 additions & 2 deletions fern/products/sdks/overview/python/quickstart.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Generate a Python SDK by following the instructions on this page.
groups:
local:
generators:
- name: fernapi/fern-typescript-node-sdk
- name: fernapi/fern-typescript-sdk
output:
location: local-file-system
path: ../sdks/typescript
Expand All @@ -44,7 +44,7 @@ Generate a Python SDK by following the instructions on this page.
```

<Note>`fern init` creates a default configuration that includes the
TypeScript Node SDK generator. The `local` group containing this
TypeScript SDK generator. The `local` group containing this
generator only generates if you run fern generate without specifying a
group, or if you explicitly target it with `fern generate --group
local`. In subsequent steps, you'll add an additional generator for your
Expand Down
2 changes: 1 addition & 1 deletion fern/products/sdks/overview/ruby/quickstart.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Generate a Ruby SDK by following the instructions on this page.
```

<Note>`fern init` creates a default configuration that includes the
TypeScript Node SDK generator. The `local` group containing this
TypeScript SDK generator. The `local` group containing this
generator only generates if you run fern generate without specifying a
group, or if you explicitly target it with `fern generate --group
local`. In subsequent steps, you'll add an additional generator for your
Expand Down
2 changes: 1 addition & 1 deletion fern/products/sdks/overview/typescript/configuration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ default-group: local
groups:
local:
generators:
- name: fernapi/fern-typescript-node-sdk
- name: fernapi/fern-typescript-sdk
version: 0.7.1
config:
namespaceExport: Acme
Expand Down
23 changes: 10 additions & 13 deletions fern/products/sdks/overview/typescript/quickstart.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Generate a TypeScript SDK by following the instructions on this page.
groups:
local:
generators:
- name: fernapi/fern-typescript-node-sdk
- name: fernapi/fern-typescript-sdk
output:
location: local-file-system
path: ../sdks/typescript
Expand All @@ -43,7 +43,7 @@ Generate a TypeScript SDK by following the instructions on this page.
```

<Note>`fern init` creates a default configuration that includes the
TypeScript Node SDK generator. The `local` group containing this
TypeScript SDK generator. The `local` group containing this
generator only generates if you run fern generate without specifying a
group, or if you explicitly target it with `fern generate --group
local`. In subsequent steps, you'll add an additional generator for your
Expand All @@ -59,15 +59,15 @@ Generate a TypeScript SDK by following the instructions on this page.
Add the TypeScript SDK generator:

```bash
fern add fern-typescript-node-sdk --group sdk
fern add fern-typescript-sdk --group sdk
```

This command adds the following to `generators.yml`:

```yaml
sdk:
generators:
- name: fernapi/fern-typescript-node-sdk
- name: fernapi/fern-typescript-sdk
version: <Markdown src="/snippets/version-number.mdx"/>
output:
location: local-file-system
Expand All @@ -78,15 +78,12 @@ This command adds the following to `generators.yml`:
```bash
fern/ # created in step 1
sdks/ # created by fern generate --group sdk
├─ typescript
├─ cjs/
├─ api/
├─ core/
└─ errors/
└─ esm/
├─ api/
├─ core/
└─ errors/
├─ typescript
├─ Client.ts
├─ index.ts
├─ errors/
├─ core/
└─ api/
```

</Steps>