From 6fd1e9cc56368d031f373c8fdf0188d3a4d9dd15 Mon Sep 17 00:00:00 2001 From: silverhand-bot <107667382+silverhand-bot@users.noreply.github.com> Date: Sat, 29 Apr 2023 12:31:59 +0800 Subject: [PATCH] release: version packages (#3793) * chore: pass arguments to version script * release: version packages --------- Co-authored-by: Gao Sun --- .changeset/four-poets-change.md | 9 --------- .scripts/version.js | 2 +- packages/app-insights/CHANGELOG.md | 10 ++++++++++ packages/app-insights/package.json | 2 +- 4 files changed, 12 insertions(+), 11 deletions(-) delete mode 100644 .changeset/four-poets-change.md diff --git a/.changeset/four-poets-change.md b/.changeset/four-poets-change.md deleted file mode 100644 index 7b96909eb..000000000 --- a/.changeset/four-poets-change.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"@logto/app-insights": minor ---- - -add custom events and new component - -- implement `getEventName()` to create standard event name with the format `/[/data]`. E.g. `core/sign_in`. -- four new event components `core`, `console`, `blog`, and `website`. -- implement `` for tracking a custom event once diff --git a/.scripts/version.js b/.scripts/version.js index 1d0d1897b..521c0db73 100644 --- a/.scripts/version.js +++ b/.scripts/version.js @@ -3,7 +3,7 @@ import { promisify } from 'node:util'; const execAsync = promisify(exec); -const cmd = ('pnpm changeset version'); +const cmd = ['pnpm changeset version', ...process.argv.slice(2)].join(' '); const catchCmdError = ({ stderr, stdout, code }) => { console.log(stdout); diff --git a/packages/app-insights/CHANGELOG.md b/packages/app-insights/CHANGELOG.md index fbb295bae..4a1f16b82 100644 --- a/packages/app-insights/CHANGELOG.md +++ b/packages/app-insights/CHANGELOG.md @@ -1,5 +1,15 @@ # @logto/app-insights +## 1.3.0 + +### Minor Changes + +- 5a8442712: add custom events and new component + + - implement `getEventName()` to create standard event name with the format `/[/data]`. E.g. `core/sign_in`. + - four new event components `core`, `console`, `blog`, and `website`. + - implement `` for tracking a custom event once + ## 1.2.0 ### Minor Changes diff --git a/packages/app-insights/package.json b/packages/app-insights/package.json index 3b4c9d825..bf4b44cdc 100644 --- a/packages/app-insights/package.json +++ b/packages/app-insights/package.json @@ -1,6 +1,6 @@ { "name": "@logto/app-insights", - "version": "1.2.0", + "version": "1.3.0", "main": "lib/index.js", "author": "Silverhand Inc. ", "license": "MPL-2.0",