Skip to content

Commit 62d31c5

Browse files
committed
adds docs to all package.json files. Update build cmd
1 parent 96d71b8 commit 62d31c5

File tree

64 files changed

+244
-132
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+244
-132
lines changed

packages/a11y/package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@
1313
}
1414
},
1515
"scripts": {
16-
"build": "rollup --config rollup.config.mjs",
17-
"tsc": "tsc --build tsconfig.json"
16+
"build": "lg build-package",
17+
"tsc": "lg build-ts",
18+
"docs": "lg build-tsdoc"
1819
},
1920
"license": "Apache-2.0",
2021
"publishConfig": {

packages/badge/package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@
1313
}
1414
},
1515
"scripts": {
16-
"build": "rollup --config rollup.config.mjs",
17-
"tsc": "tsc --build tsconfig.json"
16+
"build": "lg build-package",
17+
"tsc": "lg build-ts",
18+
"docs": "lg build-tsdoc"
1819
},
1920
"license": "Apache-2.0",
2021
"publishConfig": {

packages/banner/package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@
1313
}
1414
},
1515
"scripts": {
16-
"build": "rollup --config rollup.config.mjs",
17-
"tsc": "tsc --build tsconfig.json"
16+
"build": "lg build-package",
17+
"tsc": "lg build-ts",
18+
"docs": "lg build-tsdoc"
1819
},
1920
"license": "Apache-2.0",
2021
"publishConfig": {

packages/box/package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@
1313
}
1414
},
1515
"scripts": {
16-
"build": "rollup --config rollup.config.mjs",
17-
"tsc": "tsc --build tsconfig.json"
16+
"build": "lg build-package",
17+
"tsc": "lg build-ts",
18+
"docs": "lg build-tsdoc"
1819
},
1920
"license": "Apache-2.0",
2021
"publishConfig": {

packages/button/package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@
1313
}
1414
},
1515
"scripts": {
16-
"build": "rollup --config rollup.config.mjs",
17-
"tsc": "tsc --build tsconfig.json"
16+
"build": "lg build-package",
17+
"tsc": "lg build-ts",
18+
"docs": "lg build-tsdoc"
1819
},
1920
"license": "Apache-2.0",
2021
"publishConfig": {

packages/callout/package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@
1313
}
1414
},
1515
"scripts": {
16-
"build": "rollup --config rollup.config.mjs",
17-
"tsc": "tsc --build tsconfig.json"
16+
"build": "lg build-package",
17+
"tsc": "lg build-ts",
18+
"docs": "lg build-tsdoc"
1819
},
1920
"license": "Apache-2.0",
2021
"publishConfig": {

packages/card/package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@
1313
}
1414
},
1515
"scripts": {
16-
"build": "rollup --config rollup.config.mjs",
17-
"tsc": "tsc --build tsconfig.json"
16+
"build": "lg build-package",
17+
"tsc": "lg build-ts",
18+
"docs": "lg build-tsdoc"
1819
},
1920
"license": "Apache-2.0",
2021
"publishConfig": {

packages/checkbox/package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@
1313
}
1414
},
1515
"scripts": {
16-
"build": "rollup --config rollup.config.mjs",
17-
"tsc": "tsc --build tsconfig.json"
16+
"build": "lg build-package",
17+
"tsc": "lg build-ts",
18+
"docs": "lg build-tsdoc"
1819
},
1920
"license": "Apache-2.0",
2021
"publishConfig": {

packages/code/package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@
1313
}
1414
},
1515
"scripts": {
16-
"build": "rollup --config rollup.config.mjs",
17-
"tsc": "tsc --build tsconfig.json"
16+
"build": "lg build-package",
17+
"tsc": "lg build-ts",
18+
"docs": "lg build-tsdoc"
1819
},
1920
"keywords": [],
2021
"license": "Apache-2.0",

packages/combobox/package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@
1313
}
1414
},
1515
"scripts": {
16-
"build": "rollup --config rollup.config.mjs",
17-
"tsc": "tsc --build tsconfig.json"
16+
"build": "lg build-package",
17+
"tsc": "lg build-ts",
18+
"docs": "lg build-tsdoc"
1819
},
1920
"license": "Apache-2.0",
2021
"publishConfig": {

packages/confirmation-modal/package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@
1313
}
1414
},
1515
"scripts": {
16-
"build": "rollup --config rollup.config.mjs",
17-
"tsc": "tsc --build tsconfig.json"
16+
"build": "lg build-package",
17+
"tsc": "lg build-ts",
18+
"docs": "lg build-tsdoc"
1819
},
1920
"license": "Apache-2.0",
2021
"publishConfig": {

packages/copyable/package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@
1313
}
1414
},
1515
"scripts": {
16-
"build": "rollup --config rollup.config.mjs",
17-
"tsc": "tsc --build tsconfig.json"
16+
"build": "lg build-package",
17+
"tsc": "lg build-ts",
18+
"docs": "lg build-tsdoc"
1819
},
1920
"license": "Apache-2.0",
2021
"publishConfig": {

packages/emotion/package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@
1313
}
1414
},
1515
"scripts": {
16-
"build": "rollup --config rollup.config.mjs",
17-
"tsc": "tsc --build tsconfig.json"
16+
"build": "lg build-package",
17+
"tsc": "lg build-ts",
18+
"docs": "lg build-tsdoc"
1819
},
1920
"keywords": [],
2021
"license": "Apache-2.0",

packages/empty-state/package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@
1313
}
1414
},
1515
"scripts": {
16-
"build": "rollup --config rollup.config.mjs",
17-
"tsc": "tsc --build tsconfig.json"
16+
"build": "lg build-package",
17+
"tsc": "lg build-ts",
18+
"docs": "lg build-tsdoc"
1819
},
1920
"license": "Apache-2.0",
2021
"homepage": "https://github.com/mongodb/leafygreen-ui/tree/main/packages/empty-state",

packages/expandable-card/package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@
1313
}
1414
},
1515
"scripts": {
16-
"build": "rollup --config rollup.config.mjs",
17-
"tsc": "tsc --build tsconfig.json"
16+
"build": "lg build-package",
17+
"tsc": "lg build-ts",
18+
"docs": "lg build-tsdoc"
1819
},
1920
"license": "Apache-2.0",
2021
"publishConfig": {

packages/form-footer/package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@
1313
}
1414
},
1515
"scripts": {
16-
"build": "rollup --config rollup.config.mjs",
17-
"tsc": "tsc --build tsconfig.json"
16+
"build": "lg build-package",
17+
"tsc": "lg build-ts",
18+
"docs": "lg build-tsdoc"
1819
},
1920
"license": "Apache-2.0",
2021
"publishConfig": {

packages/guide-cue/package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@
1313
}
1414
},
1515
"scripts": {
16-
"build": "rollup --config rollup.config.mjs",
17-
"tsc": "tsc --build tsconfig.json"
16+
"build": "lg build-package",
17+
"tsc": "lg build-ts",
18+
"docs": "lg build-tsdoc"
1819
},
1920
"license": "Apache-2.0",
2021
"homepage": "https://github.com/mongodb/leafygreen-ui/tree/main/packages/guide-cue",

packages/hooks/package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@
1313
}
1414
},
1515
"scripts": {
16-
"build": "rollup --config rollup.config.mjs",
17-
"tsc": "tsc --build tsconfig.json"
16+
"build": "lg build-package",
17+
"tsc": "lg build-ts",
18+
"docs": "lg build-tsdoc"
1819
},
1920
"license": "Apache-2.0",
2021
"publishConfig": {

packages/icon-button/package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@
1313
}
1414
},
1515
"scripts": {
16-
"build": "rollup --config rollup.config.mjs",
17-
"tsc": "tsc --build tsconfig.json"
16+
"build": "lg build-package",
17+
"tsc": "lg build-ts",
18+
"docs": "lg build-tsdoc"
1819
},
1920
"license": "Apache-2.0",
2021
"publishConfig": {

packages/icon/package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@
1414
},
1515
"scripts": {
1616
"prebuild": "npx ts-node ./scripts/prebuild.ts --files",
17-
"build": "rollup --config rollup.config.mjs",
18-
"tsc": "tsc --build tsconfig.json"
17+
"build": "lg build-package",
18+
"tsc": "lg build-ts",
19+
"docs": "lg build-tsdoc"
1920
},
2021
"license": "Apache-2.0",
2122
"publishConfig": {

packages/inline-definition/package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@
1313
}
1414
},
1515
"scripts": {
16-
"build": "rollup --config rollup.config.mjs",
17-
"tsc": "tsc --build tsconfig.json"
16+
"build": "lg build-package",
17+
"tsc": "lg build-ts",
18+
"docs": "lg build-tsdoc"
1819
},
1920
"license": "Apache-2.0",
2021
"publishConfig": {

packages/input-option/package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@
1313
}
1414
},
1515
"scripts": {
16-
"build": "rollup --config rollup.config.mjs",
17-
"tsc": "tsc --build tsconfig.json"
16+
"build": "lg build-package",
17+
"tsc": "lg build-ts",
18+
"docs": "lg build-tsdoc"
1819
},
1920
"license": "Apache-2.0",
2021
"homepage": "https://github.com/mongodb/leafygreen-ui/tree/main/packages/input-option",

packages/leafygreen-provider/package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@
1313
}
1414
},
1515
"scripts": {
16-
"build": "rollup --config rollup.config.mjs",
17-
"tsc": "tsc --build tsconfig.json"
16+
"build": "lg build-package",
17+
"tsc": "lg build-ts",
18+
"docs": "lg build-tsdoc"
1819
},
1920
"license": "Apache-2.0",
2021
"publishConfig": {

packages/lib/package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@
1313
}
1414
},
1515
"scripts": {
16-
"build": "rollup --config rollup.config.mjs",
17-
"tsc": "tsc --build tsconfig.json"
16+
"build": "lg build-package",
17+
"tsc": "lg build-ts",
18+
"docs": "lg build-tsdoc"
1819
},
1920
"keywords": [],
2021
"license": "Apache-2.0",

packages/loading-indicator/package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@
1313
}
1414
},
1515
"scripts": {
16-
"build": "rollup --config rollup.config.mjs",
17-
"tsc": "tsc --build tsconfig.json"
16+
"build": "lg build-package",
17+
"tsc": "lg build-ts",
18+
"docs": "lg build-tsdoc"
1819
},
1920
"license": "Apache-2.0",
2021
"homepage": "https://github.com/mongodb/leafygreen-ui/tree/main/packages/loading-indicator",

packages/logo/package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@
1313
}
1414
},
1515
"scripts": {
16-
"build": "rollup --config rollup.config.mjs",
17-
"tsc": "tsc --build tsconfig.json"
16+
"build": "lg build-package",
17+
"tsc": "lg build-ts",
18+
"docs": "lg build-tsdoc"
1819
},
1920
"license": "Apache-2.0",
2021
"publishConfig": {

packages/marketing-modal/package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@
1313
}
1414
},
1515
"scripts": {
16-
"build": "rollup --config rollup.config.mjs",
17-
"tsc": "tsc --build tsconfig.json"
16+
"build": "lg build-package",
17+
"tsc": "lg build-ts",
18+
"docs": "lg build-tsdoc"
1819
},
1920
"license": "Apache-2.0",
2021
"publishConfig": {

packages/menu/package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@
1313
}
1414
},
1515
"scripts": {
16-
"build": "rollup --config rollup.config.mjs",
17-
"tsc": "tsc --build tsconfig.json"
16+
"build": "lg build-package",
17+
"tsc": "lg build-ts",
18+
"docs": "lg build-tsdoc"
1819
},
1920
"license": "Apache-2.0",
2021
"publishConfig": {

packages/modal/package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@
1313
}
1414
},
1515
"scripts": {
16-
"build": "rollup --config rollup.config.mjs",
17-
"tsc": "tsc --build tsconfig.json"
16+
"build": "lg build-package",
17+
"tsc": "lg build-ts",
18+
"docs": "lg build-tsdoc"
1819
},
1920
"license": "Apache-2.0",
2021
"publishConfig": {

packages/number-input/package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@
1313
}
1414
},
1515
"scripts": {
16-
"build": "rollup --config rollup.config.mjs",
17-
"tsc": "tsc --build tsconfig.json"
16+
"build": "lg build-package",
17+
"tsc": "lg build-ts",
18+
"docs": "lg build-tsdoc"
1819
},
1920
"license": "Apache-2.0",
2021
"homepage": "https://github.com/mongodb/leafygreen-ui/tree/main/packages/number-input",

packages/pagination/package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@
1313
}
1414
},
1515
"scripts": {
16-
"build": "rollup --config rollup.config.mjs",
17-
"tsc": "tsc --build tsconfig.json"
16+
"build": "lg build-package",
17+
"tsc": "lg build-ts",
18+
"docs": "lg build-tsdoc"
1819
},
1920
"license": "Apache-2.0",
2021
"homepage": "https://github.com/mongodb/leafygreen-ui/tree/main/packages/pagination",

packages/palette/package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@
1313
}
1414
},
1515
"scripts": {
16-
"build": "rollup --config rollup.config.mjs",
17-
"tsc": "tsc --build tsconfig.json"
16+
"build": "lg build-package",
17+
"tsc": "lg build-ts",
18+
"docs": "lg build-tsdoc"
1819
},
1920
"license": "Apache-2.0",
2021
"publishConfig": {

packages/password-input/package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@
1313
}
1414
},
1515
"scripts": {
16-
"build": "rollup --config rollup.config.mjs",
17-
"tsc": "tsc --build tsconfig.json"
16+
"build": "lg build-package",
17+
"tsc": "lg build-ts",
18+
"docs": "lg build-tsdoc"
1819
},
1920
"license": "Apache-2.0",
2021
"homepage": "https://github.com/mongodb/leafygreen-ui/tree/main/packages/password-input",

0 commit comments

Comments
 (0)