Skip to content

Commit 78adb68

Browse files
committed
Switch to npm workspaces
1 parent 1962661 commit 78adb68

File tree

117 files changed

+21369
-52483
lines changed

Some content is hidden

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

117 files changed

+21369
-52483
lines changed

Diff for: .github/dependabot.yml

+10-10
Original file line numberDiff line numberDiff line change
@@ -15,70 +15,70 @@ updates:
1515
interval: monthly
1616
versioning-strategy: increase
1717
- package-ecosystem: npm
18-
directory: "/color-modes"
18+
directory: "/packages/color-modes"
1919
labels:
2020
- dependencies
2121
schedule:
2222
interval: monthly
2323
versioning-strategy: increase
2424
- package-ecosystem: npm
25-
directory: "/icons-font"
25+
directory: "/packages/icons-font"
2626
labels:
2727
- dependencies
2828
schedule:
2929
interval: monthly
3030
versioning-strategy: increase
3131
- package-ecosystem: npm
32-
directory: "/parcel"
32+
directory: "/packages/parcel"
3333
labels:
3434
- dependencies
3535
schedule:
3636
interval: monthly
3737
versioning-strategy: increase
3838
- package-ecosystem: npm
39-
directory: "/react-nextjs"
39+
directory: "/packages/react-nextjs"
4040
labels:
4141
- dependencies
4242
schedule:
4343
interval: monthly
4444
versioning-strategy: increase
4545
- package-ecosystem: npm
46-
directory: "/sass-js-esm"
46+
directory: "/packages/sass-js-esm"
4747
labels:
4848
- dependencies
4949
schedule:
5050
interval: monthly
5151
versioning-strategy: increase
5252
- package-ecosystem: npm
53-
directory: "/sass-js"
53+
directory: "/packages/sass-js"
5454
labels:
5555
- dependencies
5656
schedule:
5757
interval: monthly
5858
versioning-strategy: increase
5959
- package-ecosystem: npm
60-
directory: "/starter"
60+
directory: "/packages/starter"
6161
labels:
6262
- dependencies
6363
schedule:
6464
interval: monthly
6565
versioning-strategy: increase
6666
- package-ecosystem: npm
67-
directory: "/vite"
67+
directory: "/packages/vite"
6868
labels:
6969
- dependencies
7070
schedule:
7171
interval: monthly
7272
versioning-strategy: increase
7373
- package-ecosystem: npm
74-
directory: "/vue"
74+
directory: "/packages/vue"
7575
labels:
7676
- dependencies
7777
schedule:
7878
interval: monthly
7979
versioning-strategy: increase
8080
- package-ecosystem: npm
81-
directory: "/webpack"
81+
directory: "/packages/webpack"
8282
labels:
8383
- dependencies
8484
schedule:

Diff for: .github/workflows/ci.yml

+1-5
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@ jobs:
1818
ci:
1919
name: ${{ matrix.project }}
2020
runs-on: ubuntu-latest
21-
defaults:
22-
run:
23-
working-directory: "${{ matrix.project }}"
2421

2522
strategy:
2623
fail-fast: false
@@ -48,10 +45,9 @@ jobs:
4845
with:
4946
node-version: "${{ env.NODE }}"
5047
cache: npm
51-
cache-dependency-path: "**/package-lock.json"
5248

5349
- name: Install npm dependencies
5450
run: npm ci
5551

5652
- name: Build and test
57-
run: npm run test --if-present
53+
run: npm run test --if-present --workspace=${{ matrix.project }}

Diff for: .gitignore

+3-2
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,6 @@ Thumbs.db
3030
*.komodoproject
3131

3232
# Folders to ignore
33-
dist
34-
node_modules
33+
.parcel-cache/
34+
dist/
35+
node_modules/

Diff for: README.md

+10-10
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,16 @@
1414

1515
## Directory
1616

17-
- [Starter](starter/) – CDN links for our CSS and JS
18-
- [Sass & JS](sass-js/) — Import Sass, Autoprefixer, Stylelint, and our JS bundle via npm
19-
- [Sass & ESM JS](sass-js-esm/) — Import Sass, Autoprefixer, and Stylelint via npm, and then load our ESM JS with a shim
20-
- [Color modes](color-modes/) – New example for the Bootstrap v5.3.0 pre-release built on our Sass & ESM JS example. Also includes color mode support and color mode picker.
21-
- [Bootstrap Icons font](icons-font/) - Import and compile Sass, Stylelint, PurgeCSS, and our icon font
22-
- [Parcel](parcel/) - Sass, JS via Parcel
23-
- [React](react-nextjs/) - Sass with React Bootstrap components using React and Next.js
24-
- [Vite](vite/) - Sass, JS via Vite
25-
- [Vue](vue/) - Sass, JS via Vue/Vite
26-
- [Webpack](webpack/) - Import and bundle Sass and JS with Webpack
17+
- [Starter](packages/starter/) – CDN links for our CSS and JS
18+
- [Sass & JS](packages/sass-js/) — Import Sass, Autoprefixer, Stylelint, and our JS bundle via npm
19+
- [Sass & ESM JS](packages/sass-js-esm/) — Import Sass, Autoprefixer, and Stylelint via npm, and then load our ESM JS with a shim
20+
- [Color modes](packages/color-modes/) – New example for the Bootstrap v5.3.0 pre-release built on our Sass & ESM JS example. Also includes color mode support and color mode picker.
21+
- [Bootstrap Icons font](packages/icons-font/) - Import and compile Sass, Stylelint, PurgeCSS, and our icon font
22+
- [Parcel](packages/parcel/) - Sass, JS via Parcel
23+
- [React](packages/react-nextjs/) - Sass with React Bootstrap components using React and Next.js
24+
- [Vite](packages/vite/) - Sass, JS via Vite
25+
- [Vue](packages/vue/) - Sass, JS via Vue/Vite
26+
- [Webpack](packages/webpack/) - Import and bundle Sass and JS with Webpack
2727
- PurgeCSS - import sass w/ purgecss and js via npm
2828

2929
## License

Diff for: color-modes/.npmrc

-1
This file was deleted.

0 commit comments

Comments
 (0)