Skip to content

Commit

Permalink
feat: update build scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
bryceosterhaus committed Jan 9, 2025
1 parent 38f838e commit 7db4b17
Show file tree
Hide file tree
Showing 43 changed files with 43 additions and 43 deletions.
2 changes: 1 addition & 1 deletion packages/clay-alert/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"lib"
],
"scripts": {
"build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx",
"build": "cross-env NODE_ENV=production node ../../scripts/build.js",
"buildTypes": "cross-env NODE_ENV=production tsc --project ./tsconfig.declarations.json",
"test": "jest --config ../../jest.config.js"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/clay-autocomplete/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"lib"
],
"scripts": {
"build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx",
"build": "cross-env NODE_ENV=production node ../../scripts/build.js",
"buildTypes": "cross-env NODE_ENV=production tsc --project ./tsconfig.declarations.json",
"test": "jest --config ../../jest.config.js"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/clay-badge/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"lib"
],
"scripts": {
"build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx",
"build": "cross-env NODE_ENV=production node ../../scripts/build.js",
"buildTypes": "cross-env NODE_ENV=production tsc --project ./tsconfig.declarations.json",
"test": "jest --config ../../jest.config.js"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/clay-breadcrumb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"lib"
],
"scripts": {
"build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx",
"build": "cross-env NODE_ENV=production node ../../scripts/build.js",
"buildTypes": "cross-env NODE_ENV=production tsc --project ./tsconfig.declarations.json",
"test": "jest --config ../../jest.config.js"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/clay-button/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"lib"
],
"scripts": {
"build": "babel src --root-mode upward --out-dir lib --extensions .ts,.tsx",
"build": "cross-env NODE_ENV=production node ../../scripts/build.js",
"buildTypes": "tsc --project ./tsconfig.declarations.json",
"test": "jest --config ../../jest.config.js"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/clay-card/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"lib"
],
"scripts": {
"build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx",
"build": "cross-env NODE_ENV=production node ../../scripts/build.js",
"buildTypes": "cross-env NODE_ENV=production tsc --project ./tsconfig.declarations.json",
"test": "jest --config ../../jest.config.js"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/clay-charts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"ts:main": "src/index.tsx",
"scripts": {
"buildTypes": "cross-env NODE_ENV=production tsc --project ./tsconfig.declarations.json",
"build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx",
"build": "cross-env NODE_ENV=production node ../../scripts/build.js",
"copySvg": "ncp src/svg lib/svg",
"prepublishOnly": "yarn sass && yarn build && yarn buildTypes && yarn copySvg",
"sass": "sass src/scss/main.scss lib/css/main.css --source-map",
Expand Down
2 changes: 1 addition & 1 deletion packages/clay-color-picker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"lib"
],
"scripts": {
"build": "babel src --root-mode upward --out-dir lib --extensions .ts,.tsx",
"build": "cross-env NODE_ENV=production node ../../scripts/build.js",
"buildTypes": "tsc --project ./tsconfig.declarations.json",
"test": "jest --config ../../jest.config.js"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/clay-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"lib"
],
"scripts": {
"build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx",
"build": "cross-env NODE_ENV=production node ../../scripts/build.js",
"buildTypes": "cross-env NODE_ENV=production tsc --project ./tsconfig.declarations.json",
"test": "jest --config ../../jest.config.js"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/clay-data-provider/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"lib"
],
"scripts": {
"build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx",
"build": "cross-env NODE_ENV=production node ../../scripts/build.js",
"buildTypes": "cross-env NODE_ENV=production tsc --project ./tsconfig.declarations.json",
"test": "jest --config ../../jest.config.js"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/clay-date-picker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"lib"
],
"scripts": {
"build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx",
"build": "cross-env NODE_ENV=production node ../../scripts/build.js",
"buildTypes": "cross-env NODE_ENV=production tsc --project ./tsconfig.declarations.json",
"test": "jest --config ../../jest.config.js"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/clay-drop-down/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"lib"
],
"scripts": {
"build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx",
"build": "cross-env NODE_ENV=production node ../../scripts/build.js",
"buildTypes": "cross-env NODE_ENV=production tsc --project ./tsconfig.declarations.json",
"test": "jest --config ../../jest.config.js"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/clay-empty-state/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"lib"
],
"scripts": {
"build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx",
"build": "cross-env NODE_ENV=production node ../../scripts/build.js",
"buildTypes": "cross-env NODE_ENV=production tsc --project ./tsconfig.declarations.json",
"test": "jest --config ../../jest.config.js"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/clay-form/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"lib"
],
"scripts": {
"build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx",
"build": "cross-env NODE_ENV=production node ../../scripts/build.js",
"buildTypes": "cross-env NODE_ENV=production tsc --project ./tsconfig.declarations.json",
"test": "jest --config ../../jest.config.js"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/clay-icon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"lib"
],
"scripts": {
"build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx",
"build": "cross-env NODE_ENV=production node ../../scripts/build.js",
"buildTypes": "cross-env NODE_ENV=production tsc --project ./tsconfig.declarations.json",
"test": "jest --config ../../jest.config.js"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/clay-label/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"lib"
],
"scripts": {
"build": "babel src --root-mode upward --out-dir lib --extensions .ts,.tsx",
"build": "cross-env NODE_ENV=production node ../../scripts/build.js",
"buildTypes": "tsc --project ./tsconfig.declarations.json",
"test": "jest --config ../../jest.config.js"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/clay-layout/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"lib"
],
"scripts": {
"build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx",
"build": "cross-env NODE_ENV=production node ../../scripts/build.js",
"buildTypes": "cross-env NODE_ENV=production tsc --project ./tsconfig.declarations.json",
"test": "jest --config ../../jest.config.js"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/clay-link/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"lib"
],
"scripts": {
"build": "babel src --root-mode upward --out-dir lib --extensions .ts,.tsx",
"build": "cross-env NODE_ENV=production node ../../scripts/build.js",
"buildTypes": "tsc --project ./tsconfig.declarations.json",
"test": "jest --config ../../jest.config.js"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/clay-list/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"lib"
],
"scripts": {
"build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx",
"build": "cross-env NODE_ENV=production node ../../scripts/build.js",
"buildTypes": "cross-env NODE_ENV=production tsc --project ./tsconfig.declarations.json",
"test": "jest --config ../../jest.config.js"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/clay-loading-indicator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"lib"
],
"scripts": {
"build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx",
"build": "cross-env NODE_ENV=production node ../../scripts/build.js",
"buildTypes": "cross-env NODE_ENV=production tsc --project ./tsconfig.declarations.json",
"test": "jest --config ../../jest.config.js"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/clay-localized-input/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"lib"
],
"scripts": {
"build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx",
"build": "cross-env NODE_ENV=production node ../../scripts/build.js",
"buildTypes": "cross-env NODE_ENV=production tsc --project ./tsconfig.declarations.json",
"test": "jest --config ../../jest.config.js"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/clay-management-toolbar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"lib"
],
"scripts": {
"build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx",
"build": "cross-env NODE_ENV=production node ../../scripts/build.js",
"buildTypes": "cross-env NODE_ENV=production tsc --project ./tsconfig.declarations.json",
"test": "jest --config ../../jest.config.js"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/clay-modal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"lib"
],
"scripts": {
"build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx",
"build": "cross-env NODE_ENV=production node ../../scripts/build.js",
"buildTypes": "cross-env NODE_ENV=production tsc --project ./tsconfig.declarations.json",
"test": "jest --config ../../jest.config.js"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/clay-multi-select/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"lib"
],
"scripts": {
"build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx",
"build": "cross-env NODE_ENV=production node ../../scripts/build.js",
"buildTypes": "cross-env NODE_ENV=production tsc --project ./tsconfig.declarations.json",
"test": "jest --config ../../jest.config.js"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/clay-multi-step-nav/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"lib"
],
"scripts": {
"build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx",
"build": "cross-env NODE_ENV=production node ../../scripts/build.js",
"buildTypes": "cross-env NODE_ENV=production tsc --project ./tsconfig.declarations.json",
"test": "jest --config ../../jest.config.js"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/clay-nav/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"lib"
],
"scripts": {
"build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx",
"build": "cross-env NODE_ENV=production node ../../scripts/build.js",
"buildTypes": "cross-env NODE_ENV=production tsc --project ./tsconfig.declarations.json",
"test": "jest --config ../../jest.config.js"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/clay-navigation-bar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"lib"
],
"scripts": {
"build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx",
"build": "cross-env NODE_ENV=production node ../../scripts/build.js",
"buildTypes": "cross-env NODE_ENV=production tsc --project ./tsconfig.declarations.json",
"test": "jest --config ../../jest.config.js"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/clay-pagination-bar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"lib"
],
"scripts": {
"build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx",
"build": "cross-env NODE_ENV=production node ../../scripts/build.js",
"buildTypes": "cross-env NODE_ENV=production tsc --project ./tsconfig.declarations.json",
"test": "jest --config ../../jest.config.js"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/clay-pagination/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"lib"
],
"scripts": {
"build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx",
"build": "cross-env NODE_ENV=production node ../../scripts/build.js",
"buildTypes": "cross-env NODE_ENV=production tsc --project ./tsconfig.declarations.json",
"test": "jest --config ../../jest.config.js"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/clay-panel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"lib"
],
"scripts": {
"build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx",
"build": "cross-env NODE_ENV=production node ../../scripts/build.js",
"buildTypes": "cross-env NODE_ENV=production tsc --project ./tsconfig.declarations.json",
"test": "jest --config ../../jest.config.js"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/clay-popover/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"lib"
],
"scripts": {
"build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx",
"build": "cross-env NODE_ENV=production node ../../scripts/build.js",
"buildTypes": "cross-env NODE_ENV=production tsc --project ./tsconfig.declarations.json",
"test": "jest --config ../../jest.config.js"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/clay-progress-bar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"lib"
],
"scripts": {
"build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx",
"build": "cross-env NODE_ENV=production node ../../scripts/build.js",
"buildTypes": "cross-env NODE_ENV=production tsc --project ./tsconfig.declarations.json",
"test": "jest --config ../../jest.config.js"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/clay-provider/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"lib"
],
"scripts": {
"build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx",
"build": "cross-env NODE_ENV=production node ../../scripts/build.js",
"buildTypes": "cross-env NODE_ENV=production tsc --project ./tsconfig.declarations.json",
"test": "jest --config ../../jest.config.js"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/clay-shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"lib"
],
"scripts": {
"build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx",
"build": "cross-env NODE_ENV=production node ../../scripts/build.js",
"buildTypes": "cross-env NODE_ENV=production tsc --project ./tsconfig.declarations.json",
"test": "jest --config ../../jest.config.js"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/clay-slider/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"lib"
],
"scripts": {
"build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx",
"build": "cross-env NODE_ENV=production node ../../scripts/build.js",
"buildTypes": "cross-env NODE_ENV=production tsc --project ./tsconfig.declarations.json",
"test": "jest --config ../../jest.config.js"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/clay-sticker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"lib"
],
"scripts": {
"build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx",
"build": "cross-env NODE_ENV=production node ../../scripts/build.js",
"buildTypes": "cross-env NODE_ENV=production tsc --project ./tsconfig.declarations.json",
"test": "jest --config ../../jest.config.js"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/clay-table/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"lib"
],
"scripts": {
"build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx",
"build": "cross-env NODE_ENV=production node ../../scripts/build.js",
"buildTypes": "cross-env NODE_ENV=production tsc --project ./tsconfig.declarations.json",
"test": "jest --config ../../jest.config.js"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/clay-tabs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"lib"
],
"scripts": {
"build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx",
"build": "cross-env NODE_ENV=production node ../../scripts/build.js",
"buildTypes": "cross-env NODE_ENV=production tsc --project ./tsconfig.declarations.json",
"test": "jest --config ../../jest.config.js"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/clay-time-picker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"lib"
],
"scripts": {
"build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx",
"build": "cross-env NODE_ENV=production node ../../scripts/build.js",
"buildTypes": "cross-env NODE_ENV=production tsc --project ./tsconfig.declarations.json",
"test": "jest --config ../../jest.config.js"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/clay-toolbar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"lib"
],
"scripts": {
"build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx",
"build": "cross-env NODE_ENV=production node ../../scripts/build.js",
"buildTypes": "cross-env NODE_ENV=production tsc --project ./tsconfig.declarations.json",
"test": "jest --config ../../jest.config.js"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/clay-tooltip/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"lib"
],
"scripts": {
"build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx",
"build": "cross-env NODE_ENV=production node ../../scripts/build.js",
"buildTypes": "cross-env NODE_ENV=production tsc --project ./tsconfig.declarations.json",
"test": "jest --config ../../jest.config.js"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/clay-upper-toolbar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"lib"
],
"scripts": {
"build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx",
"build": "cross-env NODE_ENV=production node ../../scripts/build.js",
"buildTypes": "cross-env NODE_ENV=production tsc --project ./tsconfig.declarations.json",
"test": "jest --config ../../jest.config.js"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"ts:main": "src/index.tsx",
"files": ["lib", "src"],
"scripts": {
"build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx",
"build": "cross-env NODE_ENV=production node ../../scripts/build.js",
"buildTypes": "cross-env NODE_ENV=production tsc --project ./tsconfig.declarations.json",
"test": "jest --config ../../jest.config.js"
},
Expand Down

0 comments on commit 7db4b17

Please sign in to comment.