Skip to content

Commit

Permalink
build: update release scripts
Browse files Browse the repository at this point in the history
Co-authored-by: Illya Klymov <xanf@xanf.me>
  • Loading branch information
pi0 and xanf committed Apr 17, 2022
1 parent 6c34b14 commit 94c810a
Show file tree
Hide file tree
Showing 8 changed files with 33 additions and 33 deletions.
26 changes: 13 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,21 @@
"name": "bootstrap-vue",
"version": "2.21.2",
"description": "With more than 85 components, over 45 available plugins, several directives, and 1000+ icons, BootstrapVue provides one of the most comprehensive implementations of the Bootstrap v4 component and grid system available for Vue.js v2.6, complete with extensive and automated WAI-ARIA accessibility markup.",
"main": "dist/bootstrap-vue.common.js",
"web": "dist/bootstrap-vue.js",
"module": "esm/index.js",
"jsnext:main": "esm/index.js",
"source": "src/index.js",
"sass": "src/index.scss",
"style": "dist/bootstrap-vue.css",
"main": "./dist/bootstrap-vue.common.js",
"web": "./dist/bootstrap-vue.js",
"module": "./esm/index.js",
"jsnext:main": "./esm/index.js",
"source": "./src/index.js",
"sass": "./src/index.scss",
"style": "./dist/bootstrap-vue.css",
"license": "MIT",
"repository": "bootstrap-vue/bootstrap-vue",
"homepage": "https://bootstrap-vue.org",
"types": "src/index.d.ts",
"web-types": "dist/web-types.json",
"types": "./src/index.d.ts",
"web-types": "./dist/web-types.json",
"vetur": {
"tags": "dist/vetur-tags.json",
"attributes": "dist/vetur-attributes.json"
"tags": "./dist/vetur-tags.json",
"attributes": "./dist/vetur-attributes.json"
},
"contributors": [
{
Expand Down Expand Up @@ -69,7 +69,7 @@
"prepare": "husky install",
"prettify": "prettier --write '**/*.{js,json,md,scss,ts,vue}'",
"release": "yarn run prettify && yarn run test && yarn run build && yarn run release-notes && standard-version",
"release-notes": "node -r esm scripts/release-notes.js",
"release-notes": "jiti ./scripts/release-notes",
"test": "yarn run test:lint && yarn run test:unit",
"test:lint": "yarn run lint",
"test:unit": "jest",
Expand Down Expand Up @@ -123,13 +123,13 @@
"eslint-plugin-prettier": "^3.4.1",
"eslint-plugin-promise": "^5.1.0",
"eslint-plugin-vue": "^7.9.0",
"esm": "^3.2.25",
"execa": "^5.0.0",
"highlight.js": "^10.7.2",
"html-loader": "^1.3.2",
"husky": "^6.0.0",
"improved-yarn-audit": "^3.0.0",
"jest": "^26.6.3",
"jiti": "^1.13.0",
"lint-staged": "^11.0.0",
"loader-utils": "^2.0.0",
"lodash": "^4.17.21",
Expand Down
6 changes: 3 additions & 3 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ echo "Building BootstrapVue ${BV_VERSION}"
echo ''

echo 'Generating icon source files...'
node -r esm scripts/create-icons.js || exit 1
yarn jiti ./scripts/create-icons || exit 1
echo 'done.'
echo ''

echo 'Checking plugin metadata...'
node -r esm scripts/check-plugin-meta.js || exit 1
yarn jiti ./scripts/check-plugin-meta || exit 1
echo 'Done.'
echo ''

Expand Down Expand Up @@ -144,7 +144,7 @@ echo 'Done.'
echo ''

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

Expand Down
6 changes: 3 additions & 3 deletions src/components/breadcrumb/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@
## Breadcrumb items

Items are rendered using `:items` prop. It can be an array of objects to provide link and active
state. Links can be `href`'s for anchor tags, or `to`'s for router-links. Breadcrumb works under
the assumption that there is one active link in every set of ordered breadcrumbs, so the active
state of the last element is automatically set to `false`.
state. Links can be `href`'s for anchor tags, or `to`'s for router-links. Breadcrumb works under the
assumption that there is one active link in every set of ordered breadcrumbs, so the active state of
the last element is automatically set to `false`.

<!-- eslint-disable no-unused-vars -->

Expand Down
12 changes: 6 additions & 6 deletions src/components/toast/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -635,12 +635,12 @@ provides general guidelines when using toasts.
- For toasts with long textual content, adjust the `auto-hide-delay` to a larger timeout, to allow
users time to read the content of the toast. The average person reads about 200 words per minute,
so a good length of time to keep messages up is 5 seconds, plus 300 extra milliseconds per word.
The shortest default that should be used as a best practice is 5
seconds (5000ms). In addition to a reasonable default timeout, you could also allow the user to
choose how long they want toasts to stay up for. Most people inherently understand whether they
are fast or slow readers. Having a profile setting that is part of the user login will allow slow
readers to pick a longer time if the messages are going away too fast, and fast readers to pick a
short time if the messages are staying up too long.
The shortest default that should be used as a best practice is 5 seconds (5000ms). In addition to
a reasonable default timeout, you could also allow the user to choose how long they want toasts to
stay up for. Most people inherently understand whether they are fast or slow readers. Having a
profile setting that is part of the user login will allow slow readers to pick a longer time if
the messages are going away too fast, and fast readers to pick a short time if the messages are
staying up too long.
- To account for memory loss and distraction as well as disability-related issues such as ADHD, a
best practice would be to implement a location where users can refer to a list of past toast
messages which have been shown. Preferably this list should be sortable, with the default being
Expand Down
2 changes: 1 addition & 1 deletion src/icons/icons.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// --- BEGIN AUTO-GENERATED FILE ---
//
// @IconsVersion: 1.5.0
// @Generated: 2021-05-11T07:06:21.646Z
// @Generated: 2022-04-17T11:16:04.866Z
//
// This file is generated on each build. Do not edit this file!

Expand Down
2 changes: 1 addition & 1 deletion src/icons/icons.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// --- BEGIN AUTO-GENERATED FILE ---
//
// @IconsVersion: 1.5.0
// @Generated: 2021-05-11T07:06:21.646Z
// @Generated: 2022-04-17T11:16:04.866Z
//
// This file is generated on each build. Do not edit this file!

Expand Down
2 changes: 1 addition & 1 deletion src/icons/plugin.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// --- BEGIN AUTO-GENERATED FILE ---
//
// @IconsVersion: 1.5.0
// @Generated: 2021-05-11T07:06:21.646Z
// @Generated: 2022-04-17T11:16:04.866Z
//
// This file is generated on each build. Do not edit this file!

Expand Down
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5968,11 +5968,6 @@ eslint@^7.26.0:
text-table "^0.2.0"
v8-compile-cache "^2.0.3"

esm@^3.2.25:
version "3.2.25"
resolved "https://registry.yarnpkg.com/esm/-/esm-3.2.25.tgz#342c18c29d56157688ba5ce31f8431fbb795cc10"
integrity sha512-U1suiZ2oDVWv4zPO56S0NcR5QriEahGtdN2OR6FiOG4WJvcjBVFB0qI4+eKoWFH483PKGuLuu6V8Z4T5g63UVA==

espree@^6.2.1:
version "6.2.1"
resolved "https://registry.yarnpkg.com/espree/-/espree-6.2.1.tgz#77fc72e1fd744a2052c20f38a5b575832e82734a"
Expand Down Expand Up @@ -8628,6 +8623,11 @@ jimp-compact@^0.16.1:
resolved "https://registry.yarnpkg.com/jimp-compact/-/jimp-compact-0.16.1.tgz#9582aea06548a2c1e04dd148d7c3ab92075aefa3"
integrity sha512-dZ6Ra7u1G8c4Letq/B5EzAxj4tLFHL+cGtdpR+PVm4yzPDj+lCk+AbivWt1eOM+ikzkowtyV7qSqX6qr3t71Ww==

jiti@^1.13.0:
version "1.13.0"
resolved "https://registry.yarnpkg.com/jiti/-/jiti-1.13.0.tgz#3cdfc4e651ca0cca4c62ed5e47747b5841d41a8e"
integrity sha512-/n9mNxZj/HDSrincJ6RP+L+yXbpnB8FybySBa+IjIaoH9FIxBbrbRT5XUbe8R7zuVM2AQqNMNDDqz0bzx3znOQ==

jiti@^1.3.0:
version "1.9.1"
resolved "https://registry.yarnpkg.com/jiti/-/jiti-1.9.1.tgz#d9e267fa050ddc52191f17d8af815d49a38ebafd"
Expand Down

0 comments on commit 94c810a

Please sign in to comment.