Skip to content

Commit 05d8a9a

Browse files
woshikievinayakkulkarnidddependabot-preview[bot]twil
authored
merge (#2)
* chore: add position prop * fix: No mapboxgl detected in options. Map markers are disabled. Please set options.mapboxgl. * update package * fix: mapboxGl as prop not mapboxgl * chore: update build * chore: update package.json * chore: update mapboxgl prop * chore: update multi-query string * chore: update build to support multiquery * fix: typo error * chore: update build * feat: add marker as props * fix: update build * fix: update debouce issue caused by vue component * fix: update build * chore: remove the `_updateInput` method causing debounce issue * chore: update build * fix query method * update passed props to MapboxGeocoder * fix: remove dist build * feat(bot): setup dependabot 🤖 * feat(bot): setup semantic pr 🤖 * chore: minor housekeeping 🧹 * feat(lint): add commitlint & husky 🏗 * chore(housekeeping): gitignore, prettier & babel configs 🥳 * refactor: remove public directory 📂 * feat(ci): add github action 🏗 * build(rollup): add rollup configs 👨‍🔧 * chore: add LICENSE 📓 * refactor(source): refactor GeoCoderCtrl & remove vue config file 💅 * docs: update README 🥳 * feat: add jsconfig for better intellisense 🔌 * refactor: add package.json & lockfile 🚀 * chore: update lockfile to include ship.js * chore: release v0.1.0 (soal#5) * chore(deps): update lockfile with correct scope * chore: release v0.1.1 (soal#7) * chore(deps-dev): bump rollup from 2.10.4 to 2.10.5 Bumps [rollup](https://github.com/rollup/rollup) from 2.10.4 to 2.10.5. - [Release notes](https://github.com/rollup/rollup/releases) - [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md) - [Commits](rollup/rollup@v2.10.4...v2.10.5) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * fix: stop squishing results after updating input - ref: soal#14 * fix: typo issue * chore: update docs - ref soal#10 * fix: no mapboxgl detected issue - ref soal#8 * feat: add geocoder based on custom container_id * docs: update example * feat: add badges * chore: update alignment * chore: release v0.2.0 (soal#15) * Add `prepare` script It is needed for the `npm i git+https://github.com/dd/vue-mapbox-geocoder.git` command to build the package Co-authored-by: Vinayak Kulkarni <inbox.vinayak@gmail.com> Co-authored-by: Vinayak Kulkarni <19776877+vinayakkulkarni@users.noreply.github.com> Co-authored-by: dd <dd@manin.space> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> Co-authored-by: Alexander Kaidalov <twildor@gmail.com>
1 parent f4f0ea9 commit 05d8a9a

31 files changed

+6747
-14393
lines changed

.dependabot/config.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
version: 1
2+
update_configs:
3+
# Keep package.json (& lockfiles) up to date as soon as
4+
# new versions are published to the npm registry
5+
- package_manager: "javascript"
6+
directory: "/"
7+
update_schedule: "live"
8+
# Apply default reviewer and label to created
9+
# pull requests
10+
default_reviewers:
11+
- "vinayakkulkarni"
12+
default_assignees:
13+
- "vinayakkulkarni"
14+
default_labels:
15+
- "dependencies"
16+
commit_message:
17+
prefix: "fix"
18+
prefix_development: "chore"
19+
include_scope: true

.editorconfig

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# editorconfig.org
2+
root = true
3+
4+
[*]
5+
indent_style = space
6+
indent_size = 2
7+
end_of_line = lf
8+
charset = utf-8
9+
trim_trailing_whitespace = true
10+
insert_final_newline = true
11+
12+
[*.md]
13+
trim_trailing_whitespace = false

.eslintignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
11
node_modules
2-
.dist
3-
build
42
dist

.eslintrc.js

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,24 @@
11
module.exports = {
22
root: true,
33
env: {
4-
node: true
4+
browser: true,
5+
es6: true,
6+
node: true,
57
},
6-
extends: ["plugin:vue/essential", "@vue/prettier"],
8+
parserOptions: {
9+
parser: 'babel-eslint',
10+
},
11+
extends: [
12+
'plugin:vue/recommended',
13+
'plugin:prettier/recommended',
14+
'prettier',
15+
'prettier/vue',
16+
],
17+
// required to lint *.vue files
18+
plugins: ['vue', 'prettier'],
19+
// add your custom rules here
720
rules: {
8-
"no-console": process.env.NODE_ENV === "production" ? "error" : "off",
9-
"no-debugger": process.env.NODE_ENV === "production" ? "error" : "off"
21+
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
22+
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
1023
},
11-
parserOptions: {
12-
parser: "babel-eslint"
13-
}
1424
};

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Auto detect text files and perform LF normalization
2+
* text=auto

.github/semantic.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Always validate the PR title AND all the commits
2+
titleAndCommits: true
3+
# Allows use of Merge commits (eg on github: "Merge branch 'master' into feature/ride-unicorns")
4+
# this is only relevant when using commitsOnly: true (or titleAndCommits: true)
5+
allowMergeCommits: true
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
name: Ship js Manual Prepare
2+
on:
3+
issue_comment:
4+
types: [created]
5+
jobs:
6+
manual_prepare:
7+
if: |
8+
github.event_name == 'issue_comment' &&
9+
(github.event.comment.author_association == 'member' || github.event.comment.author_association == 'owner') &&
10+
startsWith(github.event.comment.body, '@shipjs prepare')
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v2
14+
with:
15+
fetch-depth: 0
16+
ref: master
17+
- uses: actions/setup-node@v1
18+
- run: |
19+
if [ -f "yarn.lock" ]; then
20+
yarn install
21+
else
22+
npm install
23+
fi
24+
- run: |
25+
git config --global user.email "github-actions[bot]@users.noreply.github.com"
26+
git config --global user.name "github-actions[bot]"
27+
- run: npm run release:prepare -- --yes --no-browse
28+
env:
29+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
30+
SLACK_INCOMING_HOOK: ${{ secrets.SLACK_INCOMING_HOOK }}
31+
32+
create_done_comment:
33+
if: success()
34+
needs: manual_prepare
35+
runs-on: ubuntu-latest
36+
steps:
37+
- uses: actions/github@master
38+
env:
39+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
40+
with:
41+
args: comment "@${{ github.actor }} `shipjs prepare` done"
42+
43+
create_fail_comment:
44+
if: cancelled() || failure()
45+
needs: manual_prepare
46+
runs-on: ubuntu-latest
47+
steps:
48+
- uses: actions/github@master
49+
env:
50+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
51+
with:
52+
args: comment "@${{ github.actor }} `shipjs prepare` fail"
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Ship js trigger
2+
on:
3+
push:
4+
branches:
5+
- master
6+
jobs:
7+
build:
8+
name: Release
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
with:
13+
ref: master
14+
15+
- uses: actions/setup-node@v1
16+
with:
17+
registry-url: "https://npm.pkg.github.com"
18+
- run: |
19+
if [ -f "yarn.lock" ]; then
20+
yarn install
21+
else
22+
npm install
23+
fi
24+
25+
- run: npm run release:trigger
26+
env:
27+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
28+
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
29+
SLACK_INCOMING_HOOK: ${{ secrets.SLACK_INCOMING_HOOK }}

.gitignore

Lines changed: 70 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,48 +2,104 @@
22
logs
33
*.log
44
npm-debug.log*
5-
*.code-workspace
5+
yarn-debug.log*
6+
yarn-error.log*
7+
lerna-debug.log*
8+
9+
# Diagnostic reports (https://nodejs.org/api/report.html)
10+
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
611

712
# Runtime data
813
pids
914
*.pid
1015
*.seed
16+
*.pid.lock
1117

1218
# Directory for instrumented libs generated by jscoverage/JSCover
1319
lib-cov
1420

1521
# Coverage directory used by tools like istanbul
1622
coverage
23+
*.lcov
1724

1825
# nyc test coverage
1926
.nyc_output
2027

21-
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
28+
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
2229
.grunt
2330

31+
# Bower dependency directory (https://bower.io/)
32+
bower_components
33+
2434
# node-waf configuration
2535
.lock-wscript
2636

27-
# Compiled binary addons (http://nodejs.org/api/addons.html)
37+
# Compiled binary addons (https://nodejs.org/api/addons.html)
2838
build/Release
2939

3040
# Dependency directories
31-
node_modules
32-
jspm_packages
41+
node_modules/
42+
jspm_packages/
43+
44+
# TypeScript v1 declaration files
45+
typings/
46+
47+
# TypeScript cache
48+
*.tsbuildinfo
3349

3450
# Optional npm cache directory
3551
.npm
3652

53+
# Optional eslint cache
54+
.eslintcache
55+
56+
# Microbundle cache
57+
.rpt2_cache/
58+
.rts2_cache_cjs/
59+
.rts2_cache_es/
60+
.rts2_cache_umd/
61+
3762
# Optional REPL history
3863
.node_repl_history
39-
*.vscode
40-
*.idea
4164

42-
*.sublime-*
43-
*.editorconfig
44-
*.code-workspace
65+
# Output of 'npm pack'
66+
*.tgz
67+
68+
# Yarn Integrity file
69+
.yarn-integrity
70+
71+
# dotenv environment variables file
72+
.env
73+
.env.test
74+
75+
# parcel-bundler cache (https://parceljs.org/)
76+
.cache
77+
78+
# Next.js build output
79+
.next
80+
81+
# Nuxt.js build / generate output
82+
.nuxt
83+
dist
84+
85+
# Gatsby files
86+
.cache/
87+
# Comment in the public line in if your project uses Gatsby and *not* Next.js
88+
# https://nextjs.org/blog/next-9-1#public-directory-support
89+
# public
90+
91+
# vuepress build output
92+
.vuepress/dist
93+
94+
# Serverless directories
95+
.serverless/
96+
97+
# FuseBox cache
98+
.fusebox/
99+
100+
# DynamoDB Local files
101+
.dynamodb/
45102

46-
*.map*
47-
*.DS_Store
48-
vue-mapbox-demo
49-
checklist.txt
103+
# TernJS port file
104+
.tern-port
105+
.DS_Store

.prettierrc

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"semi": true,
3+
"arrowParens": "always",
4+
"singleQuote": true,
5+
"trailingComma": "all",
6+
"bracketSpacing": true,
7+
"htmlWhitespaceSensitivity": "css",
8+
"insertPragma": false,
9+
"tabWidth": 2,
10+
"useTabs": false,
11+
"vueIndentScriptAndStyle": true
12+
}

0 commit comments

Comments
 (0)