Skip to content

Commit f1baeae

Browse files
authored
Merge pull request #1698 from contentstack/development
DX | 11-12-2024 | Release
2 parents 478f9be + 26400aa commit f1baeae

File tree

98 files changed

+3917
-1913
lines changed

Some content is hidden

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

98 files changed

+3917
-1913
lines changed

.github/workflows/release.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,23 @@ jobs:
170170
with:
171171
token: ${{ secrets.NPM_TOKEN }}
172172
package: ./packages/contentstack-clone/package.json
173+
- name: Installing dependencies of import-setup
174+
id: import-setup-installation
175+
if: ${{env.release_releaseAll == 'true' || env.release_plugins_import_setup == 'true'}}
176+
working-directory: ./packages/contentstack-import-setup
177+
run: npm install
178+
- name: Compiling import-setup
179+
if: ${{ steps.import-setup-installation.conclusion == 'success' }}
180+
working-directory: ./packages/contentstack-import-setup
181+
run: npm run prepack
182+
- name: Publishing import-setup
183+
uses: JS-DevTools/npm-publish@v2.2.1
184+
if: ${{ steps.import-setup-installation.conclusion == 'success' }}
185+
with:
186+
token: ${{ secrets.NPM_TOKEN }}
187+
package: ./packages/contentstack-import-setup/package.json
188+
access: public
189+
tag: beta
173190
- name: Installing dependencies of export to csv
174191
id: export-to-csv-installation
175192
if: ${{env.release_releaseAll == 'true' || env.release_plugins_export-to-csv == 'true'}}

package-lock.json

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

packages/contentstack-audit/README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ $ npm install -g @contentstack/cli-audit
1919
$ csdx COMMAND
2020
running command...
2121
$ csdx (--version|-v)
22-
@contentstack/cli-audit/1.7.3 darwin-arm64 node-v22.8.0
22+
@contentstack/cli-audit/1.7.3 darwin-arm64 node-v22.2.0
2323
$ csdx --help [COMMAND]
2424
USAGE
2525
$ csdx COMMAND
@@ -269,7 +269,7 @@ EXAMPLES
269269
$ csdx plugins
270270
```
271271

272-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.17/src/commands/plugins/index.ts)_
272+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.22/src/commands/plugins/index.ts)_
273273

274274
## `csdx plugins:add PLUGIN`
275275

@@ -343,7 +343,7 @@ EXAMPLES
343343
$ csdx plugins:inspect myplugin
344344
```
345345

346-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.17/src/commands/plugins/inspect.ts)_
346+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.22/src/commands/plugins/inspect.ts)_
347347

348348
## `csdx plugins:install PLUGIN`
349349

@@ -392,7 +392,7 @@ EXAMPLES
392392
$ csdx plugins:install someuser/someplugin
393393
```
394394

395-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.17/src/commands/plugins/install.ts)_
395+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.22/src/commands/plugins/install.ts)_
396396

397397
## `csdx plugins:link PATH`
398398

@@ -423,7 +423,7 @@ EXAMPLES
423423
$ csdx plugins:link myplugin
424424
```
425425

426-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.17/src/commands/plugins/link.ts)_
426+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.22/src/commands/plugins/link.ts)_
427427

428428
## `csdx plugins:remove [PLUGIN]`
429429

@@ -464,7 +464,7 @@ FLAGS
464464
--reinstall Reinstall all plugins after uninstalling.
465465
```
466466

467-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.17/src/commands/plugins/reset.ts)_
467+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.22/src/commands/plugins/reset.ts)_
468468

469469
## `csdx plugins:uninstall [PLUGIN]`
470470

@@ -492,7 +492,7 @@ EXAMPLES
492492
$ csdx plugins:uninstall myplugin
493493
```
494494

495-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.17/src/commands/plugins/uninstall.ts)_
495+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.22/src/commands/plugins/uninstall.ts)_
496496

497497
## `csdx plugins:unlink [PLUGIN]`
498498

@@ -536,5 +536,5 @@ DESCRIPTION
536536
Update installed plugins.
537537
```
538538

539-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.17/src/commands/plugins/update.ts)_
539+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.22/src/commands/plugins/update.ts)_
540540
<!-- commandsstop -->

packages/contentstack-audit/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"@contentstack/cli-command": "~1.3.2",
2222
"@contentstack/cli-utilities": "~1.8.0",
2323
"@oclif/plugin-help": "^5.2.20",
24-
"@oclif/plugin-plugins": "^5.4.15",
24+
"@oclif/plugin-plugins": "^5.4.22",
2525
"chalk": "^4.1.2",
2626
"fast-csv": "^4.3.6",
2727
"fs-extra": "^11.2.0",
@@ -31,16 +31,16 @@
3131
},
3232
"devDependencies": {
3333
"@contentstack/cli-dev-dependencies": "^1.2.4",
34-
"@oclif/test": "^4.1.2",
34+
"@oclif/test": "^4.1.3",
3535
"@types/chai": "^4.3.20",
3636
"@types/fs-extra": "^11.0.4",
37-
"@types/mocha": "^10.0.9",
38-
"@types/node": "^20.17.6",
37+
"@types/mocha": "^10.0.10",
38+
"@types/node": "^20.17.9",
3939
"@types/uuid": "^9.0.8",
4040
"chai": "^4.5.0",
4141
"eslint": "^8.57.1",
4242
"eslint-config-oclif": "^4.0.0",
43-
"eslint-config-oclif-typescript": "^3.1.12",
43+
"eslint-config-oclif-typescript": "^3.1.13",
4444
"mocha": "^10.8.2",
4545
"nyc": "^15.1.0",
4646
"oclif": "^3.17.2",
@@ -49,7 +49,7 @@
4949
"ts-jest": "^29.2.5",
5050
"ts-node": "^10.9.2",
5151
"tslib": "^2.8.1",
52-
"typescript": "^5.6.3"
52+
"typescript": "^5.7.2"
5353
},
5454
"oclif": {
5555
"bin": "csdx",

packages/contentstack-auth/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ $ npm install -g @contentstack/cli-auth
1818
$ csdx COMMAND
1919
running command...
2020
$ csdx (--version)
21-
@contentstack/cli-auth/1.3.22 darwin-arm64 node-v22.8.0
21+
@contentstack/cli-auth/1.3.22 darwin-arm64 node-v22.2.0
2222
$ csdx --help [COMMAND]
2323
USAGE
2424
$ csdx COMMAND
@@ -49,9 +49,9 @@ USAGE
4949
$ csdx auth:login [-u <value> | --oauth] [-p <value> | ]
5050
5151
FLAGS
52-
-p, --password=<value> Password of your Contentstack app
52+
-p, --password=<value> Password of your Contentstack app.
5353
-u, --username=<value> Email address of your Contentstack account.
54-
--oauth Enables single sign-on (SSO) in Contentstack CLI
54+
--oauth Enables single sign-on (SSO) in Contentstack CLI.
5555
5656
DESCRIPTION
5757
User sessions login
@@ -82,7 +82,7 @@ USAGE
8282
$ csdx auth:logout [-y]
8383
8484
FLAGS
85-
-y, --yes Force log out by skipping the confirmation
85+
-y, --yes Force log out by skipping the confirmation.
8686
8787
DESCRIPTION
8888
User session logout
@@ -230,9 +230,9 @@ USAGE
230230
$ csdx login [-u <value> | --oauth] [-p <value> | ]
231231
232232
FLAGS
233-
-p, --password=<value> Password of your Contentstack app
233+
-p, --password=<value> Password of your Contentstack app.
234234
-u, --username=<value> Email address of your Contentstack account.
235-
--oauth Enables single sign-on (SSO) in Contentstack CLI
235+
--oauth Enables single sign-on (SSO) in Contentstack CLI.
236236
237237
DESCRIPTION
238238
User sessions login
@@ -261,7 +261,7 @@ USAGE
261261
$ csdx logout [-y]
262262
263263
FLAGS
264-
-y, --yes Force log out by skipping the confirmation
264+
-y, --yes Force log out by skipping the confirmation.
265265
266266
DESCRIPTION
267267
User session logout

packages/contentstack-auth/messages/index.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"CLI_AUTH_WHOAMI_DESCRIPTION": "Display current users email address",
2424
"CLI_AUTH_TOKENS_ADD_ASK_TOKEN_ALIAS": "Provide alias to store token",
2525
"CLI_AUTH_TOKENS_ADD_CONFIRM_ALIAS_REPLACE": "Alias is already exists, do you want to replace?",
26-
"CLI_AUTH_TOKENS_ADD_ENTER_API_KEY": "Enter the api key",
26+
"CLI_AUTH_TOKENS_ADD_ENTER_API_KEY": "Enter the API key",
2727
"CLI_AUTH_TOKENS_ADD_ENTER_TOKEN": "Enter the token",
2828
"CLI_AUTH_TOKENS_ADD_ENTER_ENVIRONMENT": "Enter the environment name",
2929
"CLI_AUTH_TOKENS_ADD_REPLACE_SUCCESS": "Successfully replaced the token",

packages/contentstack-auth/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,27 +25,27 @@
2525
"@contentstack/cli-command": "~1.3.2",
2626
"@contentstack/cli-utilities": "~1.8.0",
2727
"chalk": "^4.1.2",
28-
"debug": "^4.3.7",
28+
"debug": "^4.4.0",
2929
"inquirer": "8.2.6",
3030
"winston": "^3.17.0"
3131
},
3232
"devDependencies": {
3333
"@fancy-test/nock": "^0.1.1",
3434
"@oclif/plugin-help": "^5.2.20",
35-
"@oclif/test": "^4.1.0",
35+
"@oclif/test": "^4.1.3",
3636
"@types/chai": "^4.3.20",
3737
"@types/inquirer": "^9.0.7",
3838
"@types/mkdirp": "^1.0.2",
3939
"@types/mocha": "^8.2.3",
4040
"@types/node": "^14.18.63",
4141
"@types/sinon": "^10.0.20",
4242
"chai": "^4.5.0",
43-
"dotenv": "^16.4.5",
43+
"dotenv": "^16.4.7",
4444
"eslint": "^8.57.1",
45-
"eslint-config-oclif": "^5.2.1",
46-
"eslint-config-oclif-typescript": "^3.1.12",
45+
"eslint-config-oclif": "^5.2.2",
46+
"eslint-config-oclif-typescript": "^3.1.13",
4747
"globby": "^10.0.2",
48-
"mocha": "10.7.3",
48+
"mocha": "10.8.2",
4949
"nyc": "^15.1.0",
5050
"oclif": "^3.17.2",
5151
"rimraf": "^2.7.1",

packages/contentstack-auth/src/commands/auth/login.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@ export default class LoginCommand extends BaseCommand<typeof LoginCommand> {
3434
}),
3535
password: flags.string({
3636
char: 'p',
37-
description: 'Password of your Contentstack app',
37+
description: 'Password of your Contentstack app.',
3838
multiple: false,
3939
required: false,
4040
exclusive: ['oauth'],
4141
}),
4242
oauth: flags.boolean({
43-
description: 'Enables single sign-on (SSO) in Contentstack CLI',
43+
description: 'Enables single sign-on (SSO) in Contentstack CLI.',
4444
required: false,
4545
default: false,
4646
exclusive: ['username', 'password'],

packages/contentstack-auth/src/commands/auth/logout.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ export default class LogoutCommand extends BaseCommand<typeof LogoutCommand> {
2020
static flags: FlagInput = {
2121
yes: flags.boolean({
2222
char: 'y',
23-
description: 'Force log out by skipping the confirmation',
23+
description: 'Force log out by skipping the confirmation.',
2424
required: false,
2525
default: false,
2626
}),
2727
force: flags.boolean({
2828
char: 'f',
29-
description: 'Force log out by skipping the confirmation',
29+
description: 'Force log out by skipping the confirmation.',
3030
required: false,
3131
hidden: true,
3232
default: false,

packages/contentstack-bootstrap/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ $ npm install -g @contentstack/cli-cm-bootstrap
1515
$ csdx COMMAND
1616
running command...
1717
$ csdx (--version)
18-
@contentstack/cli-cm-bootstrap/1.13.0 darwin-arm64 node-v22.8.0
18+
@contentstack/cli-cm-bootstrap/1.13.0 darwin-arm64 node-v22.2.0
1919
$ csdx --help [COMMAND]
2020
USAGE
2121
$ csdx COMMAND
@@ -50,7 +50,7 @@ USAGE
5050
FLAGS
5151
-a, --alias=<value> Alias of the management token
5252
-k, --stack-api-key=<value> Provide stack API key to seed content
53-
-n, --stack-name=<value> Name of a new stack that will be created.
53+
-n, --stack-name=<value> Name of the new stack that will be created.
5454
-y, --yes=<value> [Optional] Skip stack confirmation
5555
--app-name=<value> App name, reactjs-starter, nextjs-starter, gatsby-starter, angular-starter, nuxt-starter,
5656
vue-starter, stencil-starter

0 commit comments

Comments
 (0)