Skip to content

Commit

Permalink
fix(gmap-vue): remove core and runtime from package.json
Browse files Browse the repository at this point in the history
We also use preset-env in babel configuration instead of env also,
we fix some errors on the husky configuration and errors on the
scripts in the main package.json.

Issue: #274
  • Loading branch information
diegoazh committed Jul 29, 2022
1 parent 137a92c commit 4b803d3
Show file tree
Hide file tree
Showing 7 changed files with 3,432 additions and 1,993 deletions.
Empty file modified .husky/commit-msg
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion .husky/pre-commit
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

pnpm run lint-staged --recursive && pnpm run gen:docs
pnpm run --recursive lint-staged && pnpm run gen:api:docs
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
"author": "\"Daniel Sim, Guillaume Leclerc\",",
"license": "MIT",
"scripts": {
"serve:docs": "pnpm run gen:api:docs --recursive && pnpm run serve:docs --recursive",
"build:all": "pnpm run gen:api:docs && pnpm run build --recursive && pnpm run build:docs --recursive",
"test": "pnpm run test --recursive",
"lint": "pnpm run lint --recursive",
"gen:api:docs": "pnpm run gen:api:docs --recursive",
"serve:docs": "pnpm run --recursive gen:api:docs && pnpm run --recursive serve:docs",
"build:all": "pnpm run gen:api:docs && pnpm run --recursive build && pnpm run --recursive build:docs",
"test": "pnpm run --recursive test",
"lint": "pnpm run --recursive lint",
"gen:api:docs": "pnpm run --recursive gen:api:docs",
"clean": "rimraf ./packages/**/node_modules && rimraf ./packages/**/package-lock.json && rimraf ./pnpm-lock.yaml && rimraf ./node_modules",
"prepare": "husky install"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ title: autocomplete-input

| Name | Description | Bindings |
| ------------- | ------------ | -------- |
| default | Used to set your custom component for the input, eg: v-text-field.<br><br/> It has two binding properties:<br><br/> - `attrs`, it's type is `object`, it's all attributes passed to the component ([vm.$attrs](https://vuejs.org/v2/api/?#vm-attrs))<br><br/> - `listeners`, it's type is `object`, it's all events passed to the component ([vm.$listeners](https://vuejs.org/v2/api/?#vm-listeners)) | <br/> |
| default | Used to set your custom component for the input, eg: v-text-field.<br> | <br/> |

---

Expand Down
2 changes: 1 addition & 1 deletion packages/gmap-vue/.babelrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"presets": [
[
"@babel/env",
"@babel/preset-env",
{
"targets": {
"browsers": ["last 2 versions", "safari >= 7"]
Expand Down
4 changes: 1 addition & 3 deletions packages/gmap-vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,7 @@
},
"homepage": "https://github.com/diegoazh/gmap-vue#readme",
"dependencies": {
"@googlemaps/markerclusterer": "^2.0.4",
"core-js": "^3.22.2",
"regenerator-runtime": "^0.13.9"
"@googlemaps/markerclusterer": "^2.0.4"
},
"peerDependencies": {
"vue": "^2.6.14"
Expand Down
Loading

0 comments on commit 4b803d3

Please sign in to comment.