# 使用 npm 安装 sanity-codegen

查看 sanity-codegen 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install npm:sanity-codegen
```

其他安装命令:

### 便携式和语言管理器

- npm (100%):

```sh
npm install -g sanity-codegen
```

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:sanity-codegen
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/sanity-codegen>
- **版本:** 0.9.8
- **来源摘要:** > ### 👋 A new version is approaching! > > There are a lot of new features (include GROQ codegen!) and changes coming to this lib soon. See this issue for the 1.0 roadmap and for ways you can contri
- **主页:** <https://github.com/ricokahler/sanity-codegen#readme>
- **仓库:** <https://github.com/ricokahler/sanity-codegen>
- **上游文档:** <https://github.com/ricokahler/sanity-codegen#readme>
- **许可证:** MIT
- **源码归档:** <https://registry.npmjs.org/sanity-codegen/-/sanity-codegen-0.9.8.tgz>
- **问题跟踪器:** <https://github.com/ricokahler/sanity-codegen/issues>
- **发布时间:** 2021-11-15T01:22:24.716Z
- **最后更新:** 2021-11-15T01:22:24.716Z
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- sanity-codegen (cli)
- sanity-codegen (别名)

## 依赖

- @babel/plugin-proposal-class-properties
- @babel/plugin-proposal-nullish-coalescing-operator
- @babel/plugin-proposal-numeric-separator
- @babel/plugin-proposal-optional-chaining
- @babel/plugin-transform-runtime
- @babel/register
- @types/prettier
- babel-plugin-css-modules-transform
- babel-plugin-module-resolver
- jsdom-global
- regenerator-runtime

## 安装行为

- post-install 钩子: 未定义
- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 0.9.8
- 管理器更新时间: 2021-11-15
- 本地数据: OK
- 上游仓库: https://github.com/ricokahler/sanity-codegen
- 警告: The package-manager record has not been updated in over a year.
- 信息: No cached GitHub release or tag data was available.

## 安全说明

没有找到 sanity-codegen 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Alpha: 1.0.0-alpha.45, Latest: 0.9.8
- **Version Count:** 92
- **Maintainers:** ricokahler
- **Author:** Rico Kahler
- **Publisher:** ricokahler
- **Peer Dependencies:** @babel/core, @babel/preset-env, @babel/preset-react, @babel/preset-typescript, prettier
- **Integrity:** sha512-kwyBQioWD4UJBgi1RJx8J/HQ4i753yLgnL5MUwbuAyJZrO9W33anNNawbtcePw9PK+5+IovbSLOs+xicULb2hA==
- **Shasum:** b09b2021e8908a0f9bd7a0db7e8f0b8e1f9ffb57
- **Unpacked Size:** 78,634
- **File Count:** 0
- **Created At:** 2020-11-29T10:54:48.204Z
- **Latest Published At:** 2021-11-15T01:22:24.716Z
- **Modified At:** 2023-05-10T16:21:40.259Z


## 相关链接

- [Cloud CLI packages](https://www.automicvault.com/zh-hans/pkg/cloud-clis/) - Matched curated package taxonomy and local package facts.
- [serverless-bundle](https://www.automicvault.com/zh-hans/pkg/npm/serverless-bundle/) - Local package facts share a topical domain. Shared terms: babel, chaining, class, cli, cloud.
- [storyblok-generate-ts](https://www.automicvault.com/zh-hans/pkg/npm/storyblok-generate-ts/) - Local package facts share a topical domain. Shared terms: cli, cloud, cloud-infrastructure, cms, codegen.
- [sanity](https://www.automicvault.com/zh-hans/pkg/npm/sanity/) - Package names and metadata indicate a similar tool family. Shared terms: cli, cloud, cloud-infrastructure, cms, groq.

## 来源

- Nucleus package database
- package-page enrichment
- package version freshness
- av.db category and tag curation
- package relationship graph
- cross-ecosystem install command graph
