create-cloudflare 2.64.3 → 2.64.5

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/dist/cli.js CHANGED
@@ -3336,7 +3336,7 @@ var require_windows = __commonJS({
3336
3336
  "../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/windows.js"(exports2, module3) {
3337
3337
  module3.exports = isexe;
3338
3338
  isexe.sync = sync;
3339
- var fs4 = require("fs");
3339
+ var fs5 = require("fs");
3340
3340
  function checkPathExt(path4, options) {
3341
3341
  var pathext = options.pathExt !== void 0 ? options.pathExt : process.env.PATHEXT;
3342
3342
  if (!pathext) {
@@ -3361,12 +3361,12 @@ var require_windows = __commonJS({
3361
3361
  return checkPathExt(path4, options);
3362
3362
  }
3363
3363
  function isexe(path4, options, cb) {
3364
- fs4.stat(path4, function(er, stat) {
3364
+ fs5.stat(path4, function(er, stat) {
3365
3365
  cb(er, er ? false : checkStat(stat, path4, options));
3366
3366
  });
3367
3367
  }
3368
3368
  function sync(path4, options) {
3369
- return checkStat(fs4.statSync(path4), path4, options);
3369
+ return checkStat(fs5.statSync(path4), path4, options);
3370
3370
  }
3371
3371
  }
3372
3372
  });
@@ -3376,14 +3376,14 @@ var require_mode = __commonJS({
3376
3376
  "../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/mode.js"(exports2, module3) {
3377
3377
  module3.exports = isexe;
3378
3378
  isexe.sync = sync;
3379
- var fs4 = require("fs");
3379
+ var fs5 = require("fs");
3380
3380
  function isexe(path4, options, cb) {
3381
- fs4.stat(path4, function(er, stat) {
3381
+ fs5.stat(path4, function(er, stat) {
3382
3382
  cb(er, er ? false : checkStat(stat, options));
3383
3383
  });
3384
3384
  }
3385
3385
  function sync(path4, options) {
3386
- return checkStat(fs4.statSync(path4), options);
3386
+ return checkStat(fs5.statSync(path4), options);
3387
3387
  }
3388
3388
  function checkStat(stat, options) {
3389
3389
  return stat.isFile() && checkMode(stat, options);
@@ -3407,7 +3407,7 @@ var require_mode = __commonJS({
3407
3407
  // ../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/index.js
3408
3408
  var require_isexe = __commonJS({
3409
3409
  "../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/index.js"(exports2, module3) {
3410
- var fs4 = require("fs");
3410
+ var fs5 = require("fs");
3411
3411
  var core;
3412
3412
  if (process.platform === "win32" || global.TESTING_WINDOWS) {
3413
3413
  core = require_windows();
@@ -3671,16 +3671,16 @@ var require_shebang_command = __commonJS({
3671
3671
  var require_readShebang = __commonJS({
3672
3672
  "../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/readShebang.js"(exports2, module3) {
3673
3673
  "use strict";
3674
- var fs4 = require("fs");
3674
+ var fs5 = require("fs");
3675
3675
  var shebangCommand = require_shebang_command();
3676
3676
  function readShebang(command2) {
3677
3677
  const size = 150;
3678
3678
  const buffer = Buffer.alloc(size);
3679
3679
  let fd;
3680
3680
  try {
3681
- fd = fs4.openSync(command2, "r");
3682
- fs4.readSync(fd, buffer, 0, size, 0);
3683
- fs4.closeSync(fd);
3681
+ fd = fs5.openSync(command2, "r");
3682
+ fs5.readSync(fd, buffer, 0, size, 0);
3683
+ fs5.closeSync(fd);
3684
3684
  } catch (e) {
3685
3685
  }
3686
3686
  return shebangCommand(buffer.toString());
@@ -31443,8 +31443,8 @@ var require_index_688c5d50 = __commonJS({
31443
31443
  };
31444
31444
  var platform$1 = process.env.__FAKE_PLATFORM__ || process.platform;
31445
31445
  var isWindows$2 = platform$1 === "win32";
31446
- var fs4 = commonjsGlobal.__FAKE_TESTING_FS__ || fs__default["default"];
31447
- var { O_CREAT, O_TRUNC, O_WRONLY, UV_FS_O_FILEMAP = 0 } = fs4.constants;
31446
+ var fs5 = commonjsGlobal.__FAKE_TESTING_FS__ || fs__default["default"];
31447
+ var { O_CREAT, O_TRUNC, O_WRONLY, UV_FS_O_FILEMAP = 0 } = fs5.constants;
31448
31448
  var fMapEnabled = isWindows$2 && !!UV_FS_O_FILEMAP;
31449
31449
  var fMapLimit = 512 * 1024;
31450
31450
  var fMapFlag = UV_FS_O_FILEMAP | O_TRUNC | O_CREAT | O_WRONLY;
@@ -33549,54 +33549,54 @@ var require_index_688c5d50 = __commonJS({
33549
33549
  chdir2.call(process, d3);
33550
33550
  };
33551
33551
  var polyfills = patch;
33552
- function patch(fs5) {
33552
+ function patch(fs6) {
33553
33553
  if (constants__default["default"].hasOwnProperty("O_SYMLINK") && process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)) {
33554
- patchLchmod(fs5);
33555
- }
33556
- if (!fs5.lutimes) {
33557
- patchLutimes(fs5);
33558
- }
33559
- fs5.chown = chownFix(fs5.chown);
33560
- fs5.fchown = chownFix(fs5.fchown);
33561
- fs5.lchown = chownFix(fs5.lchown);
33562
- fs5.chmod = chmodFix(fs5.chmod);
33563
- fs5.fchmod = chmodFix(fs5.fchmod);
33564
- fs5.lchmod = chmodFix(fs5.lchmod);
33565
- fs5.chownSync = chownFixSync(fs5.chownSync);
33566
- fs5.fchownSync = chownFixSync(fs5.fchownSync);
33567
- fs5.lchownSync = chownFixSync(fs5.lchownSync);
33568
- fs5.chmodSync = chmodFixSync(fs5.chmodSync);
33569
- fs5.fchmodSync = chmodFixSync(fs5.fchmodSync);
33570
- fs5.lchmodSync = chmodFixSync(fs5.lchmodSync);
33571
- fs5.stat = statFix(fs5.stat);
33572
- fs5.fstat = statFix(fs5.fstat);
33573
- fs5.lstat = statFix(fs5.lstat);
33574
- fs5.statSync = statFixSync(fs5.statSync);
33575
- fs5.fstatSync = statFixSync(fs5.fstatSync);
33576
- fs5.lstatSync = statFixSync(fs5.lstatSync);
33577
- if (!fs5.lchmod) {
33578
- fs5.lchmod = function(path5, mode, cb) {
33554
+ patchLchmod(fs6);
33555
+ }
33556
+ if (!fs6.lutimes) {
33557
+ patchLutimes(fs6);
33558
+ }
33559
+ fs6.chown = chownFix(fs6.chown);
33560
+ fs6.fchown = chownFix(fs6.fchown);
33561
+ fs6.lchown = chownFix(fs6.lchown);
33562
+ fs6.chmod = chmodFix(fs6.chmod);
33563
+ fs6.fchmod = chmodFix(fs6.fchmod);
33564
+ fs6.lchmod = chmodFix(fs6.lchmod);
33565
+ fs6.chownSync = chownFixSync(fs6.chownSync);
33566
+ fs6.fchownSync = chownFixSync(fs6.fchownSync);
33567
+ fs6.lchownSync = chownFixSync(fs6.lchownSync);
33568
+ fs6.chmodSync = chmodFixSync(fs6.chmodSync);
33569
+ fs6.fchmodSync = chmodFixSync(fs6.fchmodSync);
33570
+ fs6.lchmodSync = chmodFixSync(fs6.lchmodSync);
33571
+ fs6.stat = statFix(fs6.stat);
33572
+ fs6.fstat = statFix(fs6.fstat);
33573
+ fs6.lstat = statFix(fs6.lstat);
33574
+ fs6.statSync = statFixSync(fs6.statSync);
33575
+ fs6.fstatSync = statFixSync(fs6.fstatSync);
33576
+ fs6.lstatSync = statFixSync(fs6.lstatSync);
33577
+ if (!fs6.lchmod) {
33578
+ fs6.lchmod = function(path5, mode, cb) {
33579
33579
  if (cb) process.nextTick(cb);
33580
33580
  };
33581
- fs5.lchmodSync = function() {
33581
+ fs6.lchmodSync = function() {
33582
33582
  };
33583
33583
  }
33584
- if (!fs5.lchown) {
33585
- fs5.lchown = function(path5, uid, gid, cb) {
33584
+ if (!fs6.lchown) {
33585
+ fs6.lchown = function(path5, uid, gid, cb) {
33586
33586
  if (cb) process.nextTick(cb);
33587
33587
  };
33588
- fs5.lchownSync = function() {
33588
+ fs6.lchownSync = function() {
33589
33589
  };
33590
33590
  }
33591
33591
  if (platform === "win32") {
33592
- fs5.rename = /* @__PURE__ */ (function(fs$rename) {
33592
+ fs6.rename = /* @__PURE__ */ (function(fs$rename) {
33593
33593
  return function(from, to, cb) {
33594
33594
  var start = Date.now();
33595
33595
  var backoff = 0;
33596
33596
  fs$rename(from, to, function CB(er) {
33597
33597
  if (er && (er.code === "EACCES" || er.code === "EPERM") && Date.now() - start < 6e4) {
33598
33598
  setTimeout(function() {
33599
- fs5.stat(to, function(stater, st) {
33599
+ fs6.stat(to, function(stater, st) {
33600
33600
  if (stater && stater.code === "ENOENT")
33601
33601
  fs$rename(from, to, CB);
33602
33602
  else
@@ -33610,9 +33610,9 @@ var require_index_688c5d50 = __commonJS({
33610
33610
  if (cb) cb(er);
33611
33611
  });
33612
33612
  };
33613
- })(fs5.rename);
33613
+ })(fs6.rename);
33614
33614
  }
33615
- fs5.read = /* @__PURE__ */ (function(fs$read) {
33615
+ fs6.read = /* @__PURE__ */ (function(fs$read) {
33616
33616
  return function(fd, buffer, offset, length, position, callback_) {
33617
33617
  var callback;
33618
33618
  if (callback_ && typeof callback_ === "function") {
@@ -33620,20 +33620,20 @@ var require_index_688c5d50 = __commonJS({
33620
33620
  callback = function(er, _3, __) {
33621
33621
  if (er && er.code === "EAGAIN" && eagCounter < 10) {
33622
33622
  eagCounter++;
33623
- return fs$read.call(fs5, fd, buffer, offset, length, position, callback);
33623
+ return fs$read.call(fs6, fd, buffer, offset, length, position, callback);
33624
33624
  }
33625
33625
  callback_.apply(this, arguments);
33626
33626
  };
33627
33627
  }
33628
- return fs$read.call(fs5, fd, buffer, offset, length, position, callback);
33628
+ return fs$read.call(fs6, fd, buffer, offset, length, position, callback);
33629
33629
  };
33630
- })(fs5.read);
33631
- fs5.readSync = /* @__PURE__ */ (function(fs$readSync) {
33630
+ })(fs6.read);
33631
+ fs6.readSync = /* @__PURE__ */ (function(fs$readSync) {
33632
33632
  return function(fd, buffer, offset, length, position) {
33633
33633
  var eagCounter = 0;
33634
33634
  while (true) {
33635
33635
  try {
33636
- return fs$readSync.call(fs5, fd, buffer, offset, length, position);
33636
+ return fs$readSync.call(fs6, fd, buffer, offset, length, position);
33637
33637
  } catch (er) {
33638
33638
  if (er.code === "EAGAIN" && eagCounter < 10) {
33639
33639
  eagCounter++;
@@ -33643,11 +33643,11 @@ var require_index_688c5d50 = __commonJS({
33643
33643
  }
33644
33644
  }
33645
33645
  };
33646
- })(fs5.readSync);
33646
+ })(fs6.readSync);
33647
33647
  }
33648
- function patchLchmod(fs5) {
33649
- fs5.lchmod = function(path5, mode, callback) {
33650
- fs5.open(
33648
+ function patchLchmod(fs6) {
33649
+ fs6.lchmod = function(path5, mode, callback) {
33650
+ fs6.open(
33651
33651
  path5,
33652
33652
  constants__default["default"].O_WRONLY | constants__default["default"].O_SYMLINK,
33653
33653
  mode,
@@ -33656,73 +33656,73 @@ var require_index_688c5d50 = __commonJS({
33656
33656
  if (callback) callback(err);
33657
33657
  return;
33658
33658
  }
33659
- fs5.fchmod(fd, mode, function(err2) {
33660
- fs5.close(fd, function(err22) {
33659
+ fs6.fchmod(fd, mode, function(err2) {
33660
+ fs6.close(fd, function(err22) {
33661
33661
  if (callback) callback(err2 || err22);
33662
33662
  });
33663
33663
  });
33664
33664
  }
33665
33665
  );
33666
33666
  };
33667
- fs5.lchmodSync = function(path5, mode) {
33668
- var fd = fs5.openSync(path5, constants__default["default"].O_WRONLY | constants__default["default"].O_SYMLINK, mode);
33667
+ fs6.lchmodSync = function(path5, mode) {
33668
+ var fd = fs6.openSync(path5, constants__default["default"].O_WRONLY | constants__default["default"].O_SYMLINK, mode);
33669
33669
  var threw = true;
33670
33670
  var ret;
33671
33671
  try {
33672
- ret = fs5.fchmodSync(fd, mode);
33672
+ ret = fs6.fchmodSync(fd, mode);
33673
33673
  threw = false;
33674
33674
  } finally {
33675
33675
  if (threw) {
33676
33676
  try {
33677
- fs5.closeSync(fd);
33677
+ fs6.closeSync(fd);
33678
33678
  } catch (er) {
33679
33679
  }
33680
33680
  } else {
33681
- fs5.closeSync(fd);
33681
+ fs6.closeSync(fd);
33682
33682
  }
33683
33683
  }
33684
33684
  return ret;
33685
33685
  };
33686
33686
  }
33687
- function patchLutimes(fs5) {
33687
+ function patchLutimes(fs6) {
33688
33688
  if (constants__default["default"].hasOwnProperty("O_SYMLINK")) {
33689
- fs5.lutimes = function(path5, at, mt, cb) {
33690
- fs5.open(path5, constants__default["default"].O_SYMLINK, function(er, fd) {
33689
+ fs6.lutimes = function(path5, at, mt, cb) {
33690
+ fs6.open(path5, constants__default["default"].O_SYMLINK, function(er, fd) {
33691
33691
  if (er) {
33692
33692
  if (cb) cb(er);
33693
33693
  return;
33694
33694
  }
33695
- fs5.futimes(fd, at, mt, function(er2) {
33696
- fs5.close(fd, function(er22) {
33695
+ fs6.futimes(fd, at, mt, function(er2) {
33696
+ fs6.close(fd, function(er22) {
33697
33697
  if (cb) cb(er2 || er22);
33698
33698
  });
33699
33699
  });
33700
33700
  });
33701
33701
  };
33702
- fs5.lutimesSync = function(path5, at, mt) {
33703
- var fd = fs5.openSync(path5, constants__default["default"].O_SYMLINK);
33702
+ fs6.lutimesSync = function(path5, at, mt) {
33703
+ var fd = fs6.openSync(path5, constants__default["default"].O_SYMLINK);
33704
33704
  var ret;
33705
33705
  var threw = true;
33706
33706
  try {
33707
- ret = fs5.futimesSync(fd, at, mt);
33707
+ ret = fs6.futimesSync(fd, at, mt);
33708
33708
  threw = false;
33709
33709
  } finally {
33710
33710
  if (threw) {
33711
33711
  try {
33712
- fs5.closeSync(fd);
33712
+ fs6.closeSync(fd);
33713
33713
  } catch (er) {
33714
33714
  }
33715
33715
  } else {
33716
- fs5.closeSync(fd);
33716
+ fs6.closeSync(fd);
33717
33717
  }
33718
33718
  }
33719
33719
  return ret;
33720
33720
  };
33721
33721
  } else {
33722
- fs5.lutimes = function(_a2, _b2, _c2, cb) {
33722
+ fs6.lutimes = function(_a2, _b2, _c2, cb) {
33723
33723
  if (cb) process.nextTick(cb);
33724
33724
  };
33725
- fs5.lutimesSync = function() {
33725
+ fs6.lutimesSync = function() {
33726
33726
  };
33727
33727
  }
33728
33728
  }
@@ -33798,7 +33798,7 @@ var require_index_688c5d50 = __commonJS({
33798
33798
  }
33799
33799
  var Stream = Stream__default["default"].Stream;
33800
33800
  var legacyStreams = legacy;
33801
- function legacy(fs5) {
33801
+ function legacy(fs6) {
33802
33802
  return {
33803
33803
  ReadStream: ReadStream2,
33804
33804
  WriteStream: WriteStream2
@@ -33841,7 +33841,7 @@ var require_index_688c5d50 = __commonJS({
33841
33841
  });
33842
33842
  return;
33843
33843
  }
33844
- fs5.open(this.path, this.flags, this.mode, function(err, fd) {
33844
+ fs6.open(this.path, this.flags, this.mode, function(err, fd) {
33845
33845
  if (err) {
33846
33846
  self2.emit("error", err);
33847
33847
  self2.readable = false;
@@ -33880,7 +33880,7 @@ var require_index_688c5d50 = __commonJS({
33880
33880
  this.busy = false;
33881
33881
  this._queue = [];
33882
33882
  if (this.fd === null) {
33883
- this._open = fs5.open;
33883
+ this._open = fs6.open;
33884
33884
  this._queue.push([this._open, this.path, this.flags, this.mode, void 0]);
33885
33885
  this.flush();
33886
33886
  }
@@ -33926,15 +33926,15 @@ var require_index_688c5d50 = __commonJS({
33926
33926
  return rval;
33927
33927
  };
33928
33928
  })(fs__default["default"].closeSync);
33929
- function patch2(fs5) {
33930
- polyfills(fs5);
33931
- fs5.gracefulify = patch2;
33932
- fs5.FileReadStream = ReadStream2;
33933
- fs5.FileWriteStream = WriteStream2;
33934
- fs5.createReadStream = createReadStream;
33935
- fs5.createWriteStream = createWriteStream;
33936
- var fs$readFile = fs5.readFile;
33937
- fs5.readFile = readFile2;
33929
+ function patch2(fs6) {
33930
+ polyfills(fs6);
33931
+ fs6.gracefulify = patch2;
33932
+ fs6.FileReadStream = ReadStream2;
33933
+ fs6.FileWriteStream = WriteStream2;
33934
+ fs6.createReadStream = createReadStream;
33935
+ fs6.createWriteStream = createWriteStream;
33936
+ var fs$readFile = fs6.readFile;
33937
+ fs6.readFile = readFile2;
33938
33938
  function readFile2(path5, options, cb) {
33939
33939
  if (typeof options === "function")
33940
33940
  cb = options, options = null;
@@ -33951,8 +33951,8 @@ var require_index_688c5d50 = __commonJS({
33951
33951
  });
33952
33952
  }
33953
33953
  }
33954
- var fs$writeFile = fs5.writeFile;
33955
- fs5.writeFile = writeFile3;
33954
+ var fs$writeFile = fs6.writeFile;
33955
+ fs6.writeFile = writeFile3;
33956
33956
  function writeFile3(path5, data, options, cb) {
33957
33957
  if (typeof options === "function")
33958
33958
  cb = options, options = null;
@@ -33969,9 +33969,9 @@ var require_index_688c5d50 = __commonJS({
33969
33969
  });
33970
33970
  }
33971
33971
  }
33972
- var fs$appendFile = fs5.appendFile;
33972
+ var fs$appendFile = fs6.appendFile;
33973
33973
  if (fs$appendFile)
33974
- fs5.appendFile = appendFile2;
33974
+ fs6.appendFile = appendFile2;
33975
33975
  function appendFile2(path5, data, options, cb) {
33976
33976
  if (typeof options === "function")
33977
33977
  cb = options, options = null;
@@ -33988,8 +33988,8 @@ var require_index_688c5d50 = __commonJS({
33988
33988
  });
33989
33989
  }
33990
33990
  }
33991
- var fs$readdir = fs5.readdir;
33992
- fs5.readdir = readdir2;
33991
+ var fs$readdir = fs6.readdir;
33992
+ fs6.readdir = readdir2;
33993
33993
  function readdir2(path5, options, cb) {
33994
33994
  var args = [path5];
33995
33995
  if (typeof options !== "function") {
@@ -34012,21 +34012,21 @@ var require_index_688c5d50 = __commonJS({
34012
34012
  }
34013
34013
  }
34014
34014
  function go$readdir(args) {
34015
- return fs$readdir.apply(fs5, args);
34015
+ return fs$readdir.apply(fs6, args);
34016
34016
  }
34017
34017
  if (process.version.substr(0, 4) === "v0.8") {
34018
- var legStreams = legacyStreams(fs5);
34018
+ var legStreams = legacyStreams(fs6);
34019
34019
  ReadStream2 = legStreams.ReadStream;
34020
34020
  WriteStream2 = legStreams.WriteStream;
34021
34021
  }
34022
- var fs$ReadStream = fs5.ReadStream;
34022
+ var fs$ReadStream = fs6.ReadStream;
34023
34023
  ReadStream2.prototype = Object.create(fs$ReadStream.prototype);
34024
34024
  ReadStream2.prototype.open = ReadStream$open;
34025
- var fs$WriteStream = fs5.WriteStream;
34025
+ var fs$WriteStream = fs6.WriteStream;
34026
34026
  WriteStream2.prototype = Object.create(fs$WriteStream.prototype);
34027
34027
  WriteStream2.prototype.open = WriteStream$open;
34028
- fs5.ReadStream = ReadStream2;
34029
- fs5.WriteStream = WriteStream2;
34028
+ fs6.ReadStream = ReadStream2;
34029
+ fs6.WriteStream = WriteStream2;
34030
34030
  function ReadStream2(path5, options) {
34031
34031
  if (this instanceof ReadStream2)
34032
34032
  return fs$ReadStream.apply(this, arguments), this;
@@ -34071,8 +34071,8 @@ var require_index_688c5d50 = __commonJS({
34071
34071
  function createWriteStream(path5, options) {
34072
34072
  return new WriteStream2(path5, options);
34073
34073
  }
34074
- var fs$open = fs5.open;
34075
- fs5.open = open2;
34074
+ var fs$open = fs6.open;
34075
+ fs6.open = open2;
34076
34076
  function open2(path5, flags, mode, cb) {
34077
34077
  if (typeof mode === "function")
34078
34078
  cb = mode, mode = null;
@@ -34089,7 +34089,7 @@ var require_index_688c5d50 = __commonJS({
34089
34089
  });
34090
34090
  }
34091
34091
  }
34092
- return fs5;
34092
+ return fs6;
34093
34093
  }
34094
34094
  function enqueue(elem) {
34095
34095
  debug2("ENQUEUE", elem[0].name, elem[1]);
@@ -46735,11 +46735,11 @@ var require_src3 = __commonJS({
46735
46735
  var require_is_docker = __commonJS({
46736
46736
  "../../node_modules/.pnpm/is-docker@2.2.1/node_modules/is-docker/index.js"(exports2, module3) {
46737
46737
  "use strict";
46738
- var fs4 = require("fs");
46738
+ var fs5 = require("fs");
46739
46739
  var isDocker;
46740
46740
  function hasDockerEnv() {
46741
46741
  try {
46742
- fs4.statSync("/.dockerenv");
46742
+ fs5.statSync("/.dockerenv");
46743
46743
  return true;
46744
46744
  } catch (_3) {
46745
46745
  return false;
@@ -46747,7 +46747,7 @@ var require_is_docker = __commonJS({
46747
46747
  }
46748
46748
  function hasDockerCGroup() {
46749
46749
  try {
46750
- return fs4.readFileSync("/proc/self/cgroup", "utf8").includes("docker");
46750
+ return fs5.readFileSync("/proc/self/cgroup", "utf8").includes("docker");
46751
46751
  } catch (_3) {
46752
46752
  return false;
46753
46753
  }
@@ -46766,7 +46766,7 @@ var require_is_wsl = __commonJS({
46766
46766
  "../../node_modules/.pnpm/is-wsl@2.2.0/node_modules/is-wsl/index.js"(exports2, module3) {
46767
46767
  "use strict";
46768
46768
  var os5 = require("os");
46769
- var fs4 = require("fs");
46769
+ var fs5 = require("fs");
46770
46770
  var isDocker = require_is_docker();
46771
46771
  var isWsl = () => {
46772
46772
  if (process.platform !== "linux") {
@@ -46779,7 +46779,7 @@ var require_is_wsl = __commonJS({
46779
46779
  return true;
46780
46780
  }
46781
46781
  try {
46782
- return fs4.readFileSync("/proc/version", "utf8").toLowerCase().includes("microsoft") ? !isDocker() : false;
46782
+ return fs5.readFileSync("/proc/version", "utf8").toLowerCase().includes("microsoft") ? !isDocker() : false;
46783
46783
  } catch (_3) {
46784
46784
  return false;
46785
46785
  }
@@ -46820,7 +46820,7 @@ var require_open = __commonJS({
46820
46820
  "../../node_modules/.pnpm/open@8.4.0/node_modules/open/index.js"(exports2, module3) {
46821
46821
  var path4 = require("path");
46822
46822
  var childProcess = require("child_process");
46823
- var { promises: fs4, constants: fsConstants } = require("fs");
46823
+ var { promises: fs5, constants: fsConstants } = require("fs");
46824
46824
  var isWsl = require_is_wsl();
46825
46825
  var isDocker = require_is_docker();
46826
46826
  var defineLazyProperty = require_define_lazy_prop();
@@ -46836,14 +46836,14 @@ var require_open = __commonJS({
46836
46836
  const configFilePath = "/etc/wsl.conf";
46837
46837
  let isConfigFileExists = false;
46838
46838
  try {
46839
- await fs4.access(configFilePath, fsConstants.F_OK);
46839
+ await fs5.access(configFilePath, fsConstants.F_OK);
46840
46840
  isConfigFileExists = true;
46841
46841
  } catch {
46842
46842
  }
46843
46843
  if (!isConfigFileExists) {
46844
46844
  return defaultMountPoint;
46845
46845
  }
46846
- const configContent = await fs4.readFile(configFilePath, { encoding: "utf8" });
46846
+ const configContent = await fs5.readFile(configFilePath, { encoding: "utf8" });
46847
46847
  const configMountPoint = /(?<!#.*)root\s*=\s*(?<mountPoint>.*)/g.exec(configContent);
46848
46848
  if (!configMountPoint) {
46849
46849
  return defaultMountPoint;
@@ -46943,7 +46943,7 @@ var require_open = __commonJS({
46943
46943
  const isBundled = !__dirname || __dirname === "/";
46944
46944
  let exeLocalXdgOpen = false;
46945
46945
  try {
46946
- await fs4.access(localXdgOpenPath, fsConstants.X_OK);
46946
+ await fs5.access(localXdgOpenPath, fsConstants.X_OK);
46947
46947
  exeLocalXdgOpen = true;
46948
46948
  } catch {
46949
46949
  }
@@ -73727,8 +73727,8 @@ function constructWranglerConfig(workerOrWorkers) {
73727
73727
  }
73728
73728
  __name(constructWranglerConfig, "constructWranglerConfig");
73729
73729
 
73730
- // ../workers-utils/dist/chunk-66S7A4CD.mjs
73731
- var import_node_fs = require("node:fs");
73730
+ // ../workers-utils/dist/chunk-NNMRVG4F.mjs
73731
+ var import_node_fs = __toESM(require("node:fs"), 1);
73732
73732
  var import_node_path2 = __toESM(require("node:path"), 1);
73733
73733
  var UserError = class extends Error {
73734
73734
  static {
@@ -76544,6 +76544,34 @@ function formatConfigSnippet(snippet, configPath, formatted = true) {
76544
76544
  }
76545
76545
  }
76546
76546
  __name(formatConfigSnippet, "formatConfigSnippet");
76547
+ function isDirectory(path22) {
76548
+ return import_node_fs.default.statSync(path22, { throwIfNoEntry: false })?.isDirectory() ?? false;
76549
+ }
76550
+ __name(isDirectory, "isDirectory");
76551
+ function removeDir(dirPath, { fireAndForget = false } = {}) {
76552
+ const result = import_node_fs.default.promises.rm(dirPath, {
76553
+ recursive: true,
76554
+ force: true,
76555
+ maxRetries: 5,
76556
+ retryDelay: 100
76557
+ });
76558
+ if (fireAndForget) {
76559
+ void result.catch(() => {
76560
+ });
76561
+ } else {
76562
+ return result;
76563
+ }
76564
+ }
76565
+ __name(removeDir, "removeDir");
76566
+ function removeDirSync(dirPath) {
76567
+ import_node_fs.default.rmSync(dirPath, {
76568
+ recursive: true,
76569
+ force: true,
76570
+ maxRetries: 5,
76571
+ retryDelay: 100
76572
+ });
76573
+ }
76574
+ __name(removeDirSync, "removeDirSync");
76547
76575
 
76548
76576
  // ../workers-utils/dist/index.mjs
76549
76577
  var import_node_fs2 = __toESM(require("node:fs"), 1);
@@ -77137,6 +77165,7 @@ var defaultWranglerConfig = {
77137
77165
  upload_source_maps: void 0,
77138
77166
  assets: void 0,
77139
77167
  observability: { enabled: true },
77168
+ cache: void 0,
77140
77169
  /** The default here is undefined so that we can delegate to the CLOUDFLARE_COMPLIANCE_REGION environment variable. */
77141
77170
  compliance_region: void 0,
77142
77171
  python_modules: { exclude: ["**/*.pyc"] },
@@ -77181,10 +77210,6 @@ __export2(mod_esm_exports, {
77181
77210
  var import_mod_cjs = __toESM2(require_mod_cjs3(), 1);
77182
77211
  __reExport2(mod_esm_exports, __toESM2(require_mod_cjs3(), 1));
77183
77212
  var mod_esm_default = import_mod_cjs.default;
77184
- function isDirectory(path4) {
77185
- return import_node_fs2.default.statSync(path4, { throwIfNoEntry: false })?.isDirectory() ?? false;
77186
- }
77187
- __name(isDirectory, "isDirectory");
77188
77213
  function getGlobalWranglerConfigPath() {
77189
77214
  const configDir = mod_esm_default(".wrangler").config();
77190
77215
  const legacyConfigDir = import_node_path3.default.join(import_node_os2.default.homedir(), ".wrangler");
@@ -78706,6 +78731,7 @@ function normalizeAndValidateEnvironment(diagnostics, configPath, rawEnv, isDisp
78706
78731
  "error"
78707
78732
  );
78708
78733
  experimental(diagnostics, rawEnv, "unsafe");
78734
+ experimental(diagnostics, rawEnv, "secrets");
78709
78735
  const route = normalizeAndValidateRoute(diagnostics, topLevelEnv, rawEnv);
78710
78736
  const account_id = inheritableInWranglerEnvironments(
78711
78737
  diagnostics,
@@ -78864,6 +78890,16 @@ function normalizeAndValidateEnvironment(diagnostics, configPath, rawEnv, isDisp
78864
78890
  validateVars(envName),
78865
78891
  {}
78866
78892
  ),
78893
+ secrets: notInheritable(
78894
+ diagnostics,
78895
+ topLevelEnv,
78896
+ rawConfig,
78897
+ rawEnv,
78898
+ envName,
78899
+ "secrets",
78900
+ validateSecrets(envName),
78901
+ void 0
78902
+ ),
78867
78903
  define: notInheritable(
78868
78904
  diagnostics,
78869
78905
  topLevelEnv,
@@ -79243,6 +79279,14 @@ function normalizeAndValidateEnvironment(diagnostics, configPath, rawEnv, isDisp
79243
79279
  validateObservability,
79244
79280
  void 0
79245
79281
  ),
79282
+ cache: inheritable(
79283
+ diagnostics,
79284
+ topLevelEnv,
79285
+ rawEnv,
79286
+ "cache",
79287
+ validateCache,
79288
+ void 0
79289
+ ),
79246
79290
  compliance_region: inheritable(
79247
79291
  diagnostics,
79248
79292
  topLevelEnv,
@@ -79468,6 +79512,29 @@ Please add "vars.${varName}" to "env.${envName}".`
79468
79512
  }
79469
79513
  return isValid;
79470
79514
  }, "validateVars");
79515
+ var validateSecrets = /* @__PURE__ */ __name((envName) => (diagnostics, field, value, config49) => {
79516
+ const fieldPath = config49 === void 0 ? `${field}` : `env.${envName}.${field}`;
79517
+ if (value === void 0) {
79518
+ return true;
79519
+ }
79520
+ if (typeof value !== "object" || value === null || Array.isArray(value)) {
79521
+ diagnostics.errors.push(
79522
+ `The field "${fieldPath}" should be an object but got ${JSON.stringify(value)}.`
79523
+ );
79524
+ return false;
79525
+ }
79526
+ let isValid = true;
79527
+ validateAdditionalProperties(diagnostics, fieldPath, Object.keys(value), [
79528
+ "required"
79529
+ ]);
79530
+ isValid = validateOptionalTypedArray(
79531
+ diagnostics,
79532
+ `${fieldPath}.required`,
79533
+ value.required,
79534
+ "string"
79535
+ ) && isValid;
79536
+ return isValid;
79537
+ }, "validateSecrets");
79471
79538
  var validateBindingsProperty = /* @__PURE__ */ __name((envName, validateBinding) => (diagnostics, field, value, config49) => {
79472
79539
  let isValid = true;
79473
79540
  const fieldPath = config49 === void 0 ? `${field}` : `env.${envName}.${field}`;
@@ -79702,12 +79769,45 @@ var validateWorkflowBinding = /* @__PURE__ */ __name((diagnostics, field, value)
79702
79769
  );
79703
79770
  isValid = false;
79704
79771
  }
79772
+ if (hasProperty(value, "limits") && value.limits !== void 0) {
79773
+ if (typeof value.limits !== "object" || value.limits === null || Array.isArray(value.limits)) {
79774
+ diagnostics.errors.push(
79775
+ `"${field}" bindings should, optionally, have an object "limits" field but got ${JSON.stringify(
79776
+ value
79777
+ )}.`
79778
+ );
79779
+ isValid = false;
79780
+ } else {
79781
+ const limits = value.limits;
79782
+ if (limits.steps !== void 0) {
79783
+ if (typeof limits.steps !== "number" || !Number.isInteger(limits.steps) || limits.steps < 1) {
79784
+ diagnostics.errors.push(
79785
+ `"${field}" bindings "limits.steps" field must be a positive integer but got ${JSON.stringify(
79786
+ limits.steps
79787
+ )}.`
79788
+ );
79789
+ isValid = false;
79790
+ } else if (limits.steps > 25e3) {
79791
+ diagnostics.warnings.push(
79792
+ `"${field}" has a step limit of ${limits.steps}, which exceeds the production maximum of 25,000. This configuration may not work when deployed.`
79793
+ );
79794
+ }
79795
+ }
79796
+ validateAdditionalProperties(
79797
+ diagnostics,
79798
+ `${field}.limits`,
79799
+ Object.keys(limits),
79800
+ ["steps"]
79801
+ );
79802
+ }
79803
+ }
79705
79804
  validateAdditionalProperties(diagnostics, field, Object.keys(value), [
79706
79805
  "binding",
79707
79806
  "name",
79708
79807
  "class_name",
79709
79808
  "script_name",
79710
- "remote"
79809
+ "remote",
79810
+ "limits"
79711
79811
  ]);
79712
79812
  return isValid;
79713
79813
  }, "validateWorkflowBinding");
@@ -80792,6 +80892,7 @@ var validateBindingsHaveUniqueNames = /* @__PURE__ */ __name((diagnostics, confi
80792
80892
  )
80793
80893
  ])
80794
80894
  );
80895
+ bindingsGroupedByType["Secret"] = config49.secrets?.required ?? [];
80795
80896
  const bindingsGroupedByName = {};
80796
80897
  for (const bindingType in bindingsGroupedByType) {
80797
80898
  const bindingNames = bindingsGroupedByType[bindingType];
@@ -81582,6 +81683,30 @@ var validateObservability = /* @__PURE__ */ __name((diagnostics, field, value) =
81582
81683
  }
81583
81684
  return isValid;
81584
81685
  }, "validateObservability");
81686
+ var validateCache = /* @__PURE__ */ __name((diagnostics, field, value) => {
81687
+ if (value === void 0) {
81688
+ return true;
81689
+ }
81690
+ if (typeof value !== "object" || value === null) {
81691
+ diagnostics.errors.push(
81692
+ `"${field}" should be an object but got ${JSON.stringify(value)}.`
81693
+ );
81694
+ return false;
81695
+ }
81696
+ const val = value;
81697
+ let isValid = true;
81698
+ isValid = validateRequiredProperty(
81699
+ diagnostics,
81700
+ field,
81701
+ "enabled",
81702
+ val.enabled,
81703
+ "boolean"
81704
+ ) && isValid;
81705
+ isValid = validateAdditionalProperties(diagnostics, field, Object.keys(val), [
81706
+ "enabled"
81707
+ ]) && isValid;
81708
+ return isValid;
81709
+ }, "validateCache");
81585
81710
  function warnIfDurableObjectsHaveNoMigrations(diagnostics, durableObjects, migrations, configPath) {
81586
81711
  if (Array.isArray(durableObjects.bindings) && durableObjects.bindings.length > 0) {
81587
81712
  const exportedDurableObjects = (durableObjects.bindings || []).filter(
@@ -88507,7 +88632,7 @@ var Yargs = YargsFactory(esm_default2);
88507
88632
  var yargs_default = Yargs;
88508
88633
 
88509
88634
  // package.json
88510
- var version = "2.64.3";
88635
+ var version = "2.64.5";
88511
88636
 
88512
88637
  // src/metrics.ts
88513
88638
  var import_node_async_hooks = require("node:async_hooks");
@@ -88795,7 +88920,12 @@ var rectifyPmMismatch = async (ctx) => {
88795
88920
  }
88796
88921
  const nodeModulesPath = import_node_path6.default.join(ctx.project.path, "node_modules");
88797
88922
  if ((0, import_node_fs5.existsSync)(nodeModulesPath)) {
88798
- (0, import_node_fs5.rmSync)(nodeModulesPath, { recursive: true });
88923
+ (0, import_node_fs5.rmSync)(nodeModulesPath, {
88924
+ recursive: true,
88925
+ force: true,
88926
+ maxRetries: 5,
88927
+ retryDelay: 100
88928
+ });
88799
88929
  }
88800
88930
  const lockfilePath = import_node_path6.default.join(ctx.project.path, "package-lock.json");
88801
88931
  if ((0, import_node_fs5.existsSync)(lockfilePath)) {
@@ -90110,22 +90240,22 @@ var package_default = {
90110
90240
  ],
90111
90241
  dependencies: {
90112
90242
  "create-astro": "4.13.2",
90113
- "create-analog": "2.2.3",
90114
- "@angular/create": "21.1.4",
90243
+ "create-analog": "2.3.1",
90244
+ "@angular/create": "21.2.0",
90115
90245
  "create-docusaurus": "3.9.2",
90116
90246
  "create-hono": "0.19.4",
90117
90247
  "create-next-app": "15.5.6",
90118
90248
  "create-qwik": "1.19.0",
90119
90249
  "create-vite": "8.3.0",
90120
90250
  "create-rwsdk": "3.1.3",
90121
- "create-react-router": "7.13.0",
90251
+ "create-react-router": "7.13.1",
90122
90252
  "create-solid": "0.6.13",
90123
- "create-vike": "0.0.581",
90124
- "create-vue": "3.21.1",
90125
- "create-waku": "0.12.5-1.0.0-alpha.3-0",
90253
+ "create-vike": "0.0.591",
90254
+ "create-vue": "3.22.0",
90255
+ "create-waku": "0.12.5-1.0.0-alpha.5-0",
90126
90256
  "@tanstack/create-start": "0.59.8",
90127
90257
  gatsby: "5.16.1",
90128
- sv: "0.12.2",
90258
+ sv: "0.12.4",
90129
90259
  nuxi: "3.33.1"
90130
90260
  }
90131
90261
  };
@@ -92061,37 +92191,27 @@ var generate22 = async (ctx) => {
92061
92191
  };
92062
92192
  var configure11 = async (ctx) => {
92063
92193
  usesTypescript(ctx);
92064
- const filePath = `app.config.${usesTypescript(ctx) ? "ts" : "js"}`;
92065
- const { date: compatDate } = getLocalWorkerdCompatibilityDate({
92066
- projectPath: ctx.project.path
92067
- });
92194
+ const filePath = `vite.config.${usesTypescript(ctx) ? "ts" : "js"}`;
92068
92195
  updateStatus(`Updating configuration in ${blue(filePath)}`);
92069
92196
  transformFile(filePath, {
92070
92197
  visitCallExpression: function(n) {
92071
92198
  const callee = n.node.callee;
92072
- if (callee.name !== "defineConfig") {
92199
+ if (callee.name !== "nitro") {
92073
92200
  return this.traverse(n);
92074
92201
  }
92075
92202
  const b3 = recast10.types.builders;
92076
- mergeObjectProperties(
92077
- n.node.arguments[0],
92078
- [
92079
- b3.objectProperty(
92080
- b3.identifier("server"),
92081
- b3.objectExpression([
92082
- // preset: "cloudflare_module"
92083
- b3.objectProperty(
92084
- b3.identifier("preset"),
92085
- b3.stringLiteral("cloudflare_module")
92086
- ),
92087
- b3.objectProperty(
92088
- b3.identifier("compatibilityDate"),
92089
- b3.stringLiteral(compatDate)
92090
- )
92091
- ])
92092
- )
92093
- ]
92203
+ const presetProp = b3.objectProperty(
92204
+ b3.identifier("preset"),
92205
+ b3.stringLiteral("cloudflare-module")
92094
92206
  );
92207
+ if (n.node.arguments.length === 0) {
92208
+ n.node.arguments.push(b3.objectExpression([presetProp]));
92209
+ } else {
92210
+ mergeObjectProperties(
92211
+ n.node.arguments[0],
92212
+ [presetProp]
92213
+ );
92214
+ }
92095
92215
  return false;
92096
92216
  }
92097
92217
  });
@@ -92481,7 +92601,7 @@ var generate29 = async (ctx) => {
92481
92601
  await runFrameworkGenerator(ctx, [
92482
92602
  ctx.project.name,
92483
92603
  "--router",
92484
- lang === "ts" ? "--ts" : ""
92604
+ lang === "ts" ? "--ts" : "--no-ts"
92485
92605
  ]);
92486
92606
  logRaw("");
92487
92607
  };
@@ -92644,7 +92764,7 @@ Retrieve API references and limits from:
92644
92764
  var import_node_assert6 = __toESM(require("node:assert"));
92645
92765
 
92646
92766
  // ../wrangler/package.json
92647
- var version2 = "4.67.1";
92767
+ var version2 = "4.70.0";
92648
92768
 
92649
92769
  // src/git.ts
92650
92770
  var offerGit = async (ctx) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-cloudflare",
3
- "version": "2.64.3",
3
+ "version": "2.64.5",
4
4
  "description": "A CLI for creating and deploying new applications to Cloudflare.",
5
5
  "keywords": [
6
6
  "cloudflare",
@@ -30,7 +30,7 @@
30
30
  "@babel/parser": "^7.21.3",
31
31
  "@babel/types": "^7.21.4",
32
32
  "@clack/prompts": "^0.6.3",
33
- "@cloudflare/workers-types": "^4.20260302.0",
33
+ "@cloudflare/workers-types": "^4.20260226.1",
34
34
  "@types/command-exists": "^1.2.0",
35
35
  "@types/cross-spawn": "^6.0.2",
36
36
  "@types/deepmerge": "^2.2.0",
@@ -41,7 +41,6 @@
41
41
  "@types/semver": "^7.5.1",
42
42
  "@types/which-pm-runs": "^1.0.0",
43
43
  "@types/yargs": "^17.0.22",
44
- "chalk": "^5.2.0",
45
44
  "command-exists": "^1.2.9",
46
45
  "comment-json": "^4.5.0",
47
46
  "cross-spawn": "^7.0.3",
@@ -73,13 +72,13 @@
73
72
  "wrap-ansi": "^9.0.0",
74
73
  "xdg-app-paths": "^8.3.0",
75
74
  "yargs": "^17.7.2",
76
- "@cloudflare/workers-utils": "0.11.1",
75
+ "@cloudflare/workers-utils": "0.12.0",
77
76
  "@cloudflare/cli": "1.2.1",
78
77
  "@cloudflare/eslint-config-shared": "1.2.1",
79
78
  "@cloudflare/mock-npm-registry": "0.0.0",
80
- "@cloudflare/vite-plugin": "1.25.3",
79
+ "@cloudflare/vite-plugin": "1.26.0",
81
80
  "@cloudflare/workers-tsconfig": "0.0.0",
82
- "wrangler": "4.67.1"
81
+ "wrangler": "4.70.0"
83
82
  },
84
83
  "engines": {
85
84
  "node": ">=18.14.1"
@@ -1,6 +1,10 @@
1
1
  import { AngularAppEngine, createRequestHandler } from '@angular/ssr';
2
2
 
3
- const angularApp = new AngularAppEngine();
3
+ const angularApp = new AngularAppEngine({
4
+ // It is safe to set allow `localhost`, so that SSR can run in local development,
5
+ // as, in production, Cloudflare will ensure that `localhost` is not the host.
6
+ allowedHosts: ['localhost'],
7
+ });
4
8
 
5
9
  /**
6
10
  * This is a request handler used by the Angular CLI (dev-server and during build).
@@ -1,6 +1,10 @@
1
1
  import { AngularAppEngine, createRequestHandler } from '@angular/ssr';
2
2
 
3
- const angularApp = new AngularAppEngine();
3
+ const angularApp = new AngularAppEngine({
4
+ // It is safe to set allow `localhost`, so that SSR can run in local development,
5
+ // as, in production, Cloudflare will ensure that `localhost` is not the host.
6
+ allowedHosts: ['localhost'],
7
+ });
4
8
 
5
9
  /**
6
10
  * This is a request handler used by the Angular CLI (dev-server and during build).
@@ -1,6 +1,5 @@
1
1
  import { logRaw, updateStatus } from "@cloudflare/cli";
2
2
  import { blue } from "@cloudflare/cli/colors";
3
- import { getLocalWorkerdCompatibilityDate } from "@cloudflare/workers-utils";
4
3
  import { runFrameworkGenerator } from "frameworks/index";
5
4
  import { mergeObjectProperties, transformFile } from "helpers/codemod";
6
5
  import { usesTypescript } from "helpers/files";
@@ -21,42 +20,32 @@ const generate = async (ctx: C3Context) => {
21
20
 
22
21
  const configure = async (ctx: C3Context) => {
23
22
  usesTypescript(ctx);
24
- const filePath = `app.config.${usesTypescript(ctx) ? "ts" : "js"}`;
25
-
26
- const { date: compatDate } = getLocalWorkerdCompatibilityDate({
27
- projectPath: ctx.project.path,
28
- });
23
+ const filePath = `vite.config.${usesTypescript(ctx) ? "ts" : "js"}`;
29
24
 
30
25
  updateStatus(`Updating configuration in ${blue(filePath)}`);
31
26
 
32
27
  transformFile(filePath, {
33
28
  visitCallExpression: function (n) {
34
29
  const callee = n.node.callee as recast.types.namedTypes.Identifier;
35
- if (callee.name !== "defineConfig") {
30
+ if (callee.name !== "nitro") {
36
31
  return this.traverse(n);
37
32
  }
38
33
 
39
34
  const b = recast.types.builders;
40
- mergeObjectProperties(
41
- n.node.arguments[0] as recast.types.namedTypes.ObjectExpression,
42
- [
43
- b.objectProperty(
44
- b.identifier("server"),
45
- b.objectExpression([
46
- // preset: "cloudflare_module"
47
- b.objectProperty(
48
- b.identifier("preset"),
49
- b.stringLiteral("cloudflare_module"),
50
- ),
51
- b.objectProperty(
52
- b.identifier("compatibilityDate"),
53
- b.stringLiteral(compatDate),
54
- ),
55
- ]),
56
- ),
57
- ],
35
+ const presetProp = b.objectProperty(
36
+ b.identifier("preset"),
37
+ b.stringLiteral("cloudflare-module"),
58
38
  );
59
39
 
40
+ if (n.node.arguments.length === 0) {
41
+ n.node.arguments.push(b.objectExpression([presetProp]));
42
+ } else {
43
+ mergeObjectProperties(
44
+ n.node.arguments[0] as recast.types.namedTypes.ObjectExpression,
45
+ [presetProp],
46
+ );
47
+ }
48
+
60
49
  return false;
61
50
  },
62
51
  });
@@ -1,14 +1,9 @@
1
1
  {
2
2
  "name": "<WORKER_NAME>",
3
- "main": "./.output/server/index.mjs",
4
3
  "compatibility_date": "<COMPATIBILITY_DATE>",
5
4
  "compatibility_flags": [
6
5
  "nodejs_compat"
7
6
  ],
8
- "assets": {
9
- "binding": "ASSETS",
10
- "directory": "./.output/public"
11
- },
12
7
  "observability": {
13
8
  "enabled": true
14
9
  }
@@ -25,7 +25,7 @@ const generate = async (ctx: C3Context) => {
25
25
  await runFrameworkGenerator(ctx, [
26
26
  ctx.project.name,
27
27
  "--router",
28
- lang === "ts" ? "--ts" : "",
28
+ lang === "ts" ? "--ts" : "--no-ts",
29
29
  ]);
30
30
  logRaw("");
31
31
  };