Skip to content

Commit 59e0724

Browse files
authored
Merge pull request #5 from zopiolabs/release/v0.1.1
release: v0.1.1
2 parents db77bb9 + f07278a commit 59e0724

File tree

8 files changed

+1410
-27
lines changed

8 files changed

+1410
-27
lines changed

.autorc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"plugins": ["npm", "first-time-contributor", "released"],
3+
"owner": "aicd",
4+
"repo": "aicd",
5+
"name": "AICD Team",
6+
"email": "admin@aicd.com"
7+
}

.github/workflows/pr-validation.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ jobs:
147147
ci
148148
chore
149149
revert
150+
release
150151
scopes: |
151152
api
152153
app
@@ -305,7 +306,7 @@ jobs:
305306
uses: actions/github-script@v7
306307
with:
307308
script: |
308-
const validTypes = ['feat', 'fix', 'docs', 'style', 'refactor', 'perf', 'test', 'build', 'ci', 'chore', 'revert'];
309+
const validTypes = ['feat', 'fix', 'docs', 'style', 'refactor', 'perf', 'test', 'build', 'ci', 'chore', 'revert', 'release'];
309310
310311
await github.rest.issues.createComment({
311312
owner: context.repo.owner,

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,7 @@ yarn-error.log*
4848
.windsurfrules
4949
.github/copilot-instructions.md
5050
.aiprompts
51+
52+
# Misc.
53+
branch-*.json
54+
tsconfig.tsbuildinfo

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"node": ">=18.0.0",
1818
"pnpm": ">=8.0.0"
1919
},
20-
"packageManager": "pnpm@8.15.0",
20+
"packageManager": "pnpm@10.11.0",
2121
"scripts": {
2222
"analyze": "turbo run analyze",
2323
"lint": "turbo run lint",

packages/core/src/index.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,16 @@ export function log(message: string): void {
55
console.log(`[AICD Core]: ${message}`);
66
}
77

8+
/**
9+
* Test utility function for release pipeline validation
10+
* @param input - The input string to validate
11+
* @returns true if the input is valid, false otherwise
12+
*/
13+
export function validateInput(input: string): boolean {
14+
if (!input || typeof input !== 'string') {
15+
return false;
16+
}
17+
return input.trim().length > 0;
18+
}
19+
820
export * from './types';

0 commit comments

Comments
 (0)