@cypress/json-schemas

中文文档
5.39.1发布于 2021/07/04MITTypeScriptESM + CJS近 30 天下载 4767

Cypress JSON schemas

此软件包已被标记为弃用

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

原始使用文档

@cypress/json-schemas CircleCI

Public Cypress JSON schemas

note this repository is private, but the NPM is public.

See our schema-tools repository for more documentation on how to utilize these JSON schemas.

Install

npm install

Test

Builds, runs tests, and also self documents schema changes.

Uses ava-ts to run Ava test runner directly against TypeScript test files. Use npm run test to build and test everything in the test folder.

To run a single test file, use command:

npx ava-ts test/<file-name.ts>

To update snapshots and use verbose reporter (prints test names):

npx ava-ts test/<file-name.ts> --verbose -u

Deploy

Deployment is handled by semantic-release automatically when run in CI. The release version is determined by the commit message. Your commit message should be of one of these types.

版本与发布记录

@cypress/json-schemas 共发布 186 个版本,首次发布于 2018/04/19;过去 12 个月发布了 0 个版本。

版本发布日期距今
5.39.1latest2021/07/045 年前
5.39.02021/05/115 年前
5.38.12021/04/245 年前
5.38.02021/04/015 年前
5.37.32021/03/095 年前
5.37.22021/03/095 年前

关于 @cypress/json-schemas 的常见问题

@cypress/json-schemas 是什么?

Cypress JSON schemas注意:该包已被作者标记为弃用——Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

如何安装 @cypress/json-schemas?

在项目目录运行 npm install @cypress/json-schemas,或使用 pnpm add / yarn add / bun add。

@cypress/json-schemas 支持 TypeScript 吗?

支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。

@cypress/json-schemas 支持 ESM 还是 CommonJS?

同时提供 ES Module 与 CommonJS 入口,import 和 require() 都可以使用,打包工具会自动选择合适的版本。

@cypress/json-schemas 可以商用吗?

@cypress/json-schemas 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@cypress/json-schemas 的下载量有多少?

根据 npm 官方下载统计,@cypress/json-schemas 在 2026/10/11 – 2026/11/09 这 30 天内被下载 4,767 次,日均约 159 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@cypress/json-schemas 还在维护吗?

最新版本 5.39.1 发布于 2021/07/04(5 年前);至今共发布 186 个版本,其中过去 12 个月发布了 0 个;首次发布于 2018/04/19。作者已将其标记为弃用,新项目建议寻找替代方案。