@qmuse/qmuse-cli 1.0.3-dev.6 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
- export const MAX_IMPORT_ARCHIVE_BYTES = 10 * 1024 * 1024;
1
+ export const MAX_IMPORT_ARCHIVE_BYTES = 50 * 1024 * 1024;
2
2
  export function assertImportArchiveSize(sizeBytes) {
3
3
  if (sizeBytes > MAX_IMPORT_ARCHIVE_BYTES) {
4
- throw new Error(`源码压缩包超过 10 MiB 上传上限:当前 ${(sizeBytes / 1024 / 1024).toFixed(2)} MiB(${sizeBytes} 字节)。请将不参与运行的生成产物加入 .gitignore 后重试`);
4
+ throw new Error(`源码压缩包超过 50 MiB 上传上限:当前 ${(sizeBytes / 1024 / 1024).toFixed(2)} MiB(${sizeBytes} 字节)。请将不参与运行的生成产物加入 .gitignore 后重试`);
5
5
  }
6
6
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qmuse/qmuse-cli",
3
- "version": "1.0.3-dev.6",
3
+ "version": "1.0.4",
4
4
  "description": "将本地 React 项目安全导入 QMuse 的命令行客户端",
5
5
  "type": "module",
6
6
  "bin": {