260701_02_ENH: 세팅 중
This commit is contained in:
4
package-lock.json
generated
4
package-lock.json
generated
@@ -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"
|
||||
|
||||
11
package.json
11
package.json
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user