Skip to content

Commit

Permalink
feat!: bump all upgradable dependencies, update related usages (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
JounQin authored Feb 7, 2022
1 parent 834865e commit c9743ef
Show file tree
Hide file tree
Showing 28 changed files with 3,334 additions and 3,311 deletions.
15 changes: 15 additions & 0 deletions .changeset/weak-oranges-confess.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
"@1stg/app-config": major
"@1stg/babel-preset": patch
"@1stg/commitlint-config": major
"@1stg/common-config": major
"@1stg/eslint-config": major
"@1stg/lib-config": major
"@1stg/lint-staged": patch
"@1stg/markuplint-config": minor
"@1stg/postcss-config": minor
"@1stg/prettier-config": minor
"@1stg/stylelint-config": major
---

feat!: bump all upgradable dependencies, update related usages
6 changes: 0 additions & 6 deletions .stylelint.common.json

This file was deleted.

5 changes: 2 additions & 3 deletions .stylelintrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"extends": [
"@1stg/stylelint-config/scss",
"@1stg/stylelint-config",
"@1stg/stylelint-config/modules"
],
"ignoreFiles": "*.less"
]
}
38 changes: 19 additions & 19 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,8 @@
"check:stylelint": "stylelint-config-prettier-check",
"check:tslint": "tslint-config-prettier-check ./tslint.json",
"lint": "run-p lint:*",
"lint:css": "stylelint --cache --config .stylelint.common.json 'tests/*.{css,html,less}'",
"lint:es": "eslint . --cache -f friendly",
"lint:scss": "stylelint --cache 'tests/*.{scss,vue}'",
"lint:style": "stylelint --cache 'tests/*.{css,html,less,scss,svelte,vue}'",
"lint:ts": "tslint -p . -t stylish",
"lint:tsc": "tsc --noEmit",
"postinstall": "simple-git-hooks && yarn-deduplicate --strategy fewer || exit 0",
Expand All @@ -26,29 +25,30 @@
"typecov": "type-coverage"
},
"devDependencies": {
"@angular/compiler": "^12.2.9",
"@angular/core": "^12.2.9",
"@changesets/changelog-github": "^0.4.1",
"@changesets/cli": "^2.17.0",
"@types/jest": "^27.0.2",
"@types/node": "^16.10.3",
"@types/react": "^17.0.27",
"@angular/compiler": "^13.2.1",
"@angular/compiler-cli": "^13.2.1",
"@angular/core": "^13.2.1",
"@changesets/changelog-github": "^0.4.2",
"@changesets/cli": "^2.20.0",
"@types/jest": "^27.4.0",
"@types/node": "^17.0.15",
"@types/react": "^17.0.39",
"@types/unist": "^2.0.6",
"core-js": "^3.18.2",
"core-js": "^3.21.0",
"enhanced-resolve": "^5.8.3",
"postcss": "^8.3.9",
"postcss": "^8.4.6",
"react": "^17.0.2",
"rxjs": "^7.4.0",
"svelte": "^3.43.1",
"ts-jest": "^27.0.5",
"rxjs": "^7.5.2",
"svelte": "^3.46.4",
"ts-jest": "^27.1.3",
"tslint": "^6.1.3",
"type-coverage": "^2.18.2",
"typescript": "^4.4.3",
"vue": "^3.2.20",
"vue-tsc": "^0.28.2"
"type-coverage": "^2.21.0",
"typescript": "^4.5.5",
"vue": "^3.2.29",
"vue-tsc": "^0.31.2"
},
"resolutions": {
"prettier": "^2.4.1"
"prettier": "^2.5.1"
},
"typeCoverage": {
"atLeast": 100,
Expand Down
10 changes: 5 additions & 5 deletions packages/app-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
"@1stg/common-config": "^2.5.2",
"@1stg/postcss-config": "^2.2.1",
"@1stg/stylelint-config": "^2.2.1",
"@pkgr/es-modules": "^0.5.0",
"@pkgr/imagemin": "^2.0.3",
"browserslist": "^4.17.3",
"postcss": "^8.3.9",
"stylelint": "^13.13.1"
"@pkgr/es-modules": "^0.5.1",
"@pkgr/imagemin": "^2.1.0",
"browserslist": "^4.19.1",
"postcss": "^8.4.6",
"stylelint": "^14.3.0"
},
"publishConfig": {
"access": "public"
Expand Down
20 changes: 10 additions & 10 deletions packages/babel-preset/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,23 +12,23 @@
"@babel/core": ">=7.14.1"
},
"dependencies": {
"@babel/helper-plugin-utils": "^7.14.5",
"@babel/plugin-proposal-class-properties": "^7.14.5",
"@babel/plugin-proposal-decorators": "^7.15.8",
"@babel/preset-env": "^7.15.8",
"@babel/preset-react": "^7.14.5",
"@babel/preset-typescript": "^7.15.0",
"@pkgr/utils": "^2.0.1",
"@babel/helper-plugin-utils": "^7.16.7",
"@babel/plugin-proposal-class-properties": "^7.16.7",
"@babel/plugin-proposal-decorators": "^7.17.0",
"@babel/preset-env": "^7.16.11",
"@babel/preset-react": "^7.16.7",
"@babel/preset-typescript": "^7.16.7",
"@pkgr/utils": "^2.0.2",
"@vue/babel-helper-vue-jsx-merge-props": "^1.2.1",
"@vue/babel-plugin-jsx": "^1.1.0",
"@vue/babel-plugin-jsx": "^1.1.1",
"@vue/babel-preset-jsx": "^1.2.4",
"babel-plugin-import": "^1.13.3",
"babel-plugin-transform-async-to-promises": "^0.8.15",
"babel-plugin-transform-async-to-promises": "^0.8.18",
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
"babel-plugin-transform-remove-console": "^6.9.4",
"babel-plugin-transform-typescript-metadata": "^0.3.2",
"babel-preset-proposal-typescript": "^2.2.0",
"core-js": "^3.18.2",
"core-js": "^3.21.0",
"fast-async": "^7.0.6"
},
"publishConfig": {
Expand Down
6 changes: 3 additions & 3 deletions packages/commitlint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
"node": ">=12"
},
"dependencies": {
"@commitlint/config-conventional": "^13.2.0",
"@commitlint/config-lerna-scopes": "^13.2.0",
"@pkgr/utils": "^2.0.1"
"@commitlint/config-conventional": "^16.0.0",
"@commitlint/config-lerna-scopes": "^16.0.0",
"@pkgr/utils": "^2.0.2"
},
"publishConfig": {
"access": "public"
Expand Down
12 changes: 6 additions & 6 deletions packages/common-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@
"@1stg/remark-config": "^1.1.0",
"@1stg/simple-git-hooks": "^0.1.2",
"@1stg/tsconfig": "^2.0.1",
"@babel/core": "^7.15.8",
"@commitlint/cli": "^13.2.1",
"eslint": "^7.32.0",
"lint-staged": "^11.2.3",
"@babel/core": "^7.17.0",
"@commitlint/cli": "^16.1.0",
"eslint": "^8.8.0",
"lint-staged": "^12.3.3",
"npm-run-all": "^4.1.5",
"prettier": "^2.4.1",
"simple-git-hooks": "^2.6.1",
"prettier": "^2.5.1",
"simple-git-hooks": "^2.7.0",
"tslib": "^2.3.1",
"yarn-deduplicate": "^3.1.0"
},
Expand Down
6 changes: 6 additions & 0 deletions packages/eslint-config/overrides.js
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,12 @@ exports.angular = [
],
},
},
{
files: '*inline-template-*.component.html',
rules: {
'unicorn/no-empty-file': 0,
},
},
]

exports.html = {
Expand Down
38 changes: 19 additions & 19 deletions packages/eslint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@
"eslint": ">=6.0.0"
},
"dependencies": {
"@angular-eslint/eslint-plugin": "^12.5.0",
"@angular-eslint/eslint-plugin-template": "^12.5.0",
"@angular-eslint/template-parser": "^12.5.0",
"@babel/eslint-parser": "^7.15.8",
"@babel/eslint-plugin": "^7.14.5",
"@pkgr/utils": "^2.0.1",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/eslint-plugin-tslint": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"@angular-eslint/eslint-plugin": "^13.0.1",
"@angular-eslint/eslint-plugin-template": "^13.0.1",
"@angular-eslint/template-parser": "^13.0.1",
"@babel/eslint-parser": "^7.17.0",
"@babel/eslint-plugin": "^7.16.5",
"@pkgr/utils": "^2.0.2",
"@typescript-eslint/eslint-plugin": "^5.10.2",
"@typescript-eslint/eslint-plugin-tslint": "^5.10.2",
"@typescript-eslint/parser": "^5.10.2",
"angular-eslint-template-parser": "^0.1.1",
"eslint-config-prettier": "^8.3.0",
"eslint-config-standard": "^16.0.3",
Expand All @@ -30,22 +30,22 @@
"eslint-formatter-friendly": "^7.0.0",
"eslint-import-resolver-typescript": "^2.5.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-jest": "^25.0.1",
"eslint-plugin-jsdoc": "^36.1.1",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jest": "^26.1.0",
"eslint-plugin-jsdoc": "^37.7.1",
"eslint-plugin-markup": "^0.7.1",
"eslint-plugin-mdx": "^1.15.1",
"eslint-plugin-mdx": "^1.16.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-promise": "^5.1.0",
"eslint-plugin-react": "^7.26.1",
"eslint-plugin-react-hooks": "^4.2.0",
"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-react": "^7.28.0",
"eslint-plugin-react-hooks": "^4.3.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"eslint-plugin-sonar": "^0.6.1",
"eslint-plugin-sonarjs": "^0.10.0",
"eslint-plugin-sonarjs": "^0.11.0",
"eslint-plugin-svelte": "^1.1.2",
"eslint-plugin-unicorn": "^36.0.0",
"eslint-plugin-vue": "^7.19.1"
"eslint-plugin-unicorn": "^40.1.0",
"eslint-plugin-vue": "^8.4.1"
},
"publishConfig": {
"access": "public"
Expand Down
4 changes: 2 additions & 2 deletions packages/lib-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
},
"dependencies": {
"@1stg/common-config": "^2.5.2",
"@pkgr/rollup": "^2.0.1",
"jest": "^27.2.5"
"@pkgr/rollup": "^2.1.1",
"jest": "^27.5.0"
},
"publishConfig": {
"access": "public"
Expand Down
4 changes: 2 additions & 2 deletions packages/lint-staged/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
"dependencies": {
"@1stg/prettier-config": "^1.8.1",
"@1stg/tsconfig": "^2.0.1",
"@pkgr/utils": "^2.0.1",
"@pkgr/utils": "^2.0.2",
"cross-env": "^7.0.3",
"prettier": "^2.4.1"
"prettier": "^2.5.1"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/markuplint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"dependencies": {
"@markuplint/vue-parser": "^1.0.3-beta.1",
"@markuplint/vue-spec": "^1.0.1-beta.5",
"markuplint-angular-parser": "^0.3.4"
"markuplint-angular-parser": "^1.0.1"
},
"publishConfig": {
"access": "public"
Expand Down
12 changes: 6 additions & 6 deletions packages/postcss-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@
"postcss": ">=7.0.0"
},
"dependencies": {
"@pkgr/utils": "^2.0.1",
"autoprefixer": "^10.3.7",
"cssnano": "^5.0.8",
"cssnano-preset-advanced": "^5.1.4",
"@pkgr/utils": "^2.0.2",
"autoprefixer": "^10.4.2",
"cssnano": "^5.0.16",
"cssnano-preset-advanced": "^5.1.11",
"postcss-import": "^14.0.2",
"postcss-modules": "^4.2.2",
"postcss-modules": "^4.3.0",
"postcss-normalize": "^10.0.1",
"postcss-preset-env": "^6.7.0",
"postcss-preset-env": "^7.3.1",
"postcss-url": "^10.1.3"
},
"publishConfig": {
Expand Down
12 changes: 6 additions & 6 deletions packages/prettier-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
"prettier": ">=1.18.0"
},
"dependencies": {
"@prettier/plugin-pug": "^1.16.7",
"@prettier/plugin-ruby": "^2.0.0-rc3",
"@prettier/plugin-xml": "^1.1.0",
"prettier-plugin-pkg": "^0.10.0",
"prettier-plugin-sh": "^0.7.1",
"prettier-plugin-svelte": "^2.4.0",
"@prettier/plugin-pug": "^1.19.2",
"@prettier/plugin-ruby": "^2.0.0",
"@prettier/plugin-xml": "^1.2.0",
"prettier-plugin-pkg": "^0.11.1",
"prettier-plugin-sh": "^0.8.1",
"prettier-plugin-svelte": "^2.6.0",
"prettier-plugin-toml": "^0.3.1"
},
"publishConfig": {
Expand Down
17 changes: 17 additions & 0 deletions packages/stylelint-config/_overrides.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
module.exports = loose => ({
...require('./base'),
overrides: [
{
files: ['**/*.html', '**/*.svelte', '**/*.vue'],
customSyntax: 'postcss-html',
},
{
files: ['**/*.less'],
customSyntax: 'postcss-less',
},
{
files: ['**/*.scss'],
...(loose ? require('./scss/loose') : require('./scss')),
},
],
})
6 changes: 4 additions & 2 deletions packages/stylelint-config/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,10 @@ module.exports = {
{
ignorePseudoElements: [
isAngularAvailable && 'ng-deep',
isVueAvailable && 'v-deep',
].filter(Boolean),
isVueAvailable && ['v-deep', 'v-global', 'v-slotted'],
]
.filter(Boolean)
.flat(),
},
],
}),
Expand Down
2 changes: 1 addition & 1 deletion packages/stylelint-config/index.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
module.exports = require('./base')
module.exports = require('./_overrides')()
1 change: 1 addition & 0 deletions packages/stylelint-config/loose.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('./_overrides')(true)
15 changes: 9 additions & 6 deletions packages/stylelint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,16 @@
"stylelint": ">=13.0.0"
},
"dependencies": {
"@pkgr/utils": "^2.0.1",
"stylelint-config-prettier": "^8.0.2",
"stylelint-config-standard": "^22.0.0",
"stylelint-high-performance-animation": "^1.5.2",
"@pkgr/utils": "^2.0.2",
"postcss-html": "^1.3.0",
"postcss-less": "^6.0.0",
"postcss-scss": "^4.0.3",
"stylelint-config-prettier": "^9.0.3",
"stylelint-config-standard": "^24.0.0",
"stylelint-high-performance-animation": "^1.6.0",
"stylelint-no-unsupported-browser-features": "^5.0.2",
"stylelint-prettier": "^1.2.0",
"stylelint-scss": "^3.21.0"
"stylelint-prettier": "^2.0.0",
"stylelint-scss": "^4.1.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/stylelint-config/scss/base.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = {
extends: ['../base'],
customSyntax: 'postcss-scss',
plugins: ['stylelint-scss'],
rules: {
'at-rule-no-unknown': null,
Expand Down
5 changes: 4 additions & 1 deletion packages/stylelint-config/scss/loose.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
const base = require('./base')

module.exports = {
extends: './base',
...base,
rules: {
...base.rules,
'scss/declaration-nested-properties': null,
'scss/dollar-variable-default': null,
'scss/media-feature-value-dollar-variable': null,
Expand Down
Loading

0 comments on commit c9743ef

Please sign in to comment.