New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

aem-clientlib-generator

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aem-clientlib-generator - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

.idea/dictionaries/mhauch.xml

10

index.js

@@ -91,5 +91,11 @@ /*

var filenames = [];
var typeExt = "." + asset.type;
asset.files.forEach(function(file){
var rel = path.relative(basePath, file.dest);
filenames.push(rel);
// inject only files that correspondents to the asset type
if (path.extname(file.dest) === typeExt) {
var rel = path.relative(basePath, file.dest);
filenames.push(rel);
}
});

@@ -96,0 +102,0 @@

2

package.json
{
"name": "aem-clientlib-generator",
"version": "1.0.0",
"version": "1.0.1",
"description": "Creates configuration files for AEM ClientLibs and synchronizes assets.",

@@ -5,0 +5,0 @@ "author": {

# aem-clientlib-generator
A node plugin that creates ClientLib configuration files (repository nodes) for [AEM ClientLibs|https://docs.adobe.com/docs/en/aem/6-2/develop/the-basics/clientlibs.html],
creates Client Library Folders and synchronizes all assets.
A node plugin that creates ClientLib configuration files (repository nodes) for
[AEM ClientLibs](https://docs.adobe.com/docs/en/aem/6-2/develop/the-basics/clientlibs.html),
creates _Client Library Folders_ and synchronizes all assets.

@@ -39,3 +40,3 @@

The `assets` object determine the content that should be pushed into the clientlib folder. The key stands for
the content type, `js` for JavaScript files, `css` for Styles and `resources` for other content such as
the content type, `js` for JavaScript files, `css` for styles and `resources` for other content such as
fonts or images.

@@ -101,2 +102,3 @@

// path/to/clientlibs-root/test.base.apps.mainapp/js.txt
// which lists all JavaScript files from the ClientLib.
// and copies all files into a js subfolder (default base):

@@ -111,4 +113,7 @@ // path/to/clientlibs-root/test.base.apps.mainapp/js/

// file will be copied to:
// path/to/clientlibs-root/test.base.apps.mainapp/js/libs/mylib.js
{src: "src/frontend/js/libs/mylib.js", dest: "libs/mylib.js"}
// path/to/clientlibs-root/test.base.apps.mainapp/js/libs/mylib.min.js
{src: "src/frontend/js/libs/mylib.min.js", dest: "libs/mylib.min.js"},
// copy source map files as well
{src: "src/frontend/js/libs/mylib.min.js.map", dest: "libs/mylib.min.js.map"}
],

@@ -142,3 +147,4 @@

// path/to/clientlibs-root/test.base.apps.secondapp/css.txt
// and copies all CSS files into the defined base:
// that lists all CSS files from the ClientLib.
// All files defined below will be copied into the defined base:
// path/to/clientlibs-root/test.base.apps.secondapp/style/

@@ -145,0 +151,0 @@ css: {

@@ -34,3 +34,4 @@ /*

{src: "src/frontend/js/app.js", dest: "app.js"},
{src: "src/frontend/js/libs/mylib.js", dest: "libs/mylib.js"}
{src: "src/frontend/js/libs/mylib.min.js", dest: "libs/mylib.min.js"},
{src: "src/frontend/js/libs/mylib.min.js.map", dest: "libs/mylib.min.js.map"}
],

@@ -37,0 +38,0 @@ css: [

#base=js
app.js
libs/mylib.js
libs/mylib.min.js
#base=js
app.js
libs/mylib.js
libs/mylib.min.js

@@ -5,2 +5,3 @@

this.test = "MyLib";
};
};
//# sourceMappingURL=mylib.js.map

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc