hanbiro-react16-sdk 1.0.15 → 1.0.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -5
- package/dist/components/CountryFlag/flags/DEFlag.d.ts +3 -0
- package/dist/components/CountryFlag/flags/ESFlag.d.ts +3 -0
- package/dist/components/CountryFlag/flags/FRFlag.d.ts +3 -0
- package/dist/components/CountryFlag/flags/ITFlag.d.ts +3 -0
- package/dist/components/CountryFlag/flags/JPFlag.d.ts +3 -0
- package/dist/components/CountryFlag/flags/NLFlag.d.ts +3 -0
- package/dist/components/CountryFlag/flags/PTFlag.d.ts +3 -0
- package/dist/components/CountryFlag/flags/RUFlag.d.ts +3 -0
- package/dist/components/CountryFlag/flags/SAFlag.d.ts +3 -0
- package/dist/components/CountryFlag/flags/THFlag.d.ts +3 -0
- package/dist/components/CountryFlag/flags/TWFlag.d.ts +3 -0
- package/dist/components/CountryFlag/index.d.ts +1 -1
- package/dist/hanbiro-react16-sdk.es.js +628 -1
- package/dist/hanbiro-react16-sdk.umd.js +1433 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -238,20 +238,24 @@ function setEmailContext(html) {
|
|
|
238
238
|
Follow these steps when updating the library:
|
|
239
239
|
|
|
240
240
|
1. **Finish coding**: Make your changes in the `src` directory.
|
|
241
|
-
2. **
|
|
241
|
+
2. **Typecheck**: Run the typecheck command to ensure there are no errors.
|
|
242
|
+
```bash
|
|
243
|
+
npm run test:typescript
|
|
244
|
+
```
|
|
245
|
+
3. **Build**: Run the build command and ensure there are no errors.
|
|
242
246
|
```bash
|
|
243
247
|
npm run build
|
|
244
248
|
```
|
|
245
|
-
|
|
246
|
-
|
|
249
|
+
4. **Commit**: Commit your changes to git.
|
|
250
|
+
5. **Patch version**: Increment the version number.
|
|
247
251
|
```bash
|
|
248
252
|
npm version patch
|
|
249
253
|
```
|
|
250
|
-
|
|
254
|
+
6. **Push**: Push the changes and tags to GitHub.
|
|
251
255
|
```bash
|
|
252
256
|
git push origin main --follow-tags
|
|
253
257
|
```
|
|
254
|
-
|
|
258
|
+
7. **Publish**: Publish the new version to npm.
|
|
255
259
|
```bash
|
|
256
260
|
npm publish
|
|
257
261
|
```
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
export type FlagCode = "cn" | "id" | "kr" | "us" | "vn";
|
|
2
|
+
export type FlagCode = "cn" | "de" | "es" | "fr" | "id" | "it" | "jp" | "kr" | "nl" | "pt" | "ru" | "sa" | "th" | "tw" | "us" | "vn";
|
|
3
3
|
export interface FlagProps extends React.SVGAttributes<SVGSVGElement> {
|
|
4
4
|
flagCode?: FlagCode;
|
|
5
5
|
}
|