vue-plugin-template-test 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 +40 -0
  2. package/package.json +9 -9
package/README.md CHANGED
@@ -157,6 +157,46 @@ const { count, increment } = useMyPlugin()
157
157
  </script>
158
158
  ```
159
159
 
160
+ ## 📦 Publishing to npm
161
+
162
+ Before publishing your plugin to npm, make sure you've:
163
+
164
+ 1. **Updated `package.json`** with your plugin details:
165
+ - Change `name` to your package name
166
+ - Update `version`, `description`, `author`, and `keywords`
167
+ - Set `repository` URL if applicable
168
+
169
+ 2. **Built your plugin**:
170
+ ```bash
171
+ npm run build
172
+ ```
173
+
174
+ 3. **Tested thoroughly**:
175
+ ```bash
176
+ npm test
177
+ ```
178
+
179
+ 4. **Log in to npm** (if not already logged in):
180
+ ```bash
181
+ npm login
182
+ ```
183
+
184
+ 5. **Publish to npm**:
185
+ ```bash
186
+ npm publish
187
+ ```
188
+
189
+ > **Note:** The `prepublishOnly` script will automatically run the build before publishing.
190
+
191
+ ## 🌟 Showcase Your Plugin
192
+
193
+ After publishing your plugin, consider adding it to [vue-plugins.org](https://www.vue-plugins.org/) - a curated directory of Vue.js plugins and libraries. It's a great way to:
194
+
195
+ - 📣 **Increase visibility** - Get your plugin discovered by the Vue community
196
+ - 🎯 **Reach your audience** - Connect with developers looking for Vue plugins
197
+ - 🏆 **Build credibility** - Be part of a trusted resource for Vue developers
198
+ - 📊 **Track adoption** - See how your plugin is being used
199
+
160
200
  ## 🤝 Contributing
161
201
 
162
202
  Contributions are welcome! Please feel free to submit a Pull Request.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-plugin-template-test",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "A template for creating Vue plugins",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -41,20 +41,20 @@
41
41
  },
42
42
  "devDependencies": {
43
43
  "@tsconfig/node20": "^20.1.4",
44
- "@types/node": "^22.10.5",
45
- "@vitejs/plugin-vue": "^5.2.1",
46
- "@vitest/ui": "^2.1.8",
44
+ "@types/node": "^25.1.0",
45
+ "@vitejs/plugin-vue": "^6.0.3",
46
+ "@vitest/ui": "^4.0.18",
47
47
  "@vue/eslint-config-prettier": "^10.1.0",
48
48
  "@vue/eslint-config-typescript": "^14.1.3",
49
49
  "@vue/test-utils": "^2.4.6",
50
50
  "eslint": "^9.17.0",
51
- "eslint-plugin-vue": "^9.31.0",
52
- "jsdom": "^25.0.1",
51
+ "eslint-plugin-vue": "^10.7.0",
52
+ "jsdom": "^27.4.0",
53
53
  "prettier": "^3.4.2",
54
54
  "typescript": "~5.7.2",
55
- "vite": "^6.0.7",
56
- "vitest": "^2.1.8",
55
+ "vite": "^7.3.1",
56
+ "vitest": "^4.0.18",
57
57
  "vue": "^3.5.13",
58
- "vue-tsc": "^2.1.10"
58
+ "vue-tsc": "^3.2.4"
59
59
  }
60
60
  }