Skip to content

Commit

Permalink
✨ feat(core): up consts
Browse files Browse the repository at this point in the history
  • Loading branch information
angelespejo committed Sep 28, 2024
1 parent bfec1d7 commit c8abaa3
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# binarium

## 0.1.3

### Patch Changes

- up consts

## 0.1.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "binarium",
"version": "0.1.2",
"version": "0.1.3",
"description": "Zero-configuration node library and CLI for building executables for all platforms and architectures",
"type": "module",
"license": "GPL-3.0",
Expand Down
4 changes: 3 additions & 1 deletion src/logger.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
const icon = '💾'

export const logger = (
{
icon = '📦',
name,
isDebug = false,
}: {
icon?: string
name: string
isDebug?:boolean
},
Expand Down
8 changes: 6 additions & 2 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,12 @@ import type { BuilderParams } from './types'

export type * from './types'

export const BINARIUM_CONSTS: { name?: string, debug?: boolean } = {
export const BINARIUM_CONSTS: {
name?: string,
debug?: boolean,
icon?: string
} = {
icon : '📦',
name : undefined,
debug : undefined,
}
Expand Down Expand Up @@ -302,7 +307,6 @@ export const build = async ( params: BuilderParams ) =>{

process.on( 'exit', async function ( code ){

console.log( code )
if( code !== 130 ) return

console.groupEnd()
Expand Down

0 comments on commit c8abaa3

Please sign in to comment.