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

feat: generate TypeScript project references #343

Merged
merged 12 commits into from
Jan 3, 2019

Commits on Sep 21, 2018

  1. Generate project references, and make JSII compile the same files as …

    …TSC does natively
    Rico Huijbers committed Sep 21, 2018
    Configuration menu
    Copy the full SHA
    bd861a9 View commit details
    Browse the repository at this point in the history

Commits on Dec 31, 2018

  1. Configuration menu
    Copy the full SHA
    ddc0cd5 View commit details
    Browse the repository at this point in the history
  2. Change webpack-command => webpack-cli, since the older one is depreca…

    …ted and was giving me an error
    
    Got:
    
        TypeError: Path must be a string. Received undefined
    
    Upgrading to webpack-cli fixed it. webpack-command is deprecated as per:
    
        https://github.com/webpack-contrib/webpack-command
    Rico Huijbers committed Dec 31, 2018
    Configuration menu
    Copy the full SHA
    05e7763 View commit details
    Browse the repository at this point in the history
  3. Survive package.json being missing

    Rico Huijbers committed Dec 31, 2018
    Configuration menu
    Copy the full SHA
    daa8556 View commit details
    Browse the repository at this point in the history
  4. Update package-locks

    Rico Huijbers committed Dec 31, 2018
    Configuration menu
    Copy the full SHA
    1019ba9 View commit details
    Browse the repository at this point in the history

Commits on Jan 2, 2019

  1. Pass proper reference paths to inline compiler

    Rico Huijbers committed Jan 2, 2019
    Configuration menu
    Copy the full SHA
    eecd61d View commit details
    Browse the repository at this point in the history
  2. Add a cache for assembly loading.

    Brings the dependency loading phase of jsii compilation for the
    'aws-sns' package on my machine down from 30s -> 2s.
    Rico Huijbers committed Jan 2, 2019
    Configuration menu
    Copy the full SHA
    c90a2d5 View commit details
    Browse the repository at this point in the history
  3. Review comments

    - Don't load package.json again
    - Also crawl peerDependencies
    - Better NodeJS resolution mechanism
    - determineSources no longer compiles in-place
    Rico Huijbers committed Jan 2, 2019
    Configuration menu
    Copy the full SHA
    7bb080a View commit details
    Browse the repository at this point in the history
  4. Don't throw exception, return undefined

    Rico Huijbers committed Jan 2, 2019
    Configuration menu
    Copy the full SHA
    f78297f View commit details
    Browse the repository at this point in the history

Commits on Jan 3, 2019

  1. Make project reference generation an option

    Rico Huijbers committed Jan 3, 2019
    Configuration menu
    Copy the full SHA
    2cd406b View commit details
    Browse the repository at this point in the history
  2. require.resolve() a file in the package directly

    Rico Huijbers committed Jan 3, 2019
    Configuration menu
    Copy the full SHA
    7ebf06d View commit details
    Browse the repository at this point in the history
  3. Correctly incorporate setting from package.json

    Rico Huijbers committed Jan 3, 2019
    Configuration menu
    Copy the full SHA
    7f0241b View commit details
    Browse the repository at this point in the history