Skip to content

Commit

Permalink
chore: don't write .npmrc
Browse files Browse the repository at this point in the history
  • Loading branch information
balazsorban44 committed Apr 13, 2022
1 parent 8ed038d commit c1110cd
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion .gitignore
@@ -1,6 +1,5 @@
# Misc
.DS_Store
.npmrc

.env
.env.local
Expand Down
4 changes: 0 additions & 4 deletions scripts/release/publish.ts
Expand Up @@ -36,10 +36,6 @@ export async function publish(options: {
if (dryRun) {
console.log(`Dry run, skip npm publish for package ${pkg.name}...`)
npmPublish += " --dry-run"
} else {
const npmrc =
'echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> .npmrc'
execSync(npmrc, { cwd: pkg.path })
}

execSync(npmPublish, { cwd: pkg.path })
Expand Down

0 comments on commit c1110cd

Please sign in to comment.