Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
@azure/static-web-apps-cli
Advanced tools
Readme
The Static Web Apps CLI, also known as SWA CLI, serves as a local development tool for Azure Static Web Apps. It can:
If you have suggestions or you encounter issues, please report them or help us fix them. Your contributions are very much appreciated. 🙏
The CLI emulates commonly used capabilities of the Azure Static Web Apps cloud service. Some differences are expected. Always deploy and test your apps in Azure to confirm behavior.
npm
, yarn
or pnpm
:To install the CLI globally, use:
npm install -g @azure/static-web-apps-cli
You can also install the SWA CLI inside a project (instead of globally) as a development dependency using
npm install -D @azure/static-web-apps-cli
. This is highly recommended.
Open a SWA app folder at the root (outside any /api or /app folders):
cd my-awesome-swa-app
The best way to get started is to run the swa
command alone and follow the interactive prompts:
swa
It will generate a configuration for you, then build your project and ask if you want to deploy it to Azure.
See swa for more details.
Here are the currently supported swa
commands. Use swa <command> --help
to learn about options and usage for that particular command.
login
: login into Azureinit
: initialize a new static web app projectstart
: start the emulator from a directory or bind to a dev serverdeploy
: deploy the current project to Azure Static Web Appsbuild
: build your projectnpx
:cd my-awesome-swa-app
npx @azure/static-web-apps-cli init
npx @azure/static-web-apps-cli start
http://localhost:4280
See all available commands and options.
Want to file a bug, contribute some code, or improve the documentation? Excellent! Read up on our guidelines for contributing and then check out one of our issues in the list: community-help.
FAQs
Azure Static Web Apps CLI
The npm package @azure/static-web-apps-cli receives a total of 20,187 weekly downloads. As such, @azure/static-web-apps-cli popularity was classified as popular.
We found that @azure/static-web-apps-cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.