@leafygreen-ui/icon 14.7.0 → 14.7.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leafygreen-ui/icon",
3
- "version": "14.7.0",
3
+ "version": "14.7.1",
4
4
  "description": "LeafyGreen UI Kit Icons",
5
5
  "main": "./dist/umd/index.js",
6
6
  "module": "./dist/esm/index.js",
@@ -29,8 +29,8 @@
29
29
  },
30
30
  "dependencies": {
31
31
  "lodash": "^4.17.21",
32
- "@leafygreen-ui/hooks": "^9.3.0",
33
- "@leafygreen-ui/emotion": "^5.1.0"
32
+ "@leafygreen-ui/emotion": "^5.1.0",
33
+ "@leafygreen-ui/hooks": "^9.3.0"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@rollup/plugin-node-resolve": "15.1.0",
@@ -43,11 +43,11 @@
43
43
  "ts-node": "^10.9.2",
44
44
  "rollup-plugin-node-externals": "7.1.1",
45
45
  "xml2json": "^0.12.0",
46
- "@leafygreen-ui/lib": "^15.6.2",
47
46
  "@leafygreen-ui/palette": "^5.0.2",
48
- "@lg-tools/build": "^0.8.3",
49
- "@lg-tools/storybook-utils": "^0.3.3",
50
- "@lg-tools/lint": "^3.1.0"
47
+ "@lg-tools/build": "^0.8.4",
48
+ "@leafygreen-ui/lib": "^15.6.2",
49
+ "@lg-tools/lint": "^3.1.0",
50
+ "@lg-tools/storybook-utils": "^0.3.3"
51
51
  },
52
52
  "gitHead": "dd71a2d404218ccec2e657df9c0263dc1c15b9e0",
53
53
  "homepage": "https://github.com/mongodb/leafygreen-ui/tree/main/packages/icon",
@@ -28,7 +28,7 @@ function chunkArray<T>(arr: Array<T>, size: number): Array<Array<T>> {
28
28
  * Runs the Rollup build command for index and story files.
29
29
  */
30
30
  async function buildIndex({ verbose }: { verbose?: boolean }): Promise<void> {
31
- buildPackage({ direct: true, verbose });
31
+ await buildPackage({ verbose });
32
32
  }
33
33
 
34
34
  /**
@@ -26,11 +26,6 @@ function validateBuiltIcons(): void {
26
26
  const jsFiles = files.filter(file => file.endsWith('.js'));
27
27
 
28
28
  for (const file of jsFiles) {
29
- // Skip the main index file and glyphCommon as they may have different rules
30
- if (file === 'index.js' || file === 'glyphCommon.js') {
31
- continue;
32
- }
33
-
34
29
  const filePath = path.join(fullPath, file);
35
30
  const content = fs.readFileSync(filePath, 'utf-8');
36
31