1
0
mirror of synced 2025-11-08 12:57:47 +00:00

fix(CLI): set the name in package.json during generation

Fixes #81
This commit is contained in:
Jason Dreyzehner
2018-03-29 00:53:49 -04:00
parent 98d3c32ed1
commit 58911f2d92
2 changed files with 3 additions and 2 deletions

View File

@@ -448,7 +448,7 @@ test(`${
'test-5/.prettierignore': '1da1ce4fdb868f0939608fafd38f9683',
'test-5/LICENSE': '8786d80048d9c837477dc3b807aaf598',
'test-5/README.md': '8fc7ecb21d7d47289e4b2469eea4db39',
'test-5/package.json': '187446ae1d92fddaa89b859d3adc6527',
'test-5/package.json': '854400ffaecaae954473806fdff74af2',
'test-5/src/index.ts': '5025093b4dc30524d349fd1cc465ed30',
'test-5/src/lib/number.spec.ts': '40ebb014eb7871d1f810c618aba1d589',
'test-5/src/lib/number.ts': '43756f90e6ac0b1c4ee6c81d8ab969c7',
@@ -495,7 +495,7 @@ test(`${TestDirectories.six}: Sandboxed: yarn, no initial commit`, async t => {
'test-6/LICENSE': '1f08fdd25d16c4ee8d5233b9cb7f6051',
'test-6/README.md': 'd809bcbf240f44b51b575a3d49936232',
'test-6/appveyor.yml': 'ad473b824b29edfd21c18cfc8ae8e0ea',
'test-6/package.json': 'a7a94f6c500a05c90e475049103ba26e',
'test-6/package.json': 'd319b6d47d943aaacc81bd4da3b7a845',
'test-6/src/index.ts': 'fbc67c2cbf3a7d37e4e02583bf06eec9',
'test-6/src/lib/async.spec.ts': '1e83b84de3f3b068244885219acb42bd',
'test-6/src/lib/async.ts': '9012c267bb25fa98ad2561929de3d4e2',

View File

@@ -88,6 +88,7 @@ export async function typescriptStarter(
description,
devDependencies: filterAllBut(keptDevDeps, pkg.devDependencies),
keywords: [],
name: projectName,
repository: `https://github.com/${githubUsername}/${projectName}`,
scripts:
runner === Runner.Yarn