From a9f18f813e3848b4ba55783f54d13fb6506ecf15 Mon Sep 17 00:00:00 2001 From: Miguel Ramos Date: Mon, 22 Jul 2024 10:22:58 +0100 Subject: [PATCH] chore: changes maintenance --- .changes.json | 2 +- index.mjs | 14 +++++++++++--- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/.changes.json b/.changes.json index e474234..4ca89e7 100644 --- a/.changes.json +++ b/.changes.json @@ -1 +1 @@ -{ "message": "chore(release): release new version", "changes": {} } +{"message":"chore(release): release new version","changes":{"feature/action-changes":[{"package":"@scope/package-a","release_as":"Minor","deploy":["int"]}]}} \ No newline at end of file diff --git a/index.mjs b/index.mjs index 9f0ff9e..cd487ce 100644 --- a/index.mjs +++ b/index.mjs @@ -1,4 +1,12 @@ -import { getChangedPackages } from '@websublime/workspace-tools'; -import { log } from './test.mjs'; +import { + getChangedPackages, + addChange, + Bump, +} from "@websublime/workspace-tools"; +import { log } from "./test.mjs"; -log(getChangedPackages('main', process.cwd())); +addChange( + { deploy: ["int"], package: "@scope/package-a", releaseAs: Bump.Minor }, + process.cwd(), +); +log(getChangedPackages("main", process.cwd()));