@simplybusiness/icons 5.0.0 → 5.0.2

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@simplybusiness/icons",
3
3
  "license": "UNLICENSED",
4
- "version": "5.0.0",
4
+ "version": "5.0.2",
5
5
  "description": "Library of Simply Business icons",
6
6
  "repository": {
7
7
  "type": "git",
@@ -10,7 +10,7 @@
10
10
  "simplyBusiness": {
11
11
  "publishToPublicNpm": true
12
12
  },
13
- "main": "dist/esm/index.js",
13
+ "main": "dist/cjs/index.js",
14
14
  "types": "./dist/types/index.d.ts",
15
15
  "files": [
16
16
  "src",
@@ -19,6 +19,7 @@
19
19
  "exports": {
20
20
  ".": {
21
21
  "types": "./dist/types/index.d.ts",
22
+ "require": "./dist/cjs/index.js",
22
23
  "import": "./dist/esm/index.js",
23
24
  "default": "./dist/esm/index.js"
24
25
  },
@@ -28,13 +29,13 @@
28
29
  "./iconfont/font": "./dist/iconfont/mobius-icons.woff2"
29
30
  },
30
31
  "publishConfig": {
31
- "type": "module",
32
- "main": "dist/esm/index.js",
32
+ "main": "dist/cjs/index.js",
33
33
  "module": "dist/esm/index.js",
34
34
  "types": "./dist/types/index.d.ts",
35
35
  "exports": {
36
36
  ".": {
37
37
  "types": "./dist/types/index.d.ts",
38
+ "require": "./dist/cjs/index.js",
38
39
  "import": "./dist/esm/index.js",
39
40
  "default": "./dist/esm/index.js"
40
41
  },
@@ -48,8 +49,9 @@
48
49
  "clean": "rm -rf dist .svgtmp",
49
50
  "build": "yarn run -T turbo run turbo:build",
50
51
  "prepack": "yarn run build",
51
- "turbo:build": "yarn build:esm && yarn build:types && yarn build:iconfont",
52
+ "turbo:build": "yarn build:esm && yarn build:cjs && yarn build:types && yarn build:iconfont",
52
53
  "build:esm": "build-package esm",
54
+ "build:cjs": "build-package cjs",
53
55
  "build:types": "tsc --emitDeclarationOnly --project tsconfig.build.json",
54
56
  "build:iconfont": "tsx scripts/build-iconfont.ts",
55
57
  "check-types": "tsc --noEmit --pretty",
@@ -62,7 +64,7 @@
62
64
  "sideEffects": false,
63
65
  "devDependencies": {
64
66
  "@eslint/js": "^9.39.2",
65
- "@simplybusiness/build-scripts": "^2.0.0",
67
+ "@simplybusiness/build-scripts": "^2.0.1",
66
68
  "eslint": "^9.39.2",
67
69
  "fantasticon": "^4.1.0",
68
70
  "jest": "^30.2.0",
@@ -76,6 +78,5 @@
76
78
  "lint-staged": {
77
79
  "*.{js,ts,jsx,tsx}": "eslint --fix"
78
80
  },
79
- "type": "module",
80
81
  "module": "dist/esm/index.js"
81
82
  }