nextjs-ide-helper 1.1.1 → 1.1.3
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 +7 -1
- package/lib/loader.js +1 -1
- package/lib/plugin.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -174,8 +174,14 @@ MIT
|
|
|
174
174
|
|
|
175
175
|
## Changelog
|
|
176
176
|
|
|
177
|
+
### 1.1.3
|
|
178
|
+
updated readme
|
|
179
|
+
|
|
180
|
+
### 1.1.2
|
|
181
|
+
- Added support for multiple IDEs (Cursor, VS Code, WebStorm, Atom)
|
|
182
|
+
|
|
177
183
|
### 1.0.0
|
|
178
184
|
- Initial release
|
|
179
185
|
- Automatic component wrapping
|
|
180
186
|
- TypeScript support
|
|
181
|
-
- Hydration-safe implementation
|
|
187
|
+
- Hydration-safe implementation
|
package/lib/loader.js
CHANGED
|
@@ -12,7 +12,7 @@ module.exports = function cursorButtonLoader(source) {
|
|
|
12
12
|
const {
|
|
13
13
|
componentPaths = ['src/components'],
|
|
14
14
|
projectRoot = process.cwd(),
|
|
15
|
-
importPath = 'nextjs-
|
|
15
|
+
importPath = 'nextjs-ide-helper',
|
|
16
16
|
enabled = process.env.NODE_ENV === 'development'
|
|
17
17
|
} = options;
|
|
18
18
|
|
package/lib/plugin.js
CHANGED
|
@@ -5,7 +5,7 @@ const path = require('path');
|
|
|
5
5
|
* @typedef {Object} CursorHelperOptions
|
|
6
6
|
* @property {string[]} [componentPaths=['src/components']] - Paths to scan for React components
|
|
7
7
|
* @property {string} [projectRoot=process.cwd()] - Root directory of the project
|
|
8
|
-
* @property {string} [importPath='nextjs-ide-helper
|
|
8
|
+
* @property {string} [importPath='nextjs-ide-helper'] - Import path for withIdeButton
|
|
9
9
|
* @property {boolean} [enabled=process.env.NODE_ENV === 'development'] - Enable/disable the plugin
|
|
10
10
|
*/
|
|
11
11
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nextjs-ide-helper",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.3",
|
|
4
4
|
"description": "A Next.js plugin that automatically adds IDE buttons to React components for seamless IDE integration. Supports Cursor, VS Code, WebStorm, and Atom.",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|