Browse Source

Merge pull request #139 from RooVetGit/chores/remove-ai-releases

Chores/remove ai releases
Abel Trejo Pineda 1 year ago
parent
commit
dfc4ec06b8
4 changed files with 19 additions and 24 deletions
  1. 18 0
      .changeset/changelog-config.js
  2. 0 20
      .changeset/changelog-config.ts
  3. 1 1
      .changeset/config.json
  4. 0 3
      .changeset/package.json

+ 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"
-}