这是indexloc提供的服务,不要输入任何密码
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
2 changes: 1 addition & 1 deletion examples/basic/packages/ui/turbo/generators/config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { PlopTypes } from "@turbo/gen";

// Learn more about Turborepo Generators at https://turbo.build/docs/core-concepts/monorepos/code-generation
// Learn more about Turborepo Generators at https://turbo.build/docs/guides/generating-code

export default function generator(plop: PlopTypes.NodePlopAPI): void {
// A simple generator to add a new React component to the internal UI library
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { PlopTypes } from '@turbo/gen';

// Learn more about Turborepo Generators at https://turbo.build/docs/core-concepts/monorepos/code-generation
// Learn more about Turborepo Generators at https://turbo.build/docs/guides/generating-code

export default function generator(plop: PlopTypes.NodePlopAPI): void {
// A simple generator to add a new React component to the internal UI library
Expand Down
2 changes: 1 addition & 1 deletion examples/with-npm/packages/ui/turbo/generators/config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { PlopTypes } from "@turbo/gen";

// Learn more about Turborepo Generators at https://turbo.build/docs/core-concepts/monorepos/code-generation
// Learn more about Turborepo Generators at https://turbo.build/docs/guides/generating-code

export default function generator(plop: PlopTypes.NodePlopAPI): void {
// A simple generator to add a new React component to the internal UI library
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { PlopTypes } from "@turbo/gen";

// Learn more about Turborepo Generators at https://turbo.build/docs/core-concepts/monorepos/code-generation
// Learn more about Turborepo Generators at https://turbo.build/docs/guides/generating-code

export default function generator(plop: PlopTypes.NodePlopAPI): void {
// A simple generator to add a new React component to the internal UI library
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { PlopTypes } from "@turbo/gen";

// Learn more about Turborepo Generators at https://turbo.build/docs/core-concepts/monorepos/code-generation
// Learn more about Turborepo Generators at https://turbo.build/docs/guides/generating-code

export default function generator(plop: PlopTypes.NodePlopAPI): void {
// A simple generator to add a new React component to the internal UI library
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { PlopTypes } from "@turbo/gen";

// Learn more about Turborepo Generators at https://turbo.build/docs/core-concepts/monorepos/code-generation
// Learn more about Turborepo Generators at https://turbo.build/docs/guides/generating-code

export default function generator(plop: PlopTypes.NodePlopAPI): void {
// A simple generator to add a new React component to the internal UI library
Expand Down
6 changes: 3 additions & 3 deletions packages/turbo-gen/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# `@turbo/gen`
https://turbo.build/docs/guides/generating-code# `@turbo/gen`

Types for working with [Turborepo Generators](https://turbo.build/docs/core-concepts/monorepos/code-generation).
Types for working with [Turborepo Generators](https://turbo.build/docs/guides/generating-code).

## Usage

Expand Down Expand Up @@ -31,7 +31,7 @@ export default function generator(plop: PlopTypes.NodePlopAPI): void {
}
```

Learn more about Turborepo Generators in the [docs](https://turbo.build/docs/core-concepts/monorepos/code-generation)
Learn more about Turborepo Generators in the [docs](https://turbo.build/docs/guides/generating-code)

---

Expand Down
4 changes: 2 additions & 2 deletions packages/turbo-gen/src/generators/custom.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export async function generate({
} else {
logger.log();
logger.dimmed(
"Learn more about custom Turborepo generators - https://turbo.build/docs/core-concepts/monorepos/code-generation#custom-generators"
"Learn more about custom Turborepo generators - https://turbo.build/docs/guides/generating-code#custom-generators"
);
return;
}
Expand Down Expand Up @@ -87,7 +87,7 @@ export async function generate({
logger.log();
logger.info(`Congrats! You just ran your first Turborepo generator`);
logger.dimmed(
"Learn more about custom Turborepo generators - https://turbo.build/docs/core-concepts/monorepos/code-generation#custom-generators"
"Learn more about custom Turborepo generators - https://turbo.build/docs/guides/generating-code#custom-generators"
);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

### Created with Turborepo Generators

Read the docs at [turbo.build](https://turbo.build/docs/core-concepts/monorepos/code-generation).
Read the docs at [turbo.build](https://turbo.build/docs/guides/generating-code).
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

### Created with Turborepo Generators

Read the docs at [turbo.build](https://turbo.build/docs/core-concepts/monorepos/code-generation).
Read the docs at [turbo.build](https://turbo.build/docs/guides/generating-code).
Loading