Skip to content

Commit ecff284

Browse files
authored
chore: remove beta disclaimers (#47)
1 parent d8a57a9 commit ecff284

File tree

4 files changed

+6
-13
lines changed

4 files changed

+6
-13
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# @sanity/codegen
22

3-
Codegen toolkit for Sanity.io, used to generate Typescript types for a Sanity Schema & GROQ queries. This package is currently in an experimental state, and subject to change.
3+
Codegen toolkit for Sanity.io, used to generate Typescript types for a Sanity Schema & GROQ queries.

oclif.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default {
55
plugins: ['@oclif/plugin-help'],
66
topics: {
77
typegen: {
8-
description: 'Beta: Generate TypeScript types for schema and GROQ',
8+
description: 'Generate TypeScript types for schema and GROQ',
99
},
1010
},
1111
topicSeparator: ' ',

src/commands/typegen/__tests__/generate.test.ts

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ describe('#typegen:generate', () => {
2929
const {stdout} = await runCommand('typegen generate --help')
3030

3131
expect(stdout).toMatchInlineSnapshot(`
32-
"Sanity TypeGen (Beta)
32+
"Sanity TypeGen
3333
3434
USAGE
3535
$ sanity typegen generate [--config-path <value>] [--watch]
@@ -42,9 +42,7 @@ describe('#typegen:generate', () => {
4242
--watch [Default: false] Run the typegen in watch mode
4343
4444
DESCRIPTION
45-
Sanity TypeGen (Beta)
46-
This command is currently in beta and may undergo significant changes.
47-
Feedback is welcome!
45+
Sanity TypeGen
4846
4947
Configuration:
5048
This command can utilize configuration settings defined in a
@@ -71,9 +69,6 @@ describe('#typegen:generate', () => {
7169
- The \`sanity schema extract\` command is a prerequisite for extracting your
7270
Sanity Studio schema into a \`schema.json\` file, which is then used by the
7371
\`sanity typegen generate\` command to generate type definitions.
74-
- While this tool is in beta, we encourage you to experiment with these
75-
configurations and provide feedback to help improve its functionality and
76-
usability.
7772
7873
EXAMPLES
7974
Generate TypeScript type definitions from a Sanity Studio schema extracted

src/commands/typegen/generate.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ import {TypegenWatchModeTrace, TypesGeneratedTrace} from '../../typegen.telemetr
1313
import {debug} from '../../utils/debug.js'
1414
import {promiseWithResolvers} from '../../utils/promiseWithResolvers.js'
1515

16-
const description = `Sanity TypeGen (Beta)
17-
This command is currently in beta and may undergo significant changes. Feedback is welcome!
16+
const description = `Sanity TypeGen
1817
1918
${styleText('bold', 'Configuration:')}
2019
This command can utilize configuration settings defined in a \`sanity-typegen.json\` file. These settings include:
@@ -31,8 +30,7 @@ This command can utilize configuration settings defined in a \`sanity-typegen.js
3130
The default configuration values listed above are used if not overridden in your \`sanity-typegen.json\` configuration file. To customize the behavior of the type generation, adjust these properties in the configuration file according to your project's needs.
3231
3332
${styleText('bold', 'Note:')}
34-
- The \`sanity schema extract\` command is a prerequisite for extracting your Sanity Studio schema into a \`schema.json\` file, which is then used by the \`sanity typegen generate\` command to generate type definitions.
35-
- While this tool is in beta, we encourage you to experiment with these configurations and provide feedback to help improve its functionality and usability.`.trim()
33+
- The \`sanity schema extract\` command is a prerequisite for extracting your Sanity Studio schema into a \`schema.json\` file, which is then used by the \`sanity typegen generate\` command to generate type definitions.`.trim()
3634

3735
/**
3836
* @internal

0 commit comments

Comments
 (0)