Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syncing from Upstream #123

Open
wants to merge 290 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
290 commits
Select commit Hold shift + click to select a range
a5fef7f
Merge pull request #325 from adobe/update-lib-aem-patch-1-5-1
fkakatie Mar 13, 2024
6e764c1
Add recommendations block with ACDL (#11)
herzog31 Mar 15, 2024
2dfc035
Add storefront events SDK and collector (#21)
herzog31 Mar 15, 2024
88cedae
Merge branch 'main' of github.com:adobe/aem-boilerplate
herzog31 Mar 15, 2024
2413ba1
chore(deps): update dependency stylelint to v16.2.1 (#324)
renovate[bot] Mar 18, 2024
7eca224
chore(deps): update dependency chai to v5.1.0 (#328)
renovate[bot] Mar 18, 2024
5aad660
chore(deps): update babel monorepo (#329)
renovate[bot] Mar 18, 2024
7504c5d
chore(deps): update dependency eslint to v8.57.0 (#333)
renovate[bot] Mar 18, 2024
8bb30c5
Update .hlxignore (#45)
herzog31 Mar 21, 2024
e86b5ad
Merge branch 'main' of github.com:adobe/aem-boilerplate
herzog31 Mar 21, 2024
152fab7
chore(deps): update dependency stylelint to v16.3.1 (#341)
renovate[bot] Apr 3, 2024
e076487
chore(deps): update babel monorepo (#340)
renovate[bot] Apr 3, 2024
ad6f113
Update cleanup-on-create.yaml
gargadobe Apr 4, 2024
945c725
Update cleanup-on-create.yaml
gargadobe Apr 4, 2024
de3f824
Update cleanup-on-create.yaml
gargadobe Apr 4, 2024
34be78b
chore(deps): update dependency @babel/core to v7.24.4 (#342)
renovate[bot] Apr 4, 2024
f5198b5
fix: header/footer fragment loading (#13)
buuhuu Apr 9, 2024
57e6594
Merge branch 'main' of github.com:adobe/aem-boilerplate
herzog31 Apr 11, 2024
4507539
chore: unify header/footer decoration
fkakatie Apr 12, 2024
72e2aa5
Merge pull request #346 from Buuhuu/fix-header-footer-loading
fkakatie Apr 12, 2024
1449ba1
chore: merge
fkakatie Apr 15, 2024
1043b03
Merge pull request #347 from adobe/unify-head-foot
fkakatie Apr 15, 2024
6de469b
Merge branch 'adobe:main' into main
gargadobe Apr 15, 2024
60e6882
Add page view event (#47)
herzog31 Apr 16, 2024
84e2449
Fix filters of custom PLP block
herzog31 Apr 17, 2024
1dfe176
Merge branch 'main' of github.com:adobe/aem-boilerplate
herzog31 Apr 17, 2024
b5c3938
fix(lib): update scripts/aem.js to [email protected]
semantic-release-bot Apr 17, 2024
3a81533
Merge pull request #350 from adobe/update-lib-aem-patch-1-5-4
trieloff Apr 17, 2024
3f1e570
Merge branch 'main' of github.com:adobe/aem-boilerplate
herzog31 Apr 18, 2024
8fc9e9b
Merge pull request #344 from gargadobe/main
trieloff Apr 19, 2024
7e72d62
Merge branch 'main' of github.com:adobe/aem-boilerplate
herzog31 Apr 19, 2024
08a03db
fix: cards fail if text contains an icon
buuhuu Apr 19, 2024
c18ef3e
fix(404): do not include target, as it is redundant with URL
trieloff Apr 24, 2024
cb55461
Merge pull request #357 from adobe/404-target
trieloff May 7, 2024
2a2462c
Merge branch 'main' of github.com:adobe/aem-boilerplate
herzog31 May 7, 2024
c0cc8ec
feat: add experimentation plugin (#24)
ramboz May 13, 2024
898ea79
Add getConsent method (#53)
herzog31 May 21, 2024
8594b76
Bulk improvements (#57)
herzog31 May 22, 2024
c09ad01
fix: clarify eslint rules
fkakatie May 24, 2024
ac33e79
feat: add quote parity with eslint in stylelint
fkakatie May 24, 2024
9bd21a0
chore: lint
fkakatie May 24, 2024
892e3f0
fix: remove unused rule
fkakatie May 24, 2024
6b99daa
fix: remove deprecated root var
fkakatie May 24, 2024
4be1344
feat: added updated fonts
fkakatie May 24, 2024
7a260c0
fix: apply s2 font styles
fkakatie May 24, 2024
afee66e
fix: increase body font size
fkakatie May 24, 2024
7b3ab37
chore: unify color vars against s2 spec
fkakatie May 24, 2024
d105bef
fix: increase color contrast between bg and link
fkakatie May 24, 2024
5722538
fix: increase contrast between link and text
fkakatie May 24, 2024
7d4fc38
Merge branch 'main' of github.com:adobe/aem-boilerplate
herzog31 May 27, 2024
d59bbce
Add PDP Dropin (#59)
herzog31 May 29, 2024
4a3d34f
fix: unify container padding, margins, radius
fkakatie May 29, 2024
5f4dde6
chore(deps): update dependency stylelint to v16.6.1 (#356)
renovate[bot] Jun 5, 2024
d611f99
chore(deps): update babel monorepo to v7.24.6 (#358)
renovate[bot] Jun 5, 2024
94d6c3f
chore(deps): update dependency chai to v5.1.1 (#360)
renovate[bot] Jun 5, 2024
7ea508f
chore(deps): update babel monorepo to v7.24.7 (#367)
renovate[bot] Jun 5, 2024
a7122e2
Merge branch 'main' of github.com:adobe/aem-boilerplate
herzog31 Jun 6, 2024
ff56cb8
Update README.md
herzog31 Jun 6, 2024
51acbed
fix: link color meets background AND text contrast reqs
fkakatie Jun 6, 2024
72b31eb
chore: remove unused dep (#368)
kptdobe Jun 7, 2024
ee9d9b0
Merge branch 'main' of github.com:adobe/aem-boilerplate
herzog31 Jun 7, 2024
b6b98b8
Split config files (#62)
herzog31 Jun 13, 2024
dfe221a
fix: close the nav when it loses focus, e.g keyboard user tabs out of it
shsteimer Jun 13, 2024
d0580fe
Add placeholders to PDP (#65)
herzog31 Jun 14, 2024
7fde5a3
Improve product recommendations (#67)
herzog31 Jun 14, 2024
232d7d7
fix: manual patch of sampleRUM (#370)
kptdobe Jun 18, 2024
01f1e47
Merge branch 'main' of github.com:adobe/aem-boilerplate
herzog31 Jun 20, 2024
7302e01
Remove nullsearch RUM event (#69)
herzog31 Jun 26, 2024
4cc1faa
feat: better error tracking (#375)
kptdobe Jun 27, 2024
52f17c9
Add PDP events (#68)
alandana Jun 28, 2024
fd5f9e1
Merge branch 'main' of github.com:adobe/aem-boilerplate
herzog31 Jun 28, 2024
c633b9e
feat(lib): update scripts/aem.js to [email protected] (#378)
adobe-bot Jul 1, 2024
0535144
Merge branch 'main' of github.com:adobe/aem-boilerplate
herzog31 Jul 2, 2024
7dfabd7
Update AEM CLI
herzog31 Jul 5, 2024
511d365
add wishlist implementation (#70)
hannessolo Jul 9, 2024
245da6d
Fix invalid storefront events (#76)
herzog31 Jul 10, 2024
0c3cd2f
Remove renderLabel from custom PDP
herzog31 Jul 10, 2024
fe8d9c9
Update PDP to v0.3.0 (#79)
alandana Jul 12, 2024
314ae68
Fix PDP 404 pages (#71)
herzog31 Jul 12, 2024
caa123b
feat: section loader
davidnuescheler Jul 16, 2024
88af1ef
chore(deps): update dependency stylelint to v16.7.0 (#381)
renovate[bot] Jul 16, 2024
b20ffad
chore(deps): update dependency @babel/eslint-parser to v7.24.8 (#380)
renovate[bot] Jul 16, 2024
f9f0cda
chore(deps): update dependency stylelint-config-standard to v36.0.1 (…
renovate[bot] Jul 16, 2024
bd22328
feat(lib): update scripts/aem.js to [email protected] (#383)
adobe-bot Jul 16, 2024
8f226c2
feat: use rum js v2 (#371)
kptdobe Jul 16, 2024
263805f
Merge branch 'main' of github.com:adobe/aem-boilerplate
herzog31 Jul 16, 2024
f3bc8e8
Multiple Storefront Event Fixes (#82)
herzog31 Jul 17, 2024
4b2afc7
Add PDP metadata script (#72)
herzog31 Jul 18, 2024
b7f7b9a
Remove default query params for custom PLP (#81)
herzog31 Jul 18, 2024
24a849d
Remove case changes from product SKUs (#84)
herzog31 Jul 19, 2024
040cd07
Fix loading of dropins with speculation rule pre-rendering (#86)
herzog31 Jul 25, 2024
e4d9117
fix: prevent soft 404 errors (#89)
dicagno Jul 29, 2024
516d856
Merge pull request #362 from adobe/unify-font
fkakatie Jul 30, 2024
fa63d2e
Merge branch 'main' into unify-color
fkakatie Jul 30, 2024
3fd179a
fix: a11y contrast fix
fkakatie Jul 30, 2024
91f0171
chore: lint
fkakatie Jul 30, 2024
1fb21ab
fix: a styles
fkakatie Jul 30, 2024
bb8e1bd
Merge pull request #363 from adobe/unify-color
fkakatie Jul 30, 2024
89875ad
Merge branch 'main' into unify-containers
fkakatie Jul 30, 2024
3e83daa
Merge pull request #364 from adobe/unify-containers
fkakatie Jul 30, 2024
82a84c5
Merge branch 'main' into issue-304-header-footer-cls
fkakatie Jul 30, 2024
8676c36
Merge pull request #305 from shsteimer/issue-304-header-footer-cls
fkakatie Jul 30, 2024
555e045
Merge pull request #354 from buuhuu/fix-cards-text-with-icon
fkakatie Jul 30, 2024
980829d
chore: lint
fkakatie Jul 30, 2024
66f47c4
Merge pull request #369 from shsteimer/header-nav-a11y-fix
fkakatie Jul 30, 2024
aaa920b
chore: a11y colors
fkakatie Aug 1, 2024
d83608a
fix: border color on cards
fkakatie Aug 1, 2024
d01adf4
fix: a11y header, ul > li role
fkakatie Aug 1, 2024
c0f0641
fix(lib): update scripts/aem.js to [email protected] (#388)
adobe-bot Aug 13, 2024
fd1eb97
chore(deps): update dependency @babel/eslint-parser to v7.25.1 (#385)
renovate[bot] Aug 13, 2024
1195d26
chore(deps): update dependency stylelint to v16.8.1 (#386)
renovate[bot] Aug 13, 2024
2b74bad
chore: add editor config (#353)
sippsolutions Aug 14, 2024
2c67bed
updating url to .aem.live from .hlx.live
kmurugulla Aug 19, 2024
0f5aeb0
docs: updating the preview and live urls in readme to .aem.page and .…
kmurugulla Aug 19, 2024
8f569fa
fix(lib): update scripts/aem.js to [email protected] (#391)
adobe-bot Aug 22, 2024
f6e144d
chore(deps): update dependency stylelint to v16.8.2 (#389)
renovate[bot] Aug 22, 2024
bafeb72
Merge branch 'main' of github.com:adobe/aem-boilerplate
herzog31 Aug 30, 2024
b981163
docs(readme): use correct AEM Live link
trieloff Sep 2, 2024
177810e
Merge pull request #396 from adobe/trieloff-patch-2
trieloff Sep 2, 2024
220bc9b
chore(github): update pull request template to use aem.live
trieloff Sep 2, 2024
14c20e9
Merge branch 'main' of github.com:adobe/aem-boilerplate
herzog31 Sep 9, 2024
5c6ad40
Remove catalog service preconnect tags (#97)
herzog31 Sep 13, 2024
40fe81e
uses proper domain to determine config loading
sirugh Sep 16, 2024
0f0d9f4
Added missing run-e2e-tests.yaml file to GH workflows (#109)
bl4de Sep 23, 2024
9577511
Revert "Added missing run-e2e-tests.yaml file to GH workflows (#109)"
sirugh Sep 23, 2024
7312419
Merge pull request #390 from kmurugulla/update-helix-urls
kmurugulla Sep 24, 2024
6095ff0
render json ld to products metadata sheet (#105)
hannessolo Sep 25, 2024
08080d9
Merge branch 'main' of github.com:adobe/aem-boilerplate
herzog31 Sep 26, 2024
a6c6133
Allow customizing the API url for product listing page widget (#120)
herzog31 Oct 4, 2024
d5788fc
Update API url of search as you type widget (#121)
herzog31 Oct 8, 2024
a6b6505
Add support for multiple configs to product picker (#122)
herzog31 Oct 8, 2024
5f6344f
[PDP] updated PDP to latest (#93)
alandana Oct 10, 2024
2c2c6e1
chore: update commerce-events-collector to 1.11.0 (#128)
sirugh Oct 10, 2024
4145902
Update hostname for metadata script
herzog31 Oct 10, 2024
39a6070
Fixes for Prex events (#130)
herzog31 Oct 11, 2024
f4e8c5a
Add expiry to config session storage cache (#78)
herzog31 Oct 14, 2024
5bb132d
chore(deps): update dependency eslint to v8.57.1 (#401)
renovate[bot] Oct 17, 2024
f66d1b0
chore(deps): update dependency eslint-plugin-import to v2.31.0 (#397)
renovate[bot] Oct 17, 2024
1a18605
chore(deps): update dependency @babel/eslint-parser to v7.25.8 (#407)
renovate[bot] Oct 17, 2024
7e2b9a2
chore(deps): update dependency stylelint to v16.10.0 (#395)
renovate[bot] Oct 17, 2024
194070f
fix(lib): update scripts/aem.js to [email protected] (#420)
adobe-bot Oct 17, 2024
bc700f5
feat: remove unnecessary sampleRUM.enhance (#418)
kptdobe Oct 17, 2024
b8ee91e
Merge branch 'main' of github.com:adobe/aem-boilerplate
herzog31 Oct 17, 2024
5e7bd30
chore(deps): update dependency @babel/eslint-parser to v7.25.9 (#421)
renovate[bot] Oct 28, 2024
8631100
Merge branch 'main' of github.com:adobe/aem-boilerplate
herzog31 Oct 31, 2024
dca8aff
Update recommendationsContext and productContext to include only requ…
herzog31 Oct 31, 2024
59834f8
fixed placeholders (#172)
fnhipster Nov 7, 2024
f8e50e1
Fix PRex on cart page (#178)
herzog31 Nov 8, 2024
da907b2
fix(lib): update scripts/aem.js to [email protected] (#431)
adobe-bot Nov 18, 2024
0bf4a13
Add robots.txt (#87)
herzog31 Nov 18, 2024
e6f529f
Merge branch 'main' of github.com:adobe/aem-boilerplate
herzog31 Nov 18, 2024
f95aa0a
chore(doc): link to key documentation pages
kptdobe Nov 21, 2024
934b5e7
chore: rename
kptdobe Nov 21, 2024
cec54a9
Add preact and htm to postinstall (#211)
herzog31 Nov 21, 2024
74950b3
Merge pull request #435 from adobe/doc
fkakatie Nov 21, 2024
d516736
Merge branch 'main' of github.com:adobe/aem-boilerplate
herzog31 Nov 25, 2024
6cc6c93
Include last-modified in metadata (#210)
herzog31 Nov 26, 2024
1082959
Add null check for product recommendation image (#217)
herzog31 Nov 27, 2024
a7e477e
Add sitemap index
herzog31 Dec 6, 2024
ed7a9d4
Add sitemap config
herzog31 Dec 6, 2024
c6a7d76
Update helix-query.yaml
herzog31 Dec 6, 2024
50dd54b
Update robots with new sitemap
herzog31 Dec 6, 2024
415424c
Add GSC validation
herzog31 Dec 6, 2024
d9a744d
Remove GSC validation
herzog31 Dec 6, 2024
84b6a39
chore(deps): update dependency stylelint to v16.11.0 (#436)
renovate[bot] Dec 9, 2024
c49fd4d
🛒 Commerce Dropins 🛒 (#95)
sirugh Dec 13, 2024
63a24ad
Merge branch 'main' of github.com:adobe/aem-boilerplate
herzog31 Dec 16, 2024
323201f
Remove domain verification
herzog31 Dec 16, 2024
7e7dc52
fix recs test
sirugh Dec 16, 2024
9eee699
Update commerce-events packages
herzog31 Dec 16, 2024
6b3b38f
DA Live Preview (#256)
auniverseaway Dec 16, 2024
8acdea0
chore: use default sheets and named config files (#262)
sirugh Dec 16, 2024
19d1799
Add cypress test for cart event (#263)
anthoula Dec 16, 2024
878dbbb
chore(deps): update dependency stylelint to v16.12.0 (#440)
renovate[bot] Dec 24, 2024
1f1e251
Merge branch 'main' of github.com:adobe/aem-boilerplate
herzog31 Jan 6, 2025
b97180d
Update Cart to 1.0.2 (#274)
cctina516 Jan 10, 2025
4d736e8
USF-1877: Headers from config (#267)
sirugh Jan 15, 2025
6c1b7fe
update packages to 0.39.0 (#277)
anthoula Jan 16, 2025
d08947a
Update README.md (#280)
sivaschenko Jan 21, 2025
b3d7737
update readme on updating drop-in dependencies
sirugh Jan 28, 2025
88be2b6
LYNX-670: Sidekick plugin for browsing and combining personalisation …
bl4de Jan 28, 2025
d69975f
LYNX-670: Update default environemnt for plugin (#284)
bl4de Jan 28, 2025
7c18ca3
Update README.md
sirugh Jan 28, 2025
8fca97f
Update order, account and auth dropins to 1.0.2 (#268)
Ferri0 Jan 28, 2025
d7f637f
LYNX-670: Bugfixes for Sidekick Personalisation plugin
bl4de Jan 28, 2025
60a2114
chore: update experimentation plugin to version 1.0.3 with semantic r…
fnhipster Jan 28, 2025
260cfa1
LYNX-671: Personalisation implementation in boilerplate (#288)
sivaschenko Feb 4, 2025
0338293
LYNX-718: Sidekick Personalisation plugin - Catalog Rules, Cart Rules…
bl4de Feb 4, 2025
8b8ece5
update packages to 0.40.0 (#296)
anthoula Feb 4, 2025
5130dda
Update picker dependencies (#298)
herzog31 Feb 5, 2025
a43bb68
LYNX-736: Displaying only one dynamic block for each specified type (…
sivaschenko Feb 6, 2025
d8a4751
skip if not on template repo (#303)
sirugh Feb 6, 2025
b22f347
LYNX-742: Handle targeted blocks before cart is initialised (#304)
sivaschenko Feb 6, 2025
70d9be5
Bump Auth/Account to 1.0.3 and Order to 1.0.4 (#293)
KostiantynFandeliuk Feb 6, 2025
59c597e
PAY-5859: Incorporate Credit Card Drop-in (#295)
jaumecapdevila Feb 7, 2025
da10e1f
PAY-5859: Fixed typo (#308)
mcocapiza Feb 7, 2025
e8ae318
LYNX-745: Targeted Block not being displayed due to events order issu…
sivaschenko Feb 7, 2025
8652022
basic devcontainer for solution
superterran Feb 9, 2025
9b95d97
pointing to blueacorn sharepoint version of content
superterran Feb 9, 2025
bff4dd2
tracks a standalone readme
superterran Feb 9, 2025
8c8d36a
uses the adobe content mount for now
superterran Feb 9, 2025
f0eb5aa
adds commerce urls to mix
superterran Feb 9, 2025
3fcd636
hlx.blah to reflect the aem-cli reporting
superterran Feb 9, 2025
9950299
LYNX-734: Correct GraphQL type name CustomerGroup -> customerGroup (#…
sivaschenko Feb 10, 2025
937a8a2
USF-1990 Update home page design with relevant content and images (#310)
OscarMerino Feb 10, 2025
8655115
LYNX-738: Add Catalog Price Rules Support for Targeted Blocks (#305)
bl4de Feb 11, 2025
b8813cf
New Checkout version v1.2.0 (#313)
mcocapiza Feb 11, 2025
717a00d
LYNX-755: Error when requesting segments for non-default store (#314)
sivaschenko Feb 11, 2025
37d4167
Update cart to 1.0.3 (#315)
cctina516 Feb 11, 2025
3df82c1
track product view mutation (#317)
eliseacornejo Feb 13, 2025
97f0d74
points to our google drive instance for evergreen
superterran Feb 13, 2025
cb82a37
updates fstab
superterran Feb 14, 2025
14cfd2a
Update fstab.yaml
superterran Feb 14, 2025
ec461ad
Merge remote-tracking branch 'upstream/main' into google-drive
superterran Feb 15, 2025
06b1f03
Merge remote-tracking branch 'origin/main'
superterran Feb 15, 2025
a2d8bb9
switches back to google drive
superterran Feb 15, 2025
df55a4d
initial commit of store locator shared block
superterran Feb 16, 2025
e149cc0
brings in a proper dataset
superterran Feb 16, 2025
708479c
details our technical approach for the store locator solution
superterran Feb 16, 2025
3c49b08
adds note about app builder
superterran Feb 16, 2025
b2ee29b
adds a blueacorn icon for the header
superterran Feb 16, 2025
d0ea569
adds link to the preview experience on the locator branch
superterran Feb 16, 2025
0539532
builds a basic table from the stores dataset
superterran Feb 16, 2025
5c40eaf
introduces leaflet embed
superterran Feb 16, 2025
6a8c657
stubs out a basic store locator experience
superterran Feb 16, 2025
77ba977
updates callout to blueacorn
superterran Feb 16, 2025
b56e085
points to hlx.live
superterran Feb 16, 2025
32f7435
adds todo to readme for adminuisdk
superterran Feb 16, 2025
122966a
moves all javascript to the store locator block
superterran Feb 17, 2025
fa8c9a9
introduces a yotpo block
superterran Feb 17, 2025
775f8de
Yotpo README
superterran Feb 17, 2025
ef5a3d2
adds a few more todos
superterran Feb 17, 2025
928d2d4
points to main branch
superterran Feb 17, 2025
9a71596
fixes link
superterran Feb 17, 2025
5690386
fix import in PDP metadata
Feb 17, 2025
87b0b0a
minor header styling cleanup
Feb 18, 2025
5c0ad75
might as well track the config we need
superterran Feb 18, 2025
dfc8a33
Merge remote-tracking branch 'origin/main'
superterran Feb 18, 2025
e2d1ffb
removing unused configuration files per adobes instructions now that …
Feb 19, 2025
d0f03e0
get yotpo config from EDS
Feb 20, 2025
8aa8f64
Merge pull request #1 from BlueAcornInc/b
sam-dc-work Feb 24, 2025
faff2d6
added Lovesac stores to EDS, markers on the map, star rating function…
Feb 26, 2025
afd363e
minor header style/bug fixes
Feb 26, 2025
4ba5d4c
adds blueacorn-styles.css
superterran Feb 27, 2025
87df101
Merge remote-tracking branch 'origin/main'
superterran Feb 27, 2025
7b53112
moves the readme back
superterran Feb 27, 2025
cf2de3c
updates to aem.live and aem.page
superterran Feb 27, 2025
a5cd626
Rename Design Patterns.md to Design_Patterns.md
superterran Feb 27, 2025
002e512
hard coded values / working yotpo
Feb 28, 2025
ed28637
dynamic yotpo widget config
Feb 28, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
24 changes: 24 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
FROM mcr.microsoft.com/devcontainers/base:jammy

USER vscode

ARG NODE_VERSION

RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash && \
export NVM_DIR="$HOME/.nvm" && \
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" && \
nvm install $NODE_VERSION && \
nvm use $NODE_VERSION && \
npm install -g npm@latest

ENV NODE_PATH $NVM_DIR/versions/node/$NODE_VERSION/lib/node_modules
ENV PATH $NVM_DIR/versions/node/$NODE_VERSION/bin:$PATH

RUN export NVM_DIR="$HOME/.nvm" && \. "$NVM_DIR/nvm.sh" && \
npm install -g @adobe/aio-cli

RUN export NVM_DIR="$HOME/.nvm" && \. "$NVM_DIR/nvm.sh" && \
aio telemetry yes && \
aio plugins:install @adobe/aio-cli-plugin-api-mesh


31 changes: 31 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"name": "Evergreen Storefront",

"dockerComposeFile": "docker-compose.yml",
"service": "app",

"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",

"postCreateCommand": "npm install",
"postAttachCommand": "npm start",

"forwardPorts": [3000],
"customizations": {
"vscode": {
"extensions": [
"ryanluker.vscode-coverage-gutters"
]
}
},
"features": {
"ghcr.io/christophermacgown/devcontainer-features/direnv:1": {}
},

"portsAttributes": {
"3000": {
"label": "Adobe Commerce Storefront (HTTP)"
}



}
16 changes: 16 additions & 0 deletions .devcontainer/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
version: '3.8'

services:
app:
build:
context: .
dockerfile: Dockerfile
args:
- NODE_VERSION=--lts
entrypoint: sleep infinity
volumes:
- ../..:/workspaces:cached
cors-anywhere:
image: tlan16/cors-anywhere
ports:
- "8080:8080"
5 changes: 5 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[*.js]
indent_size = 2

[*.css]
indent_size = 4
13 changes: 12 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1 +1,12 @@
helix-importer-ui
helix-importer-ui
scripts/htm.js
scripts/acdl
tools/picker
tools/segments
tools/pdp-metadata
scripts/__dropins__
scripts/commerce-events-collector.js
scripts/commerce-events-sdk.js
scripts/widgets
plugins/
cypress/
17 changes: 11 additions & 6 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,16 @@ module.exports = {
requireConfigFile: false,
},
rules: {
// allow reassigning param
'no-param-reassign': [2, { props: false }],
'linebreak-style': ['error', 'unix'],
'import/extensions': ['error', {
js: 'always',
}],
'import/extensions': ['error', { js: 'always' }], // require js file extensions in imports
'linebreak-style': ['error', 'unix'], // enforce unix linebreaks
'no-param-reassign': [2, { props: false }], // allow modifying properties of param
'no-use-before-define': [2, { functions: false }],
'no-console': [
'error',
{
allow: ['warn', 'error', 'info', 'debug'],
},
],
'no-unused-vars': ['error', { argsIgnorePattern: '^_', varsIgnorePattern: '^_' }],
},
};
4 changes: 2 additions & 2 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ Please always provide the [GitHub issue(s)](../issues) your PR is for, as well a
Fix #<gh-issue-id>

Test URLs:
- Before: https://main--{repo}--{owner}.hlx.live/
- After: https://<branch>--{repo}--{owner}.hlx.live/
- Before: https://main--{repo}--{owner}.aem.live/
- After: https://<branch>--{repo}--{owner}.aem.live/
14 changes: 5 additions & 9 deletions .github/workflows/cleanup-on-create.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,30 +6,26 @@ on:
create:
branches:
- main
workflow_dispatch:
jobs:
cleanup:
runs-on: ubuntu-latest
permissions:
contents: write
actions: write
# only run if commit message is "Initial commit" on main branch
if: ${{ github.ref == 'refs/heads/main' && github.event.head_commit.message == 'Initial commit' }}
if: ${{ github.event_name == 'workflow_dispatch' || ( github.ref == 'refs/heads/main' && !(contains(github.event, 'head_commit') || github.event.head_commit.message == 'Initial commit' )) }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Use Node.js 18
- name: Use Node.js 20
uses: actions/setup-node@v4
with:
node-version: 18
- name: Uninstall dependencies
run: |
npm uninstall --save-dev semantic-release @semantic-release/git @semantic-release/changelog @semantic-release/exec
node-version: 20
- name: Remove Helper Files
run: |
rm -rf \
.github/workflows/cleanup-on-create.yaml \
.github/workflows/semantic-release.yaml \
.releaserc.cjs \
CHANGELOG.md

- name: Initialize README
Expand All @@ -47,7 +43,7 @@ jobs:
- name: Commit changes
run: |
git config --local user.email "[email protected]"
git config --local user.name "Helix Bot"
git config --local user.name "AEM Bot"
git add .
git commit -m "chore: cleanup repository template"
git push
14 changes: 14 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Build
on: [push]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js 20
uses: actions/setup-node@v4
with:
node-version: 20
- run: npm ci
- run: npm run lint
29 changes: 29 additions & 0 deletions .github/workflows/run-e2e-tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Cypress E2E Tests
on: push
jobs:
cypress-run:
# If you want this job to run on your fork, remove the below "if" line.
# You will need to "fix" the tests as they are specific to Adobe Commmerce's
# demo backend.
if: github.repository == 'hlxsites/aem-boilerplate-commerce'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install root dependencies
run: npm ci
- name: Start server in the background
run: npm start &

- name: Install Cypress and run tests
uses: cypress-io/github-action@v6
with:
working-directory: cypress
browser: chrome
wait-on: 'http://localhost:3000'
config: baseUrl=http://localhost:3000
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-screenshots
path: cypress/screenshots
if-no-files-found: ignore
17 changes: 0 additions & 17 deletions .github/workflows/run-tests.yaml

This file was deleted.

23 changes: 0 additions & 23 deletions .github/workflows/semantic-release.yaml

This file was deleted.

5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
.hlx/*
coverage/*
logs/*
node_modules/*
node_modules
.parcel-cache

helix-importer-ui
.DS_Store
*.bak
.idea
# Ignore .map files in scripts/__dropins__/ directory and all its subdirectories
scripts/__dropins__/**/*.map
6 changes: 6 additions & 0 deletions .hlxignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
.*
*.md
*.d.ts
karma.config.js
LICENSE
package.json
package-lock.json
test/*
postinstall.js
build.mjs
tools/picker/src/*
cypress/
tools/pdp-metadata/*
2 changes: 2 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
; force @adobe namespaced packages to be installed from npmjs.org
@adobe:registry=https://registry.npmjs.org
18 changes: 0 additions & 18 deletions .releaserc.cjs

This file was deleted.

2 changes: 1 addition & 1 deletion .stylelintrc.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"extends": ["stylelint-config-standard"]
}
}
28 changes: 21 additions & 7 deletions 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,23 @@

<head>
<title>Page not found</title>
<script type="importmap">
{
"imports": {
"@dropins/tools/": "/scripts/__dropins__/tools/",
"@dropins/storefront-cart/": "/scripts/__dropins__/storefront-cart/",
"@dropins/storefront-auth/": "/scripts/__dropins__/storefront-auth/"
}
}
</script>
<script type="text/javascript">
window.isErrorPage = true;
window.errorCode = '404';
</script>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta property="og:title" content="Page not found">
<script src="/scripts/scripts.js" type="module" crossorigin="use-credentials"></script>
<script src="/scripts/scripts.js" type="module"></script>
<script type="module">
import { sampleRUM } from '/scripts/aem.js';

window.addEventListener('load', () => {
if (document.referrer) {
const { origin, pathname } = new URL(document.referrer);
Expand All @@ -26,23 +33,30 @@
btnContainer.append(backBtn);
}
}
sampleRUM('404', { source: document.referrer, target: window.location.href });
});
</script>
<script type="module">
import { sampleRUM } from '/scripts/aem.js';
sampleRUM('404', { source: document.referrer });
</script>
<link rel="stylesheet" href="/styles/styles.css">
<style>
main.error {
min-height: calc(100vh - var(--nav-height));
display: flex;
align-items: center;
display: flex;
margin: 0 auto;
max-width: 1264px;
min-height: calc(100vh - var(--nav-height));
padding: 0 32px;
width: 100%;
}

main.error .error-number {
width: 100%;
}

main.error .error-number text {
font-family: var(--fixed-font-family);
font-family: monospace;
}
</style>
<link rel="stylesheet" href="/styles/lazy-styles.css">
Expand Down
Loading