Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: auto-generate file web-types.json for WebStorm, and files vetur-tags.json and vetur-attributes.json for Vetur (closes #4107) #4110

Merged
merged 343 commits into from Oct 15, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
343 commits
Select commit Hold shift + click to select a range
98c6a71
Update package.json
tmorehouse Sep 19, 2019
502eb18
Update create-web-types.js
tmorehouse Sep 19, 2019
1371130
Update package.json
tmorehouse Sep 19, 2019
a460899
Update package.json
tmorehouse Sep 19, 2019
39705a3
Update package.json
tmorehouse Sep 19, 2019
c5f71c7
Update package.json
tmorehouse Sep 19, 2019
3df6170
Update package.json
tmorehouse Sep 19, 2019
07d30cb
Update package.json
tmorehouse Sep 19, 2019
48fa0a9
Update create-web-types.js
tmorehouse Sep 19, 2019
7524b2d
Update package.json
tmorehouse Sep 19, 2019
6b3748d
Update package.json
tmorehouse Sep 19, 2019
5652e79
Update create-web-types.js
tmorehouse Sep 19, 2019
f1a4127
Update create-web-types.js
tmorehouse Sep 19, 2019
55f166d
Update create-web-types.js
tmorehouse Sep 19, 2019
07da0ac
Update create-web-types.js
tmorehouse Sep 19, 2019
b608126
Update importdoc.vue
tmorehouse Sep 19, 2019
865e332
Update importdoc.vue
tmorehouse Sep 19, 2019
2ade89e
Update create-web-types.js
tmorehouse Sep 19, 2019
a45c77d
Update package.json
tmorehouse Sep 19, 2019
57f5661
Update package.json
tmorehouse Sep 19, 2019
fa7ae44
Update importdoc.vue
tmorehouse Sep 19, 2019
00d31d1
Update create-web-types.js
tmorehouse Sep 19, 2019
0ea9fec
Update index.js
tmorehouse Sep 20, 2019
cc23abc
Update index.js
tmorehouse Sep 20, 2019
3945105
Update package.json
tmorehouse Sep 20, 2019
61fd5ca
Update package.json
tmorehouse Sep 20, 2019
f3328d8
Update package.json
tmorehouse Sep 20, 2019
1aba83d
Update package.json
tmorehouse Sep 20, 2019
57d5916
Update package.json
tmorehouse Sep 20, 2019
ae2029b
Update package.json
tmorehouse Sep 20, 2019
8237198
Update componentdoc.vue
tmorehouse Sep 20, 2019
10a0f59
Update _slug.js
tmorehouse Sep 20, 2019
c78abb7
Update componentdoc.vue
tmorehouse Sep 20, 2019
834d5e6
Update _slug.js
tmorehouse Sep 20, 2019
72b88b1
Merge branch 'dev' into tmorehouse/web-types
tmorehouse Sep 20, 2019
f1b0f13
Merge branch 'dev' into tmorehouse/web-types
tmorehouse Sep 20, 2019
afa2345
Update create-web-types.js
tmorehouse Sep 20, 2019
83e208b
Update package.json
tmorehouse Sep 20, 2019
ff9239d
Update README.md
tmorehouse Sep 20, 2019
787ad12
Update README.md
tmorehouse Sep 20, 2019
491378a
Update componentdoc.vue
tmorehouse Sep 22, 2019
878d3bc
Update create-web-types.js
tmorehouse Sep 22, 2019
3bd85ce
Create common-props.json
tmorehouse Sep 22, 2019
5e949a1
Update componentdoc.vue
tmorehouse Sep 22, 2019
c09c61c
Merge branch 'dev' into tmorehouse/web-types
tmorehouse Sep 22, 2019
a3d277f
Update componentdoc.vue
tmorehouse Sep 22, 2019
461725b
Update componentdoc.vue
tmorehouse Sep 22, 2019
b0e54f9
Update create-web-types.js
tmorehouse Sep 22, 2019
78d428e
Update create-web-types.js
tmorehouse Sep 22, 2019
7be17f7
Update common-props.json
tmorehouse Sep 22, 2019
02534a9
Update package.json
tmorehouse Sep 22, 2019
244c6d3
Update common-props.json
tmorehouse Sep 22, 2019
3eaadb2
Update package.json
tmorehouse Sep 22, 2019
17759f1
Update create-web-types.js
tmorehouse Sep 22, 2019
7172d10
Update package.json
tmorehouse Sep 22, 2019
2380dd3
Update package.json
tmorehouse Sep 22, 2019
be73577
Update common-props.json
tmorehouse Sep 22, 2019
374ba44
Update common-props.json
tmorehouse Sep 22, 2019
dc425e0
Update common-props.json
tmorehouse Sep 22, 2019
9734080
Update common-props.json
tmorehouse Sep 22, 2019
791a252
Update common-props.json
tmorehouse Sep 22, 2019
9a27da5
Update common-props.json
tmorehouse Sep 22, 2019
f13c8e6
Update common-props.json
tmorehouse Sep 22, 2019
9ccf98d
Update package.json
tmorehouse Sep 22, 2019
9e4a6f5
Update common-props.json
tmorehouse Sep 22, 2019
ca3f743
Update componentdoc.vue
tmorehouse Sep 22, 2019
6d3eb52
Update common-props.json
tmorehouse Sep 22, 2019
d3e9a33
Update componentdoc.vue
tmorehouse Sep 22, 2019
1a29a5a
Update common-props.json
tmorehouse Sep 22, 2019
850c3d8
Update common-props.json
tmorehouse Sep 22, 2019
6583139
Update package.json
tmorehouse Sep 22, 2019
a4d9e15
Update common-props.json
tmorehouse Sep 22, 2019
5b962b8
Update package.json
tmorehouse Sep 22, 2019
406eaa4
Merge branch 'dev' into tmorehouse/web-types
tmorehouse Sep 22, 2019
160efae
Update package.json
tmorehouse Sep 22, 2019
349aae9
Update package.json
tmorehouse Sep 22, 2019
0ea9482
Update package.json
tmorehouse Sep 22, 2019
6109a65
Update package.json
tmorehouse Sep 22, 2019
55768d0
Update package.json
tmorehouse Sep 22, 2019
755c03a
Update common-props.json
tmorehouse Sep 22, 2019
d40fa78
Update importdoc.vue
tmorehouse Sep 22, 2019
aafe675
Update componentdoc.vue
tmorehouse Sep 22, 2019
6ff0aa1
Update componentdoc.vue
tmorehouse Sep 22, 2019
67b45e7
Update componentdoc.vue
tmorehouse Sep 22, 2019
5ee7cc6
Update componentdoc.vue
tmorehouse Sep 22, 2019
7240c82
Update common-props.json
tmorehouse Sep 22, 2019
a920c63
Update common-props.json
tmorehouse Sep 22, 2019
b4a399b
Update componentdoc.vue
tmorehouse Sep 22, 2019
a934921
Update package.json
tmorehouse Sep 22, 2019
1e28ca0
Update package.json
tmorehouse Sep 22, 2019
99270ef
Update package.json
tmorehouse Sep 22, 2019
01da386
Update package.json
tmorehouse Sep 22, 2019
2f38ffb
Update package.json
tmorehouse Sep 22, 2019
e11a987
Update package.json
tmorehouse Sep 22, 2019
debb755
Update package.json
tmorehouse Sep 23, 2019
fbe2239
Update componentdoc.vue
tmorehouse Sep 23, 2019
aa7d24c
Update package.json
tmorehouse Sep 23, 2019
c538134
Update componentdoc.vue
tmorehouse Sep 23, 2019
40c0494
Update create-web-types.js
tmorehouse Sep 23, 2019
28b49b4
Update package.json
tmorehouse Sep 23, 2019
cd44351
Update componentdoc.vue
tmorehouse Sep 23, 2019
9120531
Update package.json
tmorehouse Sep 23, 2019
427b728
Update safe-types.js
tmorehouse Sep 23, 2019
f26b11e
Update form-file.js
tmorehouse Sep 23, 2019
bafcfdb
Update componentdoc.vue
tmorehouse Sep 23, 2019
a1b0ec9
Update package.json
tmorehouse Sep 23, 2019
2d4a986
Update package.json
tmorehouse Sep 23, 2019
b6dfd26
Update package.json
tmorehouse Sep 23, 2019
3179701
Update package.json
tmorehouse Sep 23, 2019
3418824
Update package.json
tmorehouse Sep 23, 2019
b7bd3a3
Update package.json
tmorehouse Sep 23, 2019
001c7f5
Update package.json
tmorehouse Sep 23, 2019
9ac2ad4
Update componentdoc.vue
tmorehouse Sep 23, 2019
2275bb6
Update package.json
tmorehouse Sep 23, 2019
482018c
Update package.json
tmorehouse Sep 23, 2019
7a62f46
Update package.json
tmorehouse Sep 23, 2019
7d7398d
Update package.json
tmorehouse Sep 23, 2019
b6ebc48
Update componentdoc.vue
tmorehouse Sep 23, 2019
52f09dc
Update componentdoc.vue
tmorehouse Sep 23, 2019
d1bfad6
Update componentdoc.vue
tmorehouse Sep 23, 2019
875736c
Update componentdoc.vue
tmorehouse Sep 23, 2019
b72bdf6
Update componentdoc.vue
tmorehouse Sep 23, 2019
c24108f
Update styles.scss
tmorehouse Sep 23, 2019
8b76cfe
Update componentdoc.vue
tmorehouse Sep 23, 2019
c99136f
Update componentdoc.vue
tmorehouse Sep 23, 2019
d7b38b5
Update componentdoc.vue
tmorehouse Sep 23, 2019
5722cd6
Update componentdoc.vue
tmorehouse Sep 23, 2019
e522c98
Update componentdoc.vue
tmorehouse Sep 23, 2019
f8ac822
Update componentdoc.vue
tmorehouse Sep 23, 2019
9b159a2
Update componentdoc.vue
tmorehouse Sep 23, 2019
70a08bc
Update README.md
tmorehouse Sep 23, 2019
8fc910d
Update componentdoc.vue
tmorehouse Sep 23, 2019
b283bb9
Update componentdoc.vue
tmorehouse Sep 23, 2019
1f60f7a
Update componentdoc.vue
tmorehouse Sep 23, 2019
41e69e3
Update componentdoc.vue
tmorehouse Sep 23, 2019
18701b9
Update componentdoc.vue
tmorehouse Sep 23, 2019
33e296d
Update common-props.json
tmorehouse Sep 23, 2019
8bd4951
Update common-props.json
tmorehouse Sep 23, 2019
6ff3f79
Update common-props.json
tmorehouse Sep 23, 2019
62617f0
Merge branch 'dev' into tmorehouse/web-types
tmorehouse Sep 23, 2019
71233a3
Update common-props.json
tmorehouse Sep 23, 2019
362f070
Update common-props.json
tmorehouse Sep 23, 2019
e476dad
Update form-checkbox-group.js
tmorehouse Sep 23, 2019
bcf8f25
Update form-checkbox.js
tmorehouse Sep 23, 2019
98b0cac
Update form-checkbox.js
tmorehouse Sep 23, 2019
202a2ff
Update form-radio-group.js
tmorehouse Sep 23, 2019
b54e176
Update form-radio.js
tmorehouse Sep 23, 2019
faa11ee
Update package.json
tmorehouse Sep 23, 2019
0fb86b9
Update common-props.json
tmorehouse Sep 23, 2019
77a0e64
Update package.json
tmorehouse Sep 24, 2019
cebbfd2
Update card-img.js
tmorehouse Sep 24, 2019
35ba2c5
Update card-img-lazy.js
tmorehouse Sep 24, 2019
f3b9132
Update card-img.js
tmorehouse Sep 24, 2019
5576536
Update package.json
tmorehouse Sep 24, 2019
e00b1c6
Merge branch 'dev' into tmorehouse/web-types
tmorehouse Sep 24, 2019
148b6e2
Update componentdoc.vue
tmorehouse Sep 24, 2019
8c2f9e8
Update componentdoc.vue
tmorehouse Sep 24, 2019
7cbee4b
Update package.json
tmorehouse Sep 24, 2019
3306937
Update componentdoc.vue
tmorehouse Sep 24, 2019
9d50dc1
Update componentdoc.vue
tmorehouse Sep 24, 2019
890d86d
Update componentdoc.vue
tmorehouse Sep 24, 2019
3732db5
Update componentdoc.vue
tmorehouse Sep 24, 2019
7a6e556
Update componentdoc.vue
tmorehouse Sep 24, 2019
6d59f32
Update componentdoc.vue
tmorehouse Sep 24, 2019
56bb740
Merge branch 'dev' into tmorehouse/web-types
tmorehouse Sep 24, 2019
083ff0e
Update package.json
tmorehouse Sep 24, 2019
b4ad3b5
Update package.json
tmorehouse Sep 24, 2019
36a8920
Update package.json
tmorehouse Sep 24, 2019
9262947
Update package.json
tmorehouse Sep 24, 2019
8922d82
Update package.json
tmorehouse Sep 24, 2019
4b8b2a7
web-types: switch deprecated `vue-scoped-slots` to `slots`
tmorehouse Sep 24, 2019
a92ec07
Update package.json
tmorehouse Sep 24, 2019
f2a82e2
Update common-props.json
tmorehouse Sep 24, 2019
c08561b
Merge branch 'dev' into tmorehouse/web-types
tmorehouse Sep 24, 2019
972460d
Update componentdoc.vue
tmorehouse Sep 24, 2019
8adfd82
Update common-props.json
tmorehouse Sep 24, 2019
be603df
Update componentdoc.vue
tmorehouse Sep 24, 2019
9766fa8
Update package.json
tmorehouse Sep 24, 2019
e419002
Update package.json
tmorehouse Sep 24, 2019
7356caa
Update package.json
tmorehouse Sep 24, 2019
9b66ee2
Update package.json
tmorehouse Sep 24, 2019
f6bd815
Update package.json
tmorehouse Sep 24, 2019
ffdd6e5
Update package.json
tmorehouse Sep 25, 2019
348b999
Update package.json
tmorehouse Sep 25, 2019
3407a1e
Update package.json
tmorehouse Sep 25, 2019
1c5aabd
Update package.json
tmorehouse Sep 25, 2019
5f4b8f5
Update package.json
tmorehouse Sep 25, 2019
57c8681
Update package.json
tmorehouse Sep 25, 2019
6d63424
Update package.json
tmorehouse Sep 25, 2019
9f8dd64
Merge branch 'dev' into tmorehouse/web-types
tmorehouse Sep 26, 2019
1a4778f
Update package.json
tmorehouse Sep 26, 2019
cae244b
Update package.json
tmorehouse Sep 26, 2019
0b1abe8
Update package.json
tmorehouse Sep 26, 2019
fa6d149
Update componentdoc.vue
tmorehouse Sep 26, 2019
3fa8986
Update package.json
tmorehouse Sep 26, 2019
589a620
Update package.json
tmorehouse Sep 27, 2019
5795445
Update package.json
tmorehouse Sep 27, 2019
e9e3bd5
Update package.json
tmorehouse Sep 27, 2019
181bc4a
Update package.json
tmorehouse Sep 27, 2019
1539a64
Update package.json
tmorehouse Sep 27, 2019
ca02209
Update tab.js
tmorehouse Sep 27, 2019
9e1397c
Update tabs.js
tmorehouse Sep 27, 2019
39b1420
Update package.json
tmorehouse Sep 27, 2019
a1427fc
Update package.json
tmorehouse Sep 27, 2019
be61789
Update package.json
tmorehouse Sep 27, 2019
ea829b0
Update componentdoc.vue
tmorehouse Sep 27, 2019
bc884fc
Update package.json
tmorehouse Sep 27, 2019
8868fe6
Update package.json
tmorehouse Sep 27, 2019
3ee9f01
Update componentdoc.vue
tmorehouse Sep 27, 2019
5b348ed
Update componentdoc.vue
tmorehouse Sep 27, 2019
6b07d61
Update componentdoc.vue
tmorehouse Sep 27, 2019
fd05072
Update componentdoc.vue
tmorehouse Sep 27, 2019
6040beb
Update componentdoc.vue
tmorehouse Sep 27, 2019
e2b49c9
Update componentdoc.vue
tmorehouse Sep 27, 2019
15cb652
Update componentdoc.vue
tmorehouse Sep 27, 2019
e1700bc
Update componentdoc.vue
tmorehouse Sep 27, 2019
4efac18
Update package.json
tmorehouse Sep 27, 2019
4480214
Update package.json
tmorehouse Sep 27, 2019
45d637e
Update package.json
tmorehouse Sep 27, 2019
bd01384
Update package.json
tmorehouse Sep 27, 2019
ee9a1bc
Update modal.js
tmorehouse Sep 27, 2019
90443a3
Update package.json
tmorehouse Sep 27, 2019
b337e28
Update package.json
tmorehouse Sep 27, 2019
2565e92
Update package.json
tmorehouse Sep 27, 2019
d315eae
Update package.json
tmorehouse Sep 27, 2019
8a1ef2f
Update package.json
tmorehouse Sep 27, 2019
bc41c8d
Update package.json
tmorehouse Sep 27, 2019
bf75304
Update package.json
tmorehouse Sep 27, 2019
ca006e7
Update package.json
tmorehouse Sep 27, 2019
7ab8e0f
Update package.json
tmorehouse Sep 27, 2019
d8872c2
chore: merge meta changes into web type branch (#4163)
tmorehouse Sep 27, 2019
a9ae9eb
Merge branch 'dev' into tmorehouse/web-types
tmorehouse Sep 27, 2019
15e8066
Create create-web-types.js
tmorehouse Sep 27, 2019
82cbda2
Update build.sh
tmorehouse Sep 27, 2019
efed9d7
Update package.json
tmorehouse Sep 27, 2019
a7b30b3
Merge branch 'dev' into tmorehouse/web-types
tmorehouse Oct 2, 2019
5d181cc
Merge branch 'dev' into tmorehouse/web-types
tmorehouse Oct 3, 2019
7ddc0e6
Merge branch 'dev' into tmorehouse/web-types
tmorehouse Oct 6, 2019
5da4179
Merge branch 'dev' into tmorehouse/web-types
tmorehouse Oct 6, 2019
f0728d8
Merge branch 'dev' into tmorehouse/web-types
tmorehouse Oct 11, 2019
25ffa68
Merge branch 'dev' into tmorehouse/web-types
tmorehouse Oct 11, 2019
8476449
Update README.md
tmorehouse Oct 11, 2019
4a33fb5
Merge branch 'dev' into tmorehouse/web-types
tmorehouse Oct 15, 2019
770d74c
Update create-web-types.js
tmorehouse Oct 15, 2019
ad34d72
Merge branch 'dev' into tmorehouse/web-types
tmorehouse Oct 15, 2019
47212f1
Update README.md
jacobmllr95 Oct 15, 2019
3edc90b
Update package.json
jacobmllr95 Oct 15, 2019
9c0a29a
Update create-web-types.js
jacobmllr95 Oct 15, 2019
45a3600
Merge branch 'tmorehouse/web-types' of https://github.com/bootstrap-v…
jacobmllr95 Oct 15, 2019
b8e0389
Merge branch 'dev' into tmorehouse/web-types
jacobmllr95 Oct 15, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
11 changes: 9 additions & 2 deletions docs/markdown/intro/README.md
Expand Up @@ -742,8 +742,15 @@ above for an example.

## Tooling support

BootstrapVue provides additional helper files for auto completion in popular IDE editors.

### VS Code + Vetur

If you are using [VS Code](https://code.visualstudio.com/) as your text editor, BootstrapVue has
intellisense autocompletion for component attributes available when using the
[Vetur extension](https://marketplace.visualstudio.com/items?itemName=octref.vetur).
intellisense autocompletion for component attributes and directives available via the
`dist/vetur-tags.json` and `dist/vetur-attributes.json` files.

### JetBrains WebStorm (and compatible)

For [WebStorm](https://www.jetbrains.com/webstorm/) editor (or web-types compatible), BootstrapVue
provides the file `dist/web-types.json` for component attribute and directive auto-completion.
7 changes: 6 additions & 1 deletion package.json
Expand Up @@ -10,9 +10,14 @@
"sass": "src/index.scss",
"style": "dist/bootstrap-vue.css",
"license": "MIT",
"types": "src/index.d.ts",
"repository": "bootstrap-vue/bootstrap-vue",
"homepage": "https://bootstrap-vue.js.org",
"types": "src/index.d.ts",
"web-types": "dist/web-types.json",
"vetur": {
"tags": "dist/vetur-tags.json",
"attributes": "dist/vetur-attributes.json"
},
"contributors": [
{
"name": "Pooya Parsa",
Expand Down
5 changes: 5 additions & 0 deletions scripts/build.sh
Expand Up @@ -84,4 +84,9 @@ cd ..
echo 'Done.'
echo ''

echo 'Building IDE auto-complete helper files...'
node -r esm scripts/create-web-types.js || exit 1
echo 'Done.'
echo ''

echo 'Done building assets.'