Security News
The Push to Ban Ransom Payments Is Gaining Momentum
Ransomware costs victims an estimated $30 billion per year and has gotten so out of control that global support for banning payments is gaining momentum.
argon-clientlibs
Advanced tools
Readme
Converts a regular javascript or css package to an AEM client library
npm install --save-dev argonui-clientlibs
This package is part of ArgonUI Boilerplate. However, it can function independently based on your project needs.
The package requires argon.config.js
file. The configuration looks something like this:
const clientlibDist = `apps/settings/wcm/designs`;
const projectName = `argonui`;
module.exports = {
jcrRoot: 'dist/jcr_root', // This path will have preference over "target" if it exists
target: 'dist', // Target root folder
clientlibs: {
vendor: {
categories: ['argonui.vendor'],
basePath: `${clientlibDist}/${projectName}/clientlibs/vendor.publish`,
paths: [
`${clientlibDist}/${projectName}/clientlibs/vendor.publish`
]
},
global: {
categories: ['argonui.global'], // Clientlib categories
// Processor configuration for clientlib minification
jsProcessor: [
'min:gcc',
'obfuscate=true',
'languageIn=ECMASCRIPT5',
'languageOut=ECMASCRIPT5'
],
basePath: `${clientlibDist}/${projectName}/clientlibs/global.publish`, // where .content.xml will be placed
paths: [
// Scan these folders for js and css files
`${clientlibDist}/${projectName}/clientlibs/global.publish`,
`${clientlibDist}/${projectName}/clientlibs/common.publish`,
]
}
}
};
To convert a regular JS path to a client library run following command
npx create-clientlib
OR
npx create-clientlib --config=someOtherFileName.config.js
FAQs
Argon UI clientlib is a helper package for Argon UI that converts regular JS or CSS package to a clientlib
We found that argon-clientlibs 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
Ransomware costs victims an estimated $30 billion per year and has gotten so out of control that global support for banning payments is gaining momentum.
Application Security
New SEC disclosure rules aim to enforce timely cyber incident reporting, but fear of job loss and inadequate resources lead to significant underreporting.
Security News
The Python Software Foundation has secured a 5-year sponsorship from Fastly that supports PSF's activities and events, most notably the security and reliability of the Python Package Index (PyPI).