Comparing version 1.3.3 to 1.3.4
@@ -5,2 +5,9 @@ # Changelog | ||
### [1.3.4](https://github.com/nonara/ts-patch/compare/v1.3.3...v1.3.4) (2021-06-30) | ||
### Bug Fixes | ||
* Install adds ts-node to deps instead of devDeps (fixes [#38](https://github.com/nonara/ts-patch/issues/38)) ([a2d586b](https://github.com/nonara/ts-patch/commit/a2d586b286a4af0650faf69d3163115442aec8ab)) | ||
### [1.3.3](https://github.com/nonara/ts-patch/compare/v1.3.2...v1.3.3) (2021-04-23) | ||
@@ -7,0 +14,0 @@ |
@@ -128,3 +128,3 @@ "use strict"; | ||
/** | ||
* Remove tsNode from dependencies in typescript's package.json | ||
* Remove tsNode from devDependencies in typescript's package.json | ||
*/ | ||
@@ -137,3 +137,3 @@ function removeDependencies(tsPackage) { | ||
var d = tsDependencies_1[_i]; | ||
delete pkgData.dependencies[d]; | ||
delete pkgData.devDependencies[d]; | ||
} | ||
@@ -147,3 +147,3 @@ fs.writeFileSync(pkgFile, JSON.stringify(pkgData, null, 2)); | ||
/** | ||
* Add tsNode to typescript's dependencies | ||
* Add tsNode to typescript's devDependencies | ||
*/ | ||
@@ -191,3 +191,3 @@ function installDependencies(tsPackage) { | ||
*/ | ||
shell.exec("npm i --no-audit " + (process.platform === 'win32' ? '%PACKAGES%' : '$PACKAGES'), { | ||
shell.exec("npm i -D --no-audit " + (process.platform === 'win32' ? '%PACKAGES%' : '$PACKAGES'), { | ||
cwd: path.resolve(tsPackage.packageDir, '..'), | ||
@@ -194,0 +194,0 @@ env: __assign(__assign({}, process.env), { PACKAGES: missingDeps.map(function (_a) { |
{ | ||
"name": "ts-patch", | ||
"version": "1.3.3", | ||
"version": "1.3.4", | ||
"description": "Patch typescript to support custom transformers in tsconfig.json", | ||
@@ -5,0 +5,0 @@ "main": "./index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
283188