From c9eb25062705b000a8a2284f0005ff77675bb08f Mon Sep 17 00:00:00 2001 From: melissag-ensemble <120194874+melissag-ensemble@users.noreply.github.com> Date: Thu, 14 May 2026 15:05:37 -0700 Subject: [PATCH 01/15] Auto content update (2026-05-14 22:05:36) --- .../workflows/build-auto-generated-files.yml | 11 +++++ .github/workflows/deploy.yml | 8 ++-- .github/workflows/lint.yml | 36 ++++++++++++++++ .github/workflows/post-lint-comment.yml | 32 ++++++++++++++ .github/workflows/stage.yml | 3 +- .gitignore | 40 +++++++++++------ package.json | 43 ++++++++++--------- 7 files changed, 135 insertions(+), 38 deletions(-) create mode 100644 .github/workflows/build-auto-generated-files.yml create mode 100644 .github/workflows/lint.yml create mode 100644 .github/workflows/post-lint-comment.yml diff --git a/.github/workflows/build-auto-generated-files.yml b/.github/workflows/build-auto-generated-files.yml new file mode 100644 index 0000000..3ee6368 --- /dev/null +++ b/.github/workflows/build-auto-generated-files.yml @@ -0,0 +1,11 @@ +--- +name: Build Auto-Generated Files +on: + workflow_dispatch: + +jobs: + build-contributors: + name: Build Auto-Generated Files + uses: AdobeDocs/adp-devsite-workflow/.github/workflows/build-auto-generated-files-v2.yml@main + secrets: inherit + \ No newline at end of file diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index b7799b2..8181bc6 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,5 +1,5 @@ --- -name: Deployment +name: Production Deployment on: push: branches: @@ -26,8 +26,10 @@ on: jobs: deployment: name: Deployment - uses: AdobeDocs/adp-devsite-workflow/.github/workflows/deploy.yml@main + if: github.actor != 'adp-devsite-app[bot]' && github.repository != 'AdobeDocs/dev-docs-template' + uses: AdobeDocs/adp-devsite-workflow/.github/workflows/deploy-v2.yml@main + secrets: inherit with: env: ${{ inputs.env || 'prod' }} baseSha: ${{ inputs.baseSha || '' }} - deployAll: ${{ inputs.deployAll || true }} + deployAll: ${{ inputs.deployAll || false }} diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..44d6c6b --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,36 @@ +--- +name: Lint +on: + pull_request: + branches: [main] + paths: + - 'src/pages/**' + +jobs: + lint: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v6 + + - name: Lint + id: lint + continue-on-error: true + run: npx --yes github:AdobeDocs/adp-devsite-utils runLint -v + + - name: Save PR number + if: always() + run: echo "${{ github.event.pull_request.number }}" > pr-number.txt + + - name: Upload linter report + if: always() + uses: actions/upload-artifact@v7 + with: + name: linter-report + path: | + linter-report.txt + pr-number.txt + + - name: Fail if linter found errors + if: steps.lint.outcome == 'failure' + run: exit 1 diff --git a/.github/workflows/post-lint-comment.yml b/.github/workflows/post-lint-comment.yml new file mode 100644 index 0000000..d2c75fd --- /dev/null +++ b/.github/workflows/post-lint-comment.yml @@ -0,0 +1,32 @@ +--- +name: Post Linter Report +on: + workflow_run: + workflows: ["Lint"] + types: + - completed + +permissions: + pull-requests: write + +jobs: + comment: + runs-on: ubuntu-latest + if: github.event.workflow_run.event == 'pull_request' + steps: + - name: Download linter report artifact + uses: actions/download-artifact@v8 + with: + name: linter-report + run-id: ${{ github.event.workflow_run.id }} + github-token: ${{ secrets.GITHUB_TOKEN }} + + - name: Post Linter Report to PR + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_REPOSITORY: ${{ github.repository }} + LINTER_REPORT_PATH: ./linter-report.txt + PR_NUMBER_PATH: ./pr-number.txt + run: | + npm install --no-save github:AdobeDocs/adp-devsite-scripts + node node_modules/adp-devsite-scripts/linter-bot/postLinterReport.js diff --git a/.github/workflows/stage.yml b/.github/workflows/stage.yml index c96a42d..d108f50 100644 --- a/.github/workflows/stage.yml +++ b/.github/workflows/stage.yml @@ -15,7 +15,8 @@ on: jobs: deployment: name: Deployment - uses: AdobeDocs/adp-devsite-workflow/.github/workflows/deploy.yml@main + uses: AdobeDocs/adp-devsite-workflow/.github/workflows/deploy-v2.yml@main + secrets: inherit with: env: stage baseSha: ${{ inputs.baseSha }} diff --git a/.gitignore b/.gitignore index 12be62a..2a83daa 100644 --- a/.gitignore +++ b/.gitignore @@ -1,15 +1,28 @@ -# OS and IDE generated files + +# OS and IDE generated files # +############################## .DS_Store .vscode .history .idea .editorconfig -.cursor -.claude/ -# npm +# npm yarn node_modules package-lock.json +yarn-error.log +.pnp.* +.yarn/* + +# keep in repo +!.gitignore +!.yarn.lock +!.yarnrc.yml +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/sdks +!.yarn/versions # gatsby files .env @@ -23,16 +36,15 @@ cypress/screenshots # lerna lerna-debug.log -# static -_site - -# Super-linter outputs -super-linter-output -super-linter.log +# local actions +.actrc +.secrets +local-test.yml -# GitHub Actions leftovers -github_conf +# yalc +.yalc +yalc.lock -# local dev -tmp +#txt +linter-output.txt linter-report.txt diff --git a/package.json b/package.json index 14dd560..09f8ad8 100644 --- a/package.json +++ b/package.json @@ -1,29 +1,32 @@ { - "name": "commerce-admin-developer", + "name": "dev-docs-template", "version": "1.0.0", "license": "Apache-2.0", "repository": { "type": "git", - "url": "https://github.com/AdobeDocs/commerce-admin-developer" + "url": "https://github.com/AdobeDocs/dev-docs-template" + }, + "author": { + "name": "Tim Kim", + "url": "https://github.com/timkim" + }, + "engines": { + "node": "^24.11.0" }, "scripts": { - "dev": "npx --yes github:AdobeDocs/adp-devsite-utils dev", - "buildNavigation": "npx --yes github:AdobeDocs/adp-devsite-utils buildNavigation -v", - "buildRedirections": "npx --yes github:AdobeDocs/adp-devsite-utils buildRedirections -v", - "renameFiles": "npx --yes github:AdobeDocs/adp-devsite-utils renameFiles -v", - "normalizeLinks": "npx --yes github:AdobeDocs/adp-devsite-utils normalizeLinks -v", - "buildSiteWideBanner": "npx --yes github:AdobeDocs/adp-devsite-utils buildSiteWideBanner -v", - "buildSiteMetadata": "npx --yes github:AdobeDocs/adp-devsite-utils buildSiteMetadata -v", - "buildContributors": "npx --yes github:AdobeDocs/adp-devsite-utils buildContributors -v", - "lint": "npx --yes github:AdobeDocs/adp-devsite-utils runLint -v", - "lint:errorOnly": "npx --yes github:AdobeDocs/adp-devsite-utils runLint", - "link:externalLinkOnly": "npx --yes github:AdobeDocs/adp-devsite-utils runLint --external-links-only -v", - "link:checkAllLinks": "npx --yes github:AdobeDocs/adp-devsite-utils runLint --internal-links-only --external-links-only -v", - "redirectCheck:stage": "npx --yes github:AdobeDocs/adp-devsite-utils redirectChecker stage --verbose", - "redirectCheck:prod": "npx --yes github:AdobeDocs/adp-devsite-utils redirectChecker prod --verbose", - "lint:md": "npx --yes markdownlint-cli2 'src/pages/**/*.md' '*.md'", - "lint:md:fix": "npx --yes markdownlint-cli2 --fix 'src/pages/**/*.md' '*.md'", - "test": "npx --yes jest", - "test:config": "npx --yes jest tests/config.test.js" + "dev": "npx --yes --prefer-online github:AdobeDocs/adp-devsite-utils dev", + "buildNavigation": "npx --yes --prefer-online github:AdobeDocs/adp-devsite-utils buildNavigation -v", + "buildRedirections": "npx --yes --prefer-online github:AdobeDocs/adp-devsite-utils buildRedirections -v", + "renameFiles": "npx --yes --prefer-online github:AdobeDocs/adp-devsite-utils renameFiles -v", + "normalizeLinks": "npx --yes --prefer-online github:AdobeDocs/adp-devsite-utils normalizeLinks -v", + "buildSiteWideBanner": "npx --yes --prefer-online github:AdobeDocs/adp-devsite-utils buildSiteWideBanner -v", + "buildSiteMetadata": "npx --yes --prefer-online github:AdobeDocs/adp-devsite-utils buildSiteMetadata -v", + "buildContributors": "npx --yes --prefer-online github:AdobeDocs/adp-devsite-utils buildContributorsV2 -v", + "lint": "npx --yes --prefer-online github:AdobeDocs/adp-devsite-utils runLint -v", + "lint:errorOnly": "npx --yes --prefer-online github:AdobeDocs/adp-devsite-utils runLint", + "link:externalLinkOnly": "npx --yes --prefer-online github:AdobeDocs/adp-devsite-utils runLint --external-links-only -v", + "link:checkAllLinks": "npx --yes --prefer-online github:AdobeDocs/adp-devsite-utils runLint --internal-links-only --external-links-only -v", + "redirectCheck:stage": "npx --yes --prefer-online github:AdobeDocs/adp-devsite-utils redirectChecker stage --verbose", + "redirectCheck:prod": "npx --yes --prefer-online github:AdobeDocs/adp-devsite-utils redirectChecker prod --verbose" } } From bfd61f5f43d1700bf135bbb84323ec4c9af4fd9e Mon Sep 17 00:00:00 2001 From: melissag-ensemble <120194874+melissag-ensemble@users.noreply.github.com> Date: Thu, 14 May 2026 15:22:42 -0700 Subject: [PATCH 02/15] fix: preserve repo-specific fields in package.json --- package.json | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index 09f8ad8..1f482d8 100644 --- a/package.json +++ b/package.json @@ -1,17 +1,10 @@ { - "name": "dev-docs-template", + "name": "commerce-admin-developer", "version": "1.0.0", "license": "Apache-2.0", "repository": { "type": "git", - "url": "https://github.com/AdobeDocs/dev-docs-template" - }, - "author": { - "name": "Tim Kim", - "url": "https://github.com/timkim" - }, - "engines": { - "node": "^24.11.0" + "url": "https://github.com/AdobeDocs/commerce-admin-developer" }, "scripts": { "dev": "npx --yes --prefer-online github:AdobeDocs/adp-devsite-utils dev", @@ -27,6 +20,13 @@ "link:externalLinkOnly": "npx --yes --prefer-online github:AdobeDocs/adp-devsite-utils runLint --external-links-only -v", "link:checkAllLinks": "npx --yes --prefer-online github:AdobeDocs/adp-devsite-utils runLint --internal-links-only --external-links-only -v", "redirectCheck:stage": "npx --yes --prefer-online github:AdobeDocs/adp-devsite-utils redirectChecker stage --verbose", - "redirectCheck:prod": "npx --yes --prefer-online github:AdobeDocs/adp-devsite-utils redirectChecker prod --verbose" + "redirectCheck:prod": "npx --yes --prefer-online github:AdobeDocs/adp-devsite-utils redirectChecker prod --verbose", + "lint:md": "npx --yes markdownlint-cli2 'src/pages/**/*.md' '*.md'", + "lint:md:fix": "npx --yes markdownlint-cli2 --fix 'src/pages/**/*.md' '*.md'", + "test": "npx --yes jest", + "test:config": "npx --yes jest tests/config.test.js" + }, + "engines": { + "node": "^24.11.0" } } From 80c473f58ff7aa78824323600fe83376ca890f11 Mon Sep 17 00:00:00 2001 From: melissag-ensemble <120194874+melissag-ensemble@users.noreply.github.com> Date: Thu, 14 May 2026 15:22:44 -0700 Subject: [PATCH 03/15] fix: preserve repo-specific fields in .gitignore --- .gitignore | 53 +++++++++++++++++++++++++++++++---------------------- 1 file changed, 31 insertions(+), 22 deletions(-) diff --git a/.gitignore b/.gitignore index 2a83daa..ea0c7aa 100644 --- a/.gitignore +++ b/.gitignore @@ -1,28 +1,17 @@ +# .gitignore -# OS and IDE generated files # -############################## +# OS and IDE generated files .DS_Store .vscode .history .idea .editorconfig +.cursor +.claude/ -# npm yarn +# npm node_modules package-lock.json -yarn-error.log -.pnp.* -.yarn/* - -# keep in repo -!.gitignore -!.yarn.lock -!.yarnrc.yml -!.yarn/patches -!.yarn/plugins -!.yarn/releases -!.yarn/sdks -!.yarn/versions # gatsby files .env @@ -36,15 +25,35 @@ cypress/screenshots # lerna lerna-debug.log -# local actions +# static +_site + +# Super-linter outputs +super-linter-output +super-linter.log + +# GitHub Actions leftovers +github_conf + +# local dev +tmp +linter-report.txt + +# Added by update-bot +yarn-error.log +.pnp.* +.yarn/* +!.gitignore +!.yarn.lock +!.yarnrc.yml +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/sdks +!.yarn/versions .actrc .secrets local-test.yml - -# yalc .yalc yalc.lock - -#txt linter-output.txt -linter-report.txt From 7c250226b8869fd76ad3bca152ccf6f28730fbda Mon Sep 17 00:00:00 2001 From: melissag-ensemble <120194874+melissag-ensemble@users.noreply.github.com> Date: Fri, 22 May 2026 10:08:15 -0700 Subject: [PATCH 04/15] Auto content update (2026-05-22 17:08:14) --- .github/workflows/lint.yml | 15 ++++++++-- .gitignore | 57 +++++--------------------------------- package.json | 20 ++++++------- 3 files changed, 29 insertions(+), 63 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 44d6c6b..8c66a80 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -3,8 +3,6 @@ name: Lint on: pull_request: branches: [main] - paths: - - 'src/pages/**' jobs: lint: @@ -12,9 +10,19 @@ jobs: steps: - name: Checkout uses: actions/checkout@v6 + with: + fetch-depth: 0 + + - name: Check for src/pages changes + id: changes + run: | + git diff --name-only origin/${{ github.base_ref }}...HEAD | grep -q '^src/pages/' \ + && echo "changed=true" >> $GITHUB_OUTPUT \ + || echo "changed=false" >> $GITHUB_OUTPUT - name: Lint id: lint + if: steps.changes.outputs.changed == 'true' continue-on-error: true run: npx --yes github:AdobeDocs/adp-devsite-utils runLint -v @@ -30,7 +38,8 @@ jobs: path: | linter-report.txt pr-number.txt + if-no-files-found: ignore - name: Fail if linter found errors - if: steps.lint.outcome == 'failure' + if: steps.changes.outputs.changed == 'true' && steps.lint.outcome == 'failure' run: exit 1 diff --git a/.gitignore b/.gitignore index ea0c7aa..4ee2f6f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,59 +1,16 @@ -# .gitignore -# OS and IDE generated files +# OS .DS_Store + +# IDE .vscode -.history -.idea -.editorconfig -.cursor -.claude/ + +# environment variables +.env # npm node_modules package-lock.json -# gatsby files -.env -.cache -public - -# cypress -cypress/videos -cypress/screenshots - -# lerna -lerna-debug.log - -# static -_site - -# Super-linter outputs -super-linter-output -super-linter.log - -# GitHub Actions leftovers -github_conf - -# local dev -tmp +# generated by .github/workflows/lint.yml linter-report.txt - -# Added by update-bot -yarn-error.log -.pnp.* -.yarn/* -!.gitignore -!.yarn.lock -!.yarnrc.yml -!.yarn/patches -!.yarn/plugins -!.yarn/releases -!.yarn/sdks -!.yarn/versions -.actrc -.secrets -local-test.yml -.yalc -yalc.lock -linter-output.txt diff --git a/package.json b/package.json index 1f482d8..09f8ad8 100644 --- a/package.json +++ b/package.json @@ -1,10 +1,17 @@ { - "name": "commerce-admin-developer", + "name": "dev-docs-template", "version": "1.0.0", "license": "Apache-2.0", "repository": { "type": "git", - "url": "https://github.com/AdobeDocs/commerce-admin-developer" + "url": "https://github.com/AdobeDocs/dev-docs-template" + }, + "author": { + "name": "Tim Kim", + "url": "https://github.com/timkim" + }, + "engines": { + "node": "^24.11.0" }, "scripts": { "dev": "npx --yes --prefer-online github:AdobeDocs/adp-devsite-utils dev", @@ -20,13 +27,6 @@ "link:externalLinkOnly": "npx --yes --prefer-online github:AdobeDocs/adp-devsite-utils runLint --external-links-only -v", "link:checkAllLinks": "npx --yes --prefer-online github:AdobeDocs/adp-devsite-utils runLint --internal-links-only --external-links-only -v", "redirectCheck:stage": "npx --yes --prefer-online github:AdobeDocs/adp-devsite-utils redirectChecker stage --verbose", - "redirectCheck:prod": "npx --yes --prefer-online github:AdobeDocs/adp-devsite-utils redirectChecker prod --verbose", - "lint:md": "npx --yes markdownlint-cli2 'src/pages/**/*.md' '*.md'", - "lint:md:fix": "npx --yes markdownlint-cli2 --fix 'src/pages/**/*.md' '*.md'", - "test": "npx --yes jest", - "test:config": "npx --yes jest tests/config.test.js" - }, - "engines": { - "node": "^24.11.0" + "redirectCheck:prod": "npx --yes --prefer-online github:AdobeDocs/adp-devsite-utils redirectChecker prod --verbose" } } From c12a219c42c29bca449839b4dd580549cc174202 Mon Sep 17 00:00:00 2001 From: melissag-ensemble <120194874+melissag-ensemble@users.noreply.github.com> Date: Fri, 22 May 2026 10:59:13 -0700 Subject: [PATCH 05/15] fix: preserve repo-specific fields in package.json --- package.json | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index 09f8ad8..542569e 100644 --- a/package.json +++ b/package.json @@ -1,14 +1,10 @@ { - "name": "dev-docs-template", + "name": "commerce-admin-developer", "version": "1.0.0", "license": "Apache-2.0", "repository": { "type": "git", - "url": "https://github.com/AdobeDocs/dev-docs-template" - }, - "author": { - "name": "Tim Kim", - "url": "https://github.com/timkim" + "url": "https://github.com/AdobeDocs/commerce-admin-developer" }, "engines": { "node": "^24.11.0" @@ -27,6 +23,10 @@ "link:externalLinkOnly": "npx --yes --prefer-online github:AdobeDocs/adp-devsite-utils runLint --external-links-only -v", "link:checkAllLinks": "npx --yes --prefer-online github:AdobeDocs/adp-devsite-utils runLint --internal-links-only --external-links-only -v", "redirectCheck:stage": "npx --yes --prefer-online github:AdobeDocs/adp-devsite-utils redirectChecker stage --verbose", - "redirectCheck:prod": "npx --yes --prefer-online github:AdobeDocs/adp-devsite-utils redirectChecker prod --verbose" + "redirectCheck:prod": "npx --yes --prefer-online github:AdobeDocs/adp-devsite-utils redirectChecker prod --verbose", + "lint:md": "npx --yes markdownlint-cli2 'src/pages/**/*.md' '*.md'", + "lint:md:fix": "npx --yes markdownlint-cli2 --fix 'src/pages/**/*.md' '*.md'", + "test": "npx --yes jest", + "test:config": "npx --yes jest tests/config.test.js" } -} +} \ No newline at end of file From ff3b52734c6230aff3c866d13e902c28dc08bd39 Mon Sep 17 00:00:00 2001 From: melissag-ensemble <120194874+melissag-ensemble@users.noreply.github.com> Date: Fri, 22 May 2026 10:59:14 -0700 Subject: [PATCH 06/15] fix: preserve repo-specific entries in .gitignore --- .gitignore | 38 ++++++++++++++++++++++++++++++-------- 1 file changed, 30 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index 4ee2f6f..12be62a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,16 +1,38 @@ - -# OS +# OS and IDE generated files .DS_Store - -# IDE .vscode - -# environment variables -.env +.history +.idea +.editorconfig +.cursor +.claude/ # npm node_modules package-lock.json -# generated by .github/workflows/lint.yml +# gatsby files +.env +.cache +public + +# cypress +cypress/videos +cypress/screenshots + +# lerna +lerna-debug.log + +# static +_site + +# Super-linter outputs +super-linter-output +super-linter.log + +# GitHub Actions leftovers +github_conf + +# local dev +tmp linter-report.txt From afeb088c2bbfd236409bca563a9aef345c00215d Mon Sep 17 00:00:00 2001 From: melissag-ensemble <120194874+melissag-ensemble@users.noreply.github.com> Date: Mon, 25 May 2026 13:08:31 -0700 Subject: [PATCH 07/15] Auto content update (2026-05-25 20:08:31) --- .gitignore | 38 ++++++++------------------------------ package.json | 16 ++++++++-------- 2 files changed, 16 insertions(+), 38 deletions(-) diff --git a/.gitignore b/.gitignore index 12be62a..4ee2f6f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,38 +1,16 @@ -# OS and IDE generated files + +# OS .DS_Store + +# IDE .vscode -.history -.idea -.editorconfig -.cursor -.claude/ + +# environment variables +.env # npm node_modules package-lock.json -# gatsby files -.env -.cache -public - -# cypress -cypress/videos -cypress/screenshots - -# lerna -lerna-debug.log - -# static -_site - -# Super-linter outputs -super-linter-output -super-linter.log - -# GitHub Actions leftovers -github_conf - -# local dev -tmp +# generated by .github/workflows/lint.yml linter-report.txt diff --git a/package.json b/package.json index 542569e..09f8ad8 100644 --- a/package.json +++ b/package.json @@ -1,10 +1,14 @@ { - "name": "commerce-admin-developer", + "name": "dev-docs-template", "version": "1.0.0", "license": "Apache-2.0", "repository": { "type": "git", - "url": "https://github.com/AdobeDocs/commerce-admin-developer" + "url": "https://github.com/AdobeDocs/dev-docs-template" + }, + "author": { + "name": "Tim Kim", + "url": "https://github.com/timkim" }, "engines": { "node": "^24.11.0" @@ -23,10 +27,6 @@ "link:externalLinkOnly": "npx --yes --prefer-online github:AdobeDocs/adp-devsite-utils runLint --external-links-only -v", "link:checkAllLinks": "npx --yes --prefer-online github:AdobeDocs/adp-devsite-utils runLint --internal-links-only --external-links-only -v", "redirectCheck:stage": "npx --yes --prefer-online github:AdobeDocs/adp-devsite-utils redirectChecker stage --verbose", - "redirectCheck:prod": "npx --yes --prefer-online github:AdobeDocs/adp-devsite-utils redirectChecker prod --verbose", - "lint:md": "npx --yes markdownlint-cli2 'src/pages/**/*.md' '*.md'", - "lint:md:fix": "npx --yes markdownlint-cli2 --fix 'src/pages/**/*.md' '*.md'", - "test": "npx --yes jest", - "test:config": "npx --yes jest tests/config.test.js" + "redirectCheck:prod": "npx --yes --prefer-online github:AdobeDocs/adp-devsite-utils redirectChecker prod --verbose" } -} \ No newline at end of file +} From 060ccf74fee5dcc9c9fed912c775d438a126558d Mon Sep 17 00:00:00 2001 From: melissag-ensemble <120194874+melissag-ensemble@users.noreply.github.com> Date: Mon, 25 May 2026 13:35:56 -0700 Subject: [PATCH 08/15] fix: preserve repo-specific fields in package.json --- package.json | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index 09f8ad8..52951fc 100644 --- a/package.json +++ b/package.json @@ -1,17 +1,10 @@ { - "name": "dev-docs-template", + "name": "commerce-admin-developer", "version": "1.0.0", "license": "Apache-2.0", "repository": { "type": "git", - "url": "https://github.com/AdobeDocs/dev-docs-template" - }, - "author": { - "name": "Tim Kim", - "url": "https://github.com/timkim" - }, - "engines": { - "node": "^24.11.0" + "url": "https://github.com/AdobeDocs/commerce-admin-developer" }, "scripts": { "dev": "npx --yes --prefer-online github:AdobeDocs/adp-devsite-utils dev", @@ -27,6 +20,17 @@ "link:externalLinkOnly": "npx --yes --prefer-online github:AdobeDocs/adp-devsite-utils runLint --external-links-only -v", "link:checkAllLinks": "npx --yes --prefer-online github:AdobeDocs/adp-devsite-utils runLint --internal-links-only --external-links-only -v", "redirectCheck:stage": "npx --yes --prefer-online github:AdobeDocs/adp-devsite-utils redirectChecker stage --verbose", - "redirectCheck:prod": "npx --yes --prefer-online github:AdobeDocs/adp-devsite-utils redirectChecker prod --verbose" + "redirectCheck:prod": "npx --yes --prefer-online github:AdobeDocs/adp-devsite-utils redirectChecker prod --verbose", + "lint:md": "npx --yes markdownlint-cli2 'src/pages/**/*.md' '*.md'", + "lint:md:fix": "npx --yes markdownlint-cli2 --fix 'src/pages/**/*.md' '*.md'", + "test": "npx --yes jest", + "test:config": "npx --yes jest tests/config.test.js" + }, + "author": { + "name": "Tim Kim", + "url": "https://github.com/timkim" + }, + "engines": { + "node": "^24.11.0" } } From b9066094a0a5a9537c0c0d876f41f1bb7d921ccd Mon Sep 17 00:00:00 2001 From: melissag-ensemble <120194874+melissag-ensemble@users.noreply.github.com> Date: Mon, 25 May 2026 13:35:59 -0700 Subject: [PATCH 09/15] fix: preserve external .gitignore entries --- .gitignore | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.gitignore b/.gitignore index 4ee2f6f..1292451 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,19 @@ package-lock.json # generated by .github/workflows/lint.yml linter-report.txt + +# Preserved from external contributors +.idea +.editorconfig +.cursor +.claude/ +.cache +public +cypress/videos +cypress/screenshots +lerna-debug.log +_site +super-linter-output +super-linter.log +github_conf +tmp From a9394b3590493ca36f7c674aa0f72559b051afcd Mon Sep 17 00:00:00 2001 From: melissag-ensemble <120194874+melissag-ensemble@users.noreply.github.com> Date: Mon, 25 May 2026 15:05:29 -0700 Subject: [PATCH 10/15] fix: preserve repo-specific fields in package.json --- package.json | 4 ---- 1 file changed, 4 deletions(-) diff --git a/package.json b/package.json index 52951fc..1f482d8 100644 --- a/package.json +++ b/package.json @@ -26,10 +26,6 @@ "test": "npx --yes jest", "test:config": "npx --yes jest tests/config.test.js" }, - "author": { - "name": "Tim Kim", - "url": "https://github.com/timkim" - }, "engines": { "node": "^24.11.0" } From 67f55162e3fac83ed8a2f96c5fde3c221934ac75 Mon Sep 17 00:00:00 2001 From: melissag-ensemble <120194874+melissag-ensemble@users.noreply.github.com> Date: Mon, 25 May 2026 15:07:50 -0700 Subject: [PATCH 11/15] fix: drop over-preserved .gitignore block (dmitrymatio is internal team) --- .gitignore | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/.gitignore b/.gitignore index 1292451..4ee2f6f 100644 --- a/.gitignore +++ b/.gitignore @@ -14,19 +14,3 @@ package-lock.json # generated by .github/workflows/lint.yml linter-report.txt - -# Preserved from external contributors -.idea -.editorconfig -.cursor -.claude/ -.cache -public -cypress/videos -cypress/screenshots -lerna-debug.log -_site -super-linter-output -super-linter.log -github_conf -tmp From af95a32d0129fbfe8730bde19e3a113cb2871364 Mon Sep 17 00:00:00 2001 From: melissag-ensemble <120194874+melissag-ensemble@users.noreply.github.com> Date: Wed, 27 May 2026 08:50:30 -0700 Subject: [PATCH 12/15] Auto content update (2026-05-27 15:50:30) --- .github/workflows/lint.yml | 8 ++++++-- package.json | 20 ++++++++++---------- 2 files changed, 16 insertions(+), 12 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 8c66a80..bec32fe 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -15,8 +15,10 @@ jobs: - name: Check for src/pages changes id: changes + env: + BASE_REF: ${{ github.base_ref }} run: | - git diff --name-only origin/${{ github.base_ref }}...HEAD | grep -q '^src/pages/' \ + git diff --name-only "origin/${BASE_REF}...HEAD" | grep -q '^src/pages/' \ && echo "changed=true" >> $GITHUB_OUTPUT \ || echo "changed=false" >> $GITHUB_OUTPUT @@ -28,7 +30,9 @@ jobs: - name: Save PR number if: always() - run: echo "${{ github.event.pull_request.number }}" > pr-number.txt + env: + PR_NUMBER: ${{ github.event.pull_request.number }} + run: echo "$PR_NUMBER" > pr-number.txt - name: Upload linter report if: always() diff --git a/package.json b/package.json index 1f482d8..09f8ad8 100644 --- a/package.json +++ b/package.json @@ -1,10 +1,17 @@ { - "name": "commerce-admin-developer", + "name": "dev-docs-template", "version": "1.0.0", "license": "Apache-2.0", "repository": { "type": "git", - "url": "https://github.com/AdobeDocs/commerce-admin-developer" + "url": "https://github.com/AdobeDocs/dev-docs-template" + }, + "author": { + "name": "Tim Kim", + "url": "https://github.com/timkim" + }, + "engines": { + "node": "^24.11.0" }, "scripts": { "dev": "npx --yes --prefer-online github:AdobeDocs/adp-devsite-utils dev", @@ -20,13 +27,6 @@ "link:externalLinkOnly": "npx --yes --prefer-online github:AdobeDocs/adp-devsite-utils runLint --external-links-only -v", "link:checkAllLinks": "npx --yes --prefer-online github:AdobeDocs/adp-devsite-utils runLint --internal-links-only --external-links-only -v", "redirectCheck:stage": "npx --yes --prefer-online github:AdobeDocs/adp-devsite-utils redirectChecker stage --verbose", - "redirectCheck:prod": "npx --yes --prefer-online github:AdobeDocs/adp-devsite-utils redirectChecker prod --verbose", - "lint:md": "npx --yes markdownlint-cli2 'src/pages/**/*.md' '*.md'", - "lint:md:fix": "npx --yes markdownlint-cli2 --fix 'src/pages/**/*.md' '*.md'", - "test": "npx --yes jest", - "test:config": "npx --yes jest tests/config.test.js" - }, - "engines": { - "node": "^24.11.0" + "redirectCheck:prod": "npx --yes --prefer-online github:AdobeDocs/adp-devsite-utils redirectChecker prod --verbose" } } From c94966f54e43a8cc281695409e2d2fec1e1d8dc9 Mon Sep 17 00:00:00 2001 From: melissag-ensemble <120194874+melissag-ensemble@users.noreply.github.com> Date: Wed, 27 May 2026 09:04:06 -0700 Subject: [PATCH 13/15] fix: preserve repo-specific fields in package.json --- package.json | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index 09f8ad8..1f482d8 100644 --- a/package.json +++ b/package.json @@ -1,17 +1,10 @@ { - "name": "dev-docs-template", + "name": "commerce-admin-developer", "version": "1.0.0", "license": "Apache-2.0", "repository": { "type": "git", - "url": "https://github.com/AdobeDocs/dev-docs-template" - }, - "author": { - "name": "Tim Kim", - "url": "https://github.com/timkim" - }, - "engines": { - "node": "^24.11.0" + "url": "https://github.com/AdobeDocs/commerce-admin-developer" }, "scripts": { "dev": "npx --yes --prefer-online github:AdobeDocs/adp-devsite-utils dev", @@ -27,6 +20,13 @@ "link:externalLinkOnly": "npx --yes --prefer-online github:AdobeDocs/adp-devsite-utils runLint --external-links-only -v", "link:checkAllLinks": "npx --yes --prefer-online github:AdobeDocs/adp-devsite-utils runLint --internal-links-only --external-links-only -v", "redirectCheck:stage": "npx --yes --prefer-online github:AdobeDocs/adp-devsite-utils redirectChecker stage --verbose", - "redirectCheck:prod": "npx --yes --prefer-online github:AdobeDocs/adp-devsite-utils redirectChecker prod --verbose" + "redirectCheck:prod": "npx --yes --prefer-online github:AdobeDocs/adp-devsite-utils redirectChecker prod --verbose", + "lint:md": "npx --yes markdownlint-cli2 'src/pages/**/*.md' '*.md'", + "lint:md:fix": "npx --yes markdownlint-cli2 --fix 'src/pages/**/*.md' '*.md'", + "test": "npx --yes jest", + "test:config": "npx --yes jest tests/config.test.js" + }, + "engines": { + "node": "^24.11.0" } } From c3ffb3f1ea3744cd521a5359bea5ea558427c781 Mon Sep 17 00:00:00 2001 From: melissag-ensemble <120194874+melissag-ensemble@users.noreply.github.com> Date: Wed, 27 May 2026 09:04:10 -0700 Subject: [PATCH 14/15] fix: preserve external .gitignore entries --- .gitignore | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.gitignore b/.gitignore index 4ee2f6f..0a8b7ca 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,18 @@ package-lock.json # generated by .github/workflows/lint.yml linter-report.txt + +# Preserved from external contributors +.idea +.editorconfig +.cursor +.claude/ +.cache +public +cypress/videos +cypress/screenshots +_site +super-linter-output +super-linter.log +github_conf +tmp From 22112b63065a8733d2265111362f4e09183beea0 Mon Sep 17 00:00:00 2001 From: Dima Shevtsov <12731225+dshevtsov@users.noreply.github.com> Date: Fri, 29 May 2026 17:12:29 -0500 Subject: [PATCH 15/15] Update Node.js version in .nvmrc to lts/krypton --- .nvmrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.nvmrc b/.nvmrc index deed13c..b03f408 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -lts/jod +lts/krypton