![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
An opinionated - yet flexible - front end development framework for use with Adobe Experience Manager
Iron (Fe) is an opinionated yet flexible FrontEnd development framework.
We want Iron to be a foundation for projects. Like all foundations Iron(Fe) is a place to start, but a foundation is just a beginning. There can be many directions you can go after you have a firm foundation. We want to give front end developers who work with AEM access to the same tools that we have when working outside AEM. Iron makes a few decisions for you.
npm install -g iron-fe
iron myProjectName
Options:
-h, --help output usage information
-V, --version output the version number
-c, --component [name] Create a component with specified name
-6, --es6 Add -es6 after the component command to use es6 syntax in your components
-b, --bundle [name] Create an AEM bundle with a specified name
-l, --clientlib [name] Create a Client Library with a specified name
The functions nested under bundles are to help you construct the bundles that can get moved into client libraries.
Bundles.match takes a file path of a component and will return a list of bundles. Each of those bundles are an explicit dependency of an individual component.
import iron from 'iron-fe'; // var iron = require( 'iron-fe' );
let myComponentPath = "the/path/to/my/component.js"
iron.bundles.match( myComponentPath )
Here you have the option of getting all or just one of the bundles you have generated in the aem-bundles folder.
This function will give you one bundle back with its relevant information.
import iron from 'iron-fe'; // var iron = require( 'iron-fe' );
let myBundle = iron.bundles.get.one( 'myBundle' );
---------
{
components: [
{ name: 'appEntry', isGlobal: false },
{ name: 'maps', isGlobal: false }
],
name: 'mainApp',
path: 'aem-bundles/app',
main: 'main.directories.js',
config: {
clientLibPath: '/Absolute/Path/to/bundle',
autoGenerate: { js: true, styles: true },
useGlobalComponents: true,
components: [ 'appEntry', 'maps' ]
}
}
This function will give you all bundles you have in your project with each bundle's relevant information.
import iron from 'iron-fe'; // var iron = require( 'iron-fe' );
let bundles = iron.bundles.get.all( );
---------
[
{
components: [
{ name: 'appEntry', isGlobal: false },
{ name: 'maps', isGlobal: false }
],
name: 'mainApp',
path: 'aem-bundles/app',
main: 'main.mainApp.js',
config: {
clientLibPath: '/Absolute/Path/to/clientlib',
autoGenerate: { js: true, styles: true },
useGlobalComponents: true,
components: [ 'appEntry', 'maps' ]
}
},
{
components: [
{ name: 'appEntry', isGlobal: false },
{ name: 'maps', isGlobal: false }
{ name: 'fonts', isGlobal: false }
],
name: 'homePape',
path: 'aem-bundles/homePape',
main: 'main.homePape.js',
config: {
clientLibPath: '/Absolute/Path/to/clientlib',
autoGenerate: { js: true, styles: true },
useGlobalComponents: true,
components: [ 'appEntry', 'maps', 'fonts' ]
}
}
]
FAQs
An opinionated - yet flexible - front end development framework for use with Adobe Experience Manager
The npm package iron-fe receives a total of 40 weekly downloads. As such, iron-fe popularity was classified as not popular.
We found that iron-fe demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.