mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-08 19:06:15 -08:00
refactor(chapter): PKG-CHAPTER-03 split runtime into typed lifecycle and view modules
This commit is contained in:
1 parent
a0286c4e95
commit
48660c4e12
23 files changed
+1207
-497
No files matched your search
@@ -75,7 +75,8 @@ export async function checkPackages({ release = false } = {}) {
|
||||
const output = fs.mkdtempSync(path.join(parent, 'run-'))
|
||||
const snapshot = path.join(output, 'build')
|
||||
fs.mkdirSync(snapshot)
|
||||
for (const file of ['package.json', 'yarn.lock']) fs.copyFileSync(path.join(workspace, file), path.join(snapshot, file))
|
||||
for (const file of ['package.json', 'yarn.lock', 'tsconfig.json', 'tsconfig.base.json']) fs.copyFileSync(path.join(workspace, file), path.join(snapshot, file))
|
||||
fs.cpSync(path.join(workspace, 'types'), path.join(snapshot, 'types'), { recursive: true })
|
||||
fs.cpSync(path.join(workspace, 'scripts'), path.join(snapshot, 'scripts'), { recursive: true })
|
||||
fs.symlinkSync(path.join(workspace, 'node_modules'), path.join(snapshot, 'node_modules'), process.platform === 'win32' ? 'junction' : 'dir')
|
||||
for (const name of names) {
|
||||
|
||||
Reference in new issue
Block a user