Skip to content

Commit

Permalink
Rename scripts to previous build:package
Browse files Browse the repository at this point in the history
  • Loading branch information
augustobmoura committed Jan 16, 2024
1 parent 1493d1c commit c23f628
Show file tree
Hide file tree
Showing 84 changed files with 168 additions and 186 deletions.
24 changes: 3 additions & 21 deletions nx.json
Original file line number Diff line number Diff line change
@@ -1,30 +1,12 @@
{
"namedInputs": {
"default": [
"{projectRoot}/**/*"
],
"production": [
"default"
]
"default": ["{projectRoot}/**/*"],
"production": ["default"]
},
"tasksRunnerOptions": {
"default": {
"runner": "nx/tasks-runners/default",
"options": {
"cacheableOperations": [
"build:package"
]
}
}
},
"targetDefaults": {
"build:package": {
"outputs": [
"{projectRoot}/dist-package"
],
"inputs": [
"default"
]
"options": {}
}
},
"$schema": "./node_modules/nx/schemas/nx-schema.json"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"packages/base/*"
],
"scripts": {
"build:all": "nx run-many -t build",
"build:all": "tsc --build tsconfig.pkgsrc.json",
"build:package": "lerna run build:package",
"build:storybook": "build-storybook -c .storybook -o build/storybook --quiet",
"check:icon-sizes": "node ./bin/check-icon-sizes",
Expand Down
4 changes: 2 additions & 2 deletions packages/base/Accordion/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"main": "./dist/src/index.js",
"module": "./dist/src/index.js",
"scripts": {
"build": "tsc -b tsconfig.json",
"prepare": "yarn build"
"build:package": "tsc -b tsconfig.json",
"prepublishOnly": "yarn build:package"
},
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions packages/base/AccountSelect/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"main": "./dist/src/index.js",
"module": "./dist/src/index.js",
"scripts": {
"build": "tsc -b tsconfig.json",
"prepare": "yarn build"
"build:package": "tsc -b tsconfig.json",
"prepublishOnly": "yarn build:package"
},
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions packages/base/Alert/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"main": "./dist/src/index.js",
"module": "./dist/src/index.js",
"scripts": {
"build": "tsc -b tsconfig.json",
"prepare": "yarn build"
"build:package": "tsc -b tsconfig.json",
"prepublishOnly": "yarn build:package"
},
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions packages/base/Amount/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"main": "./dist/src/index.js",
"module": "./dist/src/index.js",
"scripts": {
"build": "tsc -b tsconfig.json",
"prepare": "yarn build"
"build:package": "tsc -b tsconfig.json",
"prepublishOnly": "yarn build:package"
},
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions packages/base/ApplicationUpdateNotification/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"main": "./dist/src/index.js",
"module": "./dist/src/index.js",
"scripts": {
"build": "tsc -b tsconfig.json",
"prepare": "yarn build"
"build:package": "tsc -b tsconfig.json",
"prepublishOnly": "yarn build:package"
},
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions packages/base/Autocomplete/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"main": "./dist/src/index.js",
"module": "./dist/src/index.js",
"scripts": {
"build": "tsc -b tsconfig.json",
"prepare": "yarn build"
"build:package": "tsc -b tsconfig.json",
"prepublishOnly": "yarn build:package"
},
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions packages/base/Avatar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"main": "./dist/src/index.js",
"module": "./dist/src/index.js",
"scripts": {
"build": "tsc -b tsconfig.json",
"prepare": "yarn build"
"build:package": "tsc -b tsconfig.json",
"prepublishOnly": "yarn build:package"
},
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions packages/base/AvatarUpload/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"main": "./dist/src/index.js",
"module": "./dist/src/index.js",
"scripts": {
"build": "tsc -b tsconfig.json",
"prepare": "yarn build"
"build:package": "tsc -b tsconfig.json",
"prepublishOnly": "yarn build:package"
},
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions packages/base/Badge/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"main": "./dist/src/index.js",
"module": "./dist/src/index.js",
"scripts": {
"build": "tsc -b tsconfig.json",
"prepare": "yarn build"
"build:package": "tsc -b tsconfig.json",
"prepublishOnly": "yarn build:package"
},
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions packages/base/Breadcrumbs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"main": "./dist/src/index.js",
"module": "./dist/src/index.js",
"scripts": {
"build": "tsc -b tsconfig.json",
"prepare": "yarn build"
"build:package": "tsc -b tsconfig.json",
"prepublishOnly": "yarn build:package"
},
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions packages/base/Button/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"main": "./dist/src/index.js",
"module": "./dist/src/index.js",
"scripts": {
"build": "tsc -b tsconfig.json",
"prepare": "yarn build"
"build:package": "tsc -b tsconfig.json",
"prepublishOnly": "yarn build:package"
},
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions packages/base/Calendar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"main": "./dist/src/index.js",
"module": "./dist/src/index.js",
"scripts": {
"build": "tsc -b tsconfig.json",
"prepare": "yarn build"
"build:package": "tsc -b tsconfig.json",
"prepublishOnly": "yarn build:package"
},
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions packages/base/Carousel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"main": "./dist/src/index.js",
"module": "./dist/src/index.js",
"scripts": {
"build": "tsc -b tsconfig.json",
"prepare": "yarn build"
"build:package": "tsc -b tsconfig.json",
"prepublishOnly": "yarn build:package"
},
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions packages/base/Checkbox/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"main": "./dist/src/index.js",
"module": "./dist/src/index.js",
"scripts": {
"build": "tsc -b tsconfig.json",
"prepare": "yarn build"
"build:package": "tsc -b tsconfig.json",
"prepublishOnly": "yarn build:package"
},
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions packages/base/Container/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
"main": "./dist/src/index.js",
"module": "./dist/src/index.js",
"scripts": {
"build": "tsc -b tsconfig.json",
"prepare": "yarn build"
"build:package": "tsc -b tsconfig.json",
"prepublishOnly": "yarn build:package"
},
"dependencies": {
"@toptal/picasso-utils": "1.0.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/base/DatePicker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"main": "./dist/src/index.js",
"module": "./dist/src/index.js",
"scripts": {
"build": "tsc -b tsconfig.json",
"prepare": "yarn build"
"build:package": "tsc -b tsconfig.json",
"prepublishOnly": "yarn build:package"
},
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions packages/base/DateSelect/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"main": "./dist/src/index.js",
"module": "./dist/src/index.js",
"scripts": {
"build": "tsc -b tsconfig.json",
"prepare": "yarn build"
"build:package": "tsc -b tsconfig.json",
"prepublishOnly": "yarn build:package"
},
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions packages/base/Drawer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"main": "./dist/src/index.js",
"module": "./dist/src/index.js",
"scripts": {
"build": "tsc -b tsconfig.json",
"prepare": "yarn build"
"build:package": "tsc -b tsconfig.json",
"prepublishOnly": "yarn build:package"
},
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions packages/base/Dropdown/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"main": "./dist/src/index.js",
"module": "./dist/src/index.js",
"scripts": {
"build": "tsc -b tsconfig.json",
"prepare": "yarn build"
"build:package": "tsc -b tsconfig.json",
"prepublishOnly": "yarn build:package"
},
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions packages/base/Dropzone/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"main": "./dist/src/index.js",
"module": "./dist/src/index.js",
"scripts": {
"build": "tsc -b tsconfig.json",
"prepare": "yarn build"
"build:package": "tsc -b tsconfig.json",
"prepublishOnly": "yarn build:package"
},
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions packages/base/EmptyState/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"main": "./dist/src/index.js",
"module": "./dist/src/index.js",
"scripts": {
"build": "tsc -b tsconfig.json",
"prepare": "yarn build"
"build:package": "tsc -b tsconfig.json",
"prepublishOnly": "yarn build:package"
},
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions packages/base/EnvironmentBanner/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"main": "./dist/src/index.js",
"module": "./dist/src/index.js",
"scripts": {
"build": "tsc -b tsconfig.json",
"prepare": "yarn build"
"build:package": "tsc -b tsconfig.json",
"prepublishOnly": "yarn build:package"
},
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions packages/base/FileInput/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"main": "./dist/src/index.js",
"module": "./dist/src/index.js",
"scripts": {
"build": "tsc -b tsconfig.json",
"prepare": "yarn build"
"build:package": "tsc -b tsconfig.json",
"prepublishOnly": "yarn build:package"
},
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions packages/base/Form/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"main": "./dist/src/index.js",
"module": "./dist/src/index.js",
"scripts": {
"build": "tsc -b tsconfig.json",
"prepare": "yarn build"
"build:package": "tsc -b tsconfig.json",
"prepublishOnly": "yarn build:package"
},
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions packages/base/Grid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"main": "./dist/src/index.js",
"module": "./dist/src/index.js",
"scripts": {
"build": "tsc -b tsconfig.json",
"prepare": "yarn build"
"build:package": "tsc -b tsconfig.json",
"prepublishOnly": "yarn build:package"
},
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions packages/base/Helpbox/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"main": "./dist/src/index.js",
"module": "./dist/src/index.js",
"scripts": {
"build": "tsc -b tsconfig.json",
"prepare": "yarn build"
"build:package": "tsc -b tsconfig.json",
"prepublishOnly": "yarn build:package"
},
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions packages/base/Icons/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"main": "./dist/src/index.js",
"module": "./dist/src/index.js",
"scripts": {
"build": "tsc -b tsconfig.json",
"prepare": "yarn build"
"build:package": "tsc -b tsconfig.json",
"prepublishOnly": "yarn build:package"
},
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions packages/base/Image/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"main": "./dist/src/index.js",
"module": "./dist/src/index.js",
"scripts": {
"build": "tsc -b tsconfig.json",
"prepare": "yarn build"
"build:package": "tsc -b tsconfig.json",
"prepublishOnly": "yarn build:package"
},
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions packages/base/Input/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"main": "./dist/src/index.js",
"module": "./dist/src/index.js",
"scripts": {
"build": "tsc -b tsconfig.json",
"prepare": "yarn build"
"build:package": "tsc -b tsconfig.json",
"prepublishOnly": "yarn build:package"
},
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions packages/base/InputAdornment/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"main": "./dist/src/index.js",
"module": "./dist/src/index.js",
"scripts": {
"build": "tsc -b tsconfig.json",
"prepare": "yarn build"
"build:package": "tsc -b tsconfig.json",
"prepublishOnly": "yarn build:package"
},
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions packages/base/Link/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"main": "./dist/src/index.js",
"module": "./dist/src/index.js",
"scripts": {
"build": "tsc -b tsconfig.json",
"prepare": "yarn build"
"build:package": "tsc -b tsconfig.json",
"prepublishOnly": "yarn build:package"
},
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions packages/base/List/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"main": "./dist/src/index.js",
"module": "./dist/src/index.js",
"scripts": {
"build": "tsc -b tsconfig.json",
"prepare": "yarn build"
"build:package": "tsc -b tsconfig.json",
"prepublishOnly": "yarn build:package"
},
"repository": {
"type": "git",
Expand Down
Loading

0 comments on commit c23f628

Please sign in to comment.