Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to npm workspaces #114

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,70 +15,70 @@ updates:
interval: monthly
versioning-strategy: increase
- package-ecosystem: npm
directory: "/color-modes"
directory: "/packages/color-modes"
labels:
- dependencies
schedule:
interval: monthly
versioning-strategy: increase
- package-ecosystem: npm
directory: "/icons-font"
directory: "/packages/icons-font"
labels:
- dependencies
schedule:
interval: monthly
versioning-strategy: increase
- package-ecosystem: npm
directory: "/parcel"
directory: "/packages/parcel"
labels:
- dependencies
schedule:
interval: monthly
versioning-strategy: increase
- package-ecosystem: npm
directory: "/react-nextjs"
directory: "/packages/react-nextjs"
labels:
- dependencies
schedule:
interval: monthly
versioning-strategy: increase
- package-ecosystem: npm
directory: "/sass-js-esm"
directory: "/packages/sass-js-esm"
labels:
- dependencies
schedule:
interval: monthly
versioning-strategy: increase
- package-ecosystem: npm
directory: "/sass-js"
directory: "/packages/sass-js"
labels:
- dependencies
schedule:
interval: monthly
versioning-strategy: increase
- package-ecosystem: npm
directory: "/starter"
directory: "/packages/starter"
labels:
- dependencies
schedule:
interval: monthly
versioning-strategy: increase
- package-ecosystem: npm
directory: "/vite"
directory: "/packages/vite"
labels:
- dependencies
schedule:
interval: monthly
versioning-strategy: increase
- package-ecosystem: npm
directory: "/vue"
directory: "/packages/vue"
labels:
- dependencies
schedule:
interval: monthly
versioning-strategy: increase
- package-ecosystem: npm
directory: "/webpack"
directory: "/packages/webpack"
labels:
- dependencies
schedule:
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ jobs:
ci:
name: ${{ matrix.project }}
runs-on: ubuntu-latest
defaults:
run:
working-directory: "${{ matrix.project }}"

strategy:
fail-fast: false
Expand Down Expand Up @@ -48,10 +45,9 @@ jobs:
with:
node-version: "${{ env.NODE }}"
cache: npm
cache-dependency-path: "**/package-lock.json"

- name: Install npm dependencies
run: npm ci

- name: Build and test
run: npm run test --if-present
run: npm run test --if-present --workspace=${{ matrix.project }}
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,6 @@ Thumbs.db
*.komodoproject

# Folders to ignore
dist
node_modules
.parcel-cache/
dist/
node_modules/
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@

## Directory

- [Starter](starter/) – CDN links for our CSS and JS
- [Sass & JS](sass-js/) — Import Sass, Autoprefixer, Stylelint, and our JS bundle via npm
- [Sass & ESM JS](sass-js-esm/) — Import Sass, Autoprefixer, and Stylelint via npm, and then load our ESM JS with a shim
- [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.
- [Bootstrap Icons font](icons-font/) - Import and compile Sass, Stylelint, PurgeCSS, and our icon font
- [Parcel](parcel/) - Sass, JS via Parcel
- [React](react-nextjs/) - Sass with React Bootstrap components using React and Next.js
- [Vite](vite/) - Sass, JS via Vite
- [Vue](vue/) - Sass, JS via Vue/Vite
- [Webpack](webpack/) - Import and bundle Sass and JS with Webpack
- [Starter](packages/starter/) – CDN links for our CSS and JS
- [Sass & JS](packages/sass-js/) — Import Sass, Autoprefixer, Stylelint, and our JS bundle via npm
- [Sass & ESM JS](packages/sass-js-esm/) — Import Sass, Autoprefixer, and Stylelint via npm, and then load our ESM JS with a shim
- [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.
- [Bootstrap Icons font](packages/icons-font/) - Import and compile Sass, Stylelint, PurgeCSS, and our icon font
- [Parcel](packages/parcel/) - Sass, JS via Parcel
- [React](packages/react-nextjs/) - Sass with React Bootstrap components using React and Next.js
- [Vite](packages/vite/) - Sass, JS via Vite
- [Vue](packages/vue/) - Sass, JS via Vue/Vite
- [Webpack](packages/webpack/) - Import and bundle Sass and JS with Webpack
- PurgeCSS - import sass w/ purgecss and js via npm

## License
Expand Down
1 change: 0 additions & 1 deletion color-modes/.npmrc

This file was deleted.

Loading