update to version and changelog

This commit is contained in:
Sergey Kurdin 2024-07-20 00:30:26 -04:00
parent 47e6b614b2
commit 64ea08e7bf
7 changed files with 185 additions and 16 deletions

View File

@ -6,6 +6,5 @@
"linked": [],
"access": "restricted",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": []
"updateInternalDependencies": "patch"
}

View File

@ -1,5 +0,0 @@
---
'@pastebar/ui': minor
---
Free and Opensource Release

View File

@ -1,5 +1,11 @@
# pastebar-app
## 0.5.0
### Minor Changes
- Free and Open Source Release
## 0.3.0
### Minor Changes

View File

@ -1,6 +1,6 @@
{
"name": "pastebar-app",
"version": "0.3.0",
"version": "0.5.0",
"private": true,
"scripts": {
"dev": "tauri dev",
@ -17,7 +17,8 @@
"taze:minor": "taze minor -w",
"preview": "vite preview",
"changeset": "changeset",
"version": "changeset version"
"version:sync": "node scripts/sync-version.js",
"version": "changeset version && npm run version:sync"
},
"dependencies": {
"@codastic/react-positioning-portal": "^0.7.0",
@ -142,7 +143,7 @@
"zustand-logger-middleware": "^1.0.9"
},
"workspaces": [
"packages/*"
"packages/pastebar-app-ui"
],
"devDependencies": {
"@changesets/cli": "^2.27.1",
@ -183,4 +184,4 @@
"vite": "^5.0.11",
"vite-plugin-tauri": "^3.3.0"
}
}
}

View File

@ -0,0 +1,131 @@
# pastebar-app
## 0.5.0
### Minor Changes
- Free and Open Source Release
## 0.3.0
### Minor Changes
- New: Integrated Audio Player with playlist support for both local and remote MP3 files.
New: Clipboard history now accessible in a separate window from the main interface.
New: Automatically generate card links in clipboard history.
New: Auto preview for X.com (Twitter) links in clips.
New: Auto preview for Instagram links in clips.
New: Auto preview for YouTube links in clipboard history and clips.
Fixed: Issue with clearing clipboard history, now includes option to delete recent items.
## 0.2.5
### Patch Changes
- Added Application Submission Error Report Page
## 0.2.4
### Patch Changes
- Added Application Submission Error Report Page
## 0.2.3
### Patch Changes
- New Version Release Notes Markdown View
## 0.2.2
### Patch Changes
- React compiler added to build frontend ui
## 0.2.1
### Patch Changes
- Contact Form and Pro Support Form added
## 0.2.0
### Minor Changes
- Added Application Guided Tours
### Patch Changes
- Window size auto update in min size detection
- Move to position added to context menu for clips and boards
- Updated hardware uuid detection for Mac and Windows
## 0.0.22
### Patch Changes
- Larger view for board with expand/collapse functionality
## 0.0.21
### Patch Changes
- Code viewer for markdown added render HTML view
## 0.0.20
### Patch Changes
- Save clip saves clip name if edit active
## 0.0.19
### Patch Changes
- Added user preferences for clip notes hover delay
- Edit clip name direct context menu
- Auto check for system permissions in accessibility preferences on Mac OSX
## 0.0.18
### Patch Changes
- Code viewer for markdown added render HTML view
- Clip notes popup maximum dimensions user preferences
## 0.0.15
### Patch Changes
- Added user preferences for clip notes hover delay
## 0.0.14
### Patch Changes
- Prioritized languages list settings
- History and Menu panel size adaptive change
## 0.0.13
### Patch Changes
- Prioritized languages list settings
## 0.0.12
### Patch Changes
- History and Menu panel size adaptive change
## 0.0.8
### Patch Changes
- Update to Dark Theme for Global Search
## 0.0.5
### Patch Changes
- Added Lock Screen and Security Settings for Applcation

View File

@ -1,6 +1,6 @@
{
"name": "@pastebar/ui",
"version": "0.3.1",
"name": "pastebar-app-ui",
"version": "0.5.0",
"private": true,
"scripts": {
"dev": "vite",
@ -11,9 +11,7 @@
"taze": "taze major -I",
"taze:minor": "taze minor -w",
"preview": "vite preview",
"audit:prod": "npm audit --omit=dev",
"changeset": "changeset",
"version": "changeset version"
"audit:prod": "npm audit --omit=dev"
},
"dependencies": {
"@codastic/react-positioning-portal": "^0.7.0",

39
scripts/sync-version.js Normal file
View File

@ -0,0 +1,39 @@
const fs = require('fs')
const path = require('path')
// Read the submodule's package.json
const submodulePath = path.join(
__dirname,
'..',
'packages',
'pastebar-app-ui',
'package.json'
)
const submodulePackage = JSON.parse(fs.readFileSync(submodulePath, 'utf8'))
// Read the root package.json
const rootPath = path.join(__dirname, '..', 'package.json')
const rootPackage = JSON.parse(fs.readFileSync(rootPath, 'utf8'))
// Update the version in the root package.json
rootPackage.version = submodulePackage.version
// Write the updated root package.json
fs.writeFileSync(rootPath, JSON.stringify(rootPackage, null, 2))
// Sync CHANGELOG.md if it exists
const submoduleChangelogPath = path.join(
__dirname,
'..',
'packages',
'pastebar-app-ui',
'CHANGELOG.md'
)
const rootChangelogPath = path.join(__dirname, '..', 'CHANGELOG.md')
if (fs.existsSync(submoduleChangelogPath)) {
fs.copyFileSync(submoduleChangelogPath, rootChangelogPath)
console.log('CHANGELOG.md synced')
}
console.log(`Version synced to ${submodulePackage.version}`)