Comparing version 0.1.1 to 0.1.2
{ | ||
"name": "polyfact", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"main": "src/index.js", | ||
@@ -13,3 +13,2 @@ "author": "Lancelot Owczarczak <lancelot@owczarczak.fr>", | ||
"io-ts": "^2.2.20", | ||
"module-alias": "^2.2.2", | ||
"node-fetch": "^2.6.1", | ||
@@ -37,6 +36,2 @@ "ts-node": "^10.9.1", | ||
}, | ||
"_moduleAliases": { | ||
"@": "src/", | ||
"@packagejson": "package.json" | ||
}, | ||
"scripts": { | ||
@@ -47,4 +42,4 @@ "prepare": "husky install && koumu setup --copy-into-husky", | ||
"lint:fix": "prettier --write src/ ; eslint --fix src/", | ||
"build": "ts-node scripts/build.ts" | ||
"build": "esbuild src/index.ts --bundle --outfile=build/polyfact --platform=node" | ||
} | ||
} |
import fetch from "node-fetch"; | ||
import * as t from "io-ts"; | ||
import { File } from "@/folder_to_json"; | ||
import { File } from "./folder_to_json"; | ||
@@ -6,0 +6,0 @@ const API_URL = "https://api.polyfact.com/api/v1"; |
@@ -7,3 +7,3 @@ import fs from "fs"; | ||
names as excludedNamesArray, | ||
} from "@/excluded_extensions.json"; | ||
} from "./excluded_extensions.json"; | ||
@@ -10,0 +10,0 @@ const excludedExtensions = new Set(excludedExtensionsArray); |
@@ -1,7 +0,6 @@ | ||
import "module-alias/register"; | ||
import { Command } from "commander"; | ||
import cliProgress from "cli-progress"; | ||
import { version } from "@packagejson"; | ||
import { getJSONFolderRepresentation } from "@/folder_to_json"; | ||
import { getJSONFolderRepresentation } from "./folder_to_json"; | ||
import { version } from "../package.json"; | ||
import { | ||
@@ -17,3 +16,3 @@ generateReferences, | ||
deploy, | ||
} from "@/api"; | ||
} from "./api"; | ||
@@ -20,0 +19,0 @@ const program = new Command(); |
@@ -21,3 +21,2 @@ { | ||
"@config/*": ["config/*"], | ||
"@packagejson": ["package.json"] | ||
}, | ||
@@ -24,0 +23,0 @@ "typeRoots": ["./types", "./node_modules/@types"] |
Sorry, the diff of this file is not supported yet
829310
7
13
516
- Removedmodule-alias@^2.2.2
- Removedmodule-alias@2.2.3(transitive)