Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html), enforced with [semantic-release](https://github.com/semantic-release/semantic-release).

### [11.8.1](https://github.com/silinternational/ui-components/compare/v11.8.0...v11.8.1) (2025-04-10)

### Fixed

- **CheckboxProps:** type description should be optional ([0730797](https://github.com/silinternational/ui-components/commit/0730797f94169e778be547d726baa57aa93dd63a))

## [11.8.0](https://github.com/silinternational/ui-components/compare/v11.7.0...v11.8.0) (2025-04-03)

### Added
Expand Down
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ declare module '@silintl/ui-components' {

interface CheckboxProps {
label?: string
description: string
description?: string
checked?: boolean
disabled?: boolean
uppercase?: boolean
Expand Down
10 changes: 5 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@silintl/ui-components",
"version": "11.8.0",
"version": "11.8.1",
"description": "Reusable Svelte components for some internal applications",
"main": "index.mjs",
"module": "index.mjs",
Expand Down
8 changes: 6 additions & 2 deletions release.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,12 +172,16 @@ function isDryRun() {
return process.argv.includes('--dry-run')
}

const gitPath = '/usr/bin/git'

function getLocalRepoUrl() {
const topLevelDir = execSync('git rev-parse --show-toplevel').toString().trim()
// Safe: using fixed path to git in a trusted CI environment with no user input
const topLevelDir = execSync(`${gitPath} rev-parse --show-toplevel`).toString().trim()

return `file://${topLevelDir}/.git`
}

function getCurrentBranch() {
return execSync('git rev-parse --abbrev-ref HEAD').toString().trim()
// Safe: using fixed path to git in a trusted CI environment with no user input
return execSync(`${gitPath} rev-parse --abbrev-ref HEAD`).toString().trim()
}