@coze-arch/cli 0.1.4-alpha.007b56 → 0.1.4-alpha.4711a7

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.
package/lib/cli.js CHANGED
@@ -2114,7 +2114,7 @@ const EventBuilder = {
2114
2114
  };
2115
2115
 
2116
2116
  var name = "@coze-arch/cli";
2117
- var version = "0.1.4-alpha.007b56";
2117
+ var version = "0.1.4-alpha.4711a7";
2118
2118
  var description = "coze coding devtools cli";
2119
2119
  var license = "MIT";
2120
2120
  var author = "fanwenjie.fe@bytedance.com";
@@ -12266,7 +12266,9 @@ const EXCLUDED_PARTS = new Set([
12266
12266
  '.env',
12267
12267
  'node_modules',
12268
12268
  ]);
12269
- const REPRODUCIBLE_ARCHIVE_MTIME = new Date(0);
12269
+ // Keep archives reproducible while remaining compatible with downstream ZIP
12270
+ // packaging, whose timestamp range starts in 1980.
12271
+ const REPRODUCIBLE_ARCHIVE_MTIME = new Date('2000-01-01T00:00:00.000Z');
12270
12272
 
12271
12273
  const validateBuildOutput = async (
12272
12274
  sourceRoot,
@@ -35,7 +35,10 @@ const LOCAL_METADATA_FILES = new Set([
35
35
  '.host.json',
36
36
  ]);
37
37
  const UPLOAD_SESSION_TEMP_PREFIX = '.coze-deploy-upload-';
38
- const REPRODUCIBLE_ARCHIVE_MTIME = new Date(0);
38
+ // Keep archives reproducible without producing timestamps that ZIP cannot
39
+ // represent when the Deploy service repackages the source. Using 2000 also
40
+ // avoids the 1980 lower-bound edge in tools that apply a local timezone.
41
+ const REPRODUCIBLE_ARCHIVE_MTIME = new Date('2000-01-01T00:00:00.000Z');
39
42
  const PROJECT_METADATA_FILE_MODE = 0o644;
40
43
 
41
44
  const parseArguments = argv => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coze-arch/cli",
3
- "version": "0.1.4-alpha.007b56",
3
+ "version": "0.1.4-alpha.4711a7",
4
4
  "private": false,
5
5
  "description": "coze coding devtools cli",
6
6
  "license": "MIT",