Skip to content

Commit 253d793

Browse files
author
naman-contentstack
committed
Merge branch 'v2-dev' into feat/DX-4444
2 parents 4a815c0 + 621032c commit 253d793

File tree

23 files changed

+9168
-11112
lines changed

23 files changed

+9168
-11112
lines changed

.talismanrc

Lines changed: 6 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,8 @@
11
fileignoreconfig:
2-
- filename: packages/contentstack-asset-management/.eslintrc
3-
checksum: 136f03481c8c59575d2eafd4c78d105119f85fb10fe88e02af8cffaf3eb7c090
4-
- filename: packages/contentstack-asset-management/src/export/base.ts
5-
checksum: fcae2679bdeb93a6786cb290b60ba98f222a9c682552c6474370d17bf59ae1b4
6-
- filename: packages/contentstack-export/src/export/modules/stack.ts
7-
checksum: 82f7df78993942debb79e690c8c27d0998157428ef506d0b07ea31d5a1f71aba
8-
- filename: packages/contentstack-asset-management/src/types/export-types.ts
9-
checksum: d00ca608006d864f516e21b76d552c0ecf52ff89b3dcb361ed11ac600abed989
10-
- filename: packages/contentstack-asset-management/src/utils/export-helpers.ts
11-
checksum: 1a533a4e4d56a952f61ced63aa6f1bc8fbb3855fd7acecdd9fd40dd71e5fab6d
12-
- filename: packages/contentstack-asset-management/test/unit/utils/export-helpers.test.ts
13-
checksum: 0e8751163491fc45e7ae3999282d336ae1ab8a9f88e601cbb85b4f44e8db96b8
14-
- filename: packages/contentstack-asset-management/test/unit/utils/asset-management-api-adapter.test.ts
15-
checksum: ff688f37f40de3f7cbef378ec682ca1167720d902d8d84370464af7feb36c124
16-
- filename: packages/contentstack-asset-management/src/utils/asset-management-api-adapter.ts
17-
checksum: 6f5e11d3685b6093d6c4def7fc4199f673d9a56e5fbc2858ed72f69d764f1260
18-
version: "1.0"
2+
- filename: pnpm-lock.yaml
3+
checksum: 69c9fefd1240e00e7efa17658a53292444de3eecc70fb93c719b3b92a8cac0f0
4+
- filename: .husky/pre-commit
5+
checksum: 7a12030ddfea18d6f85edc25f1721fb2009df00fdd42bab66b05de25ab3e32b2
6+
- filename: packages/contentstack-migration/src/commands/cm/stacks/migration.ts
7+
checksum: 8690833f285db085aa1431d4a708c243e2bf5b4ed366c5c15e2daf66eb24c19e
198
version: '1.0'

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,17 @@
1010
},
1111
"private": true,
1212
"scripts": {
13-
"clean": "pnpm -r --filter './packages/*' run clean",
13+
"clean:packages": "pnpm -r --filter './packages/*' run clean",
1414
"build": "pnpm -r --filter './packages/*' run build",
1515
"test": "pnpm -r --filter './packages/*' run test",
1616
"prepack": "pnpm -r --filter './packages/*' run prepack",
1717
"bootstrap": "pnpm install",
1818
"clean:modules": "rm -rf node_modules packages/**/node_modules",
1919
"clean:lock": "rm -f pnpm-lock.yaml",
20-
"clean:all": "pnpm store prune && rm -rf node_modules && pnpm run clean",
20+
"clean:all": "pnpm store prune && rm -rf node_modules && pnpm run clean:packages",
2121
"setup": "pnpm run clean:all && pnpm run bootstrap && pnpm run build",
22-
"prepare": "npx husky && chmod +x .husky/pre-commit"
22+
"prepare": "npx husky && chmod +x .husky/pre-commit",
23+
"update:lockfile": "pnpm install --lockfile-only"
2324
},
2425
"license": "MIT",
2526
"packageManager": "pnpm@10.28.0",

packages/contentstack-audit/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,15 +64,15 @@
6464
"repositoryPrefix": "<%- repo %>/blob/main/packages/contentstack-audit/<%- commandPath %>"
6565
},
6666
"scripts": {
67-
"build": "pnpm compile",
67+
"build": "pnpm compile && oclif manifest",
6868
"lint": "eslint . --ext .ts --config .eslintrc",
6969
"postpack": "shx rm -f oclif.manifest.json",
7070
"posttest": "npm run lint",
71-
"compile": "shx rm -rf lib tsconfig.tsbuildinfo && tsc -b",
71+
"compile": "tsc -b tsconfig.json",
7272
"prepack": "pnpm compile && oclif manifest && oclif readme",
7373
"test": "mocha --forbid-only \"test/**/*.test.ts\"",
7474
"version": "oclif readme && git add README.md",
75-
"clean": "rm -rf ./lib ./node_modules .tsbuildinfo oclif.manifest.json",
75+
"clean": "rm -rf ./lib ./node_modules tsconfig.tsbuildinfo oclif.manifest.json",
7676
"test:unit:report": "nyc --extension .ts mocha --forbid-only \"test/unit/**/*.test.ts\"",
7777
"test:unit": "mocha --timeout 10000 --forbid-only \"test/unit/**/*.test.ts\""
7878
},

packages/contentstack-bootstrap/.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@
77
/yarn.lock
88
node_modules
99
.DS_Store
10-
coverage
10+
coverage
11+
/tsconfig.tsbuildinfo

packages/contentstack-bootstrap/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"author": "Contentstack",
66
"bugs": "https://github.com/contentstack/cli/issues",
77
"scripts": {
8-
"build": "pnpm compile",
9-
"clean": "rm -rf ./lib ./node_modules tsconfig.build.tsbuildinfo",
8+
"build": "pnpm compile && oclif manifest",
9+
"clean": "rm -rf ./lib ./node_modules tsconfig.tsbuildinfo",
1010
"compile": "tsc -b tsconfig.json",
1111
"postpack": "rm -f oclif.manifest.json",
1212
"prepack": "pnpm compile && oclif manifest && oclif readme",

packages/contentstack-branches/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ coverage
1212
.vscode
1313
branch-config.json
1414
/merge_scripts
15+
/tsconfig.tsbuildinfo

packages/contentstack-branches/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030
"typescript": "^4.9.5"
3131
},
3232
"scripts": {
33-
"build": "pnpm compile",
34-
"clean": "rm -rf ./lib ./node_modules tsconfig.build.tsbuildinfo",
33+
"build": "pnpm compile && oclif manifest",
34+
"clean": "rm -rf ./lib ./node_modules tsconfig.tsbuildinfo",
3535
"compile": "tsc -b tsconfig.json",
3636
"postpack": "rm -f oclif.manifest.json",
3737
"prepack": "pnpm compile && oclif manifest && oclif readme",

packages/contentstack-clone/.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@
66
/yarn.lock
77
node_modules
88
coverage
9-
/lib
9+
/lib
10+
/tsconfig.tsbuildinfo

packages/contentstack-clone/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@
6161
},
6262
"repository": "https://github.com/contentstack/cli",
6363
"scripts": {
64-
"build": "pnpm compile",
65-
"clean": "rm -rf ./lib ./node_modules tsconfig.build.tsbuildinfo",
64+
"build": "pnpm compile && oclif manifest",
65+
"clean": "rm -rf ./lib ./node_modules tsconfig.tsbuildinfo",
6666
"compile": "tsc -b tsconfig.json",
6767
"postpack": "rm -f oclif.manifest.json",
6868
"prepack": "pnpm compile && oclif manifest && oclif readme",

packages/contentstack-export-to-csv/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
},
6464
"repository": "https://github.com/contentstack/cli",
6565
"scripts": {
66-
"build": "pnpm compile",
66+
"build": "pnpm compile && oclif manifest",
6767
"clean": "rm -rf ./lib ./node_modules tsconfig.tsbuildinfo oclif.manifest.json",
6868
"compile": "tsc -b tsconfig.json",
6969
"lint": "eslint src/**/*.ts",

0 commit comments

Comments
 (0)