@alifd/adaptor-generate

中文文档
0.2.5发布于 2020/04/02MITESM + CJS近 30 天下载 1692

Next adaptor generate

原始使用文档
文档目录12 节
  1. Available Scripts
  2. yarn start
  3. yarn test
  4. yarn build
  5. npm run eject
  6. Learn More
  7. Code Splitting
  8. Analyzing the Bundle Size
  9. Making a Progressive Web App
  10. Advanced Configuration
  11. Deployment
  12. yarn build fails to minify

This project was bootstrapped with Create React App.

Available Scripts

In the project directory, you can run:

yarn start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

yarn test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

yarn build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

npm run eject

Note: this is a one-way operation. Once you eject, you can’t go back!

If you aren’t satisfied with the build tool and configuration choices, you can eject at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (Webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except eject will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.

You don’t have to ever use eject. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.

Learn More

You can learn more in the Create React App documentation.

To learn React, check out the React documentation.

Code Splitting

This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting

Analyzing the Bundle Size

This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size

Making a Progressive Web App

This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app

Advanced Configuration

This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration

Deployment

This section has moved here: https://facebook.github.io/create-react-app/docs/deployment

yarn build fails to minify

This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify

版本与发布记录

@alifd/adaptor-generate 共发布 9 个版本,首次发布于 2019/04/22;过去 12 个月发布了 0 个版本。

版本发布日期距今
0.2.5latest2020/04/026 年前
0.2.42020/01/036 年前
0.2.32019/07/127 年前
0.2.22019/07/127 年前
0.2.12019/05/317 年前
0.1.32019/05/157 年前

关于 @alifd/adaptor-generate 的常见问题

@alifd/adaptor-generate 是什么?

Next adaptor generate

如何安装 @alifd/adaptor-generate?

在项目目录运行 npm install @alifd/adaptor-generate,或使用 pnpm add / yarn add / bun add。它还需要宿主项目提供 peer 依赖:react(^16.8.6)、react-dom(^16.8.6)。npm 7 及以上与 pnpm 8 及以上默认会自动安装必需的 peer 依赖,Yarn 需要手动安装。

@alifd/adaptor-generate 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/alifd__adaptor-generate 是否存在。

@alifd/adaptor-generate 支持 ESM 还是 CommonJS?

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

@alifd/adaptor-generate 可以商用吗?

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

@alifd/adaptor-generate 的下载量有多少?

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

@alifd/adaptor-generate 还在维护吗?

最新版本 0.2.5 发布于 2020/04/02(6 年前);至今共发布 9 个版本,其中过去 12 个月发布了 0 个;首次发布于 2019/04/22。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。