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
24 changes: 5 additions & 19 deletions biome.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://biomejs.dev/schemas/1.5.0/schema.json",
"organizeImports": {
"enabled": true
"$schema": "https://biomejs.dev/schemas/2.0.5/schema.json",
"files": {
"ignoreUnknown": false
},
"linter": {
"enabled": true,
Expand All @@ -26,32 +26,18 @@
"indentStyle": "space",
"indentWidth": 2,
"lineEnding": "lf",
"lineWidth": 100,
"attributePosition": "auto"
"lineWidth": 100
},
"javascript": {
"formatter": {
"jsxQuoteStyle": "double",
"quoteProperties": "asNeeded",
"trailingComma": "es5",
"trailingCommas": "es5",
"semicolons": "always",
"arrowParentheses": "always",
"bracketSpacing": true,
"bracketSameLine": false,
"quoteStyle": "single"
}
},
"files": {
"ignore": [
"**/node_modules/**",
"**/dist/**",
"**/.next/**",
"**/out/**",
"**/coverage/**",
"**/.turbo/**",
"**/build/**",
"**/*.min.js",
"**/*.min.css"
]
}
}
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,15 @@
"scripts": {
"analyze": "turbo run analyze",
"lint": "turbo run lint",
"lint:fix": "biome check --write .",
"typecheck": "turbo run typecheck",
"test": "turbo run test",
"build": "turbo run build",
"build:cli": "tsup",
"dev": "turbo run dev",
"clean": "turbo run clean",
"format": "biome format --write .",
"format:fix": "biome format --write .",
"check": "biome check .",
"prepare": "husky install"
},
Expand Down
10 changes: 10 additions & 0 deletions packages/core/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,14 @@ export function validateInput(input: string): boolean {
return input.trim().length > 0;
}

/**
* Format a message with timestamp for logging
* @param message - The message to format
* @returns Formatted message with timestamp
*/
export function formatMessage(message: string): string {
const timestamp = new Date().toISOString();
return `[${timestamp}] ${message}`;
}

export * from './types';
2 changes: 1 addition & 1 deletion scripts/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

import { readFileSync } from 'node:fs';
import { join, dirname } from 'node:path';
import { dirname, join } from 'node:path';
import { fileURLToPath } from 'node:url';

// Get the directory of this script
Expand Down
16 changes: 16 additions & 0 deletions test-release-feature.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Test Release Feature

This file is created to test the end-to-end release pipeline.

## Test Scenarios Covered:
1. Feature branch creation and PR flow
2. Conventional commit validation
3. CI/CD pipeline execution
4. Release automation

## Expected Outcomes:
- PR validation should enforce branch naming
- CI pipeline should run all checks
- Merge to main should trigger release
- Changelog should be auto-generated
- Version should be bumped appropriately
2 changes: 1 addition & 1 deletion tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
"composite": false,
"tsBuildInfoFile": null
}
}
}
Loading