260701_02_ENH: 세팅 중

This commit is contained in:
2026-07-01 09:29:47 +09:00
parent 008599dcb4
commit f57f42baff
3 changed files with 13 additions and 11 deletions

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "@kri/common",
"version": "0.1.0",
"version": "0.1.1",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@kri/common",
"version": "0.1.0",
"version": "0.1.1",
"license": "UNLICENSED",
"devDependencies": {
"typescript": "^6.0.3"

View File

@@ -1,11 +1,10 @@
{
"name": "@kri/common",
"version": "0.1.0",
"version": "0.1.1",
"description": "KRI 프런트엔드 공통 유틸리티",
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
@@ -13,32 +12,26 @@
"default": "./dist/index.js"
}
},
"files": [
"dist"
],
"scripts": {
"build": "tsc",
"typecheck": "tsc --noEmit",
"prepack": "npm run build"
},
"keywords": [
"kri",
"common",
"typescript"
],
"author": "KRI",
"license": "UNLICENSED",
"private": false,
"publishConfig": {
"registry": "https://gitea.kric.com/api/packages/KRi/npm/"
},
"devDependencies": {
"typescript": "^6.0.3"
}
}
}

View File

@@ -7,4 +7,13 @@ export function isBlank(
return value === null
|| value === undefined
|| value.trim().length === 0;
}
/**
* 문자열에 공백이 아닌 문자가 있는지 확인한다.
*/
export function isNotBlank(
value: string | null | undefined,
): boolean {
return !isBlank(value);
}