create-tamagui 1.15.32 → 1.15.34

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/index.js CHANGED
@@ -568,7 +568,8 @@ var require_spawnAsync = __commonJS({
568
568
  signal
569
569
  };
570
570
  if (code !== 0) {
571
- let error = signal ? new Error(`${command} exited with signal: ${signal}`) : new Error(`${command} exited with non-zero code: ${code}`);
571
+ let argumentString = args && args.length > 0 ? ` ${args.join(" ")}` : "";
572
+ let error = signal ? new Error(`${command}${argumentString} exited with signal: ${signal}`) : new Error(`${command}${argumentString} exited with non-zero code: ${code}`);
572
573
  if (error.stack && callerStack) {
573
574
  error.stack += `
574
575
  ${callerStack}`;
@@ -18700,7 +18701,8 @@ var require_move = __commonJS({
18700
18701
  function moveAcrossDevice(src, dest, overwrite, cb) {
18701
18702
  const opts = {
18702
18703
  overwrite,
18703
- errorOnExist: true
18704
+ errorOnExist: true,
18705
+ preserveTimestamps: true
18704
18706
  };
18705
18707
  copy2(src, dest, opts, (err) => {
18706
18708
  if (err)
@@ -18759,7 +18761,8 @@ var require_move_sync = __commonJS({
18759
18761
  function moveAcrossDevice(src, dest, overwrite) {
18760
18762
  const opts = {
18761
18763
  overwrite,
18762
- errorOnExist: true
18764
+ errorOnExist: true,
18765
+ preserveTimestamps: true
18763
18766
  };
18764
18767
  copySync(src, dest, opts);
18765
18768
  return removeSync(src);
@@ -45065,11 +45068,12 @@ var getIsIgnoredPredicate = (files, cwd) => {
45065
45068
  };
45066
45069
  };
45067
45070
  var normalizeOptions = (options = {}) => ({
45068
- cwd: toPath(options.cwd) || import_node_process2.default.cwd()
45071
+ cwd: toPath(options.cwd) || import_node_process2.default.cwd(),
45072
+ suppressErrors: Boolean(options.suppressErrors)
45069
45073
  });
45070
45074
  var isIgnoredByIgnoreFiles = async (patterns, options) => {
45071
- const { cwd } = normalizeOptions(options);
45072
- const paths = await (0, import_fast_glob.default)(patterns, { cwd, ...ignoreFilesGlobOptions });
45075
+ const { cwd, suppressErrors } = normalizeOptions(options);
45076
+ const paths = await (0, import_fast_glob.default)(patterns, { cwd, suppressErrors, ...ignoreFilesGlobOptions });
45073
45077
  const files = await Promise.all(
45074
45078
  paths.map(async (filePath) => ({
45075
45079
  filePath,
@@ -45079,8 +45083,8 @@ var isIgnoredByIgnoreFiles = async (patterns, options) => {
45079
45083
  return getIsIgnoredPredicate(files, cwd);
45080
45084
  };
45081
45085
  var isIgnoredByIgnoreFilesSync = (patterns, options) => {
45082
- const { cwd } = normalizeOptions(options);
45083
- const paths = import_fast_glob.default.sync(patterns, { cwd, ...ignoreFilesGlobOptions });
45086
+ const { cwd, suppressErrors } = normalizeOptions(options);
45087
+ const paths = import_fast_glob.default.sync(patterns, { cwd, suppressErrors, ...ignoreFilesGlobOptions });
45084
45088
  const files = paths.map((filePath) => ({
45085
45089
  filePath,
45086
45090
  content: import_node_fs.default.readFileSync(filePath, "utf8")
@@ -45138,13 +45142,13 @@ var getIgnoreFilesPatterns = (options) => {
45138
45142
  var getFilter = async (options) => {
45139
45143
  const ignoreFilesPatterns = getIgnoreFilesPatterns(options);
45140
45144
  return createFilterFunction(
45141
- ignoreFilesPatterns.length > 0 && await isIgnoredByIgnoreFiles(ignoreFilesPatterns, { cwd: options.cwd })
45145
+ ignoreFilesPatterns.length > 0 && await isIgnoredByIgnoreFiles(ignoreFilesPatterns, options)
45142
45146
  );
45143
45147
  };
45144
45148
  var getFilterSync = (options) => {
45145
45149
  const ignoreFilesPatterns = getIgnoreFilesPatterns(options);
45146
45150
  return createFilterFunction(
45147
- ignoreFilesPatterns.length > 0 && isIgnoredByIgnoreFilesSync(ignoreFilesPatterns, { cwd: options.cwd })
45151
+ ignoreFilesPatterns.length > 0 && isIgnoredByIgnoreFilesSync(ignoreFilesPatterns, options)
45148
45152
  );
45149
45153
  };
45150
45154
  var createFilterFunction = (isIgnored) => {
@@ -45269,7 +45273,7 @@ var globby2 = Object.assign(function globby3(patterns, options) {
45269
45273
  // package.json
45270
45274
  var package_default = {
45271
45275
  name: "create-tamagui",
45272
- version: "1.15.31",
45276
+ version: "1.15.33",
45273
45277
  bin: "./run.js",
45274
45278
  main: "dist",
45275
45279
  files: [
@@ -45303,7 +45307,7 @@ var package_default = {
45303
45307
  },
45304
45308
  devDependencies: {
45305
45309
  "@playwright/test": "^1.29.0",
45306
- "@tamagui/build": "1.15.31",
45310
+ "@tamagui/build": "1.15.33",
45307
45311
  "@types/async-retry": "1.4.2",
45308
45312
  "@types/cross-spawn": "^6.0.2",
45309
45313
  "@types/node": "^16.11.9",