Musical keyboard component written in React.
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

12345678910111213141516171819202122
  1. defaultBranch=master
  2. for branch in $(cat package.json | jq .publishing | jq -r keys[]) ; do
  3. echo "Selected configuration: $branch"
  4. rawRepository=$(cat package.json | jq -r .publishing.$branch.repository)
  5. repository=$(cat package.json | jq -r .publishing.$branch.repository)
  6. defaultRepository=$(cat package.json | jq -r .publishing.$defaultBranch.repository)
  7. if [ $repository = $defaultRepository ]; then
  8. echo "Changing to default repository: $repository"
  9. echo "$( jq --arg repository "$repository" '.repository = $repository' package.json )" > package.json
  10. elif [ $rawRepository != 'null' ]; then
  11. echo "Changing to mirror repository: $repository"
  12. echo "$( jq --arg repository "$repository" '.repository = $repository' package.json )" > package.json
  13. fi
  14. registry=$(cat package.json | jq -r .publishing.$branch.publishConfig.registry)
  15. echo "Publishing to package repository: $registry"
  16. npm publish --registry=$registry --access public
  17. git reset --hard
  18. done