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", "name": "@kri/common",
"version": "0.1.0", "version": "0.1.1",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@kri/common", "name": "@kri/common",
"version": "0.1.0", "version": "0.1.1",
"license": "UNLICENSED", "license": "UNLICENSED",
"devDependencies": { "devDependencies": {
"typescript": "^6.0.3" "typescript": "^6.0.3"

View File

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

View File

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