From ee2d8067d5466139de1c44cdbd719ca7078758b6 Mon Sep 17 00:00:00 2001 From: melissag-ensemble <120194874+melissag-ensemble@users.noreply.github.com> Date: Thu, 14 May 2026 15:05:47 -0700 Subject: [PATCH 01/15] Auto content update (2026-05-14 22:05:47) --- .../workflows/build-auto-generated-files.yml | 11 +++++ .github/workflows/deploy.yml | 6 ++- .github/workflows/lint.yml | 36 ++++++++++++++++ .github/workflows/post-lint-comment.yml | 32 ++++++++++++++ .github/workflows/stage.yml | 3 +- .gitignore | 28 +++++++++--- package.json | 43 ++++++++++--------- 7 files changed, 129 insertions(+), 30 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 ca7e651..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,7 +26,9 @@ 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 || '' }} 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 511cff0..2a83daa 100644 --- a/.gitignore +++ b/.gitignore @@ -6,10 +6,6 @@ .history .idea .editorconfig -.code-workspace -.trash -Thumbs.db -.cursor/ # npm yarn node_modules @@ -18,6 +14,25 @@ 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 +.cache +public + +# cypress +cypress/videos +cypress/screenshots + # lerna lerna-debug.log @@ -30,7 +45,6 @@ local-test.yml .yalc yalc.lock -# local -tmp/ -coverage/ +#txt +linter-output.txt linter-report.txt diff --git a/package.json b/package.json index 46b8079..09f8ad8 100644 --- a/package.json +++ b/package.json @@ -1,29 +1,32 @@ { - "name": "commerce-cloud-tools", + "name": "dev-docs-template", "version": "1.0.0", "license": "Apache-2.0", "repository": { "type": "git", - "url": "https://github.com/AdobeDocs/commerce-cloud-tools" + "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 f4b93f2abdc56dd9c509f3cc3fa479a9a2916a4a Mon Sep 17 00:00:00 2001 From: melissag-ensemble <120194874+melissag-ensemble@users.noreply.github.com> Date: Thu, 14 May 2026 15:22:47 -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..35d8c88 100644 --- a/package.json +++ b/package.json @@ -1,17 +1,10 @@ { - "name": "dev-docs-template", + "name": "commerce-cloud-tools", "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-cloud-tools" }, "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 7e681508800d81d2bc1e38f648b8e220039224cb Mon Sep 17 00:00:00 2001 From: melissag-ensemble <120194874+melissag-ensemble@users.noreply.github.com> Date: Thu, 14 May 2026 15:22:50 -0700 Subject: [PATCH 03/15] fix: preserve repo-specific fields in .gitignore --- .gitignore | 44 ++++++++++++++++++++++++-------------------- 1 file changed, 24 insertions(+), 20 deletions(-) diff --git a/.gitignore b/.gitignore index 2a83daa..77fad2f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ +# .gitignore + # OS and IDE generated files # ############################## @@ -6,6 +8,10 @@ .history .idea .editorconfig +.code-workspace +.trash +Thumbs.db +.cursor/ # npm yarn node_modules @@ -14,7 +20,24 @@ yarn-error.log .pnp.* .yarn/* -# keep in repo +# lerna +lerna-debug.log + +# local actions +.actrc +.secrets +local-test.yml + +# yalc +.yalc +yalc.lock + +# local +tmp/ +coverage/ +linter-report.txt + +# Added by update-bot !.gitignore !.yarn.lock !.yarnrc.yml @@ -23,28 +46,9 @@ yarn-error.log !.yarn/releases !.yarn/sdks !.yarn/versions - -# gatsby files .env .cache public - -# cypress cypress/videos cypress/screenshots - -# lerna -lerna-debug.log - -# local actions -.actrc -.secrets -local-test.yml - -# yalc -.yalc -yalc.lock - -#txt linter-output.txt -linter-report.txt From 989d168e1d37f638a43603921a237631b633027e Mon Sep 17 00:00:00 2001 From: melissag-ensemble <120194874+melissag-ensemble@users.noreply.github.com> Date: Fri, 22 May 2026 10:08:25 -0700 Subject: [PATCH 04/15] Auto content update (2026-05-22 17:08:25) --- .github/workflows/lint.yml | 15 ++++++++--- .gitignore | 54 ++++++-------------------------------- package.json | 20 +++++++------- 3 files changed, 30 insertions(+), 59 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 77fad2f..4ee2f6f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,54 +1,16 @@ -# .gitignore - -# OS and IDE generated files # -############################## +# OS .DS_Store + +# IDE .vscode -.history -.idea -.editorconfig -.code-workspace -.trash -Thumbs.db -.cursor/ -# npm yarn +# environment variables +.env + +# npm node_modules package-lock.json -yarn-error.log -.pnp.* -.yarn/* - -# lerna -lerna-debug.log -# local actions -.actrc -.secrets -local-test.yml - -# yalc -.yalc -yalc.lock - -# local -tmp/ -coverage/ +# generated by .github/workflows/lint.yml linter-report.txt - -# Added by update-bot -!.gitignore -!.yarn.lock -!.yarnrc.yml -!.yarn/patches -!.yarn/plugins -!.yarn/releases -!.yarn/sdks -!.yarn/versions -.env -.cache -public -cypress/videos -cypress/screenshots -linter-output.txt diff --git a/package.json b/package.json index 35d8c88..09f8ad8 100644 --- a/package.json +++ b/package.json @@ -1,10 +1,17 @@ { - "name": "commerce-cloud-tools", + "name": "dev-docs-template", "version": "1.0.0", "license": "Apache-2.0", "repository": { "type": "git", - "url": "https://github.com/AdobeDocs/commerce-cloud-tools" + "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 8e3d76c1b040cdc36fa53401657767debea1ee3a Mon Sep 17 00:00:00 2001 From: melissag-ensemble <120194874+melissag-ensemble@users.noreply.github.com> Date: Fri, 22 May 2026 10:59:16 -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..5e204ff 100644 --- a/package.json +++ b/package.json @@ -1,14 +1,10 @@ { - "name": "dev-docs-template", + "name": "commerce-cloud-tools", "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-cloud-tools" }, "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 90f57f68ad4f4278e016b5873d37be36977cd95f Mon Sep 17 00:00:00 2001 From: melissag-ensemble <120194874+melissag-ensemble@users.noreply.github.com> Date: Fri, 22 May 2026 10:59:17 -0700 Subject: [PATCH 06/15] fix: preserve repo-specific entries in .gitignore --- .gitignore | 36 ++++++++++++++++++++++++++++-------- 1 file changed, 28 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index 4ee2f6f..511cff0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,16 +1,36 @@ -# OS +# OS and IDE generated files # +############################## .DS_Store - -# IDE .vscode +.history +.idea +.editorconfig +.code-workspace +.trash +Thumbs.db +.cursor/ -# environment variables -.env - -# npm +# npm yarn node_modules package-lock.json +yarn-error.log +.pnp.* +.yarn/* + +# lerna +lerna-debug.log + +# local actions +.actrc +.secrets +local-test.yml + +# yalc +.yalc +yalc.lock -# generated by .github/workflows/lint.yml +# local +tmp/ +coverage/ linter-report.txt From 66b814e831c8c8d06ed1becfc315a02d628ecc7f Mon Sep 17 00:00:00 2001 From: melissag-ensemble <120194874+melissag-ensemble@users.noreply.github.com> Date: Mon, 25 May 2026 13:08:40 -0700 Subject: [PATCH 07/15] Auto content update (2026-05-25 20:08:40) --- .gitignore | 36 ++++++++---------------------------- package.json | 16 ++++++++-------- 2 files changed, 16 insertions(+), 36 deletions(-) diff --git a/.gitignore b/.gitignore index 511cff0..4ee2f6f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,36 +1,16 @@ -# OS and IDE generated files # -############################## +# OS .DS_Store + +# IDE .vscode -.history -.idea -.editorconfig -.code-workspace -.trash -Thumbs.db -.cursor/ -# npm yarn +# environment variables +.env + +# npm node_modules package-lock.json -yarn-error.log -.pnp.* -.yarn/* - -# lerna -lerna-debug.log - -# local actions -.actrc -.secrets -local-test.yml - -# yalc -.yalc -yalc.lock -# local -tmp/ -coverage/ +# generated by .github/workflows/lint.yml linter-report.txt diff --git a/package.json b/package.json index 5e204ff..09f8ad8 100644 --- a/package.json +++ b/package.json @@ -1,10 +1,14 @@ { - "name": "commerce-cloud-tools", + "name": "dev-docs-template", "version": "1.0.0", "license": "Apache-2.0", "repository": { "type": "git", - "url": "https://github.com/AdobeDocs/commerce-cloud-tools" + "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 9deed9ec65735b47f728fa5fcf9911c6a072face Mon Sep 17 00:00:00 2001 From: melissag-ensemble <120194874+melissag-ensemble@users.noreply.github.com> Date: Mon, 25 May 2026 13:36:01 -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..f2fe92e 100644 --- a/package.json +++ b/package.json @@ -1,17 +1,10 @@ { - "name": "dev-docs-template", + "name": "commerce-cloud-tools", "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-cloud-tools" }, "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 75c6c08396bc9ddafeabd873477996bbae6c8392 Mon Sep 17 00:00:00 2001 From: melissag-ensemble <120194874+melissag-ensemble@users.noreply.github.com> Date: Mon, 25 May 2026 13:36:04 -0700 Subject: [PATCH 09/15] fix: preserve external .gitignore entries --- .gitignore | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.gitignore b/.gitignore index 4ee2f6f..15902ad 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,23 @@ package-lock.json # generated by .github/workflows/lint.yml linter-report.txt + +# Preserved from external contributors +.history +.idea +.editorconfig +.code-workspace +.trash +Thumbs.db +.cursor/ +yarn-error.log +.pnp.* +.yarn/* +lerna-debug.log +.actrc +.secrets +local-test.yml +.yalc +yalc.lock +tmp/ +coverage/ From 203f869819b06b548f2866c26cfd43f80ec1c90f Mon Sep 17 00:00:00 2001 From: melissag-ensemble <120194874+melissag-ensemble@users.noreply.github.com> Date: Mon, 25 May 2026 15:05:34 -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 f2fe92e..35d8c88 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 9ea5fcc239d9e51d52c5a232eafbfd1ccba9e27c Mon Sep 17 00:00:00 2001 From: melissag-ensemble <120194874+melissag-ensemble@users.noreply.github.com> Date: Mon, 25 May 2026 15:07:51 -0700 Subject: [PATCH 11/15] fix: drop over-preserved .gitignore block (dmitrymatio is internal team) --- .gitignore | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/.gitignore b/.gitignore index 15902ad..4ee2f6f 100644 --- a/.gitignore +++ b/.gitignore @@ -14,23 +14,3 @@ package-lock.json # generated by .github/workflows/lint.yml linter-report.txt - -# Preserved from external contributors -.history -.idea -.editorconfig -.code-workspace -.trash -Thumbs.db -.cursor/ -yarn-error.log -.pnp.* -.yarn/* -lerna-debug.log -.actrc -.secrets -local-test.yml -.yalc -yalc.lock -tmp/ -coverage/ From 6303e10e957c5f2f65c42bbf977afa3fff589ced Mon Sep 17 00:00:00 2001 From: melissag-ensemble <120194874+melissag-ensemble@users.noreply.github.com> Date: Wed, 27 May 2026 08:50:41 -0700 Subject: [PATCH 12/15] Auto content update (2026-05-27 15:50:40) --- .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 35d8c88..09f8ad8 100644 --- a/package.json +++ b/package.json @@ -1,10 +1,17 @@ { - "name": "commerce-cloud-tools", + "name": "dev-docs-template", "version": "1.0.0", "license": "Apache-2.0", "repository": { "type": "git", - "url": "https://github.com/AdobeDocs/commerce-cloud-tools" + "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 524b130a7f27e878008fdc26e77cde11e833e348 Mon Sep 17 00:00:00 2001 From: melissag-ensemble <120194874+melissag-ensemble@users.noreply.github.com> Date: Wed, 27 May 2026 09:04:12 -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..35d8c88 100644 --- a/package.json +++ b/package.json @@ -1,17 +1,10 @@ { - "name": "dev-docs-template", + "name": "commerce-cloud-tools", "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-cloud-tools" }, "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 bcfc6e79b5e7eb2b708af840432dd693bc6f38ab Mon Sep 17 00:00:00 2001 From: melissag-ensemble <120194874+melissag-ensemble@users.noreply.github.com> Date: Wed, 27 May 2026 09:04:16 -0700 Subject: [PATCH 14/15] fix: preserve external .gitignore entries --- .gitignore | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.gitignore b/.gitignore index 4ee2f6f..15902ad 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,23 @@ package-lock.json # generated by .github/workflows/lint.yml linter-report.txt + +# Preserved from external contributors +.history +.idea +.editorconfig +.code-workspace +.trash +Thumbs.db +.cursor/ +yarn-error.log +.pnp.* +.yarn/* +lerna-debug.log +.actrc +.secrets +local-test.yml +.yalc +yalc.lock +tmp/ +coverage/ From 2f5968cbdbe7d6872a82910d46f834092d3facd2 Mon Sep 17 00:00:00 2001 From: Dima Shevtsov <12731225+dshevtsov@users.noreply.github.com> Date: Fri, 29 May 2026 17:22:45 -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