You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure exactly which command line my team used to generate the specific archetype for AEMaaCS which I saw this in, though absent other magic, I'd expect any archetype which contains a ui.frontend directory with a package.json file contained this issue.
Platform and Version
Most likely Windows 11, could also be macOS Sonoma or Ubuntu 22.04 LTS.
Sample Code that illustrates the problem
N/A
Logs taken while reproducing problem
N/A
The text was updated successfully, but these errors were encountered:
Expected Behaviour
The ... ui.frontend.../package.json file (ideally after generation) has a valid
"license"
key according to the npm documentation https://docs.npmjs.com/cli/v10/configuring-npm/package-json#licenseFor example, could it be one of the following?
"license": "SEE LICENSE IN LICENSE",
"license": "Apache-2.0",
(from the npm-linked SPDX License List)LICENSE
toLICENSE.txt
A rationale for this can be found, for example, when working with Amazon Inspector for SBOMs or similar legal compliance tooling at scale.
Actual Behaviour
This particular
package.json
file actually references aLICENSE.txt
file which does not appear to exist:aem-project-archetype/src/main/archetype/ui.frontend.general/package.json
Line 11 in 3433dc2
Could it also (apart from a few brackets and whitespace) be more simply defined as
Apache-2.0
, like is done elsewhere?aem-project-archetype/src/main/archetype/ui.frontend.react.forms.af/package.json
Line 13 in 3433dc2
Reproduce Scenario (including but not limited to)
Steps to Reproduce
I'm not sure exactly which command line my team used to generate the specific archetype for AEMaaCS which I saw this in, though absent other magic, I'd expect any archetype which contains a
ui.frontend
directory with apackage.json
file contained this issue.Platform and Version
Most likely Windows 11, could also be macOS Sonoma or Ubuntu 22.04 LTS.
Sample Code that illustrates the problem
N/A
Logs taken while reproducing problem
N/A
The text was updated successfully, but these errors were encountered: