Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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 .talismanrc
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
fileignoreconfig:
- filename: pnpm-lock.yaml
checksum: 97c02af1c210f0a8d5486ec114746856c96209132b973199cfed33de8461965c
checksum: 89acb731dc98c886694fa4d267c11c188000b8ecbe5ee6e4809e5bc6ec33a2f3
version: '1.0'
2 changes: 1 addition & 1 deletion packages/contentstack-audit/README.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -19,7 +19,7 @@ $ npm install -g @contentstack/cli-audit
$ csdx COMMAND
running command...
$ csdx (--version|-v)
@contentstack/cli-audit/1.19.2 darwin-arm64 node-v24.14.0
@contentstack/cli-audit/1.19.3 darwin-arm64 node-v24.14.0
$ csdx --help [COMMAND]
USAGE
$ csdx COMMAND
Expand Down
2 changes: 1 addition & 1 deletion packages/contentstack-bootstrap/README.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -15,7 +15,7 @@ $ npm install -g @contentstack/cli-cm-bootstrap
$ csdx COMMAND
running command...
$ csdx (--version)
@contentstack/cli-cm-bootstrap/1.19.1 darwin-arm64 node-v24.14.0
@contentstack/cli-cm-bootstrap/1.19.3 darwin-arm64 node-v24.14.0
$ csdx --help [COMMAND]
USAGE
$ csdx COMMAND
Expand Down
6 changes: 3 additions & 3 deletions packages/contentstack-bootstrap/package.json
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
{
"name": "@contentstack/cli-cm-bootstrap",
"description": "Bootstrap contentstack apps",
"version": "1.19.3",
"version": "1.19.4",
"author": "Contentstack",
"bugs": "https://github.com/contentstack/cli/issues",
"scripts": {
Expand All@@ -16,7 +16,7 @@
"test:report": "nyc --reporter=lcov mocha \"test/**/*.test.js\""
},
"dependencies": {
"@contentstack/cli-cm-seed": "~1.15.3",
"@contentstack/cli-cm-seed": "~1.15.4",
"@contentstack/cli-command": "~1.8.2",
"@contentstack/cli-config": "~1.20.3",
"@contentstack/cli-utilities": "~1.18.3",
Expand DownExpand Up@@ -69,4 +69,4 @@
}
},
"repository": "contentstack/cli"
}
}
2 changes: 1 addition & 1 deletion packages/contentstack-branches/README.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -37,7 +37,7 @@ $ npm install -g @contentstack/cli-cm-branches
$ csdx COMMAND
running command...
$ csdx (--version)
@contentstack/cli-cm-branches/1.8.0 darwin-arm64 node-v24.14.0
@contentstack/cli-cm-branches/1.8.1 darwin-arm64 node-v24.14.0
$ csdx --help [COMMAND]
USAGE
$ csdx COMMAND
Expand Down
2 changes: 1 addition & 1 deletion packages/contentstack-bulk-publish/README.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -18,7 +18,7 @@ $ npm install -g @contentstack/cli-cm-bulk-publish
$ csdx COMMAND
running command...
$ csdx (--version)
@contentstack/cli-cm-bulk-publish/1.11.2 darwin-arm64 node-v24.14.0
@contentstack/cli-cm-bulk-publish/1.11.3 darwin-arm64 node-v24.14.0
$ csdx --help [COMMAND]
USAGE
$ csdx COMMAND
Expand Down
2 changes: 1 addition & 1 deletion packages/contentstack-clone/README.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -16,7 +16,7 @@ $ npm install -g @contentstack/cli-cm-clone
$ csdx COMMAND
running command...
$ csdx (--version)
@contentstack/cli-cm-clone/1.21.2 darwin-arm64 node-v24.14.0
@contentstack/cli-cm-clone/1.21.4 darwin-arm64 node-v24.14.0
$ csdx --help [COMMAND]
USAGE
$ csdx COMMAND
Expand Down
6 changes: 3 additions & 3 deletions packages/contentstack-clone/package.json
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
{
"name": "@contentstack/cli-cm-clone",
"description": "Contentstack stack clone plugin",
"version": "1.21.4",
"version": "1.21.5",
"author": "Contentstack",
"bugs": "https://github.com/rohitmishra209/cli-cm-clone/issues",
"dependencies": {
"@colors/colors": "^1.6.0",
"@contentstack/cli-cm-export": "~1.25.0",
"@contentstack/cli-cm-import": "~1.33.0",
"@contentstack/cli-cm-import": "~1.33.1",
"@contentstack/cli-command": "~1.8.2",
"@contentstack/cli-utilities": "~1.18.3",
"@oclif/core": "^4.10.5",
Expand DownExpand Up@@ -81,4 +81,4 @@
"cm:stack-clone": "O-CLN"
}
}
}
}
2 changes: 1 addition & 1 deletion packages/contentstack-export/README.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -48,7 +48,7 @@ $ npm install -g @contentstack/cli-cm-export
$ csdx COMMAND
running command...
$ csdx (--version)
@contentstack/cli-cm-export/1.24.2 darwin-arm64 node-v24.14.0
@contentstack/cli-cm-export/1.25.0 darwin-arm64 node-v24.14.0
$ csdx --help [COMMAND]
USAGE
$ csdx COMMAND
Expand Down
2 changes: 1 addition & 1 deletion packages/contentstack-import-setup/README.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -47,7 +47,7 @@ $ npm install -g @contentstack/cli-cm-import-setup
$ csdx COMMAND
running command...
$ csdx (--version)
@contentstack/cli-cm-import-setup/1.8.2 darwin-arm64 node-v24.14.0
@contentstack/cli-cm-import-setup/1.8.3 darwin-arm64 node-v24.14.0
$ csdx --help [COMMAND]
USAGE
$ csdx COMMAND
Expand Down
2 changes: 1 addition & 1 deletion packages/contentstack-import/README.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -47,7 +47,7 @@ $ npm install -g @contentstack/cli-cm-import
$ csdx COMMAND
running command...
$ csdx (--version)
@contentstack/cli-cm-import/1.32.2 darwin-arm64 node-v24.14.0
@contentstack/cli-cm-import/1.33.0 darwin-arm64 node-v24.14.0
$ csdx --help [COMMAND]
USAGE
$ csdx COMMAND
Expand Down
4 changes: 2 additions & 2 deletions packages/contentstack-import/package.json
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
{
"name": "@contentstack/cli-cm-import",
"description": "Contentstack CLI plugin to import content into stack",
"version": "1.33.0",
"version": "1.33.1",
"author": "Contentstack",
"bugs": "https://github.com/contentstack/cli/issues",
"dependencies": {
Expand DownExpand Up@@ -89,4 +89,4 @@
}
},
"repository": "https://github.com/contentstack/cli"
}
}
6 changes: 6 additions & 0 deletions packages/contentstack-import/src/utils/asset-helper.ts
Original file line numberDiff line numberDiff line change
Expand Up@@ -266,6 +266,12 @@ export const lookupAssets = function (
}

find(data.content_type.schema, data.entry);
// findFileUrls scans the whole entry object, but is only triggered inside find() when a
// text field has markdown/rich_text_type metadata. Content types with no such fields
// (e.g. those storing asset URLs in plain text fields) never call findFileUrls, so URLs
// in those fields are never collected. Calling it once unconditionally here ensures all
// asset URLs in the entry are always captured, regardless of schema shape.
findFileUrls({ field_metadata: {} }, data.entry, assetUrls);
updateFileFields(data.entry, data, null, mappedAssetUids, matchedUids, unmatchedUids, mappedAssetUrls);
assetUids = _.uniq(assetUids);
assetUrls = _.uniq(assetUrls);
Expand Down
2 changes: 1 addition & 1 deletion packages/contentstack-migration/README.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -21,7 +21,7 @@ $ npm install -g @contentstack/cli-migration
$ csdx COMMAND
running command...
$ csdx (--version)
@contentstack/cli-migration/1.12.1 darwin-arm64 node-v24.14.0
@contentstack/cli-migration/1.12.2 darwin-arm64 node-v24.14.0
$ csdx --help [COMMAND]
USAGE
$ csdx COMMAND
Expand Down
4 changes: 2 additions & 2 deletions packages/contentstack-query-export/package.json
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
{
"name": "@contentstack/cli-cm-export-query",
"description": "Contentstack CLI plugin to export content from stack",
"version": "1.0.1",
"version": "1.0.2",
"author": "Contentstack",
"bugs": "https://github.com/contentstack/cli/issues",
"dependencies": {
Expand DownExpand Up@@ -99,4 +99,4 @@
}
},
"repository": "https://github.com/contentstack/cli"
}
}
Original file line numberDiff line numberDiff line change
Expand Up@@ -73,7 +73,7 @@ export class ModuleExporter {
if (options.alias) {
cmd.push('-a', options.alias);
} else if (this.exportQueryConfig.managementToken) {
cmd.push('-a', this.exportQueryConfig.managementToken);
cmd.push('-a', this.exportQueryConfig.alias);
}

// Branch
Expand Down
1 change: 1 addition & 0 deletions packages/contentstack-query-export/src/types/index.ts
Original file line numberDiff line numberDiff line change
Expand Up@@ -203,6 +203,7 @@ export interface QueryExportConfig extends DefaultConfig {
batchDelayMs?: number;
assetBatchSize?: number;
assetBatchDelayMs?: number;
alias?: string;
context?: LogContext; // Log context for centralized logging
}

Expand Down
Original file line numberDiff line numberDiff line change
Expand Up@@ -37,6 +37,7 @@ export async function setupQueryExportConfig(flags: any): Promise<QueryExportCon
const { token, apiKey } = configHandler.get(`tokens.${flags.alias}`) || {};
exportQueryConfig.managementToken = token;
exportQueryConfig.stackApiKey = apiKey;
exportQueryConfig.alias = flags.alias;
if (!exportQueryConfig.managementToken) {
throw new Error(`No management token found for alias ${flags.alias}.`);
}
Expand Down
6 changes: 3 additions & 3 deletions packages/contentstack-seed/package.json
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
{
"name": "@contentstack/cli-cm-seed",
"description": "create a Stack from existing content types, entries, assets, etc.",
"version": "1.15.3",
"version": "1.15.4",
"author": "Contentstack",
"bugs": "https://github.com/contentstack/cli/issues",
"dependencies": {
"@contentstack/cli-cm-import": "~1.33.0",
"@contentstack/cli-cm-import": "~1.33.1",
"@contentstack/cli-command": "~1.8.2",
"@contentstack/cli-utilities": "~1.18.3",
"inquirer": "8.2.7",
Expand DownExpand Up@@ -70,4 +70,4 @@
"compile": "tsc -b tsconfig.json",
"build": "pnpm compile && oclif manifest && oclif readme"
}
}
}
Loading
Loading