Skip to content

Commit 6cc676e

Browse files
authored
Merge pull request #1898 from contentstack/refactor/DX-2769
test: fix failed ESLint & Report Generation Issue and added check in workflow
2 parents f5ddbb3 + 3d98ea6 commit 6cc676e

File tree

7 files changed

+12
-8
lines changed

7 files changed

+12
-8
lines changed

.github/workflows/unit-test.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ jobs:
3131
- name: Run tests for Contentstack Migrate RTE
3232
working-directory: ./packages/contentstack-migrate-rte
3333
run: npm run test
34+
35+
- name: Run tests for Contentstack Migration
36+
working-directory: ./packages/contentstack-migration
37+
run: npm run test
3438
# - name: Fetch latest references
3539
# run: |
3640
# git fetch --prune

package-lock.json

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

packages/contentstack-migration/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ $ npm install -g @contentstack/cli-migration
2121
$ csdx COMMAND
2222
running command...
2323
$ csdx (--version)
24-
@contentstack/cli-migration/1.7.0 darwin-arm64 node-v22.14.0
24+
@contentstack/cli-migration/1.7.1 darwin-arm64 node-v22.14.0
2525
$ csdx --help [COMMAND]
2626
USAGE
2727
$ csdx COMMAND

packages/contentstack-migration/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@contentstack/cli-migration",
3-
"version": "1.7.0",
3+
"version": "1.7.1",
44
"author": "@contentstack",
55
"bugs": "https://github.com/contentstack/cli/issues",
66
"dependencies": {
@@ -46,7 +46,6 @@
4646
"repository": "contentstack/cli",
4747
"scripts": {
4848
"postpack": "rm -f oclif.manifest.json",
49-
"posttest": "eslint ./src",
5049
"generate-api-ref-md-doc": "nyc jsdoc2md ./src/modules/* > ./docs/api-reference.md",
5150
"prepack": "oclif manifest && oclif readme && pnpm generate-api-ref-md-doc",
5251
"test": "nyc mocha \"test/**/*.test.js\"",

packages/contentstack/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3776,7 +3776,8 @@ USAGE
37763776
$ csdx launch:functions [-p <value>] [-d <value>]
37773777
37783778
FLAGS
3779-
-d, --data-dir=<value> [default: /Users/sunil.lakshman/Documents/cli/packages/contentstack] Current working directory
3779+
-d, --data-dir=<value> [default: /Users/aman.kumar/Documents/datasync-repo/cli/packages/contentstack] Current working
3780+
directory
37803781
-p, --port=<value> [default: 3000] Port number
37813782
37823783
DESCRIPTION

packages/contentstack/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"@contentstack/cli-command": "~1.5.0",
3838
"@contentstack/cli-config": "~1.12.0",
3939
"@contentstack/cli-launch": "^1.8.0",
40-
"@contentstack/cli-migration": "~1.7.0",
40+
"@contentstack/cli-migration": "~1.7.1",
4141
"@contentstack/cli-utilities": "~1.11.0",
4242
"@contentstack/cli-variants": "~1.2.1",
4343
"@contentstack/management": "~1.20.2",

pnpm-lock.yaml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)