@temporalio/create
Advanced tools
Comparing version 1.9.3 to 1.10.0
@@ -12,3 +12,4 @@ // Modified from: https://github.com/vercel/next.js/blob/2425f4703c4c6164cecfdb6aa8f80046213f0cc6/packages/create-next-app/helpers/install.ts | ||
export function install({ root, useYarn }) { | ||
const npm = /^win/.test(process.platform) ? 'npm.cmd' : 'npm'; | ||
const isWindows = process.platform === 'win32'; | ||
const npm = isWindows ? 'npm.cmd' : 'npm'; | ||
const command = useYarn ? 'yarn' : npm; | ||
@@ -19,2 +20,3 @@ return spawn(command, ['install'], { | ||
env: { ...process.env, ADBLOCK: '1', DISABLE_OPENCOLLECTIVE: '1' }, | ||
shell: isWindows, | ||
}); | ||
@@ -25,3 +27,3 @@ } | ||
const versionAlreadyInPackageJson = 16; | ||
const minimumValidVersion = 14; | ||
const minimumValidVersion = 16; | ||
// The @tsconfig/node20 sets "--lib es2023", which require TypeScript 5.x. | ||
@@ -28,0 +30,0 @@ // FIXME: Remove this once samples have been updated to TypeScript ^5.0.0. |
{ | ||
"name": "@temporalio/create", | ||
"version": "1.9.3", | ||
"version": "1.10.0", | ||
"description": "Create a Temporal project from template", | ||
@@ -41,3 +41,3 @@ "main": "cli.js", | ||
"@types/validate-npm-package-name": "^4.0.2", | ||
"ava": "^4.3.1" | ||
"ava": "^5.3.1" | ||
}, | ||
@@ -57,3 +57,3 @@ "bugs": { | ||
"engines": { | ||
"node": ">=14.0.0" | ||
"node": ">=16.0.0" | ||
}, | ||
@@ -65,3 +65,3 @@ "files": [ | ||
], | ||
"gitHead": "e7e46639c1ba23b86f367a051fb54d736c5f21ce" | ||
"gitHead": "39d702af7ae5d7e33ee90651292aa77fa07d33ca" | ||
} |
@@ -23,3 +23,4 @@ // Modified from: https://github.com/vercel/next.js/blob/2425f4703c4c6164cecfdb6aa8f80046213f0cc6/packages/create-next-app/helpers/install.ts | ||
export function install({ root, useYarn }: InstallArgs): Promise<void> { | ||
const npm = /^win/.test(process.platform) ? 'npm.cmd' : 'npm'; | ||
const isWindows = process.platform === 'win32'; | ||
const npm = isWindows ? 'npm.cmd' : 'npm'; | ||
const command: string = useYarn ? 'yarn' : npm; | ||
@@ -31,2 +32,3 @@ | ||
env: { ...process.env, ADBLOCK: '1', DISABLE_OPENCOLLECTIVE: '1' }, | ||
shell: isWindows, | ||
}); | ||
@@ -38,3 +40,3 @@ } | ||
const versionAlreadyInPackageJson = 16; | ||
const minimumValidVersion = 14; | ||
const minimumValidVersion = 16; | ||
@@ -41,0 +43,0 @@ // The @tsconfig/node20 sets "--lib es2023", which require TypeScript 5.x. |
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
95137
1690