diff options
Diffstat (limited to 'types/generate-package.ts')
-rw-r--r-- | types/generate-package.ts | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/types/generate-package.ts b/types/generate-package.ts index a4f049a31..ae061f9b0 100644 --- a/types/generate-package.ts +++ b/types/generate-package.ts | |||
@@ -23,6 +23,7 @@ async function run () { | |||
23 | 23 | ||
24 | await remove(typesDistPath) | 24 | await remove(typesDistPath) |
25 | execSync('npm run tsc -- -b --verbose types', { stdio: 'inherit' }) | 25 | execSync('npm run tsc -- -b --verbose types', { stdio: 'inherit' }) |
26 | execSync(`npm run resolve-tspaths -- --project ${distTsConfigPath} --src ${typesDistPath} --out ${typesDistPath}`, { stdio: 'inherit' }) | ||
26 | 27 | ||
27 | const allDependencies = Object.assign( | 28 | const allDependencies = Object.assign( |
28 | mainPackageJson.dependencies, | 29 | mainPackageJson.dependencies, |
@@ -69,9 +70,5 @@ async function run () { | |||
69 | console.log(`Writing git ignore to ${typesDistGitIgnorePath}`) | 70 | console.log(`Writing git ignore to ${typesDistGitIgnorePath}`) |
70 | await writeFile(typesDistGitIgnorePath, '*.tsbuildinfo') | 71 | await writeFile(typesDistGitIgnorePath, '*.tsbuildinfo') |
71 | 72 | ||
72 | console.log('Copying tsconfig files') | ||
73 | await copyFile(distTsConfigPath, resolve(typesDistPath, './tsconfig.json')) | ||
74 | await copyFile(resolve(cwd(), './tsconfig.base.json'), resolve(typesDistPath, './tsconfig.base.json')) | ||
75 | |||
76 | await copyFile(resolve(typesPath, './README.md'), resolve(typesDistPath, './README.md')) | 73 | await copyFile(resolve(typesPath, './README.md'), resolve(typesDistPath, './README.md')) |
77 | } | 74 | } |