Skip to content

Commit

Permalink
refactor(many): remove ui-stylelint-config, update dependencies
Browse files Browse the repository at this point in the history
It was used to lint .css files, which is kinda useless by itself because we only have a few .css
files and most of them are autogenerated
  • Loading branch information
matyasf committed Oct 3, 2024
1 parent cf0478a commit 99f8068
Show file tree
Hide file tree
Showing 126 changed files with 10,245 additions and 13,208 deletions.
3 changes: 2 additions & 1 deletion eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,8 @@ const finalConfig = tseslint.config(
files: [
"packages/+(" + NODE_PACKAGES + ")/**/*",
'packages/__docs__/*.js', // docs is a mess
'!packages/**', // every file not in packages
'**/gulpfile.js',
'!packages/**' // every file not in packages
],
languageOptions: {
globals: {
Expand Down
21,830 changes: 9,950 additions & 11,880 deletions package-lock.json

Large diffs are not rendered by default.

46 changes: 22 additions & 24 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,50 +61,51 @@
"devDependencies": {
"@instructure/browserslist-config-instui": "10.2.2",
"@instructure/pkg-utils": "10.2.2",
"@babel/cli": "^7.24.8",
"@commitlint/cli": "^19.4.0",
"@commitlint/config-conventional": "^19.2.2",
"@babel/cli": "^7.25.6",
"@commitlint/cli": "^19.5.0",
"@commitlint/config-conventional": "^19.5.0",
"@emotion/cache": "^11.13.1",
"@emotion/react": "^11.13.0",
"@emotion/react": "^11.13.3",
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "^9.9.0",
"@testing-library/dom": "^9.3.4",
"@eslint/js": "^9.11.1",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/react": "^14.3.1",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"@types/eslint__js": "^8.42.3",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react": "^4.3.1",
"@vitest/eslint-plugin": "^1.0.3",
"@vitejs/plugin-react": "^4.3.2",
"@vitest/eslint-plugin": "^1.1.4",
"chai": "^4.4.1",
"chalk": "^4.1.2",
"commitizen": "^4.3.0",
"commitizen": "^4.3.1",
"cross-spawn": "^7.0.3",
"cypress": "^13.13.2",
"cypress": "^13.15.0",
"cypress-real-events": "^1.13.0",
"esbuild": "^0.24.0",
"eslint": "^9.11.1",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-node": "^0.3.9",
"eslint-module-utils": "^2.11.0",
"eslint-module-utils": "^2.12.0",
"eslint-plugin-compat": "^6.0.1",
"eslint-plugin-notice": "^1.0.0",
"eslint-plugin-react": "^7.36.1",
"eslint-plugin-react": "^7.37.0",
"eslint-plugin-jsx-a11y": "^6.10.0",
"globals": "^15.9.0",
"husky": "^9.1.4",
"lerna": "^7.4.2",
"lint-staged": "^15.2.8",
"husky": "^9.1.6",
"lerna": "^8.1.8",
"lint-staged": "^15.2.10",
"react": "^18.3.1",
"typescript": "5.5.3",
"typescript-eslint": "^8.7.0",
"vitest": "^2.0.2",
"webpack": "^5.93.0"
"tar": "^7.4.3",
"typescript": "5.6.2",
"typescript-eslint": "^8.8.0",
"vitest": "^2.1.1",
"webpack": "^5.95.0"
},
"//dependency-comments": {
"danger": "^11.3.1 -- add this back if we use it in pr-validation.yml",
"chalk": "Chalk 5 is ESM. (used here by the scripts/ folder)",
"lerna": "Lerna 8.1.6 doesnt seem to work, we're hitting this fixed(?) bug: https://github.com/lerna/lerna/issues/4005",
"tar": "Lerna 8 needs tar for this fixed(?) bug: https://github.com/lerna/lerna/issues/4005",
"eslint-import-resolver-typescript": "^3.6.1 not supported by ESLint 9",
"eslint-plugin-import-x": "^3.1.0 not supported by ESLint 9"
},
Expand All @@ -122,9 +123,6 @@
"eslint",
"prettier --write"
],
"*.css": [
"stylelint"
],
"*.{json,jsx,md,mdx,html}": [
"prettier --write"
]
Expand Down
15 changes: 8 additions & 7 deletions packages/__docs__/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
},
"license": "MIT",
"dependencies": {
"@babel/standalone": "^7.25.3",
"@babel/standalone": "^7.25.6",
"@instructure/canvas-high-contrast-theme": "10.2.2",
"@instructure/canvas-theme": "10.2.2",
"@instructure/console": "10.2.2",
Expand Down Expand Up @@ -112,11 +112,11 @@
"@instructure/ui-truncate-text": "10.2.2",
"@instructure/ui-utils": "10.2.2",
"@instructure/ui-view": "10.2.2",
"babel-loader": "^9.1.3",
"babel-loader": "^9.2.1",
"buffer": "^6.0.3",
"codesandbox": "^2.2.3",
"lorem-ipsum": "^2.0.8",
"marked": "^9.1.6",
"marked": "^14.1.2",
"marked-react": "^2.0.0",
"moment": "^2.30.1",
"prop-types": "^15.8.1",
Expand All @@ -130,18 +130,19 @@
"devDependencies": {
"@instructure/ui-babel-preset": "10.2.2",
"@instructure/ui-scripts": "10.2.2",
"@instructure/ui-stylelint-config": "10.2.2",
"@instructure/ui-webpack-config": "10.2.2",
"@types/marked": "^5.0.2",
"chokidar": "^3.6.0",
"chokidar": "^4.0.1",
"globby": "^14.0.2",
"gray-matter": "^4.0.3",
"html-webpack-plugin": "^5.6.0",
"jsdoc-api": "^8.1.1",
"mkdirp": "^3.0.1",
"raw-loader": "^4.0.2",
"react-docgen": "^6.0.4",
"react-docgen": "^7.0.3",
"svg-inline-loader": "^0.8.2",
"webpack-bundle-analyzer": "^4.10.2"
},
"//dependency-comments": {
"jsdoc-api": "v9 removes explainSync, its async only"
}
}
25 changes: 0 additions & 25 deletions packages/__docs__/stylelint.config.js

This file was deleted.

3 changes: 0 additions & 3 deletions packages/__docs__/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -276,9 +276,6 @@
{
"path": "../ui-scripts/tsconfig.build.json"
},
{
"path": "../ui-stylelint-config/tsconfig.build.json"
},
{
"path": "../ui-webpack-config/tsconfig.build.json"
}
Expand Down
8 changes: 4 additions & 4 deletions packages/__examples__/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
},
"license": "MIT",
"dependencies": {
"@babel/runtime": "^7.24.5",
"@babel/runtime": "^7.25.6",
"@instructure/ui-babel-preset": "10.2.2",
"@instructure/ui-buttons": "10.2.2",
"@instructure/ui-i18n": "10.2.2",
Expand All @@ -35,7 +35,7 @@
"chromatic": "^10.9.6",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"webpack-merge": "^5.10.0"
"webpack-merge": "^6.0.1"
},
"devDependencies": {
"@instructure/ui-scripts": "10.2.2",
Expand All @@ -46,9 +46,9 @@
"@types/webpack-env": "^1.18.5",
"globby": "^13.2.2",
"prop-types": "^15.8.1",
"react-docgen": "6.0.4",
"react-docgen": "7.0.3",
"storybook": "^7.6.19",
"webpack": "^5.93.0"
"webpack": "^5.95.0"
},
"resolutions": {
"@storybook/react/webpack": "^5"
Expand Down
2 changes: 1 addition & 1 deletion packages/canvas-high-contrast-theme/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"@instructure/ui-babel-preset": "10.2.2"
},
"dependencies": {
"@babel/runtime": "^7.24.5",
"@babel/runtime": "^7.25.6",
"@instructure/shared-types": "10.2.2",
"@instructure/theme-registry": "10.2.2",
"@instructure/ui-themes": "10.2.2"
Expand Down
2 changes: 1 addition & 1 deletion packages/canvas-theme/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"@instructure/ui-babel-preset": "10.2.2"
},
"dependencies": {
"@babel/runtime": "^7.24.5",
"@babel/runtime": "^7.25.6",
"@instructure/shared-types": "10.2.2",
"@instructure/theme-registry": "10.2.2",
"@instructure/ui-themes": "10.2.2"
Expand Down
2 changes: 1 addition & 1 deletion packages/cz-lerna-changelog/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"@types/inquirer": "^8.2.10"
},
"peerDependencies": {
"lerna": "^7"
"lerna": "^8"
},
"//dependency-comments": {
"cz-cli": "This module cannot be ESM because cz-cli can only import CommonJS, see https://github.com/commitizen/cz-cli/issues/916",
Expand Down
2 changes: 1 addition & 1 deletion packages/debounce/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"@instructure/ui-babel-preset": "10.2.2"
},
"dependencies": {
"@babel/runtime": "^7.24.5"
"@babel/runtime": "^7.25.6"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/emotion/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
},
"license": "MIT",
"dependencies": {
"@babel/runtime": "^7.24.5",
"@babel/runtime": "^7.25.6",
"@emotion/react": "^11",
"@instructure/console": "10.2.2",
"@instructure/shared-types": "10.2.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/instui-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
"@instructure/command-utils": "10.2.2",
"@instructure/pkg-utils": "10.2.2",
"fs-extra": "^11.2.0",
"semver": "^7.6.2"
"semver": "^7.6.3"
}
}
2 changes: 1 addition & 1 deletion packages/theme-registry/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"access": "public"
},
"dependencies": {
"@babel/runtime": "^7.24.5",
"@babel/runtime": "^7.25.6",
"@instructure/console": "10.2.2",
"@instructure/shared-types": "10.2.2",
"@instructure/ui-utils": "10.2.2"
Expand Down
2 changes: 1 addition & 1 deletion packages/ui-a11y-content/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
},
"license": "MIT",
"dependencies": {
"@babel/runtime": "^7.24.5",
"@babel/runtime": "^7.25.6",
"@instructure/emotion": "10.2.2",
"@instructure/shared-types": "10.2.2",
"@instructure/ui-react-utils": "10.2.2",
Expand Down
6 changes: 3 additions & 3 deletions packages/ui-a11y-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
},
"license": "MIT",
"dependencies": {
"@babel/runtime": "^7.24.5",
"@babel/runtime": "^7.25.6",
"@instructure/console": "10.2.2",
"@instructure/shared-types": "10.2.2",
"@instructure/ui-a11y-content": "10.2.2",
Expand All @@ -35,8 +35,8 @@
"@instructure/ui-babel-preset": "10.2.2",
"@instructure/ui-color-utils": "10.2.2",
"@testing-library/jest-dom": "^6.4.5",
"@testing-library/react": "^15.0.7",
"vitest": "^2.0.2"
"@testing-library/react": "^16.0.1",
"vitest": "^2.1.1"
},
"peerDependencies": {
"react": ">=16.8 <=18"
Expand Down
6 changes: 3 additions & 3 deletions packages/ui-alerts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@
"@instructure/ui-scripts": "10.2.2",
"@instructure/ui-test-utils": "10.2.2",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/react": "^15.0.7",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"vitest": "^2.0.2"
"vitest": "^2.1.1"
},
"dependencies": {
"@babel/runtime": "^7.24.5",
"@babel/runtime": "^7.25.6",
"@instructure/console": "10.2.2",
"@instructure/emotion": "10.2.2",
"@instructure/shared-types": "10.2.2",
Expand Down
6 changes: 3 additions & 3 deletions packages/ui-avatar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
},
"license": "MIT",
"dependencies": {
"@babel/runtime": "^7.24.5",
"@babel/runtime": "^7.25.6",
"@instructure/emotion": "10.2.2",
"@instructure/shared-types": "10.2.2",
"@instructure/ui-icons": "10.2.2",
Expand All @@ -40,8 +40,8 @@
"@instructure/ui-test-utils": "10.2.2",
"@instructure/ui-themes": "10.2.2",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/react": "^15.0.7",
"vitest": "^2.0.2"
"@testing-library/react": "^16.0.1",
"vitest": "^2.1.1"
},
"peerDependencies": {
"react": ">=16.8 <=18"
Expand Down
2 changes: 1 addition & 1 deletion packages/ui-axe-check/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"@instructure/ui-babel-preset": "10.2.2"
},
"dependencies": {
"@babel/runtime": "^7.24.5",
"@babel/runtime": "^7.25.6",
"axe-core": "^4.10.0"
},
"publishConfig": {
Expand Down
30 changes: 15 additions & 15 deletions packages/ui-babel-preset/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,31 +17,31 @@
},
"license": "MIT",
"dependencies": {
"@babel/core": "^7.24.5",
"@babel/core": "^7.25.2",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-decorators": "^7.24.1",
"@babel/plugin-proposal-export-default-from": "^7.24.1",
"@babel/plugin-proposal-decorators": "^7.24.7",
"@babel/plugin-proposal-export-default-from": "^7.24.7",
"@babel/plugin-proposal-optional-chaining": "^7.21.0",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-transform-classes": "^7.24.5",
"@babel/plugin-transform-destructuring": "^7.24.5",
"@babel/plugin-transform-react-constant-elements": "^7.24.1",
"@babel/plugin-transform-react-display-name": "^7.24.1",
"@babel/plugin-transform-runtime": "^7.24.3",
"@babel/preset-env": "^7.24.5",
"@babel/preset-react": "^7.24.1",
"@babel/preset-typescript": "^7.24.1",
"@babel/runtime": "^7.24.5",
"@babel/plugin-transform-classes": "^7.25.4",
"@babel/plugin-transform-destructuring": "^7.24.8",
"@babel/plugin-transform-react-constant-elements": "^7.25.1",
"@babel/plugin-transform-react-display-name": "^7.24.7",
"@babel/plugin-transform-runtime": "^7.25.4",
"@babel/preset-env": "^7.25.4",
"@babel/preset-react": "^7.24.7",
"@babel/preset-typescript": "^7.24.7",
"@babel/runtime": "^7.25.6",
"@instructure/babel-plugin-transform-imports": "10.2.2",
"@instructure/browserslist-config-instui": "10.2.2",
"babel-loader": "^9.1.3",
"babel-loader": "^9.2.1",
"babel-plugin-dynamic-import-node": "^2.3.3",
"babel-plugin-istanbul": "^6.1.1",
"babel-plugin-istanbul": "^7.0.0",
"babel-plugin-macros": "^3.1.0",
"babel-plugin-transform-ensure-ignore": "^0.1.0",
"babel-plugin-transform-remove-console": "^6.9.4",
"babel-plugin-transform-undefined-to-void": "^6.9.4",
"core-js": "3.37.1"
"core-js": "3.38.1"
},
"publishConfig": {
"access": "public"
Expand Down
Loading

0 comments on commit 99f8068

Please sign in to comment.