[commit: haddock] ghc-head, ghc-head1, master, wip/T14529, wip/revert-ttg-2017-11-20, wip/ttg-2017-11-06, wip/ttg2-2017-11-10, wip/ttg3-2017-11-12, wip/ttg4-constraints-2017-11-13, wip/ttg6-unrevert-2017-11-22: Add compile step that bundles and compresses JS files (#684) (e99aefb)

git at git.haskell.org git at git.haskell.org
Tue Nov 28 11:55:01 UTC 2017


Repository : ssh://git@git.haskell.org/haddock

On branches: ghc-head,ghc-head1,master,wip/T14529,wip/revert-ttg-2017-11-20,wip/ttg-2017-11-06,wip/ttg2-2017-11-10,wip/ttg3-2017-11-12,wip/ttg4-constraints-2017-11-13,wip/ttg6-unrevert-2017-11-22
Link       : http://git.haskell.org/haddock.git/commitdiff/e99aefb50ca63e2dbcc95841efbb53cea90151d8

>---------------------------------------------------------------

commit e99aefb50ca63e2dbcc95841efbb53cea90151d8
Author: Tim Baumann <tim at timbaumann.info>
Date:   Sat Sep 23 22:02:01 2017 +0200

    Add compile step that bundles and compresses JS files (#684)
    
    * Add compile step that bundles and compresses JS files
    
    Also, manage dependencies on third-party JS libraries using NPM.
    
    * Compile JS from TypeScript
    
    * Enable 'noImplicitAny' in TypeScript
    
    * QuickJump: use JSX syntax
    
    * Generate source maps from TypeScript for easier debugging
    
    * TypeScript: more accurate type
    
    * Separate quick jump css file from ocean theme


>---------------------------------------------------------------

e99aefb50ca63e2dbcc95841efbb53cea90151d8
 .gitignore                                         |    4 +
 haddock-api/haddock-api.cabal                      |    7 +-
 .../resources/html/Ocean.std-theme/ocean.css       |  149 -
 haddock-api/resources/html/README.md               |   16 +
 haddock-api/resources/html/fuse.js                 |    9 -
 haddock-api/resources/html/gulpfile.js             |   27 +
 haddock-api/resources/html/haddock-bundle.min.js   |    2 +
 haddock-api/resources/html/haddock-util.js         |  186 --
 haddock-api/resources/html/index.js                |  394 ---
 haddock-api/resources/html/js-src/haddock-util.ts  |  173 +
 haddock-api/resources/html/js-src/init.ts          |   21 +
 haddock-api/resources/html/js-src/quick-jump.tsx   |  399 +++
 haddock-api/resources/html/package-lock.json       | 3410 ++++++++++++++++++++
 haddock-api/resources/html/package.json            |   32 +
 haddock-api/resources/html/preact.js               |  408 ---
 haddock-api/resources/html/quick-jump.css          |  157 +
 haddock-api/resources/html/quick-jump.min.js       |    2 +
 haddock-api/resources/html/tsconfig.json           |   17 +
 haddock-api/src/Haddock/Backends/Xhtml.hs          |   28 +-
 haddock-api/src/Haddock/Utils.hs                   |   18 +-
 html-test/ref/A.html                               |   19 +-
 html-test/ref/B.html                               |   19 +-
 html-test/ref/Bold.html                            |   19 +-
 html-test/ref/Bug1.html                            |   19 +-
 html-test/ref/Bug195.html                          |   19 +-
 html-test/ref/Bug2.html                            |   19 +-
 html-test/ref/Bug201.html                          |   19 +-
 html-test/ref/Bug253.html                          |   19 +-
 html-test/ref/Bug26.html                           |   19 +-
 html-test/ref/Bug280.html                          |   19 +-
 html-test/ref/Bug294.html                          |   19 +-
 html-test/ref/Bug298.html                          |   19 +-
 html-test/ref/Bug3.html                            |   19 +-
 html-test/ref/Bug308.html                          |   19 +-
 html-test/ref/Bug308CrossModule.html               |   19 +-
 html-test/ref/Bug310.html                          |   19 +-
 html-test/ref/Bug313.html                          |   19 +-
 html-test/ref/Bug335.html                          |   19 +-
 html-test/ref/Bug387.html                          |   19 +-
 html-test/ref/Bug4.html                            |   19 +-
 html-test/ref/Bug6.html                            |   19 +-
 html-test/ref/Bug613.html                          |   19 +-
 html-test/ref/Bug647.html                          |   19 +-
 html-test/ref/Bug7.html                            |   19 +-
 html-test/ref/Bug8.html                            |   19 +-
 html-test/ref/Bug85.html                           |   19 +-
 html-test/ref/BugDeprecated.html                   |   19 +-
 html-test/ref/BugExportHeadings.html               |   19 +-
 html-test/ref/Bugs.html                            |   19 +-
 html-test/ref/BundledPatterns.html                 |   19 +-
 html-test/ref/BundledPatterns2.html                |   19 +-
 html-test/ref/ConstructorPatternExport.html        |   19 +-
 html-test/ref/DeprecatedClass.html                 |   19 +-
 html-test/ref/DeprecatedData.html                  |   19 +-
 html-test/ref/DeprecatedFunction.html              |   19 +-
 html-test/ref/DeprecatedFunction2.html             |   19 +-
 html-test/ref/DeprecatedFunction3.html             |   19 +-
 html-test/ref/DeprecatedModule.html                |   19 +-
 html-test/ref/DeprecatedModule2.html               |   19 +-
 html-test/ref/DeprecatedNewtype.html               |   19 +-
 html-test/ref/DeprecatedReExport.html              |   19 +-
 html-test/ref/DeprecatedRecord.html                |   19 +-
 html-test/ref/DeprecatedTypeFamily.html            |   19 +-
 html-test/ref/DeprecatedTypeSynonym.html           |   19 +-
 html-test/ref/DuplicateRecordFields.html           |   19 +-
 html-test/ref/Examples.html                        |   19 +-
 html-test/ref/Extensions.html                      |   19 +-
 html-test/ref/FunArgs.html                         |   19 +-
 html-test/ref/GADTRecords.html                     |   19 +-
 html-test/ref/Hash.html                            |   19 +-
 html-test/ref/HiddenInstances.html                 |   19 +-
 html-test/ref/HiddenInstancesB.html                |   19 +-
 html-test/ref/Hyperlinks.html                      |   19 +-
 html-test/ref/IgnoreExports.html                   |   19 +-
 html-test/ref/ImplicitParams.html                  |   19 +-
 html-test/ref/Instances.html                       |   19 +-
 html-test/ref/Math.html                            |   19 +-
 html-test/ref/Minimal.html                         |   19 +-
 html-test/ref/ModuleWithWarning.html               |   19 +-
 html-test/ref/NamedDoc.html                        |   19 +-
 html-test/ref/Nesting.html                         |   19 +-
 html-test/ref/NoLayout.html                        |   19 +-
 html-test/ref/NonGreedy.html                       |   19 +-
 html-test/ref/Operators.html                       |   19 +-
 html-test/ref/OrphanInstances.html                 |   19 +-
 html-test/ref/OrphanInstancesClass.html            |   19 +-
 html-test/ref/OrphanInstancesType.html             |   19 +-
 html-test/ref/PR643.html                           |   19 +-
 html-test/ref/PR643_1.html                         |   19 +-
 html-test/ref/PatternSyns.html                     |   19 +-
 html-test/ref/PromotedTypes.html                   |   19 +-
 html-test/ref/Properties.html                      |   19 +-
 html-test/ref/PruneWithWarning.html                |   19 +-
 html-test/ref/QuasiExpr.html                       |   19 +-
 html-test/ref/QuasiQuote.html                      |   19 +-
 html-test/ref/SpuriousSuperclassConstraints.html   |   19 +-
 html-test/ref/TH.html                              |   19 +-
 html-test/ref/TH2.html                             |   19 +-
 html-test/ref/Test.html                            |   19 +-
 html-test/ref/Threaded.html                        |   19 +-
 html-test/ref/Threaded_TH.html                     |   19 +-
 html-test/ref/Ticket112.html                       |   19 +-
 html-test/ref/Ticket61.html                        |   19 +-
 html-test/ref/Ticket75.html                        |   19 +-
 html-test/ref/TitledPicture.html                   |   19 +-
 html-test/ref/TypeFamilies.html                    |   19 +-
 html-test/ref/TypeFamilies2.html                   |   19 +-
 html-test/ref/TypeOperators.html                   |   19 +-
 html-test/ref/Unicode.html                         |   19 +-
 html-test/ref/Visible.html                         |   19 +-
 110 files changed, 4458 insertions(+), 2711 deletions(-)

Diff suppressed because of size. To see it, use:

    git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc e99aefb50ca63e2dbcc95841efbb53cea90151d8


More information about the ghc-commits mailing list