-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(seed-icon): change config, change chalk to kleur (#185)
* chore: prettier 설정, config 두 개의 옵션으로 변경 * chore: chalk -> kleur * Create great-pigs-drive.md
- Loading branch information
1 parent
8e1091d
commit 4634f52
Showing
16 changed files
with
155 additions
and
128 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
"@seed-design/icon": patch | ||
--- | ||
|
||
- change chalk to kleur | ||
- remove unnecessary options |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"root": true, | ||
"singleQuote": false, | ||
"semi": true, | ||
"tabWidth": 2, | ||
"useTabs": false, | ||
"trailingComma": "all", | ||
"printWidth": 80, | ||
"arrowParens": "always" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,16 @@ | ||
import esbuild from 'esbuild'; | ||
import pkg from './package.json' assert { type: 'json' }; | ||
import esbuild from "esbuild"; | ||
import pkg from "./package.json" assert { type: "json" }; | ||
|
||
esbuild.build({ | ||
entryPoints: ['./src/index.ts'], | ||
outfile: './bin/index.mjs', | ||
entryPoints: ["./src/index.ts"], | ||
outfile: "./bin/index.mjs", | ||
bundle: true, | ||
write: true, | ||
treeShaking: true, | ||
sourcemap: false, | ||
minify: true, | ||
format: 'esm', | ||
platform: 'node', | ||
target: ['node16'], | ||
external: [ | ||
...Object.keys(pkg.dependencies), | ||
], | ||
format: "esm", | ||
platform: "node", | ||
target: ["node16"], | ||
external: [...Object.keys(pkg.dependencies)], | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
import { relative } from "path"; | ||
|
||
export const generateRelativePath = (from: string, to: string) => { | ||
export const generateRelativeFilePath = (from: string, to: string) => { | ||
const relatived = relative(from, to); | ||
return relatived.startsWith("..") ? relatived : `./${relatived}`; | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,4 +13,4 @@ export const validateIcons = (icons: IconName[]) => { | |
throw new Error(`icon ${icon} is not exist`); | ||
} | ||
} | ||
} | ||
}; |
Oops, something went wrong.