@simplybusiness/icons 4.41.0 → 5.0.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Changelog
2
2
 
3
+ ## 5.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 6621ab0: Rebuild packages to pick up latest build-scripts changes.
8
+
9
+ ## 5.0.0
10
+
11
+ ### Major Changes
12
+
13
+ - 0374da1: Remove CommonJS builds and exports
14
+
3
15
  ## 4.41.0
4
16
 
5
17
  ### Minor Changes
@@ -4,8 +4,8 @@
4
4
  "arrow-right": 61537,
5
5
  "arrow-right-from-bracket": 61579,
6
6
  "arrow-rotate-right": 61470,
7
- "arrows-rotate": 61473,
8
7
  "arrow-up": 61538,
8
+ "arrows-rotate": 61473,
9
9
  "ban": 61534,
10
10
  "bars": 61641,
11
11
  "bell": 61683,
@@ -55,6 +55,7 @@
55
55
  "file-pen": 62236,
56
56
  "file-shield": 58608,
57
57
  "file-signature": 62835,
58
+ "fire-flame-curved": 63460,
58
59
  "gear": 61459,
59
60
  "grid2": 57750,
60
61
  "hand-holding-heart": 62654,
@@ -82,12 +83,12 @@
82
83
  "money-check-dollar": 62781,
83
84
  "newspaper": 61930,
84
85
  "notdef": 57854,
85
- "paintbrush-pencil": 57862,
86
86
  "paint-roller": 62890,
87
+ "paintbrush-pencil": 57862,
87
88
  "party-horn": 58139,
88
89
  "pen": 62212,
89
- "pencil": 62211,
90
90
  "pen-to-square": 61508,
91
+ "pencil": 62211,
91
92
  "phone": 61589,
92
93
  "plug": 61926,
93
94
  "plus": 43,
@@ -125,10 +126,9 @@
125
126
  "user": 61447,
126
127
  "user-bounty-hunter": 58047,
127
128
  "user-helmet-safety": 63532,
128
- "users": 61632,
129
129
  "user-shield": 62725,
130
+ "users": 61632,
130
131
  "utensils": 62183,
131
132
  "vacuum": 57421,
132
- "warning": 61553,
133
- "fire-flame-curved": 63460
133
+ "warning": 61553
134
134
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@simplybusiness/icons",
3
3
  "license": "UNLICENSED",
4
- "version": "4.41.0",
4
+ "version": "5.0.1",
5
5
  "description": "Library of Simply Business icons",
6
6
  "repository": {
7
7
  "type": "git",
@@ -10,8 +10,8 @@
10
10
  "simplyBusiness": {
11
11
  "publishToPublicNpm": true
12
12
  },
13
- "main": "dist/cjs/index.js",
14
- "module": "dist/esm/index.js",
13
+ "type": "module",
14
+ "main": "dist/esm/index.js",
15
15
  "types": "./dist/types/index.d.ts",
16
16
  "files": [
17
17
  "src",
@@ -20,19 +20,35 @@
20
20
  "exports": {
21
21
  ".": {
22
22
  "types": "./dist/types/index.d.ts",
23
- "require": "./dist/cjs/index.js",
24
- "import": "./dist/esm/index.js"
23
+ "import": "./dist/esm/index.js",
24
+ "default": "./dist/esm/index.js"
25
25
  },
26
26
  "./iconfont": "./dist/iconfont/mobius-icons.css",
27
27
  "./iconfont/css": "./dist/iconfont/mobius-icons.css",
28
28
  "./iconfont/scss": "./dist/iconfont/_mobius-icons.scss",
29
29
  "./iconfont/font": "./dist/iconfont/mobius-icons.woff2"
30
30
  },
31
+ "publishConfig": {
32
+ "main": "dist/esm/index.js",
33
+ "module": "dist/esm/index.js",
34
+ "types": "./dist/types/index.d.ts",
35
+ "exports": {
36
+ ".": {
37
+ "types": "./dist/types/index.d.ts",
38
+ "import": "./dist/esm/index.js",
39
+ "default": "./dist/esm/index.js"
40
+ },
41
+ "./iconfont": "./dist/iconfont/mobius-icons.css",
42
+ "./iconfont/css": "./dist/iconfont/mobius-icons.css",
43
+ "./iconfont/scss": "./dist/iconfont/_mobius-icons.scss",
44
+ "./iconfont/font": "./dist/iconfont/mobius-icons.woff2"
45
+ }
46
+ },
31
47
  "scripts": {
32
48
  "clean": "rm -rf dist .svgtmp",
33
49
  "build": "yarn run -T turbo run turbo:build",
34
50
  "prepack": "yarn run build",
35
- "build:cjs": "build-package cjs",
51
+ "turbo:build": "yarn build:esm && yarn build:types && yarn build:iconfont",
36
52
  "build:esm": "build-package esm",
37
53
  "build:types": "tsc --emitDeclarationOnly --project tsconfig.build.json",
38
54
  "build:iconfont": "tsx scripts/build-iconfont.ts",
@@ -46,7 +62,7 @@
46
62
  "sideEffects": false,
47
63
  "devDependencies": {
48
64
  "@eslint/js": "^9.39.2",
49
- "@simplybusiness/build-scripts": "^1.2.3",
65
+ "@simplybusiness/build-scripts": "^2.0.1",
50
66
  "eslint": "^9.39.2",
51
67
  "fantasticon": "^4.1.0",
52
68
  "jest": "^30.2.0",
@@ -59,5 +75,6 @@
59
75
  },
60
76
  "lint-staged": {
61
77
  "*.{js,ts,jsx,tsx}": "eslint --fix"
62
- }
78
+ },
79
+ "module": "dist/esm/index.js"
63
80
  }