diff --git a/CHANGELOG.md b/CHANGELOG.md index 064aaf3..d7458cd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] + +## [1.2.0] - 2021-03-04 ### Changed - Windows support (by rewriting tasks from bash to js). - Project option: `package` for `npm` or any `app`. diff --git a/package.json b/package.json index 60248bf..30d5a00 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "init-typescript-app", - "version": "1.0.10", + "version": "1.2.0", "description": "Initialize TypeScript app by running single command.", "keywords": [ "typescript", @@ -38,7 +38,7 @@ "build:dev": "ts-node --project ./tsconfig-dev.json ./tasks/run-build.ts -d", "start": "node ./dist/index.js", "test": "echo \"Error: no test specified\" && exit 1", - "release": "ts-node ./tasks/release.ts" + "release": "ts-node ./tasks/run-release.ts" }, "devDependencies": { "@types/ejs": "^3.0.4", diff --git a/scaffold/package.json.ejs b/scaffold/package.json.ejs index 7dffa08..159810e 100644 --- a/scaffold/package.json.ejs +++ b/scaffold/package.json.ejs @@ -11,7 +11,7 @@ "build:dev": "ts-node --project ./tsconfig-dev.json ./tasks/run-build.ts -d", "start": "node ./dist/index.js", "test": "echo \"Error: no test specified\" && exit 1"<% if (isNpmPackage) {%>, - "release": "NODE_ENV=production ts-node ./tasks/release.ts"<% } %> + "release": "ts-node ./tasks/run-release.ts"<% } %> },<% if (author) { %> "author": { "name": "<%= author %>"