Security News
ESLint is Now Language-Agnostic: Linting JSON, Markdown, and Beyond
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
@emartech/client-publish
Advanced tools
Uploads the bundled client application to Amazon S3 and sets up redirection to that bucket.
npm install @emartech/client-publish --save-dev
Deploy scripts work from current branch. Master branch stands for staging, production branch stands for production. Merge only to production when you want deployment there. Merge can be run from local machine, deploys from CI server.
{
"scripts": {
"deploy-staging": "client-deploy-staging",
"deploy-production": "client-deploy-production",
"merge-production": "client-merge"
}
}
Set the following environment variables: AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, REDIRECTOR_API_SECRET_STAGING, REDIRECTOR_API_SECRET_PRODUCTION, PROJECT_NAME.
Create npm scripts:
{
"deploy-staging": "REDIRECTOR_API_SECRET=$REDIRECTOR_API_SECRET_STAGING client-deploy-staging",
"deploy-production": "REDIRECTOR_API_SECRET=$REDIRECTOR_API_SECRET_PRODUCTION client-deploy-production",
"merge-production": "client-merge"
}
Then setup deployment for master and production branch.
# master branch
npm run build
npm run deploy-staging
# production branch
npm run build
npm run deploy-production
FAQs
Deployer for client side projects
The npm package @emartech/client-publish receives a total of 0 weekly downloads. As such, @emartech/client-publish popularity was classified as not popular.
We found that @emartech/client-publish demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 216 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
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
Security News
Members Hub is conducting large-scale campaigns to artificially boost Discord server metrics, undermining community trust and platform integrity.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.