@itcase/config 1.0.53 → 1.0.55

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itcase/config",
3
- "version": "1.0.53",
3
+ "version": "1.0.55",
4
4
  "author": "ITCase",
5
5
  "description": "Config",
6
6
  "engines": {
@@ -52,7 +52,7 @@
52
52
  "postcss-import-ext-glob": "^2.1.1",
53
53
  "postcss-loader": "^8.1.1",
54
54
  "postcss-merge-at-rules": "^1.2.0",
55
- "postcss-mixins": "^12.0.0",
55
+ "postcss-mixins": "^12.1.2",
56
56
  "postcss-mq-extract": "^1.0.0",
57
57
  "postcss-nested": "^7.0.2",
58
58
  "postcss-nested-ancestors": "^3.0.0",
@@ -67,17 +67,17 @@
67
67
  "devDependencies": {
68
68
  "@commitlint/cli": "^19.8.1",
69
69
  "@commitlint/config-conventional": "^19.8.1",
70
- "@itcase/lint": "^1.1.21",
70
+ "@itcase/lint": "^1.1.29",
71
71
  "@semantic-release/changelog": "^6.0.3",
72
72
  "@semantic-release/git": "^10.0.1",
73
73
  "@semantic-release/release-notes-generator": "14.0.3",
74
74
  "conventional-changelog-conventionalcommits": "^9.1.0",
75
- "eslint": "^9.31.0",
75
+ "eslint": "^9.32.0",
76
76
  "husky": "^9.1.7",
77
77
  "lint-staged": "^16.1.2",
78
78
  "prettier": "^3.6.2",
79
79
  "semantic-release": "^24.2.7",
80
- "stylelint": "^16.21.1",
80
+ "stylelint": "^16.22.0",
81
81
  "typescript": "^5.8.3"
82
82
  }
83
83
  }
package/postcss/index.js CHANGED
@@ -55,22 +55,22 @@ export default {
55
55
  },
56
56
  ],
57
57
  'postcss-mixins',
58
- !process.env.STORYBOOK && [
59
- 'postcss-urlrewrite',
60
- {
61
- properties: ['src'],
62
- rules: [
63
- {
64
- from: '@itcase/tokens-am/dist/fonts/',
65
- to: `/fonts/`,
66
- },
67
- {
68
- from: '@itcase/tokens-baikal/dist/fonts/',
69
- to: `/fonts/`,
70
- },
71
- ],
72
- },
73
- ],
58
+ // !process.env.STORYBOOK && [
59
+ // 'postcss-urlrewrite',
60
+ // {
61
+ // properties: ['src'],
62
+ // rules: [
63
+ // {
64
+ // from: '@itcase/tokens-am/dist/fonts/',
65
+ // to: `/fonts/`,
66
+ // },
67
+ // {
68
+ // from: '@itcase/tokens-baikal/dist/fonts/',
69
+ // to: `/fonts/`,
70
+ // },
71
+ // ],
72
+ // },
73
+ // ],
74
74
  [
75
75
  'postcss-url',
76
76
  {
@@ -107,6 +107,7 @@ export default {
107
107
  sort: 'mobile-first',
108
108
  },
109
109
  ],
110
+ 'postcss-extend-rule',
110
111
  '@lehoczky/postcss-fluid',
111
112
  ...(process.env.NODE_ENV === 'development' ? [cssnano] : []),
112
113
  ],
@@ -59,6 +59,7 @@ module.exports = {
59
59
  require('postcss-sort-media-queries')({
60
60
  sort: 'mobile-first',
61
61
  }),
62
+ require('postcss-extend-rule'),
62
63
  require('@lehoczky/postcss-fluid'),
63
64
  ],
64
65
  }
@@ -60,6 +60,7 @@ module.exports = {
60
60
  require('postcss-sort-media-queries')({
61
61
  sort: 'mobile-first',
62
62
  }),
63
+ require('postcss-extend-rule'),
63
64
  require('@lehoczky/postcss-fluid'),
64
65
  ],
65
66
  }
@@ -68,6 +68,7 @@ module.exports = {
68
68
  sort: 'mobile-first',
69
69
  }),
70
70
  require('postcss-merge-at-rules')(),
71
+ require('postcss-extend-rule'),
71
72
  require('@lehoczky/postcss-fluid'),
72
73
  ]
73
74
  : [
@@ -73,6 +73,7 @@ const lernaSemanticReleaseConfig = {
73
73
  [
74
74
  '@semantic-release/git',
75
75
  {
76
+ message: 'publish version ${nextRelease.version}',
76
77
  assets: [
77
78
  'lerna.json',
78
79
  'CHANGELOG.md',
package/svgr/webpack.js CHANGED
@@ -5,7 +5,6 @@ const addSVGRtoWebpack = function (config) {
5
5
  const fileLoaderRule = config.module.rules.find((rule) =>
6
6
  rule.test?.test?.('.svg'),
7
7
  )
8
-
9
8
  // Add special processing rules for ".svg" files in code
10
9
  config.module.rules.push(
11
10
  // Reapply the existing rule, but only for svg imports ending in ?url
@@ -22,7 +21,6 @@ const addSVGRtoWebpack = function (config) {
22
21
  use: ['@svgr/webpack'],
23
22
  },
24
23
  )
25
-
26
24
  // Modify the file loader rule to ignore *.svg, since we have it handled now.
27
25
  fileLoaderRule.exclude = /\.svg$/i
28
26
  }