Explorar el Código

Changing .changeset/changelog-config.js to js

a8trejo hace 1 año
padre
commit
5bfebeb62e

+ 18 - 0
.changeset/changelog-config.js

@@ -0,0 +1,18 @@
+const getReleaseLine = async (changeset) => {
+  const [firstLine] = changeset.summary
+    .split('\n')
+    .map(l => l.trim())
+    .filter(Boolean);
+  return `-   ${firstLine}`;
+};
+
+const getDependencyReleaseLine = async () => {
+  return '';
+};
+
+const changelogFunctions = {
+  getReleaseLine,
+  getDependencyReleaseLine,
+};
+
+module.exports = changelogFunctions;

+ 0 - 20
.changeset/changelog-config.ts

@@ -1,20 +0,0 @@
-import { ChangelogFunctions } from '@changesets/types';
-
-const getReleaseLine: ChangelogFunctions['getReleaseLine'] = async (changeset) => {
-  const [firstLine] = changeset.summary
-    .split('\n')
-    .map(l => l.trim())
-    .filter(Boolean);
-  return `-   ${firstLine}`;
-};
-
-const getDependencyReleaseLine: ChangelogFunctions['getDependencyReleaseLine'] = async () => {
-  return '';
-};
-
-const changelogFunctions: ChangelogFunctions = {
-  getReleaseLine,
-  getDependencyReleaseLine,
-};
-
-export default changelogFunctions;

+ 1 - 1
.changeset/config.json

@@ -1,6 +1,6 @@
 {
   "$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
-  "changelog": "./changelog-config.ts",
+  "changelog": "./changelog-config.js",
   "commit": false,
   "fixed": [],
   "linked": [],

+ 0 - 3
.changeset/package.json

@@ -1,3 +0,0 @@
-{
-  "type": "module"
-}

+ 2 - 2
package-lock.json

@@ -1,12 +1,12 @@
 {
   "name": "roo-cline",
-  "version": "2.2.12",
+  "version": "2.2.13",
   "lockfileVersion": 3,
   "requires": true,
   "packages": {
     "": {
       "name": "roo-cline",
-      "version": "2.2.12",
+      "version": "2.2.13",
       "dependencies": {
         "@anthropic-ai/bedrock-sdk": "^0.10.2",
         "@anthropic-ai/sdk": "^0.26.0",

+ 1 - 1
package.json

@@ -3,7 +3,7 @@
   "displayName": "Roo Cline",
   "description": "A fork of Cline, an autonomous coding agent, with some added experimental configuration and automation features.",
   "publisher": "RooVeterinaryInc",
-  "version": "2.2.12",
+  "version": "2.2.13",
   "icon": "assets/icons/rocket.png",
   "galleryBanner": {
     "color": "#617A91",