Convert project to ESM (#58)

* Convert to ESM, enforce file single naming convention.

* Update fs-extra esm usage.

* Fix minimatch import.

* fixes

* triple-beam issue is finally fixed.
This commit is contained in:
Daniel Scalzi
2023-03-17 19:53:27 -04:00
committed by GitHub
parent 82967469e9
commit b55b7af689
34 changed files with 491 additions and 518 deletions

View File

@@ -2,7 +2,8 @@
"name": "nebula",
"version": "0.1.0",
"description": "Utility package to generate a distribution.json for Helios.",
"main": "dist/index.js",
"type": "module",
"exports": "./dist/index.js",
"scripts": {
"clean": "rimraf dist",
"tsc": "tsc",
@@ -30,28 +31,27 @@
"devDependencies": {
"@types/fs-extra": "^11.0.1",
"@types/luxon": "^3.2.0",
"@types/minimatch": "^5.1.2",
"@types/node": "^18.13.0",
"@types/node": "^18.15.3",
"@types/triple-beam": "^1.3.2",
"@types/yargs": "^17.0.22",
"@typescript-eslint/eslint-plugin": "^5.51.0",
"@typescript-eslint/parser": "^5.51.0",
"eslint": "^8.34.0",
"rimraf": "^4.1.2",
"typescript": "^4.9.5"
"@typescript-eslint/eslint-plugin": "^5.55.0",
"@typescript-eslint/parser": "^5.55.0",
"eslint": "^8.36.0",
"rimraf": "^4.4.0",
"typescript": "^5.0.2"
},
"dependencies": {
"dotenv": "^16.0.3",
"fs-extra": "^11.1.0",
"got": "^11.8.6",
"got": "^12.6.0",
"helios-distribution-types": "^1.1.0",
"luxon": "^3.2.1",
"minimatch": "^6.1.8",
"luxon": "^3.3.0",
"minimatch": "^7.4.2",
"node-stream-zip": "^1.15.0",
"toml": "^3.0.0",
"triple-beam": "^1.3.0",
"ts-json-schema-generator": "^1.2.0",
"winston": "^3.8.2",
"yargs": "^17.6.2"
"yargs": "^17.7.1"
}
}