-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor build system, remove Gulp #1786
Conversation
compile libs in all CI containerPreview: documentation | landing | table |
fix build artifactsPreview: documentation | landing | table |
almost good to go... missing some assets in the statically built artifacts:
|
@@ -98,10 +98,6 @@ const projects = [ | |||
entry: "src/index.tsx", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should delete this file
fix public pathsPreview: documentation | landing | table |
@@ -58,7 +58,7 @@ const ELEVATION_CLASSES = [ | |||
export class Card extends React.Component<ICardProps, {}> { | |||
public static displayName = "Blueprint.Card"; | |||
public static defaultProps: ICardProps = { | |||
elevation: Elevation.ZERO, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seems wrong?
"declaration": false, | ||
"noEmit": true | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
newline
}, | ||
"author": "Palantir Technologies", | ||
"license": "Apache-2.0" | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
newline
{ | ||
loader: require.resolve("postcss-loader"), | ||
options: { | ||
config: { path: path.resolve(__dirname, "postcss.config.js") }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
where does this __dirname
resolve? usage on line 100 implies it resolves in the directory in which webpack is being run, so is postcss not happening?
address CR commentsPreview: documentation | landing | table |
fix table preview public urlPreview: documentation | landing | table |
|
* Switch to yarn workspaces, upgrade some dev dependencies * [core] fix typescript compilation * Remove require-shim.d.ts files, we now use @types/node * [table] fix typescript compilation * update tsconfig.json files * [docs] fix typescript compilation * [labs] fix typescript compilation * [core] fix some tests * bump to webpack 3! remove localResolve support -- not necessary with hoisting * fix ts-loader errors * clean yarn.lock * massage package.json versions to hoist as much as possible * upgrade site-landing and table preview to webpack 3 * get karma webpacking * karma serves/includes correct files * ⭐ test compile errors now fail the build! * fix core and datetime tests * fix webpack-watch * quick ignore ContextMenu component cuz it's untestable (not exported) * bump range slider test coverage * Fix Table test typings * Comment out broken tests :/ * Refactor build system, remove Gulp (#1786) * Remove Gulpfile.js
ad/workspaces
Fixes #116.
Fixes #436.
Fixes #1527.
Fixes #780.
Changes proposed:
Replace Gulp build tooling with Lerna & NPM scripts. Each package now has its own list of
"scripts"
inpackage.json
. There are a few new private packages which help us manage build configuration. The three types of packages are:A decent amount of cruft was removed in this process:
typings
registry in favor of@types
packages from NPM."extends"
inheritance feature (it was unsupported ingulp-typescript
).There is a new publishing workflow. I brought over some of our internal monorepo build scripts to handle publishing using Lerna publish commits (generated by
lerna publish
).And a few random enhancements:
dist
,test
, andlint
in parallel.Further improvements to be addressed in future PRs
no-implicit-dependencies
lint rule"sinon"
in a consistent waygenerate-docs-data
Remaining tasks