Skip to content
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

chore: Build update #454

Open
wants to merge 62 commits into
base: master
Choose a base branch
from
Open

chore: Build update #454

wants to merge 62 commits into from

Commits on Apr 11, 2020

  1. chore: eliminate 'npm link' from the build scripts.

    Use a relative path devDependency on antlr4ts-cli, that's cleaner.
    Add steps to cleanup any npm global mess made before.
    Added 'npm run reinstall' script for clean-up of truly ugly problems.
    Note: reinstall involves a 'git purge -idx'.   It asks permission...
    Burt Harris authored and Burt Harris committed Apr 11, 2020
    Configuration menu
    Copy the full SHA
    1bc2883 View commit details
    Browse the repository at this point in the history
  2. Update vscode tasks.json

    Burt Harris authored and Burt Harris committed Apr 11, 2020
    Configuration menu
    Copy the full SHA
    c03ef91 View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2020

  1. (tool) Update pom.xml removing ref to ../runtime

    Workaround for #458
    Burt Harris authored and Burt Harris committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    6c32473 View commit details
    Browse the repository at this point in the history
  2. Relocate runtime build files to runtime/typescript

    Disentangle imports / directory reorg
    Makes antlr4ts more like the other ANTLR4 target directory structure
    Build process now split out for packages, with each getting it's own package.json, and tsconfig.json.   Eliminate relative path imports anywhere outside the src/ directory.
    checking in .d.ts files to track any api changes
    Burt Harris authored and Burt Harris committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    db0b346 View commit details
    Browse the repository at this point in the history
  3. Move custom tool under tool/typescript

    Burt Harris authored and Burt Harris committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    5078dfe View commit details
    Browse the repository at this point in the history

Commits on Apr 16, 2020

  1. cleanup target files that should not be checked in

    Burt Harris authored and Burt Harris committed Apr 16, 2020
    Configuration menu
    Copy the full SHA
    63a2325 View commit details
    Browse the repository at this point in the history
  2. Upgrade TypeScript to v2.9.2.

    Note: currently TypeScript v3.x is problematic in this context,
    but 2.9 is OK
    Burt Harris authored and Burt Harris committed Apr 16, 2020
    Configuration menu
    Copy the full SHA
    e260009 View commit details
    Browse the repository at this point in the history
  3. Simplify build scripts w/ npm-run-all

    Implements suggestion in PR #454
    Burt Harris authored and Burt Harris committed Apr 16, 2020
    Configuration menu
    Copy the full SHA
    6f9e2db View commit details
    Browse the repository at this point in the history
  4. Move src/ to runtime/typescript/src

    Burt Harris authored and Burt Harris committed Apr 16, 2020
    Configuration menu
    Copy the full SHA
    8956cef View commit details
    Browse the repository at this point in the history
  5. upgrade to [email protected]

    Burt Harris authored and Burt Harris committed Apr 16, 2020
    Configuration menu
    Copy the full SHA
    5a63b25 View commit details
    Browse the repository at this point in the history

Commits on Apr 17, 2020

  1. Upgrade TypeScript to V3.7.5

    Version 3.8.3 generates errors that don't seem right, so 3.7.5 it is.
    
    Getting to V3.x gets us the new project build mode, which is a big win in terms of build time.   tsc will use tsconfig.tsbuildinfo files to manage an incremental compile which can really speed up many situations.  Switches used on tsc commands change for this mode.
    
    One copy of the compiler, set in --watch mode, and watch the entire directory tree, performing compiles on change even if different parts of the tree uses different settings.
    
    Making this work right requires a change in import statments.   None of them should ever reference the "src" directory, if needed use "dist" instead.
    Burt Harris authored and Burt Harris committed Apr 17, 2020
    Configuration menu
    Copy the full SHA
    59d7c4d View commit details
    Browse the repository at this point in the history
  2. Update build process for speed. Operates across packages in this repo…

    …sitory
    
    To run antlr, we use the `lerna run antlr` command.   Any package that has an antlr script is run, lerna controls the ordering based on dependencies declared in the package.json files.
    
    The typescript compiler has multi-package build-in (in V3+).  Combined
    with a new incremetal compile feature, this is a big time savings.
    Burt Harris authored and Burt Harris committed Apr 17, 2020
    Configuration menu
    Copy the full SHA
    7311cf0 View commit details
    Browse the repository at this point in the history
  3. Reintegrate the cross-platform tests

    Burt Harris authored and Burt Harris committed Apr 17, 2020
    Configuration menu
    Copy the full SHA
    2d5a18c View commit details
    Browse the repository at this point in the history
  4. tslint 6.1.1 and fix gripes

    Burt Harris authored and Burt Harris committed Apr 17, 2020
    Configuration menu
    Copy the full SHA
    6f48f5f View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2020

  1. Fix TestPerformance.ts so tsc doesn't hang

    Fixes: #459
    Yet more fixes for tslint gripes
    Burt Harris authored and Burt Harris committed Apr 18, 2020
    Configuration menu
    Copy the full SHA
    7e5bf51 View commit details
    Browse the repository at this point in the history
  2. more tslint...

    Burt Harris authored and Burt Harris committed Apr 18, 2020
    Configuration menu
    Copy the full SHA
    6fa15a9 View commit details
    Browse the repository at this point in the history
  3. whitespace in generated file

    Burt Harris authored and Burt Harris committed Apr 18, 2020
    Configuration menu
    Copy the full SHA
    f109206 View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2020

  1. Integrate eslint, prettier, huskey

    Burt Harris authored and Burt Harris committed Apr 19, 2020
    Configuration menu
    Copy the full SHA
    436cb61 View commit details
    Browse the repository at this point in the history
  2. Update CI control files to reflect change in lint, dropping pack steps

    Burt Harris authored and Burt Harris committed Apr 19, 2020
    Configuration menu
    Copy the full SHA
    0b2f879 View commit details
    Browse the repository at this point in the history
  3. Eliminate empty decorators

    @NotNull, @nullable, @SuppressWarnings- typescript native alternatives
    @OverRide - Use retained as comments for documentation
    Burt Harris authored and Burt Harris committed Apr 19, 2020
    Configuration menu
    Copy the full SHA
    1743b12 View commit details
    Browse the repository at this point in the history

Commits on Apr 21, 2020

  1. clean attempts to provide imports without 'dist'

    Burt Harris authored and Burt Harris committed Apr 21, 2020
    Configuration menu
    Copy the full SHA
    2239c13 View commit details
    Browse the repository at this point in the history
  2. remove unneeded constructor overloads

    Burt Harris authored and Burt Harris committed Apr 21, 2020
    Configuration menu
    Copy the full SHA
    60e90f4 View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2020

  1. Switch mocha config to .mocharc.yml

    Burt Harris authored and Burt Harris committed Apr 25, 2020
    Configuration menu
    Copy the full SHA
    7d02dde View commit details
    Browse the repository at this point in the history
  2. Eleminate dependency on mocha-typescriptAll the tests now use the sam…

    …e pdd (describe()/it()) style test ui
    Burt Harris authored and Burt Harris committed Apr 25, 2020
    Configuration menu
    Copy the full SHA
    1a19980 View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2020

  1. Setup tsconfig.base.json

    Burt Harris authored and Burt Harris committed Apr 26, 2020
    Configuration menu
    Copy the full SHA
    53db32a View commit details
    Browse the repository at this point in the history
  2. Implement internal module pattern

    internal.ts becomes the single controlling point for module load order
    fixes: #466
    Burt Harris authored and Burt Harris committed Apr 26, 2020
    Configuration menu
    Copy the full SHA
    012c274 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'build_reorg' into build_update

    Burt Harris authored and Burt Harris committed Apr 26, 2020
    Configuration menu
    Copy the full SHA
    a312203 View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2020

  1. Eliminate async after fix of load order problem

    Burt Harris authored and Burt Harris committed Apr 27, 2020
    Configuration menu
    Copy the full SHA
    5c67dce View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2020

  1. Mark vscode tsc-watch task as background

    Burt Harris authored and Burt Harris committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    bbb45ac View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2020

  1. update profiling to use node CPU profing switch

    Burt Harris authored and Burt Harris committed Apr 29, 2020
    Configuration menu
    Copy the full SHA
    0f6e64b View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2020

  1. chore: eliminate 'npm link' from the build scripts.

    Use a relative path devDependency on antlr4ts-cli, that's cleaner.
    Add steps to cleanup any npm global mess made before.
    Added 'npm run reinstall' script for clean-up of truly ugly problems.
    Note: reinstall involves a 'git purge -idx'.   It asks permission...
    Burt Harris authored and Burt Harris committed Apr 30, 2020
    Configuration menu
    Copy the full SHA
    6ead312 View commit details
    Browse the repository at this point in the history
  2. Update vscode tasks.json

    Burt Harris authored and Burt Harris committed Apr 30, 2020
    Configuration menu
    Copy the full SHA
    f4ab9ef View commit details
    Browse the repository at this point in the history
  3. (tool) Update pom.xml removing ref to ../runtime

    Workaround for #458
    Burt Harris authored and Burt Harris committed Apr 30, 2020
    Configuration menu
    Copy the full SHA
    bf8fae4 View commit details
    Browse the repository at this point in the history
  4. Upgrade TypeScript to v2.9.2.

    Note: currently TypeScript v3.x is problematic in this context,
    but 2.9 is OK
    Burt Harris authored and Burt Harris committed Apr 30, 2020
    Configuration menu
    Copy the full SHA
    9526282 View commit details
    Browse the repository at this point in the history
  5. Relocate runtime build files to runtime/typescript

    Disentangle imports / directory reorg
    Makes antlr4ts more like the other ANTLR4 target directory structure
    Build process now split out for packages, with each getting it's own package.json, and tsconfig.json.   Eliminate relative path imports anywhere outside the src/ directory.
    checking in .d.ts files to track any api changes
    Burt Harris authored and Burt Harris committed Apr 30, 2020
    Configuration menu
    Copy the full SHA
    fe98f17 View commit details
    Browse the repository at this point in the history
  6. Move custom tool under tool/typescript

    Burt Harris authored and Burt Harris committed Apr 30, 2020
    Configuration menu
    Copy the full SHA
    8d3e5ac View commit details
    Browse the repository at this point in the history
  7. cleanup target files that should not be checked in

    Burt Harris authored and Burt Harris committed Apr 30, 2020
    Configuration menu
    Copy the full SHA
    5265600 View commit details
    Browse the repository at this point in the history
  8. Simplify build scripts w/ npm-run-all

    Implements suggestion in PR #454
    Burt Harris authored and Burt Harris committed Apr 30, 2020
    Configuration menu
    Copy the full SHA
    3ba137b View commit details
    Browse the repository at this point in the history
  9. Move src/ to runtime/typescript/src

    Burt Harris authored and Burt Harris committed Apr 30, 2020
    Configuration menu
    Copy the full SHA
    3bfcbf9 View commit details
    Browse the repository at this point in the history
  10. upgrade to [email protected]

    Burt Harris authored and Burt Harris committed Apr 30, 2020
    Configuration menu
    Copy the full SHA
    5cc41de View commit details
    Browse the repository at this point in the history
  11. Upgrade TypeScript to V3.7.5

    Version 3.8.3 generates errors that don't seem right, so 3.7.5 it is.
    
    Getting to V3.x gets us the new project build mode, which is a big win in terms of build time.   tsc will use tsconfig.tsbuildinfo files to manage an incremental compile which can really speed up many situations.  Switches used on tsc commands change for this mode.
    
    One copy of the compiler, set in --watch mode, and watch the entire directory tree, performing compiles on change even if different parts of the tree uses different settings.
    
    Making this work right requires a change in import statments.   None of them should ever reference the "src" directory, if needed use "dist" instead.
    Burt Harris authored and Burt Harris committed Apr 30, 2020
    Configuration menu
    Copy the full SHA
    a487eff View commit details
    Browse the repository at this point in the history
  12. Update build process for speed. Operates across packages in this repo…

    …sitory
    
    To run antlr, we use the `lerna run antlr` command.   Any package that has an antlr script is run, lerna controls the ordering based on dependencies declared in the package.json files.
    
    The typescript compiler has multi-package build-in (in V3+).  Combined
    with a new incremetal compile feature, this is a big time savings.
    Burt Harris authored and Burt Harris committed Apr 30, 2020
    Configuration menu
    Copy the full SHA
    ae4cdca View commit details
    Browse the repository at this point in the history
  13. Reintegrate the cross-platform tests

    Burt Harris authored and Burt Harris committed Apr 30, 2020
    Configuration menu
    Copy the full SHA
    de16071 View commit details
    Browse the repository at this point in the history
  14. tslint 6.1.1 and fix gripes

    Burt Harris authored and Burt Harris committed Apr 30, 2020
    Configuration menu
    Copy the full SHA
    be049bb View commit details
    Browse the repository at this point in the history
  15. Fix TestPerformance.ts so tsc doesn't hang

    Fixes: #459
    Yet more fixes for tslint gripes
    Burt Harris authored and Burt Harris committed Apr 30, 2020
    Configuration menu
    Copy the full SHA
    b46004d View commit details
    Browse the repository at this point in the history
  16. more tslint...

    Burt Harris authored and Burt Harris committed Apr 30, 2020
    Configuration menu
    Copy the full SHA
    d3a8eba View commit details
    Browse the repository at this point in the history
  17. whitespace in generated file

    Burt Harris authored and Burt Harris committed Apr 30, 2020
    Configuration menu
    Copy the full SHA
    bbdef8e View commit details
    Browse the repository at this point in the history
  18. Integrate eslint, prettier, huskey

    Burt Harris authored and Burt Harris committed Apr 30, 2020
    Configuration menu
    Copy the full SHA
    cdd9ce6 View commit details
    Browse the repository at this point in the history
  19. Update CI control files to reflect change in lint, dropping pack steps

    Burt Harris authored and Burt Harris committed Apr 30, 2020
    Configuration menu
    Copy the full SHA
    3344c95 View commit details
    Browse the repository at this point in the history
  20. Eliminate empty decorators

    @NotNull, @nullable, @SuppressWarnings- typescript native alternatives
    @OverRide - Use retained as comments for documentation
    Burt Harris authored and Burt Harris committed Apr 30, 2020
    Configuration menu
    Copy the full SHA
    292701d View commit details
    Browse the repository at this point in the history
  21. clean attempts to provide imports without 'dist'

    Burt Harris authored and Burt Harris committed Apr 30, 2020
    Configuration menu
    Copy the full SHA
    bd07176 View commit details
    Browse the repository at this point in the history
  22. remove unneeded constructor overloads

    Burt Harris authored and Burt Harris committed Apr 30, 2020
    Configuration menu
    Copy the full SHA
    d78bfe2 View commit details
    Browse the repository at this point in the history
  23. Switch mocha config to .mocharc.yml

    Burt Harris authored and Burt Harris committed Apr 30, 2020
    Configuration menu
    Copy the full SHA
    4386de8 View commit details
    Browse the repository at this point in the history
  24. Eleminate dependency on mocha-typescriptAll the tests now use the sam…

    …e pdd (describe()/it()) style test ui
    Burt Harris authored and Burt Harris committed Apr 30, 2020
    Configuration menu
    Copy the full SHA
    df3e765 View commit details
    Browse the repository at this point in the history
  25. Setup tsconfig.base.json

    Burt Harris authored and Burt Harris committed Apr 30, 2020
    Configuration menu
    Copy the full SHA
    4c27081 View commit details
    Browse the repository at this point in the history
  26. Implement internal module pattern

    internal.ts becomes the single controlling point for module load order
    fixes: #466
    Burt Harris authored and Burt Harris committed Apr 30, 2020
    Configuration menu
    Copy the full SHA
    6bec2a7 View commit details
    Browse the repository at this point in the history
  27. Eliminate async after fix of load order problem

    Burt Harris authored and Burt Harris committed Apr 30, 2020
    Configuration menu
    Copy the full SHA
    1cdd4f6 View commit details
    Browse the repository at this point in the history
  28. Mark vscode tsc-watch task as background

    Burt Harris authored and Burt Harris committed Apr 30, 2020
    Configuration menu
    Copy the full SHA
    2135359 View commit details
    Browse the repository at this point in the history
  29. update profiling to use node CPU profing switch

    Burt Harris authored and Burt Harris committed Apr 30, 2020
    Configuration menu
    Copy the full SHA
    3bc4d2a View commit details
    Browse the repository at this point in the history
  30. Merge branch 'build_update' of https://github.com/BurtHarris/antlr4ts

    …into build_update
    Burt Harris authored and Burt Harris committed Apr 30, 2020
    Configuration menu
    Copy the full SHA
    cb8d322 View commit details
    Browse the repository at this point in the history
  31. touch .appveyor.yml

    Burt Harris authored and Burt Harris committed Apr 30, 2020
    Configuration menu
    Copy the full SHA
    a9b2dd0 View commit details
    Browse the repository at this point in the history
  32. Merge branch 'master' into build_update

    Burt Harris committed Apr 30, 2020
    Configuration menu
    Copy the full SHA
    5778188 View commit details
    Browse the repository at this point in the history