@commercetools/nimbus-icons 3.2.0 → 3.3.0

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/.svgrrc.js CHANGED
@@ -3,9 +3,16 @@ module.exports = {
3
3
  jsx: {
4
4
  babelConfig: {
5
5
  plugins: [
6
- // For an example, this plugin will remove "id" attribute from "svg" tag
6
+ // Resolve to an absolute path so Babel loads the plugin regardless of
7
+ // how pnpm hoists it. A bare module name is resolved by @babel/core
8
+ // relative to its resolution base, which is not reliable under pnpm's
9
+ // strict node_modules layout (e.g. a clean CI install) and caused
10
+ // "Cannot find module '@svgr/babel-plugin-add-jsx-attribute'" on Vercel.
11
+ // The plugin is declared as a direct devDependency of this package so
12
+ // require.resolve always finds it here.
7
13
  [
8
- "@svgr/babel-plugin-add-jsx-attribute",
14
+ // eslint-disable-next-line no-undef
15
+ require.resolve("@svgr/babel-plugin-add-jsx-attribute"),
9
16
  {
10
17
  elements: ["svg"],
11
18
  attributes: [
package/CHANGELOG.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # @commercetools/nimbus-icons
2
2
 
3
+ ## 3.3.0
4
+
3
5
  ## 3.2.0
4
6
 
5
7
  ## 3.1.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commercetools/nimbus-icons",
3
- "version": "3.2.0",
3
+ "version": "3.3.0",
4
4
  "main": "dist/cjs/index.js",
5
5
  "module": "./dist/esm/index.js",
6
6
  "sideEffects": false,
@@ -30,8 +30,9 @@
30
30
  "@svgr/cli": "^8.1.0"
31
31
  },
32
32
  "devDependencies": {
33
+ "@svgr/babel-plugin-add-jsx-attribute": "^8.0.0",
33
34
  "@svgr/plugin-jsx": "^8.1.0",
34
- "@types/node": "^24.13.2",
35
+ "@types/node": "^24.13.3",
35
36
  "@types/react": "^19.2.17",
36
37
  "react": "^19.0.0",
37
38
  "typescript": "~5.9.3"