spoclip-kit 1.0.19 → 1.0.20

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.
Files changed (2) hide show
  1. package/README.md +12 -0
  2. package/package.json +16 -2
package/README.md CHANGED
@@ -50,6 +50,8 @@ npm run release:major
50
50
 
51
51
  ### 1. src/new-module
52
52
 
53
+ - 파일 생성
54
+
53
55
  ```
54
56
  src
55
57
  new-module
@@ -57,6 +59,16 @@ src
57
59
  new-feature.ts
58
60
  ```
59
61
 
62
+ - main entry point 에서 export
63
+
64
+ ```src/index.ts
65
+ // Main entry point for spoclip-kit
66
+ export * from './libs';
67
+ export * from './types';
68
+ // ...
69
+ export * from './new-module';
70
+ ```
71
+
60
72
  ### 2. Update tsup.config.ts
61
73
 
62
74
  ```ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "spoclip-kit",
3
- "version": "1.0.19",
3
+ "version": "1.0.20",
4
4
  "type": "module",
5
5
  "description": "TypeScript utility library for internal use",
6
6
  "files": [
@@ -54,7 +54,12 @@
54
54
  "clean": "rimraf dist",
55
55
  "release:patch": "npm version patch && npm publish",
56
56
  "release:minor": "npm version minor && npm publish",
57
- "release:major": "npm version major && npm publish"
57
+ "release:major": "npm version major && npm publish",
58
+ "pre-release": "npm run build && npm run test:run && npm run lint",
59
+ "post-release": "git push && git push --tags",
60
+ "commit": "git-cz",
61
+ "commit:check": "commitlint --edit",
62
+ "version:check": "npm run commit:check"
58
63
  },
59
64
  "keywords": [
60
65
  "typescript",
@@ -65,10 +70,14 @@
65
70
  "author": "",
66
71
  "license": "MIT",
67
72
  "devDependencies": {
73
+ "@commitlint/cli": "^20.1.0",
74
+ "@commitlint/config-conventional": "^20.0.0",
68
75
  "@eslint/js": "^9.37.0",
69
76
  "@types/node": "^20.10.5",
70
77
  "@typescript-eslint/eslint-plugin": "^8.46.1",
71
78
  "@typescript-eslint/parser": "^8.46.1",
79
+ "commitizen": "^4.3.1",
80
+ "cz-conventional-changelog": "^3.3.0",
72
81
  "eslint": "^9.37.0",
73
82
  "globals": "^16.4.0",
74
83
  "prettier": "^3.1.1",
@@ -81,6 +90,11 @@
81
90
  "peerDependencies": {
82
91
  "typescript": ">=4.9.0"
83
92
  },
93
+ "config": {
94
+ "commitizen": {
95
+ "path": "./node_modules/cz-conventional-changelog"
96
+ }
97
+ },
84
98
  "publishConfig": {
85
99
  "access": "public"
86
100
  },