galadrim-feedback 1.0.5 → 1.0.6

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/bin/cli.js +1 -30
  2. package/package.json +1 -1
package/bin/cli.js CHANGED
@@ -47,35 +47,6 @@ If you're using a .babelrc file, add the plugin to the plugins section:
47
47
  "plugins": ["babel-plugin-react-generate-paths"]
48
48
  }
49
49
 
50
- #### For React Router: (check the package.json to see if you are using react router, this config is only needed if you are using react router, but not for react-router-dom)
51
-
52
- // vite.config.ts
53
- import { reactRouter } from "@react-router/dev/vite";
54
- import tailwindcss from "@tailwindcss/vite";
55
- import { defineConfig } from "vite";
56
- import babel from "vite-plugin-babel";
57
- import tsconfigPaths from "vite-tsconfig-paths";
58
-
59
- export default defineConfig({
60
- plugins: [
61
- babel({
62
- include: ["./app/**/*.tsx", "./app/**/*.ts"],
63
- filter: (name) => name.endsWith(".tsx"),
64
- }),
65
- reactRouter(),
66
- // [...]
67
- ],
68
- });
69
-
70
-
71
- // .babelrc
72
- {
73
- "presets": ["@babel/preset-typescript"],
74
- "plugins": ["babel-plugin-react-generate-paths"]
75
- }
76
-
77
-
78
-
79
50
 
80
51
  3. Configure FeedbackRoot component:
81
52
  - Run \`pwd\` command in the frontend root directory and use this absolute path for rootDir prop
@@ -106,7 +77,7 @@ export default defineConfig({
106
77
  - navigate={(path) => navigate(path)} (using detected navigation method)
107
78
  - position="bottom-right"
108
79
  - notionDatabaseId="${NOTION_DATABASE_ID}"
109
- * Place it inside the router context but outside main content areas
80
+ * Place it inside the router context but outside main content areas, if needed you can wrap it in a layout component that is parent to the rest of the app
110
81
 
111
82
  4. Verification:
112
83
  - Show all modified files
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "galadrim-feedback",
3
3
  "private": false,
4
- "version": "1.0.5",
4
+ "version": "1.0.6",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",
7
7
  "module": "dist/index.es",