gristlabs_grist-core/app/client/ui
Dmitry S 51ff72c15e (core) Faster builds all around.
Summary:
Building:
- Builds no longer wait for tsc for either client, server, or test targets. All use esbuild which is very fast.
- Build still runs tsc, but only to report errors. This may be turned off with `SKIP_TSC=1` env var.
- Grist-core continues to build using tsc.
- Esbuild requires ES6 module semantics. Typescript's esModuleInterop is turned
  on, so that tsc accepts and enforces correct usage.
- Client-side code is watched and bundled by webpack as before (using esbuild-loader)

Code changes:
- Imports must now follow ES6 semantics: `import * as X from ...` produces a
  module object; to import functions or class instances, use `import X from ...`.
- Everything is now built with isolatedModules flag. Some exports were updated for it.

Packages:
- Upgraded browserify dependency, and related packages (used for the distribution-building step).
- Building the distribution now uses esbuild's minification. babel-minify is no longer used.

Test Plan: Should have no behavior changes, existing tests should pass, and docker image should build too.

Reviewers: georgegevoian

Reviewed By: georgegevoian

Subscribers: alexmojaki

Differential Revision: https://phab.getgrist.com/D3506
2022-07-04 10:42:40 -04:00
..
AccountPage.ts
AccountWidget.ts
AddNewButton.ts
ApiKey.ts
App.css
App.ts
AppHeader.ts
AppUI.ts
BillingForm.ts
BillingPage.ts (core) Polishing upgrade plan UI 2022-06-29 18:28:37 +02:00
BillingPageCss.ts
BillingPlanManagers.ts
BottomBar.ts
buttons.ts
CellContextMenu.ts
CodeHighlight.ts
ColumnFilterMenu.ts (core) Allows range filter for Date, DateTime columns 2022-06-23 13:02:37 +02:00
contextMenu.ts
cssInput.ts (core) Speed up and upgrade build. 2022-06-27 16:10:10 -04:00
CustomSectionConfig.ts
CustomThemes.ts
DocHistory.ts (core) Faster builds all around. 2022-07-04 10:42:40 -04:00
DocMenu.ts (core) Polishing upgrade plan UI 2022-06-29 18:28:37 +02:00
DocMenuCss.ts (core) Show Grist video tour after welcome questions 2022-06-16 21:54:17 -07:00
DocTour.ts
DocumentSettings.ts
errorPages.ts
ExampleCard.ts
ExampleInfo.ts
FieldConfig.ts
FieldMenus.ts
FileDialog.ts (core) Faster builds all around. 2022-07-04 10:42:40 -04:00
FilterBar.ts (core) Allows range filter for Date, DateTime columns 2022-06-23 13:02:37 +02:00
forms.ts
googleAuth.ts
GridOptions.ts
GridViewMenus.ts
HomeImports.ts
HomeIntro.ts
HomeLeftPane.ts (core) Show Grist video tour after welcome questions 2022-06-16 21:54:17 -07:00
LeftPanelCommon.ts (core) Show Grist video tour after welcome questions 2022-06-16 21:54:17 -07:00
MakeCopyMenu.ts (core) Speed up and upgrade build. 2022-06-27 16:10:10 -04:00
MenuToggle.ts
modals.ts
mouseDrag.ts
MultiSelector.ts
NotifyUI.ts
OnBoardingPopups.ts
OpenUserManager.ts
OpenVideoTour.ts (core) Show Grist video tour after welcome questions 2022-06-16 21:54:17 -07:00
PagePanels.ts (core) Show Grist video tour after welcome questions 2022-06-16 21:54:17 -07:00
Pages.ts (core) Faster builds all around. 2022-07-04 10:42:40 -04:00
PageWidgetPicker.ts
PinnedDocs.ts (core) Show Grist video tour after welcome questions 2022-06-16 21:54:17 -07:00
ProductUpgradesStub.ts (core) Polishing upgrade plan UI 2022-06-29 18:28:37 +02:00
resizeHandle.ts
RightPanel.ts (core) Faster builds all around. 2022-07-04 10:42:40 -04:00
RowContextMenu.ts
selectBy.ts (core) Faster builds all around. 2022-07-04 10:42:40 -04:00
sendToDrive.ts
setupPage.ts
shadowScroll.ts
ShareMenu.ts
SiteSwitcher.ts
TemplateDocs.ts
Tools.ts (core) Show Grist video tour after welcome questions 2022-06-16 21:54:17 -07:00
tooltips.ts
TopBar.ts
TopBarCss.ts
transientInput.ts
transitions.ts (core) Speed up and upgrade build. 2022-06-27 16:10:10 -04:00
TreeViewComponent.ts
TreeViewComponentCss.ts
TriggerFormulas.ts
UserImage.ts
UserItem.ts
UserManager.ts
ViewLayoutMenu.ts
viewport.ts
ViewSectionMenu.ts
VisibleFieldsConfig.ts
WelcomePage.ts
WelcomeQuestions.ts (core) Show Grist video tour after welcome questions 2022-06-16 21:54:17 -07:00
welcomeTour.ts
WidgetTitle.ts
widgetTypes.ts