Skip to content
Merged
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
6 changes: 3 additions & 3 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
# your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@main

# Add any setup steps before running the `github/codeql-action/init` action.
# This includes steps like installing compilers or runtimes (`actions/setup-node`
Expand All @@ -67,7 +67,7 @@ jobs:

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v4
uses: github/codeql-action/init@main
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}
Expand Down Expand Up @@ -96,6 +96,6 @@ jobs:
exit 1

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v4
uses: github/codeql-action/analyze@main
with:
category: "/language:${{matrix.language}}"
6 changes: 3 additions & 3 deletions .github/workflows/pr-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ jobs:

strategy:
matrix:
node-version: [22.x]
node-version: [24.x]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@main
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@main
with:
node-version: ${{ matrix.node-version }}

Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js 22.x
uses: actions/setup-node@v4
- uses: actions/checkout@main
- name: Use Node.js 24.x
uses: actions/setup-node@main
with:
node-version: '22.x'
node-version: '24.x'
- name: Install dependencies
run: |
yarn install
Expand All @@ -24,7 +24,7 @@ jobs:
run: |
cd packages/component-list
yarn build
- name: Build web-extension v3 (Chrome & Firefox)
- name: Build web-extension (Chrome & Firefox)
run: |
cd packages/web-extension
yarn build
Expand Down
940 changes: 940 additions & 0 deletions .yarn/releases/yarn-4.15.0.cjs

Large diffs are not rendered by default.

925 changes: 0 additions & 925 deletions .yarn/releases/yarn-4.4.0.cjs

This file was deleted.

27 changes: 26 additions & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,28 @@
nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-4.4.0.cjs
enableScripts: true

npmMinimalAgeGate: 0

packageExtensions:
"@carbon/ibmdotcom-styles@*":
dependencies:
react: "^16.14.0"
"@commitlint/load@*":
dependencies:
"@types/node": "*"
typescript: "*"
"@typescript-eslint/utils@*":
dependencies:
typescript: "*"
eslint-config-carbon@*:
dependencies:
"@babel/core": "*"
prettier: "*"
typescript: "*"
stylelint-config-carbon@*:
dependencies:
postcss: "*"
prettier: "*"

yarnPath: .yarn/releases/yarn-4.15.0.cjs
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@
"test": "lerna run test --stream"
},
"devDependencies": {
"@commitlint/cli": "^19.4.0",
"@commitlint/config-conventional": "^19.2.2",
"husky": "^9.1.4",
"lerna": "^8.1.8",
"lint-staged": "^15.2.9",
"rimraf": "^6.0.1"
"@commitlint/cli": "^21.0.1",
"@commitlint/config-conventional": "^21.0.1",
"husky": "^9.1.7",
"lerna": "^9.0.7",
"lint-staged": "^17.0.5",
"rimraf": "^6.1.3"
},
"engines": {
"node": ">=18.x"
"node": ">=22.22.1"
},
"license": "Apache-2.0",
"author": "IBM",
Expand Down Expand Up @@ -98,5 +98,5 @@
"prettier --write"
]
},
"packageManager": "yarn@4.4.0"
"packageManager": "yarn@4.15.0"
}
58 changes: 34 additions & 24 deletions packages/component-list/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,39 +17,49 @@
"test": "yarn format && yarn lint"
},
"dependencies": {
"@carbon/ibm-products": "^1.29.0",
"@carbon/ibm-security": "^1.38.0",
"@carbon/ibmdotcom-react": "^1.42.0",
"@carbon/ibmdotcom-web-components": "^1.25.0",
"@carbon/colors": "^10.37.5",
"@carbon/ibm-products": "^1.73.6",
"@carbon/ibm-security": "^1.47.0",
"@carbon/ibmdotcom-react": "^1.66.1",
"@carbon/ibmdotcom-web-components": "^1.51.1",
"@carbon/icons-react": "^10.49.6",
"@carbon/import-once": "^10.7.2",
"@carbon/layout": "^10.37.5",
"@carbon/motion": "^10.29.5",
"@carbon/themes": "^10.55.6",
"@carbon/type": "^10.45.6",
"carbon-components": "^10.59.2",
"carbon-components-react": "^7.49.0",
"carbon-components-react": "^7.60.5",
"carbon-icons": "^7.0.7",
"carbon-web-components": "^1.21.0"
},
"devDependencies": {
"@babel/core": "^7.25.2",
"@babel/node": "^7.25.0",
"@babel/preset-env": "^7.25.3",
"@babel/preset-react": "^7.24.7",
"@testing-library/react": "^16.0.0",
"babel-loader": "^9.1.3",
"babel-preset-carbon": "^0.0.14",
"cheerio": "1.0.0",
"@babel/core": "^7.29.7",
"@babel/node": "^7.29.7",
"@babel/preset-env": "^7.29.7",
"@babel/preset-react": "^7.29.7",
"@testing-library/react": "^12.1.5",
"@types/react": "^17.0.92",
"babel-loader": "^10.1.1",
"babel-preset-carbon": "^0.8.0",
"cheerio": "^1.2.0",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.8",
"eslint": "^9.9.0",
"eslint-config-carbon": "^3.18.0",
"eslint": "^8.57.1",
"eslint-config-carbon": "3.12.0",
"global": "^4.4.0",
"jsdom": "^24.0.0",
"nodemon": "^3.1.4",
"postcss": "^8.4.41",
"prettier": "^3.3.3",
"jsdom": "^29.1.1",
"nodemon": "^3.1.14",
"postcss": "^8.5.15",
"prettier": "^3.8.3",
"react": "^16.14.0",
"react-dom": "^16.14.0",
"rimraf": "^6.0.1",
"stylelint": "^15.0.0",
"stylelint-config-carbon": "1.17.0",
"webpack": "^5.93.0",
"webpack-cli": "^5.1.4"
"rimraf": "^6.1.3",
"sass": "^1.100.0",
"stylelint": "^16.26.1",
"stylelint-config-carbon": "1.20.0",
"webpack": "^5.107.2",
"webpack-cli": "^6.0.1"
},
"stylelint": {
"extends": [
Expand Down
8 changes: 4 additions & 4 deletions packages/utilities/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@
"@carbon/layout": "^10.37.5"
},
"devDependencies": {
"eslint": "^9.9.0",
"eslint-config-carbon": "^3.18.0",
"prettier": "^2.8.8",
"prettier-config-carbon": "^0.11.0"
"eslint": "^8.57.1",
"eslint-config-carbon": "3.12.0",
"prettier": "^3.8.3",
"prettier-config-carbon": "^0.12.0"
},
"eslintConfig": {
"extends": [
Expand Down
85 changes: 44 additions & 41 deletions packages/web-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,72 +15,75 @@
"lint:js": "eslint src/",
"lint:css": "stylelint 'src/**/*.{css,scss}' --report-needless-disables --report-invalid-scope-disables",
"test": "yarn format && yarn lint",
"launch:chrome": "web-ext run -t chromium --start-url \"https://www.ibm.com\" --source-dir ./dist/",
"launch:firefox": "web-ext run --start-url \"https://www.ibm.com\" --source-dir ./dist/",
"launch:chrome": "web-ext run -t chromium --start-url \"https://v10.carbondesignsystem.com\" --source-dir ./dist/",
"launch:firefox": "web-ext run --start-url \"https://v10.carbondesignsystem.com\" --source-dir ./dist/",
"launch:firefox:dev": "web-ext run --start-url \"about:debugging#/runtime/this-firefox\" --source-dir ./dist/"
},
"dependencies": {
"@carbon/colors": "^10.37.5",
"@carbon/devtools-component-list": "^2.7.7",
"@carbon/devtools-component-list": "^2.8.4",
"@carbon/grid": "^10.43.5",
"@carbon/ibm-products": "^1.29.0",
"@carbon/ibm-security": "^1.38.0",
"@carbon/ibmdotcom-react": "^1.42.0",
"@carbon/ibmdotcom-utilities": "^1.42.0",
"@carbon/ibm-products": "^1.73.6",
"@carbon/ibm-security": "^1.47.0",
"@carbon/ibmdotcom-react": "^1.66.1",
"@carbon/ibmdotcom-utilities": "^1.66.1",
"@carbon/icons": "^10.48.6",
"@carbon/import-once": "^10.7.2",
"@carbon/layout": "^10.37.5",
"@carbon/motion": "^10.29.5",
"@carbon/themes": "^10.55.6",
"@carbon/type": "^10.42.0",
"@carbon/type": "^10.45.6",
"carbon-components": "^10.59.2",
"carbon-components-react": "^7.49.0",
"carbon-components-react": "^7.60.5",
"carbon-icons": "^7.0.7",
"color": "^4.2.3",
"node-fetch": "^3.3.2",
"url": "^0.11.4"
},
"devDependencies": {
"@babel/core": "^7.25.2",
"@babel/preset-env": "^7.25.3",
"@babel/preset-react": "^7.24.7",
"@babel/core": "^7.29.7",
"@babel/preset-env": "^7.29.7",
"@babel/preset-react": "^7.29.7",
"@carbon/icons-react": "^10.49.6",
"babel-loader": "^9.1.3",
"babel-loader": "^10.1.1",
"clean-webpack-plugin": "^4.0.0",
"copy-webpack-plugin": "^12.0.2",
"css-loader": "^7.1.2",
"cssnano": "^7.0.5",
"dotenv-webpack": "^8.1.0",
"eslint": "^9.9.0",
"eslint-config-carbon": "^3.18.0",
"copy-webpack-plugin": "^14.0.0",
"css-loader": "^7.1.4",
"css-minimizer-webpack-plugin": "^8.0.0",
"cssnano": "^8.0.1",
"dotenv-webpack": "^9.0.0",
"eslint": "^8.57.1",
"eslint-config-carbon": "3.12.0",
"html-loader": "^5.1.0",
"html-webpack-plugin": "^5.6.0",
"mini-css-extract-plugin": "^2.9.0",
"optimize-css-assets-webpack-plugin": "^6.0.1",
"postcss": "^8.4.41",
"postcss-import": "^16.1.0",
"postcss-loader": "^8.1.1",
"postcss-preset-env": "^10.0.0",
"html-webpack-plugin": "^5.6.7",
"mini-css-extract-plugin": "^2.10.2",
"postcss": "^8.5.15",
"postcss-import": "^16.1.1",
"postcss-loader": "^8.2.1",
"postcss-preset-env": "^11.3.0",
"postcss-rem-to-pixel": "^4.1.2",
"preact": "^10.23.2",
"prettier": "^2.8.8",
"prettier-config-carbon": "^0.11.0",
"preact": "^10.29.2",
"prettier": "^3.8.3",
"prettier-config-carbon": "^0.12.0",
"prop-types": "^15.8.1",
"react": "^16.14.0",
"react-dom": "^16.14.0",
"react-svg-loader": "^3.0.3",
"rimraf": "^6.0.1",
"sass": "1.77.8",
"sass-loader": "^16.0.0",
"rimraf": "^6.1.3",
"sass": "^1.100.0",
"sass-loader": "^17.0.0",
"style-loader": "^4.0.0",
"stylelint": "^15.0.0",
"stylelint-config-carbon": "1.17.0",
"terser-webpack-plugin": "^5.3.10",
"web-ext": "^8.2.0",
"webpack": "^5.93.0",
"webpack-bundle-analyzer": "^4.10.2",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^5.0.4",
"stylelint": "^16.26.1",
"stylelint-config-carbon": "1.20.0",
"terser-webpack-plugin": "^5.6.1",
"web-ext": "^10.2.0",
"webpack": "^5.107.2",
"webpack-bundle-analyzer": "^5.3.0",
"webpack-cli": "^6.0.1",
"webpack-dev-server": "^5.2.4",
"webpack-merge": "^6.0.1",
"zip-webpack-plugin": "^4.0.1"
"webpack-sources": "^3.3.3",
"zip-webpack-plugin": "^4.0.3"
},
"sideEffects": false,
"keywords": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
@use 'sass:map';

/* stylelint-disable a11y/media-prefers-reduced-motion */
@mixin label-maker($breakpoints) {
&::after {
@each $breakpoint in map-keys($breakpoints) {
@each $breakpoint in map.keys($breakpoints) {
@include carbon--breakpoint($breakpoint) {
content: 'breakpoint: #{$breakpoint}';
}
Expand Down
2 changes: 1 addition & 1 deletion packages/web-extension/src/inject/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ $themes: (
}
}

@each $theme in map-keys($themes) {
@each $theme in map.keys($themes) {
.#{$prefix}--#{$theme} & {
@include carbon--theme(
map.get($themes, $theme),
Expand Down
4 changes: 2 additions & 2 deletions packages/web-extension/webpack.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ const TerserPlugin = require('terser-webpack-plugin');
const { merge } = require('webpack-merge');
const common = require('./webpack.common.js');
const ZipPlugin = require('zip-webpack-plugin');
const OptimizeCSSAssetsPlugin = require('optimize-css-assets-webpack-plugin');
const CssMinimizerPlugin = require('css-minimizer-webpack-plugin');

module.exports = merge(common, {
mode: 'production',
optimization: {
minimize: true,
minimizer: [new TerserPlugin({}), new OptimizeCSSAssetsPlugin({})],
minimizer: [new TerserPlugin({}), new CssMinimizerPlugin({})],
},
plugins: [
new ZipPlugin({
Expand Down
Loading