Skip to content

Commit 44b9a2a

Browse files
committed
Merge branch 'v2-dev' into fix/dx-3922
2 parents 0dc1348 + 621032c commit 44b9a2a

25 files changed

Lines changed: 9174 additions & 11097 deletions

File tree

.github/CODEOWNERS

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
* @contentstack/devex-pr-reviewers
2+
.github/workflows/sca-scan.yml @contentstack/security-admin
3+
.github/workflows/issues-jira.yml @contentstack/security-admin
4+
.github/workflows/policy-scan.yml @contentstack/security-admin
5+
**/.snyk @contentstack/security-admin

.github/workflows/sca-scan.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,6 @@ jobs:
1313
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
1414
with:
1515
args: --all-projects --fail-on=all
16+
json: true
17+
continue-on-error: true
18+
- uses: contentstack/sca-policy@main

.talismanrc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
fileignoreconfig:
2-
- filename: package-lock.json
3-
checksum: 192758bcc96f1e4b1a1ad583a18e945926006b39d66515e032723aff3977faaf
2+
- filename: pnpm-lock.yaml
3+
checksum: 69c9fefd1240e00e7efa17658a53292444de3eecc70fb93c719b3b92a8cac0f0
4+
- filename: packages/contentstack-migration/src/commands/cm/stacks/migration.ts
5+
checksum: 8690833f285db085aa1431d4a708c243e2bf5b4ed366c5c15e2daf66eb24c19e
46
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

0 commit comments

Comments
 (0)