arri 0.71.1 → 0.72.0

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.cjs CHANGED
@@ -577,7 +577,7 @@ const use = citty.defineCommand({
577
577
  );
578
578
  }
579
579
  });
580
- function updatePackageJson(fileContent, targetVersion) {
580
+ function updatePackageJson(fileContent, targetVersion, strict = true) {
581
581
  const lines = fileContent.split("\n");
582
582
  const output = [];
583
583
  let updated = false;
@@ -600,7 +600,7 @@ function updatePackageJson(fileContent, targetVersion) {
600
600
  return line;
601
601
  }
602
602
  const targetParts = parts[1].split('"');
603
- targetParts[1] = `^${targetVersion}`;
603
+ targetParts[1] = strict ? `${targetVersion}` : `^${targetVersion}`;
604
604
  parts[1] = targetParts.join('"');
605
605
  return parts.join('":');
606
606
  }
@@ -636,7 +636,7 @@ async function getDartPackageMeta() {
636
636
  const data = schema.a.parse(PubPackageResponse, response);
637
637
  return data;
638
638
  }
639
- function updatePubspecYaml(fileContent, version) {
639
+ function updatePubspecYaml(fileContent, version, strict = true) {
640
640
  const lines = fileContent.split("\n");
641
641
  const output = [];
642
642
  let updated = false;
@@ -649,7 +649,7 @@ function updatePubspecYaml(fileContent, version) {
649
649
  }
650
650
  const targetPart = parts[1];
651
651
  const subParts = targetPart.split(" ");
652
- subParts[0] = `^${version}`;
652
+ subParts[0] = strict ? `${version}` : `^${version}`;
653
653
  parts[1] = subParts.join(" ");
654
654
  output.push(parts.join(": "));
655
655
  updated = true;
package/dist/cli.mjs CHANGED
@@ -565,7 +565,7 @@ const use = defineCommand({
565
565
  );
566
566
  }
567
567
  });
568
- function updatePackageJson(fileContent, targetVersion) {
568
+ function updatePackageJson(fileContent, targetVersion, strict = true) {
569
569
  const lines = fileContent.split("\n");
570
570
  const output = [];
571
571
  let updated = false;
@@ -588,7 +588,7 @@ function updatePackageJson(fileContent, targetVersion) {
588
588
  return line;
589
589
  }
590
590
  const targetParts = parts[1].split('"');
591
- targetParts[1] = `^${targetVersion}`;
591
+ targetParts[1] = strict ? `${targetVersion}` : `^${targetVersion}`;
592
592
  parts[1] = targetParts.join('"');
593
593
  return parts.join('":');
594
594
  }
@@ -624,7 +624,7 @@ async function getDartPackageMeta() {
624
624
  const data = a.parse(PubPackageResponse, response);
625
625
  return data;
626
626
  }
627
- function updatePubspecYaml(fileContent, version) {
627
+ function updatePubspecYaml(fileContent, version, strict = true) {
628
628
  const lines = fileContent.split("\n");
629
629
  const output = [];
630
630
  let updated = false;
@@ -637,7 +637,7 @@ function updatePubspecYaml(fileContent, version) {
637
637
  }
638
638
  const targetPart = parts[1];
639
639
  const subParts = targetPart.split(" ");
640
- subParts[0] = `^${version}`;
640
+ subParts[0] = strict ? `${version}` : `^${version}`;
641
641
  parts[1] = subParts.join(" ");
642
642
  output.push(parts.join(": "));
643
643
  updated = true;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "arri",
3
- "version": "0.71.1",
3
+ "version": "0.72.0",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -29,7 +29,7 @@
29
29
  "c12": "^2.0.1",
30
30
  "chokidar": "^4.0.3",
31
31
  "citty": "^0.1.6",
32
- "consola": "^3.3.3",
32
+ "consola": "^3.4.0",
33
33
  "degit": "^2.8.4",
34
34
  "enquirer": "^2.4.1",
35
35
  "esbuild": "^0.24.2",
@@ -39,13 +39,13 @@
39
39
  "ofetch": "^1.4.1",
40
40
  "pathe": "^2.0.1",
41
41
  "prettier": "^3.4.2",
42
- "@arrirpc/codegen-kotlin": "0.71.1",
43
- "@arrirpc/codegen-dart": "0.71.1",
44
- "@arrirpc/codegen-rust": "0.71.1",
45
- "@arrirpc/codegen-swift": "0.71.1",
46
- "@arrirpc/codegen-ts": "0.71.1",
47
- "@arrirpc/codegen-utils": "0.71.1",
48
- "@arrirpc/schema": "0.71.1"
42
+ "@arrirpc/codegen-dart": "0.72.0",
43
+ "@arrirpc/codegen-rust": "0.72.0",
44
+ "@arrirpc/codegen-kotlin": "0.72.0",
45
+ "@arrirpc/codegen-swift": "0.72.0",
46
+ "@arrirpc/codegen-utils": "0.72.0",
47
+ "@arrirpc/codegen-ts": "0.72.0",
48
+ "@arrirpc/schema": "0.72.0"
49
49
  },
50
50
  "devDependencies": {
51
51
  "@types/degit": "^2.8.6"