@aaqiljamal/visual-editor-next 0.2.0 → 0.2.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.
@@ -131,7 +131,9 @@ process.stdout.write("\nProject looks like a Next.js App Router app. Proceeding.
131
131
  babelFile,
132
132
  'module.exports = {\n' +
133
133
  ' presets: ["next/babel"],\n' +
134
- ' plugins: ["@aaqiljamal/visual-editor-babel-plugin"],\n' +
134
+ ' // Resolved via Node so pnpm/yarn-pnp users don\'t need a second\n' +
135
+ ' // explicit install of the plugin alongside @aaqiljamal/visual-editor-next.\n' +
136
+ ' plugins: [require.resolve("@aaqiljamal/visual-editor-babel-plugin")],\n' +
135
137
  '};\n',
136
138
  );
137
139
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aaqiljamal/visual-editor-next",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Visual-edit for Next.js — one install. Includes the overlay, the Babel plugin, and a Route Handler that does AST writes inside your dev process (no separate server).",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -19,19 +19,29 @@
19
19
  "bin": {
20
20
  "visual-editor-init": "bin/visual-editor-init.cjs"
21
21
  },
22
- "files": ["dist", "bin", "README.md"],
22
+ "files": [
23
+ "dist",
24
+ "bin",
25
+ "README.md"
26
+ ],
23
27
  "scripts": {
24
28
  "build": "tsup",
25
29
  "dev": "tsup --watch",
26
30
  "typecheck": "tsc --noEmit",
27
31
  "prepublishOnly": "npm run build"
28
32
  },
29
- "keywords": ["visual-editor", "next", "tailwind", "css-modules", "styled-components"],
33
+ "keywords": [
34
+ "visual-editor",
35
+ "next",
36
+ "tailwind",
37
+ "css-modules",
38
+ "styled-components"
39
+ ],
30
40
  "license": "MIT",
31
41
  "author": "Aaqil Jamal",
32
42
  "repository": {
33
43
  "type": "git",
34
- "url": "https://github.com/The-Design-Alchemist/visual-editor.git",
44
+ "url": "git+https://github.com/The-Design-Alchemist/visual-editor.git",
35
45
  "directory": "packages/next"
36
46
  },
37
47
  "homepage": "https://github.com/The-Design-Alchemist/visual-editor#readme",