Skip to content

Commit

Permalink
Update publish.ts
Browse files Browse the repository at this point in the history
RELEASE_ALL
  • Loading branch information
tannerlinsley committed Nov 11, 2022
1 parent b0f8fcd commit d05afcf
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions scripts/publish.ts
Original file line number Diff line number Diff line change
Expand Up @@ -490,8 +490,12 @@ async function run() {
if (!stat.isDirectory()) continue

await Promise.all([
fsp.rm(path.resolve(exampleDir, 'package-lock.json')),
fsp.rm(path.resolve(exampleDir, 'yarn.lock')),
fsp.rm(path.resolve(exampleDir, 'package-lock.json'), {
force: true,
}),
fsp.rm(path.resolve(exampleDir, 'yarn.lock'), {
force: true,
}),
updatePackageJson(
path.resolve(exampleDir, 'package.json'),
async (config) => {
Expand Down

0 comments on commit d05afcf

Please sign in to comment.