scottkosman 1.0.0 → 1.0.1

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 +25 -0
  2. package/package.json +5 -1
package/README.md CHANGED
@@ -125,6 +125,31 @@ npm run lint
125
125
  npm run format
126
126
  ```
127
127
 
128
+ ### Publishing
129
+
130
+ The project includes automated publishing scripts:
131
+
132
+ ```bash
133
+ # Publish with patch version bump (1.0.0 -> 1.0.1)
134
+ npm run publish:patch
135
+
136
+ # Publish with minor version bump (1.0.0 -> 1.1.0)
137
+ npm run publish:minor
138
+
139
+ # Publish with major version bump (1.0.0 -> 2.0.0)
140
+ npm run publish:major
141
+
142
+ # Or use the script directly
143
+ ./scripts/publish.sh patch
144
+ ```
145
+
146
+ These scripts will:
147
+ 1. Bump the version number
148
+ 2. Build the project
149
+ 3. Publish to npm
150
+ 4. Create a git tag
151
+ 5. Push changes to GitHub
152
+
128
153
  ### Project Structure
129
154
 
130
155
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "scottkosman",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "A modern, interactive command-line interface for Scott Kosman with quick access to external links",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
@@ -18,6 +18,10 @@
18
18
  "clean": "rm -rf dist",
19
19
  "prebuild": "npm run clean",
20
20
  "prepublishOnly": "npm run build",
21
+ "postversion": "git push && git push --tags",
22
+ "publish:patch": "./scripts/publish.sh patch",
23
+ "publish:minor": "./scripts/publish.sh minor",
24
+ "publish:major": "./scripts/publish.sh major",
21
25
  "test": "jest",
22
26
  "test:watch": "jest --watch",
23
27
  "lint": "eslint src --ext .ts",