{"_id":"@aem-kit/templates","_rev":"10-d1bf0dbca787ce87ad535a955883d80c","name":"@aem-kit/templates","dist-tags":{"latest":"2.1.0"},"versions":{"1.0.0":{"name":"@aem-kit/templates","version":"1.0.0","license":"MIT","_id":"@aem-kit/templates@1.0.0","maintainers":[{"name":"farhan212121","email":"fmuh8402@gmail.com"}],"dist":{"shasum":"814a099d386b1d4417c02701671ef1d8f2862dcd","tarball":"https://registry.npmjs.org/@aem-kit/templates/-/templates-1.0.0.tgz","fileCount":45,"integrity":"sha512-t0dUJJZv02aTPbidGiciM9hied5be3nkzlnFPReDKsog8GNgjZV6AGbiDp0WZl0xg2miPH/EcBWFhgPpFLc3FQ==","signatures":[{"sig":"MEUCICGUdnNqfjS2MN2/k5ET8W5mueTNT+CJP8oDsxRuV8roAiEAy7/XLEhVaLABm3BIVj0qQQWdZgzde+6vWsdE3a4UnXI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":201457},"main":"index.mjs","type":"module","engines":{"node":">=18"},"exports":{".":"./index.mjs"},"gitHead":"81d928f33f3eed37944976643481116993610f1b","_npmUser":{"name":"farhan212121","email":"fmuh8402@gmail.com"},"_npmVersion":"11.16.0","description":"AEM project template(s) emitted by create-aem-enterprise.","directories":{},"_nodeVersion":"24.18.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/templates_1.0.0_1784613702367_0.019138983753988592","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@aem-kit/templates","version":"1.0.1","license":"MIT","_id":"@aem-kit/templates@1.0.1","maintainers":[{"name":"farhan212121","email":"fmuh8402@gmail.com"}],"dist":{"shasum":"be6c5bb3ef5bd92f474a9cd212cb9df63916cda3","tarball":"https://registry.npmjs.org/@aem-kit/templates/-/templates-1.0.1.tgz","fileCount":46,"integrity":"sha512-MzhaWM+qZMjN/Pu9LcEmHRMcGNH7VgB9CfCOT+FgqOhL8+ubabqmAsYRS8Yhav0z3wj12mVlI8TzJBlha+2jRA==","signatures":[{"sig":"MEUCIQDZRAxxibw8F7Lwcd2p6dGykRaEd7is0fMsF9RrcuV+EQIgHwKxuHO9J31MTsiT4j3eU/vajrgMFOsXTgFZg8BQEbA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":203471},"main":"index.mjs","type":"module","engines":{"node":">=18"},"exports":{".":"./index.mjs"},"gitHead":"cad049f91401c14b3f914a2bdcf1a18a6a42bcc2","_npmUser":{"name":"farhan212121","email":"fmuh8402@gmail.com"},"_npmVersion":"11.16.0","description":"AEM project template(s) emitted by create-aem-enterprise.","directories":{},"_nodeVersion":"24.18.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/templates_1.0.1_1784614352526_0.13343309099670897","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@aem-kit/templates","version":"1.0.2","license":"MIT","_id":"@aem-kit/templates@1.0.2","maintainers":[{"name":"farhan212121","email":"fmuh8402@gmail.com"}],"dist":{"shasum":"06b1ed3bf46fdd6713bd7ee63747c42caed9a634","tarball":"https://registry.npmjs.org/@aem-kit/templates/-/templates-1.0.2.tgz","fileCount":46,"integrity":"sha512-Qp1r3EEBY4tLkovahE3kyf4qWrUmMALHPreyuB4K3tMRNZMtKMT5fygWZ7/t7R5ECi7Uu8Ebamex7d94LZXEFw==","signatures":[{"sig":"MEUCIFyV62CJIlhNWjKkwfi8HFxGaSxSxNUrxB3w3qHCFaQFAiEAnqXUCeVOWUgZw99wkKHsNSroqZ1tWIOFgs3nVquCheA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":202559},"main":"index.mjs","type":"module","engines":{"node":">=18"},"exports":{".":"./index.mjs"},"gitHead":"b5b20c2adfbffb25d58673ce109cf0d8f4f00277","_npmUser":{"name":"farhan212121","email":"fmuh8402@gmail.com"},"_npmVersion":"11.16.0","description":"AEM project template(s) emitted by create-aem-enterprise.","directories":{},"_nodeVersion":"24.18.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/templates_1.0.2_1784618341811_0.7613600765136319","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@aem-kit/templates","version":"1.0.3","license":"MIT","_id":"@aem-kit/templates@1.0.3","maintainers":[{"name":"farhan212121","email":"fmuh8402@gmail.com"}],"dist":{"shasum":"9b1a949adee2d362929f835ee4e02aac8995dea4","tarball":"https://registry.npmjs.org/@aem-kit/templates/-/templates-1.0.3.tgz","fileCount":54,"integrity":"sha512-Bplk8ypHyV3EA+Sg/Gmk+zrHnMVYChL1J8OmxmYmVMYwxZWAAh4a8PHURLeVhxGaaGPVDJH2n7xzB9H85mjxFQ==","signatures":[{"sig":"MEUCIFyPC0CaJTqJDpj1vkcCh7w1cLB5yrZMXds4BtEOeUPgAiEAnoXl1jWOabYaQIloGkiaHJ4PJBAjzqKjPiDFErJ6nj4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":207034},"main":"index.mjs","type":"module","engines":{"node":">=18"},"exports":{".":"./index.mjs"},"gitHead":"f6cae3292ab51b54edf3221acfc2916db156e136","_npmUser":{"name":"farhan212121","email":"fmuh8402@gmail.com"},"_npmVersion":"11.16.0","description":"AEM project template(s) emitted by create-aem-enterprise.","directories":{},"_nodeVersion":"24.18.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/templates_1.0.3_1784624881402_0.7955782868952297","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@aem-kit/templates","version":"1.0.4","license":"MIT","_id":"@aem-kit/templates@1.0.4","maintainers":[{"name":"farhan212121","email":"fmuh8402@gmail.com"}],"dist":{"shasum":"80b2a5da89e080d6e28c67efac23ab0c22741c5d","tarball":"https://registry.npmjs.org/@aem-kit/templates/-/templates-1.0.4.tgz","fileCount":54,"integrity":"sha512-JQ9kzLlatfEUzDZN0iY/sxJ0qx+QQrBrO2vjjKr5rwKP0/jbygmBYayvtVOezT1rnFfX28qmsAU1pfA0YhTgkg==","signatures":[{"sig":"MEUCIQCI08E1i5SqbpIIrAzz7NJWXkAncwtyOim7VxU+whBYbwIgR3Q24HH9s8yh3PXejCjB94je0PubA0cs1It7CxeZOYE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":207115},"main":"index.mjs","type":"module","engines":{"node":">=18"},"exports":{".":"./index.mjs"},"gitHead":"c0d9b478732105743f3bdfc0706c32aa0d21b840","_npmUser":{"name":"farhan212121","email":"fmuh8402@gmail.com"},"_npmVersion":"11.16.0","description":"AEM project template(s) emitted by create-aem-enterprise.","directories":{},"_nodeVersion":"24.18.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/templates_1.0.4_1784626780358_0.7043510802727972","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"@aem-kit/templates","version":"1.0.5","license":"MIT","_id":"@aem-kit/templates@1.0.5","maintainers":[{"name":"farhan212121","email":"fmuh8402@gmail.com"}],"dist":{"shasum":"5f95a696b8f49e17177f49367aafc5b7ea4f250d","tarball":"https://registry.npmjs.org/@aem-kit/templates/-/templates-1.0.5.tgz","fileCount":97,"integrity":"sha512-77P8WqtfTANzxF+X66a3UnDv+iBrTvANMBV8d/MUTfjWcvMhwDDgg3oLhOq6G1zGLlnecAKEYosDqFrTjoFJnQ==","signatures":[{"sig":"MEUCIEvRAnTKXgnED2KDCJc3W9ieVinX2GyJalNh3Y5BEQgkAiEAv8nyCnwLzA6OLIkkPMqqkh+mjms9pEn7SDahR+0MXlA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":260678},"main":"index.mjs","type":"module","engines":{"node":">=18"},"exports":{".":"./index.mjs"},"gitHead":"dfd92f89ac72fabca3352238b544d9170dc6e8f6","_npmUser":{"name":"farhan212121","email":"fmuh8402@gmail.com"},"_npmVersion":"11.12.1","description":"AEM project template(s) emitted by create-aem-enterprise.","directories":{},"_nodeVersion":"24.15.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/templates_1.0.5_1784739136128_0.4449390397509081","host":"s3://npm-registry-packages-npm-production"}},"1.0.6":{"name":"@aem-kit/templates","version":"1.0.6","license":"MIT","_id":"@aem-kit/templates@1.0.6","maintainers":[{"name":"farhan212121","email":"fmuh8402@gmail.com"}],"dist":{"shasum":"6a14eca49aa56f6d1f4520f98a948070ce36a971","tarball":"https://registry.npmjs.org/@aem-kit/templates/-/templates-1.0.6.tgz","fileCount":97,"integrity":"sha512-JWs+idmLnRAm8By2MVlDGCzyZUEL5SfUgvTnzIlDRaPayFUha+y36uqoUHaPzehg0Fzzxy77tAA0ATaqm2SG6Q==","signatures":[{"sig":"MEUCIQDoTT4aOo3dPMSnGcSLAQKiY+4kFzcN8xfZEEmB/WpgPwIgbqKaUGsGwDcJPIuR/fB84MXS6x7jfXyE0f7pi/Z7fuA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":260707},"main":"index.mjs","type":"module","engines":{"node":">=18"},"exports":{".":"./index.mjs"},"gitHead":"556676afe3c15db00cc8a85d31c6bbf819842831","_npmUser":{"name":"farhan212121","email":"fmuh8402@gmail.com"},"_npmVersion":"11.12.1","description":"AEM project template(s) emitted by create-aem-enterprise.","directories":{},"_nodeVersion":"24.15.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/templates_1.0.6_1784741419884_0.15441635540535192","host":"s3://npm-registry-packages-npm-production"}},"1.0.7":{"name":"@aem-kit/templates","version":"1.0.7","license":"MIT","_id":"@aem-kit/templates@1.0.7","maintainers":[{"name":"farhan212121","email":"fmuh8402@gmail.com"}],"dist":{"shasum":"488afcc0666ecc16cfaaf61711cffbe2fef4d682","tarball":"https://registry.npmjs.org/@aem-kit/templates/-/templates-1.0.7.tgz","fileCount":97,"integrity":"sha512-OY4wd7Kl9i8fhfEObNkRW/JLo8E97k23PGXsmic9YGRJ2j2KNAVZyjCuQRO5+iDkKz+18/lW5+J+Vm00Ff4tXw==","signatures":[{"sig":"MEUCIBrn7lScXBgZcOfe0UqPEAodwNZjGROLNI99R1tGwH/UAiEApNl5+F8nzcgLJRz53e92hl/hn6NFjyQ7BjJvL/NYZHs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":260824},"main":"index.mjs","type":"module","engines":{"node":">=18"},"exports":{".":"./index.mjs"},"gitHead":"1d0ebe9798fbaaf9eef27233cfc83dab9f970ae3","_npmUser":{"name":"farhan212121","email":"fmuh8402@gmail.com"},"_npmVersion":"11.12.1","description":"AEM project template(s) emitted by create-aem-enterprise.","directories":{},"_nodeVersion":"24.15.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/templates_1.0.7_1784744938250_0.6577238873005837","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"@aem-kit/templates","version":"2.0.0","license":"MIT","_id":"@aem-kit/templates@2.0.0","maintainers":[{"name":"farhan212121","email":"fmuh8402@gmail.com"}],"dist":{"shasum":"9ace6d8c117c4e9f0702df42d306b67f3d647e66","tarball":"https://registry.npmjs.org/@aem-kit/templates/-/templates-2.0.0.tgz","fileCount":236,"integrity":"sha512-prIt3R82LgAxXihE/bo/bJW2dx/zLAlg5yA+h1rRP7cIGzft2eODYywE6s8qq4iBXxSlAcBKbIscDWztkO5LEg==","signatures":[{"sig":"MEQCIBXX7W+E3d2vj0XkP79/8HC7A5K2hX9z4p4VM0A1NfEaAiA454JlJ/s3he2c5xm6RJ1dRt4f0fGOZVDeUTa2u4UzvQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":401739},"main":"index.mjs","type":"module","engines":{"node":">=22"},"exports":{".":"./index.mjs"},"gitHead":"c0d9b478732105743f3bdfc0706c32aa0d21b840","_npmUser":{"name":"farhan212121","email":"fmuh8402@gmail.com"},"_npmVersion":"11.16.0","description":"AEM project templates emitted by create-aem-enterprise (Monolith, Multi-repo, React, Angular, Spring Boot, AEMaaCS overlay).","directories":{},"_nodeVersion":"24.18.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/templates_2.0.0_1784896674107_0.08768665640398488","host":"s3://npm-registry-packages-npm-production"}},"2.1.0":{"name":"@aem-kit/templates","version":"2.1.0","description":"AEM project templates emitted by create-aem-enterprise (Monolith, Multi-repo, React, Angular, Spring Boot, AEMaaCS overlay).","type":"module","main":"index.mjs","exports":{".":"./index.mjs"},"engines":{"node":">=22"},"publishConfig":{"access":"public"},"license":"MIT","gitHead":"9abe033fc12070ec0ed8c0168268d21e709d865e","_id":"@aem-kit/templates@2.1.0","_nodeVersion":"24.18.0","_npmVersion":"11.16.0","dist":{"integrity":"sha512-+eOhP+RO9qFDGijuBpsccl2N1fQ9LexdwLfagO046OkiFYL3LGptvtohpfxtgVX0dMImLxEZUwuiKohjvI8nEg==","shasum":"b36c757a0938f79524a8188199cc92db25ede94f","tarball":"https://registry.npmjs.org/@aem-kit/templates/-/templates-2.1.0.tgz","fileCount":237,"unpackedSize":407290,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIBeph9sAbfGnKVlXsF3Vn4AEKQOtfL9XevrkLND+YE+nAiEAg5PXcpNDJyEbzsqCusSqZ7f+zyq2Xy07MkegAflER7k="}]},"_npmUser":{"name":"farhan212121","email":"fmuh8402@gmail.com"},"directories":{},"maintainers":[{"name":"farhan212121","email":"fmuh8402@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/templates_2.1.0_1785068994662_0.40713967804260975"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-21T06:01:42.215Z","modified":"2026-07-26T12:29:54.997Z","1.0.0":"2026-07-21T06:01:42.525Z","1.0.1":"2026-07-21T06:12:32.666Z","1.0.2":"2026-07-21T07:19:01.958Z","1.0.3":"2026-07-21T09:08:01.544Z","1.0.4":"2026-07-21T09:39:40.487Z","1.0.5":"2026-07-22T16:52:16.271Z","1.0.6":"2026-07-22T17:30:20.030Z","1.0.7":"2026-07-22T18:28:58.383Z","2.0.0":"2026-07-24T12:37:54.268Z","2.1.0":"2026-07-26T12:29:54.811Z"},"license":"MIT","description":"AEM project templates emitted by create-aem-enterprise (Monolith, Multi-repo, React, Angular, Spring Boot, AEMaaCS overlay).","maintainers":[{"name":"farhan212121","email":"fmuh8402@gmail.com"}],"readme":"# @aem-kit/templates\n\nThe AEM project **templates** emitted by\n[`@aem-kit/create-project`](https://www.npmjs.com/package/@aem-kit/create-project).\nEach is a complete, buildable-shaped multi-module Maven project. The wizard\npicks the tree(s) to scaffold from your answers.\n\nPart of the [AEM Enterprise Engineering Kit](https://www.npmjs.com/package/aem-kit).\n\n## What's inside\n\nThere are **two base repo types**; frontend and backend are **choices applied\nas overlays**, not separate templates.\n\n```\nmonorepo/            Base unified AEM repo — traditional baseline (HTL + JS Use-API, UnoCSS)\nmultirepo/\n  general/           Foundation repo (common components, styles, utils, base template)\n  backend/           API repo (bin-API servlets, integrations)\n  child/             Cloned by `aem multirepo create <category>` (dynamic child)\nfrontends/\n  react/  angular/   Frontend OVERLAYS — swap ui.frontend + the page component\nbackends/\n  spring-boot-proxy/ Backend OVERLAY — turns the bin API into a Spring Boot proxy\nspringboot/service/  Spring Boot 3 microservice, cloned by `aem springboot create service <name>`\noverlays/\n  aemaacs/           ui.config (runmode OSGi) + dispatcher.cloud (added when opted in)\n```\n\nEvery AEM tree mirrors the same module shape (`core / ui.apps / ui.content /\nui.frontend / all`) plus `config/` (Checkstyle), `.githooks/`, and `.github/`.\n\nTarget: AEM 6.5 (uber-jar `apis` 6.5.5), Core Components 2.24.x, Java 11; the\nSpring Boot service targets Java 17 / Spring Boot 3.\n\n## How templates compose\n\n`resolveTemplate(answers)` returns `{ baseJobs, removals, overlayJobs }`:\n\n1. **Base** — `monorepo/`, or `multirepo/general` + `multirepo/backend`.\n2. **Removals** — for a react/angular frontend, the base's `ui.frontend`, page\n   component and default clientlib are deleted first.\n3. **Overlays** — the chosen `frontends/<fe>` (onto the site repo), then\n   `backends/spring-boot-proxy` (onto the API repo) when backend = spring-boot,\n   then `overlays/aemaacs` when opted in. A starter `springboot/service` is also\n   copied to `services/<artifact>-service`.\n\n| architecture | frontend | backend | result |\n|--------------|----------|---------|--------|\n| monorepo | traditional | servlet | `monorepo/` |\n| monorepo | react | spring-boot | `monorepo/` + `frontends/react` + `backends/spring-boot-proxy` + starter service |\n| multirepo | angular | servlet | `general` + `backend`, `frontends/angular` → general |\n\n`reposToInit(answers)` lists the directories that each get their own `git init`\n(multi-repo repos and Spring Boot services are independent repos).\n\n## Usage\n\nThis package is a **template payload**, not a runnable tool. Use it via the\nwizard, which rewrites the identifiers to your project:\n\n```bash\nnpm create aem-enterprise\n```\n\nProgrammatic access to the templates:\n\n```js\nimport { templates, resolveTemplate, templateDefaults } from \"@aem-kit/templates\";\n// templates.monolith, templates.react, templates.multirepoGeneral, ...\n// resolveTemplate(answers) → { jobs: [{from, to}], primaryTo }\n```\n\n> Note: the template ships its `.gitignore` as a file named `gitignore`\n> (npm strips literal `.gitignore` from tarballs); the scaffolder restores the\n> dot on generation.\n\n## Related packages\n\n| Package | Purpose |\n|---------|---------|\n| [`@aem-kit/create-project`](https://www.npmjs.com/package/@aem-kit/create-project) | Scaffold a new AEM project (consumes this template) |\n| [`aem-kit`](https://www.npmjs.com/package/aem-kit) | The `aem` CLI — generators, doctor, deploy |\n| [`@aem-kit/generators`](https://www.npmjs.com/package/@aem-kit/generators) | Component / model / servlet / service generators |\n| **`@aem-kit/templates`** | The project template (this package) |\n| [`@aem-kit/shared`](https://www.npmjs.com/package/@aem-kit/shared) | Shared utilities |\n\n## License\n\nMIT\n","readmeFilename":"README.md"}