Security News
New Python Packaging Proposal Aims to Solve Phantom Dependency Problem with SBOMs
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
webpack-frontline
Advanced tools
A fork of webpack-deploy: A Collection of useful utilities for deploying (not only) Webpack apps
Collection of useful utilities for deploying (not only) webpack single-page apps to a Frontline server.
When you use this script to deploy to a server that accepts frontline deploys.
cd $YOUR_PROJECT
npm install --save-dev webpack-frontline
# OR if you use yarn:
yarn add webpack-frontline --dev
Copy deploy-config-example.js
and secrets-example.js
into the root of your
project and fit them to your needs.
Also make sure you have ./node_modules/.bin
in your $PATH
.
Build your Webpack project and run deploy-frontline
.
yarn deploy-frontline -- --help
to view available options.
By default, deploy-frontline
will use the last git commit sha as its revision.
It will also use development
as its default branch-name.
** Branches **
--env
is NOT SET, it will deploy to a branch named development
.--env
is set, it will use its current branch name.--branch
is set, it will use the passed in argument as the branch.** Revisions **
--rev
is NOT SET, it will use the current git revision sha as its revision id.--rev
is set, it will use the passed in argument as its revision id.deploy-frontline
Frontline server upload of built index.htmldeploy-s3
AWS S3 asset upload of build files.deploy-gcloud
Google Clould Storage asset upload of build files.Gulp is great for building, Bash for running tasks.
MIT
{
// Autoformat files on save
"autoformat": true,
// Only attempt to format files with extensions set there
"extensions": ["js"],
// Fit code within this line limit
"printWidth": 80,
// Number of spaces it should use per tab
"tabWidth": 2,
// If true, will use single instead of double quotes
"singleQuote": true,
// Controls the printing of trailing commas wherever possible
"trailingComma": "all",
// Controls the printing of spaces inside array and objects
"bracketSpacing": true
}
FAQs
A fork of webpack-deploy: A Collection of useful utilities for deploying (not only) Webpack apps
We found that webpack-frontline demonstrated a not healthy version release cadence and project activity because the last version was released 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
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
Security News
Socket CEO Feross Aboukhadijeh discusses open source security challenges, including zero-day attacks and supply chain risks, on the Cyber Security Council podcast.
Security News
Research
Socket researchers uncover how threat actors weaponize Out-of-Band Application Security Testing (OAST) techniques across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.