From d156ddb24f75918fe8e9ae888bb22d8012631e51 Mon Sep 17 00:00:00 2001 From: Bryce Osterhaus Date: Mon, 9 Oct 2023 09:52:10 +0400 Subject: [PATCH] fix: remove 'src' dir from being packaged with npm --- packages/clay-alert/package.json | 3 +-- packages/clay-autocomplete/package.json | 3 +-- packages/clay-badge/package.json | 3 +-- packages/clay-breadcrumb/package.json | 3 +-- packages/clay-button/package.json | 3 +-- packages/clay-card/package.json | 3 +-- packages/clay-color-picker/package.json | 3 +-- packages/clay-core/package.json | 3 +-- packages/clay-data-provider/package.json | 3 +-- packages/clay-date-picker/package.json | 3 +-- packages/clay-drop-down/package.json | 3 +-- packages/clay-empty-state/package.json | 3 +-- packages/clay-form/package.json | 3 +-- packages/clay-icon/package.json | 3 +-- packages/clay-label/package.json | 3 +-- packages/clay-layout/package.json | 3 +-- packages/clay-link/package.json | 3 +-- packages/clay-list/package.json | 3 +-- packages/clay-loading-indicator/package.json | 3 +-- packages/clay-localized-input/package.json | 3 +-- packages/clay-management-toolbar/package.json | 3 +-- packages/clay-modal/package.json | 3 +-- packages/clay-multi-select/package.json | 3 +-- packages/clay-multi-step-nav/package.json | 3 +-- packages/clay-nav/package.json | 3 +-- packages/clay-navigation-bar/package.json | 3 +-- packages/clay-pagination-bar/package.json | 3 +-- packages/clay-pagination/package.json | 3 +-- packages/clay-panel/package.json | 3 +-- packages/clay-popover/package.json | 3 +-- packages/clay-progress-bar/package.json | 3 +-- packages/clay-provider/package.json | 3 +-- packages/clay-shared/package.json | 3 +-- packages/clay-slider/package.json | 3 +-- packages/clay-sticker/package.json | 3 +-- packages/clay-table/package.json | 3 +-- packages/clay-tabs/package.json | 3 +-- packages/clay-time-picker/package.json | 3 +-- packages/clay-toolbar/package.json | 3 +-- packages/clay-tooltip/package.json | 3 +-- packages/clay-upper-toolbar/package.json | 3 +-- 41 files changed, 41 insertions(+), 82 deletions(-) diff --git a/packages/clay-alert/package.json b/packages/clay-alert/package.json index d06c85ecea..01a70c5baf 100644 --- a/packages/clay-alert/package.json +++ b/packages/clay-alert/package.json @@ -12,8 +12,7 @@ "types": "lib/index.d.ts", "ts:main": "src/index.tsx", "files": [ - "lib", - "src" + "lib" ], "scripts": { "build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", diff --git a/packages/clay-autocomplete/package.json b/packages/clay-autocomplete/package.json index 9fa5a8550c..ca483cd567 100644 --- a/packages/clay-autocomplete/package.json +++ b/packages/clay-autocomplete/package.json @@ -12,8 +12,7 @@ "types": "lib/index.d.ts", "ts:main": "src/index.tsx", "files": [ - "lib", - "src" + "lib" ], "scripts": { "build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", diff --git a/packages/clay-badge/package.json b/packages/clay-badge/package.json index 1eaaff31fb..f4801e41c0 100644 --- a/packages/clay-badge/package.json +++ b/packages/clay-badge/package.json @@ -12,8 +12,7 @@ "types": "lib/index.d.ts", "ts:main": "src/index.tsx", "files": [ - "lib", - "src" + "lib" ], "scripts": { "build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", diff --git a/packages/clay-breadcrumb/package.json b/packages/clay-breadcrumb/package.json index 2405c26f31..a522287c4b 100644 --- a/packages/clay-breadcrumb/package.json +++ b/packages/clay-breadcrumb/package.json @@ -12,8 +12,7 @@ "types": "lib/index.d.ts", "ts:main": "src/index.tsx", "files": [ - "lib", - "src" + "lib" ], "scripts": { "build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", diff --git a/packages/clay-button/package.json b/packages/clay-button/package.json index 29ceced909..43ffe343cd 100644 --- a/packages/clay-button/package.json +++ b/packages/clay-button/package.json @@ -12,8 +12,7 @@ "types": "lib/index.d.ts", "ts:main": "src/index.tsx", "files": [ - "lib", - "src" + "lib" ], "scripts": { "build": "babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", diff --git a/packages/clay-card/package.json b/packages/clay-card/package.json index 61e442f0c8..e968564cd0 100644 --- a/packages/clay-card/package.json +++ b/packages/clay-card/package.json @@ -12,8 +12,7 @@ "types": "lib/index.d.ts", "ts:main": "src/index.tsx", "files": [ - "lib", - "src" + "lib" ], "scripts": { "build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", diff --git a/packages/clay-color-picker/package.json b/packages/clay-color-picker/package.json index 4a5b9f7d56..d6e7d0282b 100644 --- a/packages/clay-color-picker/package.json +++ b/packages/clay-color-picker/package.json @@ -12,8 +12,7 @@ "types": "lib/index.d.ts", "ts:main": "src/index.tsx", "files": [ - "lib", - "src" + "lib" ], "scripts": { "build": "babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", diff --git a/packages/clay-core/package.json b/packages/clay-core/package.json index 2327f50e7b..c846f58caf 100644 --- a/packages/clay-core/package.json +++ b/packages/clay-core/package.json @@ -12,8 +12,7 @@ "types": "lib/index.d.ts", "ts:main": "src/index.ts", "files": [ - "lib", - "src" + "lib" ], "scripts": { "build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", diff --git a/packages/clay-data-provider/package.json b/packages/clay-data-provider/package.json index 48f6fc1af2..c9b70e0b65 100644 --- a/packages/clay-data-provider/package.json +++ b/packages/clay-data-provider/package.json @@ -12,8 +12,7 @@ "types": "lib/index.d.ts", "ts:main": "src/index.tsx", "files": [ - "lib", - "src" + "lib" ], "scripts": { "build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", diff --git a/packages/clay-date-picker/package.json b/packages/clay-date-picker/package.json index 00818bc5f5..2335ce7324 100644 --- a/packages/clay-date-picker/package.json +++ b/packages/clay-date-picker/package.json @@ -8,8 +8,7 @@ "types": "lib/index.d.ts", "ts:main": "src/index.tsx", "files": [ - "lib", - "src" + "lib" ], "scripts": { "build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", diff --git a/packages/clay-drop-down/package.json b/packages/clay-drop-down/package.json index 81c666d972..316cb7862d 100644 --- a/packages/clay-drop-down/package.json +++ b/packages/clay-drop-down/package.json @@ -12,8 +12,7 @@ "types": "lib/index.d.ts", "ts:main": "src/index.tsx", "files": [ - "lib", - "src" + "lib" ], "scripts": { "build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", diff --git a/packages/clay-empty-state/package.json b/packages/clay-empty-state/package.json index c8fde4e169..d4a1e18167 100644 --- a/packages/clay-empty-state/package.json +++ b/packages/clay-empty-state/package.json @@ -12,8 +12,7 @@ "types": "lib/index.d.ts", "ts:main": "src/index.tsx", "files": [ - "lib", - "src" + "lib" ], "scripts": { "build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", diff --git a/packages/clay-form/package.json b/packages/clay-form/package.json index 39ecd7c93d..31570a6996 100644 --- a/packages/clay-form/package.json +++ b/packages/clay-form/package.json @@ -12,8 +12,7 @@ "types": "lib/index.d.ts", "ts:main": "src/index.tsx", "files": [ - "lib", - "src" + "lib" ], "scripts": { "build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", diff --git a/packages/clay-icon/package.json b/packages/clay-icon/package.json index affad9d3eb..5151626c76 100644 --- a/packages/clay-icon/package.json +++ b/packages/clay-icon/package.json @@ -12,8 +12,7 @@ "types": "lib/index.d.ts", "ts:main": "src/index.tsx", "files": [ - "lib", - "src" + "lib" ], "scripts": { "build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", diff --git a/packages/clay-label/package.json b/packages/clay-label/package.json index ccf352f70b..5ab44e5a69 100644 --- a/packages/clay-label/package.json +++ b/packages/clay-label/package.json @@ -12,8 +12,7 @@ "types": "lib/index.d.ts", "ts:main": "src/index.tsx", "files": [ - "lib", - "src" + "lib" ], "scripts": { "build": "babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", diff --git a/packages/clay-layout/package.json b/packages/clay-layout/package.json index fddc4e46c0..6a9b828a80 100644 --- a/packages/clay-layout/package.json +++ b/packages/clay-layout/package.json @@ -12,8 +12,7 @@ "types": "lib/index.d.ts", "ts:main": "src/index.tsx", "files": [ - "lib", - "src" + "lib" ], "scripts": { "build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", diff --git a/packages/clay-link/package.json b/packages/clay-link/package.json index 0a79c12e70..5bcecd981a 100644 --- a/packages/clay-link/package.json +++ b/packages/clay-link/package.json @@ -12,8 +12,7 @@ "types": "lib/index.d.ts", "ts:main": "src/index.tsx", "files": [ - "lib", - "src" + "lib" ], "scripts": { "build": "babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", diff --git a/packages/clay-list/package.json b/packages/clay-list/package.json index 3cf40d6525..bad7bc1564 100644 --- a/packages/clay-list/package.json +++ b/packages/clay-list/package.json @@ -12,8 +12,7 @@ "types": "lib/index.d.ts", "ts:main": "src/index.tsx", "files": [ - "lib", - "src" + "lib" ], "scripts": { "build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", diff --git a/packages/clay-loading-indicator/package.json b/packages/clay-loading-indicator/package.json index b8b1fc2bb7..e3e70ee8ce 100644 --- a/packages/clay-loading-indicator/package.json +++ b/packages/clay-loading-indicator/package.json @@ -12,8 +12,7 @@ "types": "lib/index.d.ts", "ts:main": "src/index.tsx", "files": [ - "lib", - "src" + "lib" ], "scripts": { "build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", diff --git a/packages/clay-localized-input/package.json b/packages/clay-localized-input/package.json index 334333fbc5..5695402baa 100644 --- a/packages/clay-localized-input/package.json +++ b/packages/clay-localized-input/package.json @@ -12,8 +12,7 @@ "types": "lib/index.d.ts", "ts:main": "src/index.tsx", "files": [ - "lib", - "src" + "lib" ], "scripts": { "build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", diff --git a/packages/clay-management-toolbar/package.json b/packages/clay-management-toolbar/package.json index a0994a3f68..e631758b75 100644 --- a/packages/clay-management-toolbar/package.json +++ b/packages/clay-management-toolbar/package.json @@ -12,8 +12,7 @@ "types": "lib/index.d.ts", "ts:main": "src/index.tsx", "files": [ - "lib", - "src" + "lib" ], "scripts": { "build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", diff --git a/packages/clay-modal/package.json b/packages/clay-modal/package.json index f5ff428fcf..9565d8d1ed 100644 --- a/packages/clay-modal/package.json +++ b/packages/clay-modal/package.json @@ -12,8 +12,7 @@ "types": "lib/index.d.ts", "ts:main": "src/index.tsx", "files": [ - "lib", - "src" + "lib" ], "scripts": { "build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", diff --git a/packages/clay-multi-select/package.json b/packages/clay-multi-select/package.json index cc748bdaba..6724e2ca8e 100644 --- a/packages/clay-multi-select/package.json +++ b/packages/clay-multi-select/package.json @@ -12,8 +12,7 @@ "types": "lib/index.d.ts", "ts:main": "src/index.tsx", "files": [ - "lib", - "src" + "lib" ], "scripts": { "build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", diff --git a/packages/clay-multi-step-nav/package.json b/packages/clay-multi-step-nav/package.json index 72a5de50df..7d0cb57d31 100644 --- a/packages/clay-multi-step-nav/package.json +++ b/packages/clay-multi-step-nav/package.json @@ -12,8 +12,7 @@ "types": "lib/index.d.ts", "ts:main": "src/index.tsx", "files": [ - "lib", - "src" + "lib" ], "scripts": { "build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", diff --git a/packages/clay-nav/package.json b/packages/clay-nav/package.json index 714d03ffdc..f3209245e6 100644 --- a/packages/clay-nav/package.json +++ b/packages/clay-nav/package.json @@ -12,8 +12,7 @@ "types": "lib/index.d.ts", "ts:main": "src/index.tsx", "files": [ - "lib", - "src" + "lib" ], "scripts": { "build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", diff --git a/packages/clay-navigation-bar/package.json b/packages/clay-navigation-bar/package.json index 6829a7047c..7a8147a9cf 100644 --- a/packages/clay-navigation-bar/package.json +++ b/packages/clay-navigation-bar/package.json @@ -12,8 +12,7 @@ "types": "lib/index.d.ts", "ts:main": "src/index.tsx", "files": [ - "lib", - "src" + "lib" ], "scripts": { "build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", diff --git a/packages/clay-pagination-bar/package.json b/packages/clay-pagination-bar/package.json index ea2f3766c7..144ec785f7 100644 --- a/packages/clay-pagination-bar/package.json +++ b/packages/clay-pagination-bar/package.json @@ -12,8 +12,7 @@ "types": "lib/index.d.ts", "ts:main": "src/index.tsx", "files": [ - "lib", - "src" + "lib" ], "scripts": { "build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", diff --git a/packages/clay-pagination/package.json b/packages/clay-pagination/package.json index a74ca3f269..f7ab8f4551 100644 --- a/packages/clay-pagination/package.json +++ b/packages/clay-pagination/package.json @@ -12,8 +12,7 @@ "types": "lib/index.d.ts", "ts:main": "src/index.tsx", "files": [ - "lib", - "src" + "lib" ], "scripts": { "build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", diff --git a/packages/clay-panel/package.json b/packages/clay-panel/package.json index 1693c5bc75..15dd31e7d7 100644 --- a/packages/clay-panel/package.json +++ b/packages/clay-panel/package.json @@ -12,8 +12,7 @@ "types": "lib/index.d.ts", "ts:main": "src/index.tsx", "files": [ - "lib", - "src" + "lib" ], "scripts": { "build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", diff --git a/packages/clay-popover/package.json b/packages/clay-popover/package.json index b9d51043e0..78cace281e 100644 --- a/packages/clay-popover/package.json +++ b/packages/clay-popover/package.json @@ -12,8 +12,7 @@ "types": "lib/index.d.ts", "ts:main": "src/index.tsx", "files": [ - "lib", - "src" + "lib" ], "scripts": { "build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", diff --git a/packages/clay-progress-bar/package.json b/packages/clay-progress-bar/package.json index 5f066f672d..8622f80d54 100644 --- a/packages/clay-progress-bar/package.json +++ b/packages/clay-progress-bar/package.json @@ -12,8 +12,7 @@ "types": "lib/index.d.ts", "ts:main": "src/index.tsx", "files": [ - "lib", - "src" + "lib" ], "scripts": { "build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", diff --git a/packages/clay-provider/package.json b/packages/clay-provider/package.json index 79eabae54e..1cb30e51ed 100644 --- a/packages/clay-provider/package.json +++ b/packages/clay-provider/package.json @@ -12,8 +12,7 @@ "types": "lib/index.d.ts", "ts:main": "src/index.ts", "files": [ - "lib", - "src" + "lib" ], "scripts": { "build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", diff --git a/packages/clay-shared/package.json b/packages/clay-shared/package.json index 72a97a7a9a..87fc232ad8 100644 --- a/packages/clay-shared/package.json +++ b/packages/clay-shared/package.json @@ -12,8 +12,7 @@ "types": "lib/index.d.ts", "ts:main": "src/index.tsx", "files": [ - "lib", - "src" + "lib" ], "scripts": { "build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", diff --git a/packages/clay-slider/package.json b/packages/clay-slider/package.json index 617adb32e9..da1ebb36bf 100644 --- a/packages/clay-slider/package.json +++ b/packages/clay-slider/package.json @@ -12,8 +12,7 @@ "types": "lib/index.d.ts", "ts:main": "src/index.tsx", "files": [ - "lib", - "src" + "lib" ], "scripts": { "build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", diff --git a/packages/clay-sticker/package.json b/packages/clay-sticker/package.json index 7bdc9b2c63..83b2dadc3c 100644 --- a/packages/clay-sticker/package.json +++ b/packages/clay-sticker/package.json @@ -12,8 +12,7 @@ "types": "lib/index.d.ts", "ts:main": "src/index.tsx", "files": [ - "lib", - "src" + "lib" ], "scripts": { "build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", diff --git a/packages/clay-table/package.json b/packages/clay-table/package.json index e59eb2f8b8..1efa9cd00b 100644 --- a/packages/clay-table/package.json +++ b/packages/clay-table/package.json @@ -12,8 +12,7 @@ "types": "lib/index.d.ts", "ts:main": "src/index.tsx", "files": [ - "lib", - "src" + "lib" ], "scripts": { "build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", diff --git a/packages/clay-tabs/package.json b/packages/clay-tabs/package.json index 574f4cc520..8c0fcde268 100644 --- a/packages/clay-tabs/package.json +++ b/packages/clay-tabs/package.json @@ -12,8 +12,7 @@ "types": "lib/index.d.ts", "ts:main": "src/index.tsx", "files": [ - "lib", - "src" + "lib" ], "scripts": { "build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", diff --git a/packages/clay-time-picker/package.json b/packages/clay-time-picker/package.json index b11d9b613c..dd3bee28ef 100644 --- a/packages/clay-time-picker/package.json +++ b/packages/clay-time-picker/package.json @@ -8,8 +8,7 @@ "types": "lib/index.d.ts", "ts:main": "src/index.tsx", "files": [ - "lib", - "src" + "lib" ], "scripts": { "build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", diff --git a/packages/clay-toolbar/package.json b/packages/clay-toolbar/package.json index 01a598e51f..e6a8caa147 100644 --- a/packages/clay-toolbar/package.json +++ b/packages/clay-toolbar/package.json @@ -12,8 +12,7 @@ "types": "lib/index.d.ts", "ts:main": "src/index.tsx", "files": [ - "lib", - "src" + "lib" ], "scripts": { "build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", diff --git a/packages/clay-tooltip/package.json b/packages/clay-tooltip/package.json index e22c60331e..383ec32402 100644 --- a/packages/clay-tooltip/package.json +++ b/packages/clay-tooltip/package.json @@ -12,8 +12,7 @@ "types": "lib/index.d.ts", "ts:main": "src/index.tsx", "files": [ - "lib", - "src" + "lib" ], "scripts": { "build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", diff --git a/packages/clay-upper-toolbar/package.json b/packages/clay-upper-toolbar/package.json index 7f1265be41..7208b5aba2 100644 --- a/packages/clay-upper-toolbar/package.json +++ b/packages/clay-upper-toolbar/package.json @@ -12,8 +12,7 @@ "types": "lib/index.d.ts", "ts:main": "src/index.tsx", "files": [ - "lib", - "src" + "lib" ], "scripts": { "build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx",