Skip to content

Commit

Permalink
update complex tests to use locally manually published package
Browse files Browse the repository at this point in the history
  • Loading branch information
derberg committed Dec 16, 2024
1 parent 9514019 commit c48a1e9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions apps/generator/test/test-project/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,11 @@ Publish test template to local npm-verdaccio
npm config set -- //verdaccio:4873/:_auth=YWRtaW46bmltZGE=
npm config set registry http://verdaccio:4873

echo "##########
Publish @asyncapi/generator-components to local npm-verdaccio
##########"
npm publish ../../../../packages/components

echo "##########
Publishing the correct template as 0.0.1
##########"
Expand Down
6 changes: 6 additions & 0 deletions apps/generator/test/test-project/verdaccio/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,13 @@ packages:
"react-template":
access: admin
publish: admin
"@asyncapi/generator-components":
access: admin
publish: admin
"!react-template":
access: admin
proxy: npmjs
"!@asyncapi/generator-components":
access: admin
proxy: npmjs
log: { type: stdout, format: pretty, level: error }

0 comments on commit c48a1e9

Please sign in to comment.