Skip to content

Commit d9ff52f

Browse files
authored
Merge pull request #509 from cdmoro/dev
VividLemon's pnpm major changes
2 parents ad700e1 + b8d8b2d commit d9ff52f

File tree

449 files changed

+10275
-29491
lines changed

Some content is hidden

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

449 files changed

+10275
-29491
lines changed

.eslintrc.cjs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
module.exports = {
2+
root: true,
3+
extends: ['custom'],
4+
}
File renamed without changes.

.github/workflows/build.yml

Lines changed: 0 additions & 36 deletions
This file was deleted.

.github/workflows/ci.yaml

Lines changed: 117 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,117 @@
1+
name: ci
2+
3+
on:
4+
push:
5+
branches:
6+
- dev
7+
- main
8+
pull_request:
9+
branches:
10+
- dev
11+
- main
12+
13+
jobs:
14+
build:
15+
runs-on: ${{ matrix.os }}
16+
17+
strategy:
18+
matrix:
19+
os: [ubuntu-latest]
20+
node-version: [16.x]
21+
22+
steps:
23+
- name: Clone repository
24+
uses: actions/checkout@v3
25+
26+
- name: Install pnpm
27+
uses: pnpm/[email protected]
28+
29+
- name: Set node version to 16
30+
uses: actions/setup-node@v2
31+
with:
32+
node-version: 16
33+
cache: 'pnpm'
34+
35+
- name: Install dependencies
36+
run: pnpm install --ignore-scripts
37+
38+
- name: Build library
39+
run: pnpm run build
40+
test-lint:
41+
runs-on: ${{ matrix.os }}
42+
43+
strategy:
44+
matrix:
45+
os: [ubuntu-latest]
46+
node-version: [16.x]
47+
48+
steps:
49+
- name: Clone repository
50+
uses: actions/checkout@v3
51+
52+
- name: Install pnpm
53+
uses: pnpm/[email protected]
54+
55+
- name: Set node version to 16
56+
uses: actions/setup-node@v2
57+
with:
58+
node-version: 16
59+
cache: 'pnpm'
60+
61+
- name: Install dependencies
62+
run: pnpm install --ignore-scripts
63+
64+
- name: Test lint
65+
run: pnpm run test:lint
66+
# test-audit:
67+
# runs-on: ${{ matrix.os }}
68+
69+
# strategy:
70+
# matrix:
71+
# os: [ubuntu-latest]
72+
# node-version: [16.x]
73+
74+
# steps:
75+
# - name: Clone repository
76+
# uses: actions/checkout@v3
77+
78+
# - name: Install pnpm
79+
# uses: pnpm/[email protected]
80+
81+
# - name: Set node version to 16
82+
# uses: actions/setup-node@v2
83+
# with:
84+
# node-version: 16
85+
# cache: 'pnpm'
86+
87+
# - name: Install dependencies
88+
# run: pnpm install --ignore-scripts
89+
90+
# - name: Test audit
91+
# run: pnpm audit
92+
test-unit:
93+
runs-on: ${{ matrix.os }}
94+
95+
strategy:
96+
matrix:
97+
os: [ubuntu-latest]
98+
node-version: [16.x]
99+
100+
steps:
101+
- name: Clone repository
102+
uses: actions/checkout@v3
103+
104+
- name: Install pnpm
105+
uses: pnpm/[email protected]
106+
107+
- name: Set node version to 16
108+
uses: actions/setup-node@v2
109+
with:
110+
node-version: 16
111+
cache: 'pnpm'
112+
113+
- name: Install dependencies
114+
run: pnpm install --ignore-scripts
115+
116+
- name: Test unit
117+
run: npm run test:unit --coverage --maxWorkers=2
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# This workflow builds and deploys the docs to GitHub Pages
2+
3+
name: docs-github-pages-deploy
4+
5+
on:
6+
push:
7+
paths:
8+
- 'apps/docs/**'
9+
- '.github/workflows/docs-github-pages-deploy.yaml'
10+
branches:
11+
- main
12+
jobs:
13+
build-and-deploy:
14+
concurrency: ci-${{ github.ref }} # Recommended if you intend to make multiple deployments in quick succession.
15+
16+
runs-on: ${{ matrix.os }}
17+
18+
strategy:
19+
matrix:
20+
os: [ubuntu-latest]
21+
node-version: [16.x]
22+
23+
steps:
24+
- name: Clone repository
25+
uses: actions/checkout@v3
26+
27+
- name: Install pnpm
28+
uses: pnpm/[email protected]
29+
30+
- name: Set node version to 16
31+
uses: actions/setup-node@v2
32+
with:
33+
node-version: 16
34+
cache: 'pnpm'
35+
36+
- name: Install dependencies
37+
run: pnpm install --ignore-scripts
38+
39+
- name: Build library
40+
run: pnpm run build
41+
42+
- name: Deploy Pages
43+
uses: JamesIves/[email protected]
44+
with:
45+
branch: gh-pages # The branch the action should deploy to.
46+
folder: ./apps/docs/docs/.vuepress/dist # The folder the action should deploy.

.github/workflows/docs-github-pages-deploy.yml

Lines changed: 0 additions & 35 deletions
This file was deleted.

.github/workflows/npm-publish.yaml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
2+
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages
3+
4+
name: npm-publish
5+
6+
on:
7+
release:
8+
types: [created]
9+
10+
jobs:
11+
publish-npm:
12+
runs-on: ${{ matrix.os }}
13+
14+
strategy:
15+
matrix:
16+
os: [ubuntu-latest]
17+
node-version: [16.x]
18+
19+
steps:
20+
- name: Clone repository
21+
uses: actions/checkout@v3
22+
23+
- name: Install pnpm
24+
uses: pnpm/[email protected]
25+
26+
- name: Set node version to 16
27+
uses: actions/setup-node@v2
28+
with:
29+
node-version: 16
30+
cache: 'pnpm'
31+
32+
- name: Install dependencies
33+
run: pnpm install --ignore-scripts
34+
35+
- name: Build library
36+
run: pnpm run build
37+
38+
- name: Test library
39+
run: pnpm test
40+
41+
- name: Publish
42+
run: pnpm publish --tag develop --filter .\packages\bootstrap-vue-3\
43+
env:
44+
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

.github/workflows/npm-publish.yml

Lines changed: 0 additions & 33 deletions
This file was deleted.

.github/workflows/release-please.yaml

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
# This workflow is for the release please action. It automates releases when using conventional commit messages
2+
# It also auto publishes releases to npm
3+
# For more information see: https://github.com/google-github-actions/release-please-action
4+
5+
name: release-please
6+
7+
on:
8+
push:
9+
paths:
10+
- 'packages/bootstrap-vue-3/**'
11+
- '.github/workflows/release-please.yaml'
12+
branches:
13+
- main
14+
15+
jobs:
16+
release-please:
17+
runs-on: ${{ matrix.os }}
18+
19+
strategy:
20+
matrix:
21+
os: [ubuntu-latest]
22+
node-version: [16.x]
23+
24+
steps:
25+
- name: Use release please
26+
uses: google-github-actions/release-please-action@v3
27+
id: release
28+
with:
29+
release-type: node
30+
package-name: bootstrap-vue-3
31+
bump-minor-pre-major: true
32+
bump-patch-for-minor-pre-major: true
33+
34+
# The logic below handles the npm publication:
35+
36+
- name: Clone repository
37+
uses: actions/checkout@v3
38+
# these if statements ensure that a publication only occurs when
39+
# a new release is created:
40+
if: ${{ steps.release.outputs.release_created }}
41+
42+
- name: Install pnpm
43+
uses: pnpm/[email protected]
44+
if: ${{ steps.release.outputs.release_created }}
45+
46+
- name: Set node version to 16
47+
uses: actions/setup-node@v2
48+
with:
49+
node-version: 16
50+
cache: 'pnpm'
51+
registry-url: 'https://registry.npmjs.org'
52+
if: ${{ steps.release.outputs.release_created }}
53+
54+
- name: Install dependencies
55+
run: pnpm install --ignore-scripts
56+
if: ${{ steps.release.outputs.release_created }}
57+
58+
- name: Publish
59+
run: pnpm publish --tag develop --filter .\packages\bootstrap-vue-3\
60+
env:
61+
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
62+
if: ${{ steps.release.outputs.release_created }}

0 commit comments

Comments
 (0)