From 7d6ad1985e5b0af20d5e8e625909f6096548864f Mon Sep 17 00:00:00 2001 From: Daniel Ramos Date: Wed, 9 Feb 2022 15:27:53 +0000 Subject: [PATCH] fix: files not being shiped --- package.json | 2 +- src/bin/lokalise-downloader.ts | 3 +-- tsconfig.json | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 650a54b..9779c8c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@acid-tango/lokalise-downloader", - "version": "0.2.0", + "version": "0.2.1", "description": "A simple npm package for downloading translations from Lokalise", "main": "dist/fetcher.js", "engines": { diff --git a/src/bin/lokalise-downloader.ts b/src/bin/lokalise-downloader.ts index 761ece1..5f3899e 100644 --- a/src/bin/lokalise-downloader.ts +++ b/src/bin/lokalise-downloader.ts @@ -3,7 +3,6 @@ import { mkdirSync, writeFileSync } from "fs" import { downloadLocalesAsJson } from "../fetcher" import { Command, Option } from "commander" -import meta from "../../package.json" const program = new Command() @@ -28,7 +27,7 @@ program "./src/locales", ), ) - .version(meta.version) + .version("0.2.1") program.parse() diff --git a/tsconfig.json b/tsconfig.json index 6577608..ddb3b3b 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -9,7 +9,7 @@ "esModuleInterop": true, "moduleResolution": "node", "isolatedModules": true, - "resolveJsonModule": true + "rootDir": "./src" }, "exclude": ["node_modules", "dist"] }