Skip to content

Commit efd318d

Browse files
committed
merged latest changes from dev
2 parents e827fba + 9fd8c6f commit efd318d

File tree

57 files changed

+2366
-2222
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+2366
-2222
lines changed

.talismanrc

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
fileignoreconfig:
22
- filename: package-lock.json
3-
checksum: 8cb8f731c811c721e741725fd0aab39cbef0e047392ccee0d0e61c679e7d0998
3+
checksum: 25bcbb12c701b53f222c599fa8ce53f347853a1d96257cee79b5cf5878e50015
44
- filename: pnpm-lock.yaml
5-
checksum: cbc8b8c0dc444eaf2895bdf8c46812cf4dbadfa7c63be4e9dc619018022899b5
5+
checksum: 448638c016e13e936e2dfa8297076162b0662de198908d994665579bab8f4b36
66
- filename: packages/contentstack-import-setup/test/unit/backup-handler.test.ts
77
checksum: 0582d62b88834554cf12951c8690a73ef3ddbb78b82d2804d994cf4148e1ef93
88
- filename: packages/contentstack-import-setup/test/config.json
@@ -265,12 +265,8 @@ fileignoreconfig:
265265
checksum: 9b83875b8d82086f13e0b7ab44ff7fe95486fced95b0c22d5c73fa69fbe35d4a
266266
- filename: packages/contentstack-bulk-publish/src/producer/add-fields.js
267267
checksum: 3e70b11978fc5f29a6a6c90b725c28c9df8d15bcc6fd74e2253fca23a3630160
268-
- filename: packages/contentstack-utilities/src/logger/session-path.ts
269-
checksum: 4c66980a857bc12012a45e50790c0eaab06883db5e1476d84fb142a08b70b2e7
270-
- filename: packages/contentstack-import/test/unit/commands/cm/stacks/import.test.ts
271-
checksum: ead3c34bad34f912d8663599273d26a95bb48220e16d9e9e3d33f5c064a487a5
272-
- filename: packages/contentstack-utilities/src/helpers.ts
273-
checksum: 9d7df9d79cec75f238a0072bf79c4934b4724bf1466451ea6f923adfd5c0b75b
274-
- filename: packages/contentstack-utilities/test/unit/logger.test.ts
275-
checksum: a1939dea16166b1893a248179524a76f2ed20b04b99c83bd1a5a13fcf6f0dadc
268+
- filename: packages/contentstack-export/src/export/modules-js/environments.js
269+
checksum: e8714ef41940f3a9be782dfaa43a15df57bd1eb4c3f0e4d5f305e68681c1bd93
270+
- filename: packages/contentstack-import/src/import/modules-js/environments.js
271+
checksum: d484342c25462a7052c8aae6cad0baed9a01e1eaa67d6a09f175981c53092301
276272
version: '1.0'

CHANGELOG.md

Lines changed: 6 additions & 0 deletions

package-lock.json

Lines changed: 1155 additions & 1066 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/contentstack-audit/LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2024 Contentstack
3+
Copyright (c) 2026 Contentstack
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

packages/contentstack-auth/LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2024 Contentstack
3+
Copyright (c) 2026 Contentstack
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

packages/contentstack-bootstrap/LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2024 Contentstack
3+
Copyright (c) 2026 Contentstack
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

packages/contentstack-branches/LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2024 Contentstack
3+
Copyright (c) 2026 Contentstack
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

packages/contentstack-bulk-publish/LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2024 Contentstack
3+
Copyright (c) 2026 Contentstack
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

packages/contentstack-clone/LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2024 Contentstack
3+
Copyright (c) 2026 Contentstack
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

packages/contentstack-clone/src/commands/cm/stacks/clone.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,16 +141,18 @@ class StackCloneCommand extends Command {
141141
config.importWebhookStatus = importWebhookStatus;
142142
}
143143

144+
//Set host and auth BEFORE SDK initialization to ensure correct regional endpoints
145+
config.host = this.cmaHost;
146+
config.cdn = this.cdaHost;
147+
config.auth_token = configHandler.get('authtoken');
148+
144149
const managementAPIClient = await managementSDKClient(config);
145150
log.debug('Management API client initialized successfully', cloneContext);
146151

147152
log.debug(`Content directory path: ${pathdir}`, cloneContext);
148153
await this.removeContentDirIfNotEmptyBeforeClone(pathdir, cloneContext); // NOTE remove if folder not empty before clone
149154
this.registerCleanupOnInterrupt(pathdir, cloneContext);
150155

151-
config.auth_token = configHandler.get('authtoken');
152-
config.host = this.cmaHost;
153-
config.cdn = this.cdaHost;
154156
config.pathDir = pathdir;
155157
config.cloneContext = cloneContext;
156158
log.debug('Clone configuration finalized', cloneContext);

0 commit comments

Comments
 (0)