Security News
Supply Chain Attack Detected in Solana's web3.js Library
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
@vkontakte/vk-miniapps-deploy
Advanced tools
Deploy to VK Mini Apps hosting with one simple command
Deploy straight to VK Mini Apps hosting with one simple command.
# install it from npm and symlink it into your PATH
npm install @vkontakte/vk-miniapps-deploy -g
# now run it!
vk-miniapps-deploy
You can also use npm run
to package it with your app without installing it globally.
First add this to your scripts section of package.json
:
"scripts": {
"deploy": "vk-miniapps-deploy",
"clean-source": "rimraf README.md src webroot package.json"
},
And then install vk-miniapps-deploy
as a devDependency:
npm install @vkontakte/vk-miniapps-deploy --save-dev
And now you can run npm run deploy
to run the vk-miniapps-deploy
installed in the local node_modules
folder (even if you have never done npm install vk-miniapps-deploy -g
).
To configure vk-miniapps-deploy
all you need to do is specify a couple of things in your vk-hosting-config.json
{
"static_path": "build",
"app_id": "...",
"endpoints": {
"mobile": "index.html",
"mvk": "index.html",
"web": "index.html"
}
}
For your CI, you can use
$ env MINI_APPS_ACCESS_TOKEN=<token> yarn deploy
with user token retrieved from vk-miniapps-deploy OR service token of deployable application
There are two values to specify MINI_APPS_ENVIRONMENT: production
or dev
.
All production builds will be also deployed on dev environment.
If you grep URL paths, you can use environment variable CI_URLS = true
.
If you get an error User authorization failed: invalid session
, try this comand:
rm ~/.config/configstore/@vkontakte/vk-miniapps-deploy.json
FAQs
Deploy to VK Mini Apps hosting with one simple command
The npm package @vkontakte/vk-miniapps-deploy receives a total of 585 weekly downloads. As such, @vkontakte/vk-miniapps-deploy popularity was classified as not popular.
We found that @vkontakte/vk-miniapps-deploy demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers 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
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.