Gathering detailed insights and metrics for @devtea2026/odio-corrupti-illo-delectus
Gathering detailed insights and metrics for @devtea2026/odio-corrupti-illo-delectus
Gathering detailed insights and metrics for @devtea2026/odio-corrupti-illo-delectus
Gathering detailed insights and metrics for @devtea2026/odio-corrupti-illo-delectus
npm install @devtea2026/odio-corrupti-illo-delectus
Typescript
Module System
Node Version
NPM Version
71.8
Supply Chain
99.6
Quality
86
Maintenance
100
Vulnerability
100
License
Cumulative downloads
Total Downloads
Last day
0%
0
Compared to previous day
Last week
0%
0
Compared to previous week
Last month
0%
0
Compared to previous month
Last year
0%
0
Compared to previous year
32
Creates AEM packages for NodeJS projects that can then be installed through the Adobe Experience Manager package manager. Combined with the aem-clientlib-generator this provides a rich end-to-end workflow for developing JS and CSS for injection into AEM as components, libraries, applications, or contents.
Install @devtea2026/odio-corrupti-illo-delectus as a dependency for your NodeJS project:
npm install --save @devtea2026/odio-corrupti-illo-delectus
Add the Maven working directory to your .gitignore
so you don't have unecessary files in your source control:
./target
Make sure that your package.json
has the name
, description
, and version
all filled in:
1{ 2 "name": "my-npm-project", 3 "description": "My project does something interesting.", 4 "version": "1.0.0", 5 "dependencies": {...} 6}
If your project doesn't currently put its build ouptut in the /dist
folder, then set the source directory.
Add a package script to your package.json
:
1 "scripts": { 2 "build": "my build script", 3 "package": "@devtea2026/odio-corrupti-illo-delectus", 4 "test": "my test script" 5 }
Run your build process as normal. After your build completes, then run the packager:
npm run package
The resulting .zip
file will be outpt to the target
folder by default. You should be able to take that file and upload it and install it through AEM's package manager.
AEM requires SEMVER versioning in order for packages to be recognized as version updates. AEM also cannot safely install an older version of a package over a new version, which is why the filename contains a timestamp to guarantee sequential uniqueness.
The output package name uses the pattern:
{groupId}-{artifactId}-{version}-{timestamp}.zip
npm-package-test-1.1.0-2018-10-31T18-22-42Z.zip
@devtea2026/odio-corrupti-illo-delectus is a wrapper around Adobe's Maven plugin for building content packages. Therefore, you will need Maven installed on your system.
Configuration of @devtea2026/odio-corrupti-illo-delectus has 2 distinct parts. Options are used for setting how the packaging process runs, and Defines are used to override specific variables within the final package. Both options
and defines
can be configured by defining an object containing those two properties:
1{ 2 "options": {...}, 3 "defines": {...} 4}
The configurations can be provided in one of 2 ways:
package.json
1{ 2 "name": "my-npm-project", 3 "description": "My AEM package for cool features.", 4 "version": "0.2.3", 5 "scripts": {...}, 6 "dependencies": {...}, 7 "@devtea2026/odio-corrupti-illo-delectus": { 8 "options": { 9 "srcDir": "dist", 10 "buildDir": "target", 11 "jcrPath": "/apps/mygroup/myapp/clientlibs" 12 }, 13 "defines": { 14 "artifactId": "my-project", 15 "groupId": "org.example.myprojectgroup", 16 "version": "1.2.3" 17 } 18 } 19}
You can specify your own JSON or YAML config file through a command line argument when running @devtea2026/odio-corrupti-illo-delectus:
@devtea2026/odio-corrupti-illo-delectus --config ./config/my-config-file.yml
1options: 2 srcDir: dist 3 buildDir: target 4 jcrPath: /apps/mygroup/myapp/clientlibs 5defines: 6 artifactId: my-project 7 description: My AEM package for cool features. 8 groupId: org.example.myprojectgroup 9 version: '1.2.3'
The settings for running the packager are populated through the options
object. This can be added to your project's package.json
as a @devtea2026/odio-corrupti-illo-delectus.options
section.
1"name": "my-npm-project", 2"scripts": {...}, 3"dependencies": {...}, 4"@devtea2026/odio-corrupti-illo-delectus": { 5 "options": { 6 "srcDir": "dist", 7 "buildDir": "target" 8 "jcrPath": "/apps/mygroup/myapp/clientlibs" 9 }, 10 "defines": {...} 11}
The directory where your compiled files are located waiting to be packaged. Defaults to dist
when not provided. All files within the folder will be included in the AEM package, so make sure that the output has been sanitized to only the files you wish to deploy.
The working directory that Maven will use for compiling the build package. Defaults to target
when not provided.
The path in the JCR (AEM's storage system) where the module will be installed. Since most npm projects will likely be generating JS, CSS, and HTML assets, the default here when left blank, this will use the groupId
and artifactId
to complete generate the full pattern /apps/<groupId>/<artifactId>/clientlibs
In addition to configuring how the packager runs, you can also set Maven defines which provide specific values in the resulting installable AEM package. The primary required values for generating an AEM package will be automatically be extracted from your project's package.json
, but they can be overridden by adding a defines
object to your project's package.json
as a @devtea2026/odio-corrupti-illo-delectus.defines
section.
1"name": "my-npm-project", 2"scripts": {...}, 3"dependencies": {...}, 4"@devtea2026/odio-corrupti-illo-delectus": { 5 "options": {...}, 6 "defines": { 7 "artifactId": "my-project", 8 "description": "My AEM package for cool features.", 9 "groupId": "org.example.myprojectgroup", 10 "version": "1.2.3" 11 } 12}
Used within AEM's package management to identify the package. Default value if unset will be the npm project name from your project's package.json
. Must be a machine-safe string. Restricting to lowercase and hypphens is recommended to prevent conflicts.
1"artifactId": "my-project"
Human-readable description that will be used for the AEM content package. When not defined, this will default to the description string provided by your project's package.json
.
1"description": "My AEM package for cool features."
Used within AEM's package management to group related packages together. The naming convention in AEM packages typically followsJava package naming so it is easy to find specific packages in the AEM package manager. This must be a machine-safe string.
groupId
will be the scope of your package. For example, for a package named @foo/mypackage
, the default groupId
will be foo
groupId
will be the generic fallback npm
.For a company called "Example.org":
1"groupId": "org.example.myprojectgroup"
Force the version number that will be used for the AEM content package. When not defined, this will default to the version string provided by your project's package.json
. Must be a SEMVER value.
1"version": "1.0.0"
No vulnerabilities found.
No security vulnerabilities found.