Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
134 commits
Select commit Hold shift + click to select a range
34e5223
feat: use facet request to reduce content fetched when facets in use …
rs-amp May 5, 2022
93a0cdd
feat: add regex lookup to type and schema export (#126)
rs-amp May 5, 2022
b692416
fix(search-index): fix replica name rewriting (#124)
rs-amp May 5, 2022
cce328b
fix: allow empty import without error, fix search index export on acc…
rs-amp May 5, 2022
bcc429d
chore: release 0.14.0 (#132)
amp-automation May 5, 2022
8e52a15
docs(readme): fix duplicate arguments in config examples
Chattox May 10, 2022
cc5b8ae
Merge pull request #138 from amplience/docs/readme-config-examples-fix
Chattox May 12, 2022
85a8889
feat(event): add event import/export commands and clone step (#114)
rs-amp May 16, 2022
ff65a9b
chore: release 0.15.0 (#139)
amp-automation May 16, 2022
d3119aa
fix(event): fix event slots list pagination (#141)
rs-amp May 26, 2022
379063b
chore: release 0.15.1 (#142)
amp-automation May 26, 2022
632033c
feat: concurrent publish queue with --batchPublish option (#146)
rs-amp Sep 12, 2022
75b18c0
chore: release 0.16.0 (#147)
amp-automation Sep 12, 2022
2857dac
feat(hub): add environment management commands (#149)
dlilly Oct 19, 2022
56bc1b4
fix(content-item): only assume links will be published, not reference…
rs-amp Oct 19, 2022
2902877
fix(content-item): enrich items when faceting for archive (#152)
rs-amp Oct 19, 2022
2bb101c
chore: release 0.17.0 (#154)
amp-automation Oct 19, 2022
0521428
fix(hub): fix hub commands not being passed credentials (#157)
rs-amp Oct 20, 2022
6b05641
chore: release 0.17.1 (#158)
amp-automation Oct 20, 2022
8cfefda
fix(event): correctly archive events with unscheduled editions (#159)
rs-amp Oct 28, 2022
a5d8dc5
feat(settings): overwrite existing preview settings rather than ignor…
rs-amp Oct 28, 2022
52bec76
chore: release 0.18.0 (#162)
amp-automation Oct 28, 2022
5f35aaf
fix(hub): validateHub respects environment variables (#163)
ashatch Nov 2, 2022
0e7d5e0
feat(search indexes): support for async search index settings
easen-amp Dec 22, 2022
258b7d9
Merge pull request #164 from amplience/163-validate-hub-env-vars
ashatch Jan 10, 2023
3f8039e
feat: latest (1.18.0) dc-management-sdk-js
easen-amp Jan 17, 2023
68ea59f
Merge branch 'master' into feature/support-async-search-index-requests
easen-amp Jan 17, 2023
7159361
fix(enrichedsearchindex): convert the properties to their correct type
easen-amp Jan 23, 2023
3d6a970
Merge branch 'feature/support-async-search-index-requests' of github.…
easen-amp Jan 23, 2023
b237f21
fix(search indexes): ensuring only pojos are converted to their type
easen-amp Jan 31, 2023
7e0fcbb
Merge pull request #165 from amplience/feature/support-async-search-i…
easen-amp Feb 16, 2023
466adea
chore: release 0.19.0
amp-automation Feb 16, 2023
2157e00
Merge pull request #169 from amplience/release-v0.19.0
easen-amp Feb 16, 2023
0b1776e
build: nodejs 18 is the default version
easen-amp Oct 17, 2023
d13707d
build: remmoved standard-version & updated release to include the bun…
easen-amp Oct 17, 2023
ff1c2ac
build(man): updated manual
easen-amp Oct 17, 2023
352b252
chore: gitignore mac osx files
easen-amp Oct 17, 2023
a724b7c
build: nodejs 20 test snapshots
easen-amp Oct 17, 2023
7185795
fix(auth): 403 errors due to expiring token (dc-management-sdk-js 1.1…
easen-amp Oct 17, 2023
02d92d8
fix(dc-management-sdk-js): 1.20.0 buymp - retry 429 errors
easen-amp Nov 9, 2023
2c077a3
fix(release): set registry-url for setup-node
mydigia Nov 14, 2023
3d8c093
Merge pull request #177 from amplience/feat/node18-support
mydigia Nov 14, 2023
a00f0df
Merge branch 'master' into fix/auth-403-issue
mydigia Nov 14, 2023
658f9c5
Merge pull request #178 from amplience/fix/auth-403-issue
mydigia Nov 14, 2023
99734de
Merge branch 'master' into fix/retry-429-dc-management-sdk
mydigia Nov 14, 2023
d153ea1
Merge pull request #181 from amplience/fix/retry-429-dc-management-sdk
mydigia Nov 14, 2023
799cfec
build(gha): switch to pat token
mydigia Nov 14, 2023
59fb8cc
Merge pull request #182 from amplience/fix/gha-permissions
mydigia Nov 14, 2023
51fd40f
chore(master): release 0.19.1
amp-automation Nov 14, 2023
3eb766d
Update CHANGELOG.md
mydigia Nov 14, 2023
8a546cd
Merge pull request #180 from amplience/release-please--branches--mast…
mydigia Nov 14, 2023
f1e5171
fix: change from artifact to packages
mydigia Nov 14, 2023
e70ac3d
Merge pull request #183 from amplience/fix/correct-build-package-action
mydigia Nov 20, 2023
93335e5
feat: add support for PAT
samjohnsonamp Jan 29, 2024
a8236f6
fix: use correct sdk
samjohnsonamp Jan 29, 2024
d0d0db6
feat: prevent use of clientId & secret and patToken together
mjacholke Jul 8, 2024
079f9aa
feat: refactor prevent use of clientId & secret and patToken together
mjacholke Jul 9, 2024
c0c915a
feat: add more support for PAT
mjacholke Jul 24, 2024
c668b6d
feat: add more support for PAT
mjacholke Jul 25, 2024
ef7277c
ci: set node version 20 to be default
Benj0s Feb 17, 2025
5dd51dd
build: package dependency audit fixes
Benj0s Feb 17, 2025
704e5b9
build: updating core dev dependencies to latest versions
Benj0s Feb 19, 2025
8a97dce
build: update to latest prettier
Benj0s Feb 19, 2025
fdf9fdf
Merge pull request #190 from amplience/feature/developer-dependency-u…
Benj0s Feb 24, 2025
1dcba12
ci: use release please manifest and config files
Benj0s Feb 26, 2025
d170685
feat!: Merge pull request #189 from amplience/feature/maintenance-and…
Benj0s Feb 27, 2025
aeaccf1
chore: release 0.20.0
Benj0s Feb 27, 2025
e9fd2b3
chore(master): release 0.20.0
amp-automation Feb 27, 2025
f7d0a2d
Merge pull request #184 from amplience/release-please--branches--mast…
Benj0s Feb 27, 2025
bed6edc
fix: log network error if response status is missing (#192)
Benj0s Mar 4, 2025
6b1966a
fix: retry content hub http requests at the client layer (#193)
Benj0s Mar 4, 2025
ccc7567
feat: generate iso timestamp for errors (#194)
Benj0s Mar 4, 2025
783c22d
chore(master): release 0.21.0
amp-automation Mar 4, 2025
e32621c
Merge pull request #196 from amplience/release-please--branches--mast…
Benj0s Mar 4, 2025
11e4c26
Merge branch 'master' into feature/support-pat-token-auth
mjacholke Mar 10, 2025
a532b70
fix: remove "eslint-disable-next-line @typescript-eslint/camelcase"
mjacholke Mar 10, 2025
fb4ea4c
fix: update error message to correct grammar
mjacholke Mar 10, 2025
fbe49d0
feat: support ignore schema validation for content item create and up…
Benj0s Mar 19, 2025
13c39c8
chore(master): release 0.22.0
amp-automation Mar 19, 2025
a30742e
Merge pull request #198 from amplience/release-please--branches--mast…
neilmistryamplience Mar 19, 2025
030bb53
Merge branch 'master' into feature/support-pat-token-auth
mjacholke Mar 25, 2025
650a677
fix: bad merge on test file
mjacholke Mar 25, 2025
3c12fc5
Update ReadMe
mjacholke Apr 8, 2025
cff3fdc
Update ReadMe
mjacholke Apr 8, 2025
c003017
Merge pull request #186 from amplience/feature/support-pat-token-auth
ashumon Apr 9, 2025
0e01553
chore(master): release 0.23.0
amp-automation Apr 9, 2025
5741a1e
Merge pull request #199 from amplience/release-please--branches--mast…
ashumon Apr 9, 2025
0264247
feat: use a custom dc http client to expand retry codes (#200)
Benj0s Jun 4, 2025
56b5d8a
chore(master): release 0.24.0
amp-automation Jun 4, 2025
7176c7e
Merge pull request #201 from amplience/release-please--branches--mast…
Benj0s Jun 5, 2025
2354dac
fix: reset axios timeout on retry (#202)
Benj0s Jun 11, 2025
a5d19fb
chore(master): release 0.24.1
amp-automation Jun 11, 2025
4ae74bb
Merge pull request #203 from amplience/release-please--branches--mast…
Benj0s Jun 11, 2025
a70c8c5
fix: update custom http client to handle client errors
Benj0s Jun 16, 2025
cd504d1
fix: set default auth url
deeebeee3 Jun 24, 2025
0c2eda0
Merge pull request #205 from amplience/fix/handle-management-sdk-clie…
neilmistryamplience Jun 26, 2025
8efba5a
fix: content Item not found error on import (#206)
neilmistryamplience Jun 26, 2025
bd0c727
Merge pull request #210 from amplience/fix/publish-failures
neilmistryamplience Jun 26, 2025
3f64838
feat: report publish failures correctly and prompt user for continuat…
deeebeee3 Jun 26, 2025
ed92cff
test: http client dynamic import for new tests
Benj0s Jun 27, 2025
6dd1b71
feat: allow users to use PAT when adding hubs (#204)
deeebeee3 Jun 27, 2025
95d7f56
feat: provide progress for long running command actions (#207)
Benj0s Jun 27, 2025
4a02f15
feat: hub clean progress (#211)
Benj0s Jun 30, 2025
a87ccf0
Merge pull request #212 from amplience/feature/stability-improvements
neilmistryamplience Jul 2, 2025
80b7396
chore(master): release 0.25.0
amp-automation Jul 2, 2025
ff71c01
Merge pull request #215 from amplience/release-please--branches--mast…
neilmistryamplience Jul 2, 2025
02c850a
feat: update to latest management sdk and default to node 22 (#213)
Benj0s Jul 10, 2025
91673b7
feat: publish by query (#208)
deeebeee3 Jul 10, 2025
5d46d39
feat: configurable publish limit (#216)
Benj0s Jul 10, 2025
45cb604
feat: sync all content types (#214)
deeebeee3 Jul 10, 2025
6b4c2ca
feat: optimise publish content items (#218)
Benj0s Jul 29, 2025
6be7101
Merge pull request #217 from amplience/feature/qol-updates
Benj0s Jul 29, 2025
49ddaf1
chore(master): release 0.26.0
amp-automation Jul 29, 2025
2fdec9a
Merge pull request #219 from amplience/release-please--branches--mast…
neilmistryamplience Jul 30, 2025
030a266
fix: using graceful fs to avoid emfile errors (#220)
Benj0s Aug 5, 2025
afe6e77
chore(master): release 0.26.1
amp-automation Aug 5, 2025
d90447e
Merge pull request #221 from amplience/release-please--branches--mast…
neilmistryamplience Aug 5, 2025
df427ee
feat: multiple delivery key support for import archive and unarchive …
Benj0s Sep 16, 2025
a947646
chore(master): release 0.27.0
amp-automation Sep 16, 2025
fdb8503
Merge pull request #228 from amplience/release-please--branches--mast…
neilmistryamplience Sep 16, 2025
c5a9871
fix: installing with ignore scripts flag (#230)
Benj0s Sep 23, 2025
a9be85b
feat: node 24 and trusted publish (#237)
Benj0s Oct 20, 2025
d8750fd
feat: publish queue improvements (#226)
deeebeee3 Oct 21, 2025
f36eaf6
feat: add unpublishing support (#232)
deeebeee3 Oct 21, 2025
997a63f
feat: delete extensions (#233)
deeebeee3 Oct 21, 2025
be5dde6
chore(master): release 0.28.0 (#231)
amp-automation Oct 21, 2025
f6c7151
feat: manage linked content repositories (#222)
Benj0s Nov 10, 2025
185eb1c
feat: content sync (#236)
Benj0s Nov 10, 2025
495c437
test: add interval gap to avoid race condition (#241)
Benj0s Nov 11, 2025
00b8933
chore(master): release 0.29.0 (#240)
amp-automation Nov 11, 2025
5c95d37
feat: webhooks export / import / delete (#238)
deeebeee3 Nov 14, 2025
5d02a0b
feat: content item command improvements (#239)
Benj0s Nov 14, 2025
e1f9e70
fix: unarchive facet bug (#242)
deeebeee3 Nov 14, 2025
1ecf947
chore(master): release 0.30.0 (#243)
amp-automation Nov 17, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .eslintrc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ extends:
parserOptions:
ecmaVersion: 2018
rules:
"@typescript-eslint/no-parameter-properties": off
"@typescript-eslint/no-parameter-properties": off
60 changes: 53 additions & 7 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,59 @@
repo:
- ./*
- changed-files:
- any-glob-to-any-file: './*'

test:
- src/**/*.spec.ts
- src/**/*.ts.snap
- changed-files:
- any-glob-to-any-file:
- src/**/*.spec.ts
- src/**/*.ts.snap

documentation:
- ./**/*.md
- changed-files:
- any-glob-to-any-file:
- ./**/*.md

content-item:
- changed-files:
- any-glob-to-any-file:
- ./src/commands/content-item/*.ts

content-repository:
- ./src/commands/content-repository/*.ts
- changed-files:
- any-glob-to-any-file:
- ./src/commands/content-repository/*.ts

content-type:
- ./src/commands/content-type/*.ts
- changed-files:
- any-glob-to-any-file:
- ./src/commands/content-type/*.ts

content-type-schema:
- ./src/commands/content-type-schema/*.ts
- changed-files:
- any-glob-to-any-file:
- ./src/commands/content-type-schema/*.ts

events:
- changed-files:
- any-glob-to-any-file:
- ./src/commands/events/*.ts

extension:
- changed-files:
- any-glob-to-any-file:
- ./src/commands/extension/*.ts

hub:
- changed-files:
- any-glob-to-any-file:
- ./src/commands/hub/*.ts

search-index:
- changed-files:
- any-glob-to-any-file:
- ./src/commands/search-index/*.ts

settings:
- changed-files:
- any-glob-to-any-file:
- ./src/commands/settings/*.ts
2 changes: 1 addition & 1 deletion .github/workflows/label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/labeler@v2
- uses: actions/labeler@v5
if: github.event.pull_request.head.repo.fork == false
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
41 changes: 15 additions & 26 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,35 +4,24 @@ on: [push, pull_request]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [12.x, 14.x, 16.x]
node: [20, 22, 24]

steps:
- uses: actions/checkout@v1

- name: Cache node modules
uses: actions/cache@v1
with:
path: node_modules
key: ${{ runner.OS }}-${{ matrix.node-version }}-build-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.OS }}-${{ matrix.node-version }}-build-${{ env.cache-name }}-
${{ runner.OS }}-${{ matrix.node-version }}-build-
${{ runner.OS }}-${{ matrix.node-version }}-

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}

- name: npm install, build, and test
run: |
npm ci
npm run build --if-present
npm test
env:
CI: true
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
cache: 'npm'
node-version: ${{ matrix.node }}

- name: npm install, build, and test
run: |
npm ci --ignore-scripts
npm run build --if-present
npm test
env:
CI: true
29 changes: 19 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,36 +3,45 @@ on:
branches:
- master

permissions:
contents: write
pull-requests: write
id-token: write

name: release-please
jobs:
release-please:
runs-on: ubuntu-latest

steps:
- uses: GoogleCloudPlatform/release-please-action@v2
- uses: googleapis/release-please-action@v4
id: release
with:
token: ${{ secrets.GH_REPO_ACCESS }}
token: ${{ secrets.GH_REPO_ACCESS_PUBLIC_REPOS }}
release-type: node
package-name: dc-cli
bump-minor-pre-major: true

- uses: actions/checkout@v2
- uses: actions/checkout@v4
if: ${{ steps.release.outputs.release_created }}

- uses: actions/setup-node@v1
- uses: actions/setup-node@v4
if: ${{ steps.release.outputs.release_created }}
with:
node-version: 14
cache: 'npm'
node-version-file: '.nvmrc'
registry-url: 'https://registry.npmjs.org'

- run: |
npm ci
npm ci --ignore-scripts
npm run build --if-present
if: ${{ steps.release.outputs.release_created }}

- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
if: ${{ steps.release.outputs.release_created }}

- run: |
npm run build:package
./scripts/compress.sh
gh release upload ${{ steps.release.outputs.tag_name }} ./packages/*.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
if: ${{ steps.release.outputs.release_created }}
31 changes: 31 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,34 @@ coverage

# Temp files
temp/

# General
.DS_Store
.AppleDouble
.LSOverride

# Icon must end with two \r
Icon


# Thumbnails
._*

# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk

# dc-cli outputs
exports
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
12
24.10
4 changes: 3 additions & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"singleQuote": true,
"printWidth": 120
"printWidth": 120,
"trailingComma": "none",
"arrowParens": "avoid"
}
1 change: 1 addition & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{".":"0.30.0"}
Loading