quasar-ui-danx 0.3.1 → 0.3.3

Sign up to get free protection for your applications and to get access to all the features.
package/README.md CHANGED
@@ -86,7 +86,8 @@ export default ({ command }) => {
86
86
  * NOTE: Setting this up w/ `npm link` or trying to modify tsconfig.json / vite.config.ts only can be quite
87
87
  challenging to get everything configured correctly. I found this to be the best solution.
88
88
  * copy/paste and run `./danx-local.sh`
89
- * (recommended) if using docker, add this to your entrypoint script
89
+ * (recommended) Configure yarn / npm to always run this after updating packages
90
+ * Add `{"scripts: {..., "postinstall": "./danx-local.sh"}}` to your package.json
90
91
  * (or manually symlink node_modules/quasar-ui-danx to ../../quasar-ui-danx/ui/src)
91
92
  * Directory structure of your project relative to quasar-ui-danx:
92
93
 
package/danx-local.sh CHANGED
@@ -3,6 +3,7 @@
3
3
  set +x
4
4
 
5
5
  # Resolve path to quasar-ui-danx (can be up 1 or 2 directories)
6
+ # shellcheck disable=SC2046
6
7
  DANX_PATH="$(realpath $(find ../.. -maxdepth 2 -type d -name "quasar-ui-danx" | head -n 1))/ui/src"
7
8
  MODULE_PATH="$(pwd)/node_modules/quasar-ui-danx"
8
9