Skip to content

Commit 63122c4

Browse files
authored
Merge pull request #7229 from bootstrap-vue/docs-github-pages
feat(docs): migrate to GitHub Pages
2 parents 2dee352 + da73b78 commit 63122c4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+54178
-10792
lines changed

.bundlewatch.config.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,27 +2,27 @@
22
"files": [
33
{
44
"path": "./dist/bootstrap-vue-icons.js",
5-
"maxSize": "155 kB"
5+
"maxSize": "240 kB"
66
},
77
{
88
"path": "./dist/bootstrap-vue-icons.min.js",
9-
"maxSize": "145 kB"
9+
"maxSize": "230 kB"
1010
},
1111
{
1212
"path": "./dist/bootstrap-vue-icons.common.js",
13-
"maxSize": "155 kB"
13+
"maxSize": "250 kB"
1414
},
1515
{
1616
"path": "./dist/bootstrap-vue-icons.common.min.js",
17-
"maxSize": "145 kB"
17+
"maxSize": "240 kB"
1818
},
1919
{
2020
"path": "./dist/bootstrap-vue-icons.esm.js",
21-
"maxSize": "155 kB"
21+
"maxSize": "245 kB"
2222
},
2323
{
2424
"path": "./dist/bootstrap-vue-icons.esm.min.js",
25-
"maxSize": "145 kB"
25+
"maxSize": "235 kB"
2626
},
2727
{
2828
"path": "./dist/bootstrap-vue-icons.css",
@@ -42,27 +42,27 @@
4242
},
4343
{
4444
"path": "./dist/bootstrap-vue.common.js",
45-
"maxSize": "360 kB"
45+
"maxSize": "455 kB"
4646
},
4747
{
4848
"path": "./dist/bootstrap-vue.common.min.js",
49-
"maxSize": "240 kB"
49+
"maxSize": "330 kB"
5050
},
5151
{
5252
"path": "./dist/bootstrap-vue.esm.js",
53-
"maxSize": "355 kB"
53+
"maxSize": "450 kB"
5454
},
5555
{
5656
"path": "./dist/bootstrap-vue.esm.min.js",
57-
"maxSize": "235 kB"
57+
"maxSize": "330 kB"
5858
},
5959
{
6060
"path": "./dist/bootstrap-vue.css",
6161
"maxSize": "15 kB"
6262
},
6363
{
6464
"path": "./dist/bootstrap-vue.min.css",
65-
"maxSize": "10 kB"
65+
"maxSize": "15 kB"
6666
}
6767
],
6868
"ci": {

.eslintignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
.now/
21
.nuxt/
3-
.vercel/
42
coverage/
53
dist/
64
docs-dist/

.github/dependabot.yml

Lines changed: 21 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,36 @@
11
version: 2
22
updates:
3-
- package-ecosystem: "github-actions"
4-
directory: "/"
3+
- package-ecosystem: 'github-actions'
4+
directory: '/'
55
schedule:
66
interval: weekly
77
day: tuesday
8-
time: "12:00"
8+
time: '12:00'
99
timezone: Europe/Berlin
10-
reviewers:
11-
- jackmu95
1210
labels:
13-
- "Type: CI"
14-
- "Type: Dependencies"
11+
- 'Type: CI'
12+
- 'Type: Dependencies'
1513

1614
- package-ecosystem: npm
17-
directory: "/"
15+
directory: '/'
1816
schedule:
19-
interval: "daily"
20-
time: "12:00"
17+
interval: 'daily'
18+
time: '12:00'
2119
timezone: Europe/Berlin
2220
ignore:
23-
- dependency-name: "bootstrap"
24-
versions: [">=5.0.0"]
25-
- dependency-name: "clean-css-cli"
26-
versions: [">=5.0.0"]
27-
- dependency-name: "html-loader"
28-
versions: [">=2.0.0"]
29-
- dependency-name: "prettier"
30-
versions: [">1.14.3"]
31-
- dependency-name: "sass-loader"
32-
versions: [">=11.0.0"]
33-
- dependency-name: "@vue/test-utils"
34-
versions: [">=2.0.0"]
35-
reviewers:
36-
- jackmu95
21+
- dependency-name: 'bootstrap'
22+
versions: ['>=5.0.0']
23+
- dependency-name: 'clean-css-cli'
24+
versions: ['>=5.0.0']
25+
- dependency-name: 'html-loader'
26+
versions: ['>=2.0.0']
27+
- dependency-name: 'prettier'
28+
versions: ['>1.14.3']
29+
- dependency-name: 'sass-loader'
30+
versions: ['>=11.0.0']
31+
- dependency-name: '@vue/test-utils'
32+
versions: ['>=2.0.0']
3733
labels:
38-
- "Type: Dependencies"
34+
- 'Type: Dependencies'
3935
versioning-strategy: increase
4036
rebase-strategy: disabled

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
strategy:
2121
matrix:
2222
os: [ubuntu-latest]
23-
node: [12, 14, 16]
23+
node: [18, 20, 22]
2424

2525
steps:
2626
- name: Clone repository
@@ -53,6 +53,6 @@ jobs:
5353

5454
- name: BundleWatch
5555
run: yarn run bundlewatch
56-
if: matrix.node == '16'
56+
if: matrix.node == '20'
5757
env:
5858
BUNDLEWATCH_GITHUB_TOKEN: "${{ secrets.BUNDLEWATCH_GITHUB_TOKEN }}"

.github/workflows/codeql.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,17 @@ permissions:
2121
jobs:
2222
analyze:
2323
permissions:
24-
actions: read # for github/codeql-action/init to get workflow details
25-
contents: read # for actions/checkout to fetch code
26-
security-events: write # for github/codeql-action/autobuild to send a status report
24+
actions: read # For "github/codeql-action/init" to get workflow details
25+
contents: read # For "actions/checkout to fetch" code
26+
security-events: write # For "github/codeql-action/autobuild" to send a status report
2727
name: Analyze
2828
runs-on: ubuntu-latest
2929

3030
steps:
3131
- name: Checkout repository
3232
uses: actions/checkout@v3
3333

34-
# Initializes the CodeQL tools for scanning.
34+
# Initializes the CodeQL tools for scanning
3535
- name: Initialize CodeQL
3636
uses: github/codeql-action/init@v2
3737
with:

.github/workflows/docs-deploy.yml

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
name: Deploy docs to GitHub Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
- docs-github-pages
8+
9+
# Allows you to run this workflow manually from the Actions tab
10+
workflow_dispatch:
11+
12+
# Sets permissions of the "GITHUB_TOKEN" to allow deployment to GitHub Pages
13+
permissions:
14+
contents: read
15+
pages: write
16+
id-token: write
17+
18+
# Allow only one concurrent deployment, skipping runs queued between the run in-progress
19+
# and latest queued. However, do NOT cancel in-progress runs as we want to allow these
20+
# production deployments to complete.
21+
concurrency:
22+
group: "pages"
23+
cancel-in-progress: false
24+
25+
jobs:
26+
# Build
27+
build:
28+
runs-on: ubuntu-latest
29+
steps:
30+
- name: Checkout
31+
uses: actions/checkout@v4
32+
- name: Setup Node
33+
uses: actions/setup-node@v4
34+
with:
35+
node-version: "20"
36+
cache: "yarn"
37+
- name: Setup Pages
38+
uses: actions/configure-pages@v5
39+
- name: Restore cache
40+
uses: actions/cache@v4
41+
with:
42+
path: |
43+
dist
44+
.nuxt
45+
key: ${{ runner.os }}-nuxt-build-${{ hashFiles('dist') }}
46+
restore-keys: |
47+
${{ runner.os }}-nuxt-build-
48+
- name: Install dependencies
49+
run: yarn install --check-files --frozen-lockfile --non-interactive
50+
- name: Static HTML export with Nuxt
51+
run: yarn docs-gen
52+
- name: Upload artifact
53+
uses: actions/upload-pages-artifact@v3
54+
with:
55+
path: ./docs-dist
56+
57+
# Deploy
58+
deploy:
59+
environment:
60+
name: github-pages
61+
url: ${{ steps.deployment.outputs.page_url }}
62+
runs-on: ubuntu-latest
63+
needs: build
64+
steps:
65+
- name: Deploy to GitHub Pages
66+
id: deployment
67+
uses: actions/deploy-pages@v4

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
strategy:
2121
matrix:
2222
os: [ubuntu-latest]
23-
node: [16]
23+
node: [20]
2424

2525
steps:
2626
- name: Clone repository
@@ -57,7 +57,7 @@ jobs:
5757
strategy:
5858
matrix:
5959
os: [ubuntu-latest]
60-
node: [16]
60+
node: [20]
6161

6262
steps:
6363
- name: Clone repository
@@ -94,7 +94,7 @@ jobs:
9494
strategy:
9595
matrix:
9696
os: [ubuntu-latest]
97-
node: [12, 14, 16]
97+
node: [18, 20, 22]
9898

9999
steps:
100100
- name: Clone repository

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
.idea/
2-
.now/
32
.nuxt/
4-
.vercel/
53
.vscode/
64
coverage/
75
coverage-vue3/

.prettierignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
.now/
21
.nuxt/
3-
.vercel/
42
coverage/
53
dist/
64
docs-dist/

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2016-2024 - BootstrapVue
3+
Copyright (c) 2016-2025 - BootstrapVue
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

0 commit comments

Comments
 (0)