Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Staging to development Back merge #1179

Merged
merged 42 commits into from
Nov 27, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
6e8acb8
Test: Unit test cases added for utility and content-types audit command
antonyagustine Nov 6, 2023
f709d98
Package updates
antonyagustine Nov 7, 2023
661ffff
Reverted import logger change, .DS_Store file removed
antonyagustine Nov 7, 2023
a15ad7b
Code clean
antonyagustine Nov 7, 2023
6f6d716
Tests: Audit functionality unit test cases added for entry module
antonyagustine Nov 8, 2023
99c5942
Lint fixes
antonyagustine Nov 9, 2023
6409912
Code clean
antonyagustine Nov 9, 2023
f18e654
package.json updated
antonyagustine Nov 9, 2023
b8b519d
Feat: Add missing global fields schema in to content type if global f…
antonyagustine Nov 15, 2023
61a008d
Code clean
antonyagustine Nov 16, 2023
8ed35fb
Test: Mock data updated/modified
antonyagustine Nov 16, 2023
e31cf15
Doc: Updated doc reviewed UI texts
antonyagustine Nov 16, 2023
10f6f4d
Fix: Test case fix, Write csv fix
antonyagustine Nov 21, 2023
2fd4003
fixed the issue of bulkOperation not a function, version bump and aud…
cs-raj Nov 15, 2023
2919d08
changed ternary to if else
cs-raj Nov 17, 2023
ff891b4
added api check to check the validity of the management token
cs-raj Oct 31, 2023
da783a1
showing the error in the command itself
cs-raj Oct 31, 2023
49c3568
changed the variable name and added error handling to check if the re…
cs-raj Nov 3, 2023
87696a6
removed the process.exit from helper.ts
cs-raj Nov 7, 2023
cdbb3fc
solved the issue listOfToken is not defined
cs-raj Nov 21, 2023
683935a
version bumps
cs-raj Nov 22, 2023
3545920
pushing package-lock
cs-raj Nov 22, 2023
261fcae
dependency upgrade for mirgrate-rte
cs-raj Nov 22, 2023
44e9ffd
branch export fix
shafeeqd959 Nov 20, 2023
bd24d9c
fixed the issue when using only the alias without stack-api-key
cs-raj Nov 22, 2023
e0ed3ce
solved issue when invalid management token alias is passed
cs-raj Nov 22, 2023
5eb7f91
Merge pull request #1172 from contentstack/fix/branch-export
shafeeqd959 Nov 22, 2023
52f3e0d
Merge branch 'release/hotfix' into hotfix/raj
cs-raj Nov 23, 2023
0d884f1
Merge pull request #1173 from contentstack/hotfix/raj
cs-raj Nov 23, 2023
7aceb49
version bump
cs-raj Nov 23, 2023
6a36791
Merge pull request #1171 from contentstack/release/hotfix
cs-raj Nov 23, 2023
ce9b8d4
Release fixes
cs-raj Nov 23, 2023
7913658
Merge pull request #1174 from contentstack/release/hotfix
cs-raj Nov 23, 2023
30363c4
Fix: clean script fixed and unused types removed
antonyagustine Nov 23, 2023
45fc813
Merge pull request #1175 from contentstack/fix/dev-dependency-script
cs-raj Nov 24, 2023
aec0913
Merge branch 'staging' into main_to_stage
cs-raj Nov 24, 2023
51f8373
Merge pull request #1177 from contentstack/main_to_stage
cs-raj Nov 24, 2023
664de96
Merge branch 'development' into staging_to_development
cs-raj Nov 24, 2023
f2e5275
package-lock update
cs-raj Nov 24, 2023
9c06e4e
Merge branch 'development' into staging_to_development
cs-raj Nov 24, 2023
2965ad6
Merge branch 'development' into staging_to_development
cs-raj Nov 25, 2023
026e2e4
pnpm lock file update
cs-raj Nov 25, 2023
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
Prev Previous commit
Next Next commit
Doc: Updated doc reviewed UI texts
  • Loading branch information
antonyagustine committed Nov 21, 2023
commit e31cf153ca853300f991a96c73358f288668fb2a
40 changes: 20 additions & 20 deletions packages/contentstack-audit/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,11 @@ COMMON FLAGS
-d, --data-dir=<value> Path where the data is stored

TABLE FLAGS
--columns=<value> do not truncate output to fit screen
--csv output is csv format [alias: --output=csv]
--filter=<value> filter property by partial string matching, ex: name=foo
--no-truncate do not truncate output to fit screen
--sort=<value> property to sort by (prepend '-' for descending)
--columns=<value> Show only the specified columns (comma-separated)
--csv The output is in the CSV format [alias: --output=csv]
--filter=<value> Filter property by partial string matching. For example: name=foo
--no-truncate The output is not truncated to fit the screen
--sort=<value> Property to sort by (prepend '-' for descending)

DESCRIPTION
Perform audits and find possible errors in the exported Contentstack data
Expand Down Expand Up @@ -115,11 +115,11 @@ COMMON FLAGS
-d, --data-dir=<value> Path where the data is stored

TABLE FLAGS
--columns=<value> do not truncate output to fit screen
--csv output is csv format [alias: --output=csv]
--filter=<value> filter property by partial string matching, ex: name=foo
--no-truncate do not truncate output to fit screen
--sort=<value> property to sort by (prepend '-' for descending)
--columns=<value> Show only the specified columns (comma-separated)
--csv The output is in the CSV format [alias: --output=csv]
--filter=<value> Filter property by partial string matching. For example: name=foo
--no-truncate The output is not truncated to fit the screen
--sort=<value> Property to sort by (prepend '-' for descending)

DESCRIPTION
Perform audits and fix possible errors in the exported Contentstack data.
Expand Down Expand Up @@ -162,11 +162,11 @@ COMMON FLAGS
-d, --data-dir=<value> Path where the data is stored

TABLE FLAGS
--columns=<value> do not truncate output to fit screen
--csv output is csv format [alias: --output=csv]
--filter=<value> filter property by partial string matching, ex: name=foo
--no-truncate do not truncate output to fit screen
--sort=<value> property to sort by (prepend '-' for descending)
--columns=<value> Show only the specified columns (comma-separated)
--csv The output is in the CSV format [alias: --output=csv]
--filter=<value> Filter property by partial string matching. For example: name=foo
--no-truncate The output is not truncated to fit the screen
--sort=<value> Property to sort by (prepend '-' for descending)

DESCRIPTION
Perform audits and find possible errors in the exported Contentstack data
Expand Down Expand Up @@ -214,11 +214,11 @@ COMMON FLAGS
-d, --data-dir=<value> Path where the data is stored

TABLE FLAGS
--columns=<value> do not truncate output to fit screen
--csv output is csv format [alias: --output=csv]
--filter=<value> filter property by partial string matching, ex: name=foo
--no-truncate do not truncate output to fit screen
--sort=<value> property to sort by (prepend '-' for descending)
--columns=<value> Show only the specified columns (comma-separated)
--csv The output is in the CSV format [alias: --output=csv]
--filter=<value> Filter property by partial string matching. For example: name=foo
--no-truncate The output is not truncated to fit the screen
--sort=<value> Property to sort by (prepend '-' for descending)

DESCRIPTION
Perform audits and fix possible errors in the exported Contentstack data.
Expand Down
10 changes: 5 additions & 5 deletions packages/contentstack-audit/src/messages/index.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
const errors = {};

const tableColumnDescriptions = {
TABLE_COLUMN: 'only show provided columns (comma-separated)',
TABLE_SORT: "property to sort by (prepend '-' for descending)",
TABLE_CSV: 'output is csv format [alias: --output=csv]',
TABLE_FILTER: 'filter property by partial string matching, ex: name=foo',
'TABLE_NO-TRUNCATE': 'do not truncate output to fit screen',
TABLE_COLUMNS: 'Show only the specified columns (comma-separated)',
TABLE_SORT: "Property to sort by (prepend '-' for descending)",
TABLE_CSV: 'The output is in the CSV format [alias: --output=csv]',
TABLE_FILTER: 'Filter property by partial string matching. For example: name=foo',
'TABLE_NO-TRUNCATE': 'The output is not truncated to fit the screen',
};

const commonMsg = {
Expand Down
2 changes: 1 addition & 1 deletion packages/contentstack-audit/src/util/flags.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ function getTableFlags(
flags[element].helpGroup = 'TABLE';

const descriptionKey = `TABLE_${element.toUpperCase()}` as keyof typeof tableColumnDescriptions;
flags.columns.description = tableColumnDescriptions[descriptionKey] ?? flags.columns.description;
flags[element].description = tableColumnDescriptions[descriptionKey] ?? flags[element].description;
});

return flags;
Expand Down
52 changes: 26 additions & 26 deletions packages/contentstack/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,11 +129,11 @@ COMMON FLAGS
-d, --data-dir=<value> Path where the data is stored

TABLE FLAGS
--columns=<value> do not truncate output to fit screen
--csv output is csv format [alias: --output=csv]
--filter=<value> filter property by partial string matching, ex: name=foo
--no-truncate do not truncate output to fit screen
--sort=<value> property to sort by (prepend '-' for descending)
--columns=<value> Show only the specified columns (comma-separated)
--csv The output is in the CSV format [alias: --output=csv]
--filter=<value> Filter property by partial string matching. For example: name=foo
--no-truncate The output is not truncated to fit the screen
--sort=<value> Property to sort by (prepend '-' for descending)

DESCRIPTION
Perform audits and find possible errors in the exported Contentstack data
Expand Down Expand Up @@ -179,11 +179,11 @@ COMMON FLAGS
-d, --data-dir=<value> Path where the data is stored

TABLE FLAGS
--columns=<value> do not truncate output to fit screen
--csv output is csv format [alias: --output=csv]
--filter=<value> filter property by partial string matching, ex: name=foo
--no-truncate do not truncate output to fit screen
--sort=<value> property to sort by (prepend '-' for descending)
--columns=<value> Show only the specified columns (comma-separated)
--csv The output is in the CSV format [alias: --output=csv]
--filter=<value> Filter property by partial string matching. For example: name=foo
--no-truncate The output is not truncated to fit the screen
--sort=<value> Property to sort by (prepend '-' for descending)

DESCRIPTION
Perform audits and fix possible errors in the exported Contentstack data.
Expand Down Expand Up @@ -2380,11 +2380,11 @@ COMMON FLAGS
-d, --data-dir=<value> Path where the data is stored

TABLE FLAGS
--columns=<value> do not truncate output to fit screen
--csv output is csv format [alias: --output=csv]
--filter=<value> filter property by partial string matching, ex: name=foo
--no-truncate do not truncate output to fit screen
--sort=<value> property to sort by (prepend '-' for descending)
--columns=<value> Show only the specified columns (comma-separated)
--csv The output is in the CSV format [alias: --output=csv]
--filter=<value> Filter property by partial string matching. For example: name=foo
--no-truncate The output is not truncated to fit the screen
--sort=<value> Property to sort by (prepend '-' for descending)

DESCRIPTION
Perform audits and find possible errors in the exported Contentstack data
Expand Down Expand Up @@ -2432,11 +2432,11 @@ COMMON FLAGS
-d, --data-dir=<value> Path where the data is stored

TABLE FLAGS
--columns=<value> do not truncate output to fit screen
--csv output is csv format [alias: --output=csv]
--filter=<value> filter property by partial string matching, ex: name=foo
--no-truncate do not truncate output to fit screen
--sort=<value> property to sort by (prepend '-' for descending)
--columns=<value> Show only the specified columns (comma-separated)
--csv The output is in the CSV format [alias: --output=csv]
--filter=<value> Filter property by partial string matching. For example: name=foo
--no-truncate The output is not truncated to fit the screen
--sort=<value> Property to sort by (prepend '-' for descending)

DESCRIPTION
Perform audits and fix possible errors in the exported Contentstack data.
Expand Down Expand Up @@ -3363,7 +3363,7 @@ EXAMPLES
$ csdx plugins
```

_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v3.8.4/src/commands/plugins/index.ts)_
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v3.3.2/src/commands/plugins/index.ts)_

## `csdx plugins:install PLUGIN...`

Expand Down Expand Up @@ -3428,7 +3428,7 @@ EXAMPLES
$ csdx plugins:inspect myplugin
```

_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v3.8.4/src/commands/plugins/inspect.ts)_
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v3.3.2/src/commands/plugins/inspect.ts)_

## `csdx plugins:install PLUGIN...`

Expand Down Expand Up @@ -3468,7 +3468,7 @@ EXAMPLES
$ csdx plugins:install someuser/someplugin
```

_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v3.8.4/src/commands/plugins/install.ts)_
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v3.3.2/src/commands/plugins/install.ts)_

## `csdx plugins:link PLUGIN`

Expand Down Expand Up @@ -3497,7 +3497,7 @@ EXAMPLES
$ csdx plugins:link myplugin
```

_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v3.8.4/src/commands/plugins/link.ts)_
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v3.3.2/src/commands/plugins/link.ts)_

## `csdx plugins:uninstall PLUGIN...`

Expand Down Expand Up @@ -3545,7 +3545,7 @@ ALIASES
$ csdx plugins:remove
```

_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v3.8.4/src/commands/plugins/uninstall.ts)_
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v3.3.2/src/commands/plugins/uninstall.ts)_

## `csdx plugins:uninstall PLUGIN...`

Expand Down Expand Up @@ -3586,7 +3586,7 @@ DESCRIPTION
Update installed plugins.
```

_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v3.8.4/src/commands/plugins/update.ts)_
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v3.3.2/src/commands/plugins/update.ts)_

## `csdx tokens`

Expand Down