From e236c47300fd9dab9425b1c36983b5b37f87e38c Mon Sep 17 00:00:00 2001 From: Jeff Date: Mon, 15 Jan 2018 14:25:16 -0800 Subject: [PATCH] remove old docs, update build/dev scripts --- docs-old/Docs.vue | 54 ---- docs-old/components/Code.vue | 20 -- docs-old/components/Examples.vue | 192 -------------- docs-old/components/GithubSearch.vue | 122 --------- docs-old/components/GithubSearchBasic.vue | 38 --- docs-old/components/Params.vue | 130 --------- docs-old/components/snippets/Ajax.vue | 131 ---------- docs-old/components/snippets/AjaxExample.vue | 31 --- docs-old/components/snippets/AjaxProps.vue | 28 -- .../components/snippets/InstallSnippet.vue | 41 --- docs-old/data/advanced.js | 246 ------------------ docs-old/data/simple.js | 1 - docs-old/docs.html | 92 ------- docs-old/docs.js | 36 --- package.json | 4 +- 15 files changed, 3 insertions(+), 1163 deletions(-) delete mode 100644 docs-old/Docs.vue delete mode 100644 docs-old/components/Code.vue delete mode 100644 docs-old/components/Examples.vue delete mode 100644 docs-old/components/GithubSearch.vue delete mode 100644 docs-old/components/GithubSearchBasic.vue delete mode 100644 docs-old/components/Params.vue delete mode 100644 docs-old/components/snippets/Ajax.vue delete mode 100644 docs-old/components/snippets/AjaxExample.vue delete mode 100644 docs-old/components/snippets/AjaxProps.vue delete mode 100644 docs-old/components/snippets/InstallSnippet.vue delete mode 100644 docs-old/data/advanced.js delete mode 100644 docs-old/data/simple.js delete mode 100644 docs-old/docs.html delete mode 100644 docs-old/docs.js diff --git a/docs-old/Docs.vue b/docs-old/Docs.vue deleted file mode 100644 index 0ca815c..0000000 --- a/docs-old/Docs.vue +++ /dev/null @@ -1,54 +0,0 @@ - - - - - diff --git a/docs-old/components/Code.vue b/docs-old/components/Code.vue deleted file mode 100644 index c5e2732..0000000 --- a/docs-old/components/Code.vue +++ /dev/null @@ -1,20 +0,0 @@ - - - diff --git a/docs-old/components/Examples.vue b/docs-old/components/Examples.vue deleted file mode 100644 index 819005c..0000000 --- a/docs-old/components/Examples.vue +++ /dev/null @@ -1,192 +0,0 @@ - - - diff --git a/docs-old/components/GithubSearch.vue b/docs-old/components/GithubSearch.vue deleted file mode 100644 index e2cc340..0000000 --- a/docs-old/components/GithubSearch.vue +++ /dev/null @@ -1,122 +0,0 @@ - - - - - diff --git a/docs-old/components/GithubSearchBasic.vue b/docs-old/components/GithubSearchBasic.vue deleted file mode 100644 index ec67693..0000000 --- a/docs-old/components/GithubSearchBasic.vue +++ /dev/null @@ -1,38 +0,0 @@ - - - \ No newline at end of file diff --git a/docs-old/components/Params.vue b/docs-old/components/Params.vue deleted file mode 100644 index 60048f2..0000000 --- a/docs-old/components/Params.vue +++ /dev/null @@ -1,130 +0,0 @@ - - - diff --git a/docs-old/components/snippets/Ajax.vue b/docs-old/components/snippets/Ajax.vue deleted file mode 100644 index bb8c66b..0000000 --- a/docs-old/components/snippets/Ajax.vue +++ /dev/null @@ -1,131 +0,0 @@ - - - - - diff --git a/docs-old/components/snippets/AjaxExample.vue b/docs-old/components/snippets/AjaxExample.vue deleted file mode 100644 index 00318bd..0000000 --- a/docs-old/components/snippets/AjaxExample.vue +++ /dev/null @@ -1,31 +0,0 @@ - - - \ No newline at end of file diff --git a/docs-old/components/snippets/AjaxProps.vue b/docs-old/components/snippets/AjaxProps.vue deleted file mode 100644 index be20eff..0000000 --- a/docs-old/components/snippets/AjaxProps.vue +++ /dev/null @@ -1,28 +0,0 @@ - - - \ No newline at end of file diff --git a/docs-old/components/snippets/InstallSnippet.vue b/docs-old/components/snippets/InstallSnippet.vue deleted file mode 100644 index 945dfd2..0000000 --- a/docs-old/components/snippets/InstallSnippet.vue +++ /dev/null @@ -1,41 +0,0 @@ - - diff --git a/docs-old/data/advanced.js b/docs-old/data/advanced.js deleted file mode 100644 index 9c17d19..0000000 --- a/docs-old/data/advanced.js +++ /dev/null @@ -1,246 +0,0 @@ -module.exports = [ - {value: "AF", label: "Afghanistan"}, - {value: "AX", label: "Åland Islands"}, - {value: "AL", label: "Albania"}, - {value: "DZ", label: "Algeria"}, - {value: "AS", label: "American Samoa"}, - {value: "AD", label: "Andorra"}, - {value: "AO", label: "Angola"}, - {value: "AI", label: "Anguilla"}, - {value: "AQ", label: "Antarctica"}, - {value: "AG", label: "Antigua and Barbuda"}, - {value: "AR", label: "Argentina"}, - {value: "AM", label: "Armenia"}, - {value: "AW", label: "Aruba"}, - {value: "AU", label: "Australia"}, - {value: "AT", label: "Austria"}, - {value: "AZ", label: "Azerbaijan"}, - {value: "BS", label: "Bahamas"}, - {value: "BH", label: "Bahrain"}, - {value: "BD", label: "Bangladesh"}, - {value: "BB", label: "Barbados"}, - {value: "BY", label: "Belarus"}, - {value: "BE", label: "Belgium"}, - {value: "BZ", label: "Belize"}, - {value: "BJ", label: "Benin"}, - {value: "BM", label: "Bermuda"}, - {value: "BT", label: "Bhutan"}, - {value: "BO", label: "Bolivia"}, - {value: "BA", label: "Bosnia and Herzegovina"}, - {value: "BW", label: "Botswana"}, - {value: "BV", label: "Bouvet Island"}, - {value: "BR", label: "Brazil"}, - {value: "IO", label: "British Indian Ocean Territory"}, - {value: "BN", label: "Brunei Darussalam"}, - {value: "BG", label: "Bulgaria"}, - {value: "BF", label: "Burkina Faso"}, - {value: "BI", label: "Burundi"}, - {value: "KH", label: "Cambodia"}, - {value: "CM", label: "Cameroon"}, - {value: "CA", label: "Canada"}, - {value: "CV", label: "Cape Verde"}, - {value: "KY", label: "Cayman Islands"}, - {value: "CF", label: "Central African Republic"}, - {value: "TD", label: "Chad"}, - {value: "CL", label: "Chile"}, - {value: "CN", label: "China"}, - {value: "CX", label: "Christmas Island"}, - {value: "CC", label: "Cocos (Keeling) Islands"}, - {value: "CO", label: "Colombia"}, - {value: "KM", label: "Comoros"}, - {value: "CG", label: "Congo"}, - {value: "CD", label: "Congo, The Democratic Republic of The"}, - {value: "CK", label: "Cook Islands"}, - {value: "CR", label: "Costa Rica"}, - {value: "CI", label: "Cote D'ivoire"}, - {value: "HR", label: "Croatia"}, - {value: "CU", label: "Cuba"}, - {value: "CY", label: "Cyprus"}, - {value: "CZ", label: "Czech Republic"}, - {value: "DK", label: "Denmark"}, - {value: "DJ", label: "Djibouti"}, - {value: "DM", label: "Dominica"}, - {value: "DO", label: "Dominican Republic"}, - {value: "EC", label: "Ecuador"}, - {value: "EG", label: "Egypt"}, - {value: "SV", label: "El Salvador"}, - {value: "GQ", label: "Equatorial Guinea"}, - {value: "ER", label: "Eritrea"}, - {value: "EE", label: "Estonia"}, - {value: "ET", label: "Ethiopia"}, - {value: "FK", label: "Falkland Islands (Malvinas)"}, - {value: "FO", label: "Faroe Islands"}, - {value: "FJ", label: "Fiji"}, - {value: "FI", label: "Finland"}, - {value: "FR", label: "France"}, - {value: "GF", label: "French Guiana"}, - {value: "PF", label: "French Polynesia"}, - {value: "TF", label: "French Southern Territories"}, - {value: "GA", label: "Gabon"}, - {value: "GM", label: "Gambia"}, - {value: "GE", label: "Georgia"}, - {value: "DE", label: "Germany"}, - {value: "GH", label: "Ghana"}, - {value: "GI", label: "Gibraltar"}, - {value: "GR", label: "Greece"}, - {value: "GL", label: "Greenland"}, - {value: "GD", label: "Grenada"}, - {value: "GP", label: "Guadeloupe"}, - {value: "GU", label: "Guam"}, - {value: "GT", label: "Guatemala"}, - {value: "GG", label: "Guernsey"}, - {value: "GN", label: "Guinea"}, - {value: "GW", label: "Guinea-bissau"}, - {value: "GY", label: "Guyana"}, - {value: "HT", label: "Haiti"}, - {value: "HM", label: "Heard Island and Mcdonald Islands"}, - {value: "VA", label: "Holy See (Vatican City State)"}, - {value: "HN", label: "Honduras"}, - {value: "HK", label: "Hong Kong"}, - {value: "HU", label: "Hungary"}, - {value: "IS", label: "Iceland"}, - {value: "IN", label: "India"}, - {value: "ID", label: "Indonesia"}, - {value: "IR", label: "Iran, Islamic Republic of"}, - {value: "IQ", label: "Iraq"}, - {value: "IE", label: "Ireland"}, - {value: "IM", label: "Isle of Man"}, - {value: "IL", label: "Israel"}, - {value: "IT", label: "Italy"}, - {value: "JM", label: "Jamaica"}, - {value: "JP", label: "Japan"}, - {value: "JE", label: "Jersey"}, - {value: "JO", label: "Jordan"}, - {value: "KZ", label: "Kazakhstan"}, - {value: "KE", label: "Kenya"}, - {value: "KI", label: "Kiribati"}, - {value: "KP", label: "Korea, Democratic People's Republic of"}, - {value: "KR", label: "Korea, Republic of"}, - {value: "KW", label: "Kuwait"}, - {value: "KG", label: "Kyrgyzstan"}, - {value: "LA", label: "Lao People's Democratic Republic"}, - {value: "LV", label: "Latvia"}, - {value: "LB", label: "Lebanon"}, - {value: "LS", label: "Lesotho"}, - {value: "LR", label: "Liberia"}, - {value: "LY", label: "Libyan Arab Jamahiriya"}, - {value: "LI", label: "Liechtenstein"}, - {value: "LT", label: "Lithuania"}, - {value: "LU", label: "Luxembourg"}, - {value: "MO", label: "Macao"}, - {value: "MK", label: "Macedonia, The Former Yugoslav Republic of"}, - {value: "MG", label: "Madagascar"}, - {value: "MW", label: "Malawi"}, - {value: "MY", label: "Malaysia"}, - {value: "MV", label: "Maldives"}, - {value: "ML", label: "Mali"}, - {value: "MT", label: "Malta"}, - {value: "MH", label: "Marshall Islands"}, - {value: "MQ", label: "Martinique"}, - {value: "MR", label: "Mauritania"}, - {value: "MU", label: "Mauritius"}, - {value: "YT", label: "Mayotte"}, - {value: "MX", label: "Mexico"}, - {value: "FM", label: "Micronesia, Federated States of"}, - {value: "MD", label: "Moldova, Republic of"}, - {value: "MC", label: "Monaco"}, - {value: "MN", label: "Mongolia"}, - {value: "ME", label: "Montenegro"}, - {value: "MS", label: "Montserrat"}, - {value: "MA", label: "Morocco"}, - {value: "MZ", label: "Mozambique"}, - {value: "MM", label: "Myanmar"}, - {value: "NA", label: "Namibia"}, - {value: "NR", label: "Nauru"}, - {value: "NP", label: "Nepal"}, - {value: "NL", label: "Netherlands"}, - {value: "AN", label: "Netherlands Antilles"}, - {value: "NC", label: "New Caledonia"}, - {value: "NZ", label: "New Zealand"}, - {value: "NI", label: "Nicaragua"}, - {value: "NE", label: "Niger"}, - {value: "NG", label: "Nigeria"}, - {value: "NU", label: "Niue"}, - {value: "NF", label: "Norfolk Island"}, - {value: "MP", label: "Northern Mariana Islands"}, - {value: "NO", label: "Norway"}, - {value: "OM", label: "Oman"}, - {value: "PK", label: "Pakistan"}, - {value: "PW", label: "Palau"}, - {value: "PS", label: "Palestinian Territory, Occupied"}, - {value: "PA", label: "Panama"}, - {value: "PG", label: "Papua New Guinea"}, - {value: "PY", label: "Paraguay"}, - {value: "PE", label: "Peru"}, - {value: "PH", label: "Philippines"}, - {value: "PN", label: "Pitcairn"}, - {value: "PL", label: "Poland"}, - {value: "PT", label: "Portugal"}, - {value: "PR", label: "Puerto Rico"}, - {value: "QA", label: "Qatar"}, - {value: "RE", label: "Reunion"}, - {value: "RO", label: "Romania"}, - {value: "RU", label: "Russian Federation"}, - {value: "RW", label: "Rwanda"}, - {value: "SH", label: "Saint Helena"}, - {value: "KN", label: "Saint Kitts and Nevis"}, - {value: "LC", label: "Saint Lucia"}, - {value: "PM", label: "Saint Pierre and Miquelon"}, - {value: "VC", label: "Saint Vincent and The Grenadines"}, - {value: "WS", label: "Samoa"}, - {value: "SM", label: "San Marino"}, - {value: "ST", label: "Sao Tome and Principe"}, - {value: "SA", label: "Saudi Arabia"}, - {value: "SN", label: "Senegal"}, - {value: "RS", label: "Serbia"}, - {value: "SC", label: "Seychelles"}, - {value: "SL", label: "Sierra Leone"}, - {value: "SG", label: "Singapore"}, - {value: "SK", label: "Slovakia"}, - {value: "SI", label: "Slovenia"}, - {value: "SB", label: "Solomon Islands"}, - {value: "SO", label: "Somalia"}, - {value: "ZA", label: "South Africa"}, - {value: "GS", label: "South Georgia and The South Sandwich Islands"}, - {value: "ES", label: "Spain"}, - {value: "LK", label: "Sri Lanka"}, - {value: "SD", label: "Sudan"}, - {value: "SR", label: "Suriname"}, - {value: "SJ", label: "Svalbard and Jan Mayen"}, - {value: "SZ", label: "Swaziland"}, - {value: "SE", label: "Sweden"}, - {value: "CH", label: "Switzerland"}, - {value: "SY", label: "Syrian Arab Republic"}, - {value: "TW", label: "Taiwan, Province of China"}, - {value: "TJ", label: "Tajikistan"}, - {value: "TZ", label: "Tanzania, United Republic of"}, - {value: "TH", label: "Thailand"}, - {value: "TL", label: "Timor-leste"}, - {value: "TG", label: "Togo"}, - {value: "TK", label: "Tokelau"}, - {value: "TO", label: "Tonga"}, - {value: "TT", label: "Trinidad and Tobago"}, - {value: "TN", label: "Tunisia"}, - {value: "TR", label: "Turkey"}, - {value: "TM", label: "Turkmenistan"}, - {value: "TC", label: "Turks and Caicos Islands"}, - {value: "TV", label: "Tuvalu"}, - {value: "UG", label: "Uganda"}, - {value: "UA", label: "Ukraine"}, - {value: "AE", label: "United Arab Emirates"}, - {value: "GB", label: "United Kingdom"}, - {value: "US", label: "United States"}, - {value: "UM", label: "United States Minor Outlying Islands"}, - {value: "UY", label: "Uruguay"}, - {value: "UZ", label: "Uzbekistan"}, - {value: "VU", label: "Vanuatu"}, - {value: "VE", label: "Venezuela"}, - {value: "VN", label: "Viet Nam"}, - {value: "VG", label: "Virgin Islands, British"}, - {value: "VI", label: "Virgin Islands, U.S."}, - {value: "WF", label: "Wallis and Futuna"}, - {value: "EH", label: "Western Sahara"}, - {value: "YE", label: "Yemen"}, - {value: "ZM", label: "Zambia"}, - {value: "ZW", label: "Zimbabwe"}, - ]; diff --git a/docs-old/data/simple.js b/docs-old/data/simple.js deleted file mode 100644 index cdab338..0000000 --- a/docs-old/data/simple.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = ["Afghanistan","Åland Islands","Albania","Algeria","American Samoa","Andorra","Angola","Anguilla","Antarctica","Antigua and Barbuda","Argentina","Armenia","Aruba","Australia","Austria","Azerbaijan","Bahamas","Bahrain","Bangladesh","Barbados","Belarus","Belgium","Belize","Benin","Bermuda","Bhutan","Bolivia","Bosnia and Herzegovina","Botswana","Bouvet Island","Brazil","British Indian Ocean Territory","Brunei Darussalam","Bulgaria","Burkina Faso","Burundi","Cambodia","Cameroon","Canada","Cape Verde","Cayman Islands","Central African Republic","Chad","Chile","China","Christmas Island","Cocos (Keeling) Islands","Colombia","Comoros","Congo","Congo, The Democratic Republic of The","Cook Islands","Costa Rica","Cote D'ivoire","Croatia","Cuba","Cyprus","Czech Republic","Denmark","Djibouti","Dominica","Dominican Republic","Ecuador","Egypt","El Salvador","Equatorial Guinea","Eritrea","Estonia","Ethiopia","Falkland Islands (Malvinas)","Faroe Islands","Fiji","Finland","France","French Guiana","French Polynesia","French Southern Territories","Gabon","Gambia","Georgia","Germany","Ghana","Gibraltar","Greece","Greenland","Grenada","Guadeloupe","Guam","Guatemala","Guernsey","Guinea","Guinea-bissau","Guyana","Haiti","Heard Island and Mcdonald Islands","Holy See (Vatican City State)","Honduras","Hong Kong","Hungary","Iceland","India","Indonesia","Iran, Islamic Republic of","Iraq","Ireland","Isle of Man","Israel","Italy","Jamaica","Japan","Jersey","Jordan","Kazakhstan","Kenya","Kiribati","Korea, Democratic People's Republic of","Korea, Republic of","Kuwait","Kyrgyzstan","Lao People's Democratic Republic","Latvia","Lebanon","Lesotho","Liberia","Libyan Arab Jamahiriya","Liechtenstein","Lithuania","Luxembourg","Macao","Macedonia, The Former Yugoslav Republic of","Madagascar","Malawi","Malaysia","Maldives","Mali","Malta","Marshall Islands","Martinique","Mauritania","Mauritius","Mayotte","Mexico","Micronesia, Federated States of","Moldova, Republic of","Monaco","Mongolia","Montenegro","Montserrat","Morocco","Mozambique","Myanmar","Namibia","Nauru","Nepal","Netherlands","Netherlands Antilles","New Caledonia","New Zealand","Nicaragua","Niger","Nigeria","Niue","Norfolk Island","Northern Mariana Islands","Norway","Oman","Pakistan","Palau","Palestinian Territory, Occupied","Panama","Papua New Guinea","Paraguay","Peru","Philippines","Pitcairn","Poland","Portugal","Puerto Rico","Qatar","Reunion","Romania","Russian Federation","Rwanda","Saint Helena","Saint Kitts and Nevis","Saint Lucia","Saint Pierre and Miquelon","Saint Vincent and The Grenadines","Samoa","San Marino","Sao Tome and Principe","Saudi Arabia","Senegal","Serbia","Seychelles","Sierra Leone","Singapore","Slovakia","Slovenia","Solomon Islands","Somalia","South Africa","South Georgia and The South Sandwich Islands","Spain","Sri Lanka","Sudan","Suriname","Svalbard and Jan Mayen","Swaziland","Sweden","Switzerland","Syrian Arab Republic","Taiwan, Province of China","Tajikistan","Tanzania, United Republic of","Thailand","Timor-leste","Togo","Tokelau","Tonga","Trinidad and Tobago","Tunisia","Turkey","Turkmenistan","Turks and Caicos Islands","Tuvalu","Uganda","Ukraine","United Arab Emirates","United Kingdom","United States","United States Minor Outlying Islands","Uruguay","Uzbekistan","Vanuatu","Venezuela","Viet Nam","Virgin Islands, British","Virgin Islands, U.S.","Wallis and Futuna","Western Sahara","Yemen","Zambia","Zimbabwe"]; diff --git a/docs-old/docs.html b/docs-old/docs.html deleted file mode 100644 index bf4be88..0000000 --- a/docs-old/docs.html +++ /dev/null @@ -1,92 +0,0 @@ - - - - - Vue Select | VueJS Select2 Component - - - - - - - - - - - - - - - - - - - - - - -
-
-
-
- -

Vue Select

- -

- Build Status - Code Coverage - No Dependencies - MIT License - Current Release -

- -

A native Vue.js select component that provides similar functionality to Select2/Chosen without the overhead of jQuery.

- - - - -
-
-
    -
  • Fully Reactive
  • -
  • Tagging Support v1.1.0
  • -
  • Works with Vuex
  • -
  • Zero dependencies
  • -
-
-
-
    -
  • +95% Test Coverage
  • -
  • Select Single/Multiple
  • -
  • Typeahead Suggestions
  • -
  • Bootstrap Friendly Markup
  • -
-
-
- - View on GitHub -
-
- - Install, Examples & Documentation - - -
- -
- - - diff --git a/docs-old/docs.js b/docs-old/docs.js deleted file mode 100644 index 8481633..0000000 --- a/docs-old/docs.js +++ /dev/null @@ -1,36 +0,0 @@ -import 'prismjs' -import Vue from 'vue' -import Docs from './Docs.vue' -import store from './vuex/store' -import Resource from 'vue-resource' -import vSelect from '../src/components/Select.vue' -import vCode from './components/Code.vue' -import countries from './data/advanced' - -Vue.use(Resource) - -Vue.component('v-select', vSelect) -Vue.component('v-code', vCode) - -Vue.filter('score', function (value) { - return Math.round(value) -}) - -Vue.config.debug = true -Vue.config.devtools = true - -import { setSelected, toggleMultiple, setPlaceholder, toggleOptionType } from './vuex/actions' - - -/* eslint-disable no-new */ -new Vue({ - el: '#app', - store, - components: { Docs }, - data () { - return { - options: countries, - placeholder: 'Choose a country..', - } - } -}) diff --git a/package.json b/package.json index 45e64d0..6bf950c 100644 --- a/package.json +++ b/package.json @@ -10,8 +10,10 @@ "start": "npm run dev", "dev": "node build/dev-server.js", "dev:homepage": "node build/dev-server.js --docs", - "dev:docs": "gitbook serve docs/gitbook", + "dev:docs": "gitbook serve", "build": "node build/build.js", + "build:homepage": "node build/build.js --homepage", + "build:docs": "gitbook build", "lint": "eslint --ext .js,.vue src test/unit/specs", "test": "karma start test/unit/karma.conf.js --single-run", "test-watch": "karma start test/unit/karma.conf.js --single-run=false --auto-watch=true"