nextjs-ide-helper 1.1.0 → 1.1.2

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/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-cursor-helper',
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-cursor-helper/withIdeButton'] - Import path for withIdeButton
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
 
@@ -18,7 +18,7 @@ function withCursorHelper(options = {}) {
18
18
  const defaultOptions = {
19
19
  componentPaths: ['src/components'],
20
20
  projectRoot: process.cwd(),
21
- importPath: 'nextjs-cursor-helper/withIdeButton',
21
+ importPath: 'nextjs-ide-helper',
22
22
  enabled: process.env.NODE_ENV === 'development'
23
23
  };
24
24
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nextjs-ide-helper",
3
- "version": "1.1.0",
3
+ "version": "1.1.2",
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",
package/src/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-cursor-helper/withIdeButton',
15
+ importPath = 'nextjs-ide-helper',
16
16
  enabled = process.env.NODE_ENV === 'development'
17
17
  } = options;
18
18
 
package/src/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-cursor-helper/withIdeButton'] - Import path for withIdeButton
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
 
@@ -18,7 +18,7 @@ function withCursorHelper(options = {}) {
18
18
  const defaultOptions = {
19
19
  componentPaths: ['src/components'],
20
20
  projectRoot: process.cwd(),
21
- importPath: 'nextjs-cursor-helper/withIdeButton',
21
+ importPath: 'nextjs-ide-helper',
22
22
  enabled: process.env.NODE_ENV === 'development'
23
23
  };
24
24