Skip to content

Commit

Permalink
feat: use aem.js (#255)
Browse files Browse the repository at this point in the history
  • Loading branch information
kptdobe authored Oct 2, 2023
1 parent e01c2b4 commit f5ab4df
Show file tree
Hide file tree
Showing 12 changed files with 423 additions and 420 deletions.
2 changes: 1 addition & 1 deletion 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<meta property="og:title" content="Page not found">
<script src="/scripts/scripts.js" type="module" crossorigin="use-credentials"></script>
<script type="module">
import { sampleRUM } from '/scripts/lib-franklin.js';
import { sampleRUM } from '/scripts/aem.js';

window.addEventListener('load', () => {
if (document.referrer) {
Expand Down
22 changes: 11 additions & 11 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,35 +1,35 @@
## [1.2.2](https://github.com/elc9aya2ls612j/helix-project-boilerplate/compare/v1.2.1...v1.2.2) (2023-06-29)
## [1.2.2](https://github.com/elc9aya2ls612j/aem-boilerplate/compare/v1.2.1...v1.2.2) (2023-06-29)


### Bug Fixes

* **github:** use double quotes ([d7e285d](https://github.com/elc9aya2ls612j/helix-project-boilerplate/commit/d7e285dbb452617a5166569f91da4cb376548a38))
* **github:** use double quotes ([d7e285d](https://github.com/elc9aya2ls612j/aem-boilerplate/commit/d7e285dbb452617a5166569f91da4cb376548a38))

## [1.2.1](https://github.com/elc9aya2ls612j/helix-project-boilerplate/compare/v1.2.0...v1.2.1) (2023-06-29)
## [1.2.1](https://github.com/elc9aya2ls612j/aem-boilerplate/compare/v1.2.0...v1.2.1) (2023-06-29)


### Bug Fixes

* **github:** create and ignore bak files ([ac087b6](https://github.com/elc9aya2ls612j/helix-project-boilerplate/commit/ac087b61d3e44910d980b0d9e7aead0f2ed83873))
* **github:** create and ignore bak files ([ac087b6](https://github.com/elc9aya2ls612j/aem-boilerplate/commit/ac087b61d3e44910d980b0d9e7aead0f2ed83873))

# [1.2.0](https://github.com/elc9aya2ls612j/helix-project-boilerplate/compare/v1.1.0...v1.2.0) (2023-06-29)
# [1.2.0](https://github.com/elc9aya2ls612j/aem-boilerplate/compare/v1.1.0...v1.2.0) (2023-06-29)


### Features

* **github:** populate pull request template ([4ccb759](https://github.com/elc9aya2ls612j/helix-project-boilerplate/commit/4ccb7592a84fdc0d3d234fc4da5bdf94a026ff1d))
* **github:** populate pull request template ([4ccb759](https://github.com/elc9aya2ls612j/aem-boilerplate/commit/4ccb7592a84fdc0d3d234fc4da5bdf94a026ff1d))

# [1.1.0](https://github.com/elc9aya2ls612j/helix-project-boilerplate/compare/v1.0.5...v1.1.0) (2023-06-29)
# [1.1.0](https://github.com/elc9aya2ls612j/aem-boilerplate/compare/v1.0.5...v1.1.0) (2023-06-29)


### Features

* **github:** remove dependencies upon fork, fill in readme ([7e60519](https://github.com/elc9aya2ls612j/helix-project-boilerplate/commit/7e60519c8ea97640bcb064cb3592990989fe10ef))
* **github:** remove dependencies upon fork, fill in readme ([7e60519](https://github.com/elc9aya2ls612j/aem-boilerplate/commit/7e60519c8ea97640bcb064cb3592990989fe10ef))

## [1.0.5](https://github.com/elc9aya2ls612j/helix-project-boilerplate/compare/v1.0.4...v1.0.5) (2023-06-29)
## [1.0.5](https://github.com/elc9aya2ls612j/aem-boilerplate/compare/v1.0.4...v1.0.5) (2023-06-29)


### Bug Fixes

* trigger release ([2c3244f](https://github.com/elc9aya2ls612j/helix-project-boilerplate/commit/2c3244fc181fd900293bbd7e67ab8e68e5d83d5d))
* trigger release ([5ac78b0](https://github.com/elc9aya2ls612j/helix-project-boilerplate/commit/5ac78b07955c0b75a37dfb293a5d616b7bdaffba))
* trigger release ([2c3244f](https://github.com/elc9aya2ls612j/aem-boilerplate/commit/2c3244fc181fd900293bbd7e67ab8e68e5d83d5d))
* trigger release ([5ac78b0](https://github.com/elc9aya2ls612j/aem-boilerplate/commit/5ac78b07955c0b75a37dfb293a5d616b7bdaffba))
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ npm run lint

## Local development

1. Create a new repository based on the `helix-project-boilerplate` template and add a mountpoint in the `fstab.yaml`
1. Add the [helix-bot](https://github.com/apps/helix-bot) to the repository
1. Create a new repository based on the `aem-boilerplate` template and add a mountpoint in the `fstab.yaml`
1. Add the [AEM Code Sync GitHub App](https://github.com/apps/aem-code-sync) to the repository
1. Install the [Helix CLI](https://github.com/adobe/helix-cli): `npm install -g @adobe/helix-cli`
1. Start Franklin Proxy: `hlx up` (opens your browser at `http://localhost:3000`)
1. Start AEM Proxy: `aem up` (opens your browser at `http://localhost:3000`)
1. Open the `{repo}` directory in your favorite IDE and start coding :)
2 changes: 1 addition & 1 deletion blocks/cards/cards.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { createOptimizedPicture } from '../../scripts/lib-franklin.js';
import { createOptimizedPicture } from '../../scripts/aem.js';

export default function decorate(block) {
/* change to ul, li */
Expand Down
2 changes: 1 addition & 1 deletion blocks/footer/footer.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { readBlockConfig, decorateIcons } from '../../scripts/lib-franklin.js';
import { readBlockConfig, decorateIcons } from '../../scripts/aem.js';

/**
* loads and decorates the footer
Expand Down
2 changes: 1 addition & 1 deletion blocks/header/header.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { getMetadata, decorateIcons } from '../../scripts/lib-franklin.js';
import { getMetadata, decorateIcons } from '../../scripts/aem.js';

// media query match that indicates mobile/tablet width
const isDesktop = window.matchMedia('(min-width: 900px)');
Expand Down
2 changes: 1 addition & 1 deletion head.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<script src="/scripts/lib-franklin.js" type="module"></script>
<script src="/scripts/aem.js" type="module"></script>
<script src="/scripts/scripts.js" type="module"></script>
<link rel="stylesheet" href="/styles/styles.css"/>
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@adobe/helix-project-boilerplate",
"name": "@adobe/aem-boilerplate",
"private": true,
"version": "1.2.2",
"description": "Starter project for Adobe Helix",
Expand All @@ -11,14 +11,14 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/adobe/helix-project-boilerplate.git"
"url": "git+https://github.com/adobe/aem-boilerplate.git"
},
"author": "Adobe",
"license": "Apache License 2.0",
"bugs": {
"url": "https://github.com/adobe/helix-project-boilerplate/issues"
"url": "https://github.com/adobe/aem-boilerplate/issues"
},
"homepage": "https://github.com/adobe/helix-project-boilerplate#readme",
"homepage": "https://github.com/adobe/aem-boilerplate#readme",
"devDependencies": {
"@semantic-release/changelog": "6.0.3",
"@semantic-release/exec": "6.0.3",
Expand Down
Loading

0 comments on commit f5ab4df

Please sign in to comment.