Skip to content

Commit

Permalink
fix: jsii-docgen.js is not bundled into the package
Browse files Browse the repository at this point in the history
After the introduction of projen, the CLI was not compiled anymore (only files under `src/` are compiled)
so the .js file of the CLI was not bundled into the package.
  • Loading branch information
Elad Ben-Israel committed Jul 19, 2020
1 parent a2cb7b7 commit f90c442
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion bin/jsii-docgen
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
#!/usr/bin/env node
require('./jsii-docgen.js');
// eslint-disable-next-line @typescript-eslint/no-require-imports
require('../lib/cli.js');
2 changes: 1 addition & 1 deletion bin/jsii-docgen.ts → src/cli.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { renderFiles, renderSinglePageModule } from '../src';
import { renderFiles, renderSinglePageModule } from '..';
import * as yargs from 'yargs';

export async function main() {
Expand Down

0 comments on commit f90c442

Please sign in to comment.