@atlaspack/cli

中文文档
2.15.28发布于 2026/09/16(MIT OR Apache-2.0)TypeScriptCommonJS近 30 天下载 1975

Blazing fast, zero configuration web application bundler

原始使用文档
文档目录7 节
  1. Prerequisites
  2. Installation
  3. Usage
  4. Documentation
  5. Tests
  6. Contributions
  7. License

Atlaspack

Atlassian license

Atlaspack is the frontend bundler used to build Atlassian products, written in JavaScript and Rust by core contributors of Parcel. It has been engineered to bundle exceptionally large applications and serve the needs of our products. While you are welcome to try out atlaspack, we do not plan to support use-cases outside of Atlassian at this time. Therefore, we advise against using atlaspack in production environments.

[!NOTE] This repository is currently a direct fork of Parcel that will diverge over time to better handle the needs and scale required by Atlassian

Special thanks to Devon for his invaluable contributions, guidance, and wisdom in shaping the foundations of the Atlassian bundler!

Prerequisites

Installation

npm install --save-dev @atlaspack/cli

Usage

atlaspack src/index.html

src/index.html

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <title>Atlaspack App</title>
    <script type="module" src="app.js"></script>
  </head>
  <body>
    <h1>Hello, World!</h1>
  </body>
</html>

src/app.js

console.log('Hello, World!');

Documentation

Check the docs website or the docs folder.

Tests

yarn test

Contributions

Please see CONTRIBUTING.md for details.

License

Copyright (c) 2024 Atlassian US., Inc. Apache 2.0 licensed, see LICENSE file.

Prior to 096a255d54474b58b80c659274c4604ed67c9039 contributions were released under the MIT license, see OLD_LICENSE.


With ❤️ from Atlassian

版本与发布记录

@atlaspack/cli 共发布 1,055 个版本,首次发布于 2024/08/20;过去 12 个月发布了 252 个版本。

版本发布日期距今
2.15.28latest2026/09/161 个月前
2.13.7-canary.5002026/09/161 个月前
2.13.7-canary.4992026/09/151 个月前
2.13.7-canary.4932026/07/163 个月前
2.13.7-canary.4922026/07/153 个月前
2.15.272026/06/224 个月前

其他发布通道:alshdevreleasescript → 2.13.19-alshdevreleasescript.0,alshintegrationtestslib → 2.13.19-alshintegrationtestslib.0,unified → 2.13.22-unified-f165f7d09.0,noselfbuild → 2.13.22-noselfbuild-63bde801d.0,typescript → 2.13.26-typescript-17c3d1dec.0,dev-inline-requires-reuse → 2.14.4-dev-inline-requires-reuse-bdc9ca9c3.0。

关于 @atlaspack/cli 的常见问题

@atlaspack/cli 是什么?

Blazing fast, zero configuration web application bundler

如何安装 @atlaspack/cli?

在项目目录运行 npm install @atlaspack/cli,或使用 pnpm add / yarn add / bun add。它还提供命令行工具 atlaspack,可以用 npx atlaspack 直接运行。

@atlaspack/cli 支持 TypeScript 吗?

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

@atlaspack/cli 支持 ESM 还是 CommonJS?

以 CommonJS 形式发布,可以直接 require();在 ES Module 项目中也可以用 import 引入(Node.js 会把 module.exports 作为默认导出)。

@atlaspack/cli 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >= 16.0.0。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

@atlaspack/cli 可以商用吗?

@atlaspack/cli 使用 (MIT OR Apache-2.0) 许可。可在 MIT、Apache-2.0 中任选其一遵守。选择 MIT 时,宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@atlaspack/cli 的下载量有多少?

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

@atlaspack/cli 还在维护吗?

最新版本 2.15.28 发布于 2026/09/16(1 个月前);至今共发布 1055 个版本,其中过去 12 个月发布了 252 个;首次发布于 2024/08/20。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。