Skip to content

Commit

Permalink
import package.json directly
Browse files Browse the repository at this point in the history
  • Loading branch information
jhmaster2000 committed Jun 18, 2023
1 parent a320056 commit af357f1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
5 changes: 0 additions & 5 deletions src/pkgjson.ts

This file was deleted.

2 changes: 1 addition & 1 deletion src/repl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import path from 'path';
import prettyms from 'pretty-ms';
import Transpiler from './transpiler';
import REPLManager from './replmanager';
import pkgjson from './pkgjson';
import pkgjson from '../package.json';
import { debuglog, IS_DEBUG } from './debug';

// Futureproofing against addition or removal of the v prefix in the provided version
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
"useDefineForClassFields": false, /* Emit ECMAScript-standard-compliant class fields. */

/* Modules */
"module": "ES2022", /* Specify what module code is generated. */
"rootDir": "./src", /* Specify the root folder within your source files. */
"module": "ESNext", /* Specify what module code is generated. */
// "rootDir": "./src", /* Specify the root folder within your source files. */
"moduleResolution": "bundler", /* Specify how TypeScript looks up a file from a given module specifier. */
// "baseUrl": "./src", /* Specify the base directory to resolve non-relative module names. */
// "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */
Expand Down

0 comments on commit af357f1

Please sign in to comment.