Skip to content

Commit

Permalink
Remove access restrict setting form verdaccio publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinpalkovic committed Jun 26, 2024
1 parent 8b466b1 commit a702569
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions code/lib/cli/src/sandbox-templates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,7 @@ const baseTemplates = {
if (typeof s === 'string') {
return s.replace('js|jsx|mjs|ts|tsx', 'js|jsx|mjs');
} else {
return {
...s,
files: s.files.replace('js|jsx|mjs|ts|tsx', 'js|jsx|mjs'),
};
return s;
}
}),
};
Expand Down
2 changes: 1 addition & 1 deletion scripts/run-registry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ const publish = async (packages: { name: string; location: string }[], url: stri
const command = `cd ${path.resolve(
'../code',
location
)} && yarn pack --out=${PACKS_DIRECTORY}/${tarballFilename} && cd ${PACKS_DIRECTORY} && npm publish ./${tarballFilename} --registry ${url} --force --access restricted --ignore-scripts`;
)} && yarn pack --out=${PACKS_DIRECTORY}/${tarballFilename} && cd ${PACKS_DIRECTORY} && npm publish ./${tarballFilename} --registry ${url} --force --ignore-scripts`;
exec(command, (e) => {
if (e) {
rej(e);
Expand Down

0 comments on commit a702569

Please sign in to comment.