Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
7 changes: 6 additions & 1 deletion .github/workflows/release-production-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ jobs:
- name: Build all packages
run: pnpm -r --sort run build

- name: Install ggshield
run: pipx install ggshield

- name: Reading Configuration
id: release_config
uses: rgarcia-phi/json-to-variables@v1.1.0
Expand All @@ -40,6 +43,8 @@ jobs:
- name: Publishing core (Production)
id: publish-core
uses: JS-DevTools/npm-publish@v3
env:
GITGUARDIAN_API_KEY: ${{ secrets.GITGUARDIAN_API_KEY }}
with:
token: ${{ secrets.NPM_TOKEN }}
package: ./packages/contentstack/package.json
Expand All @@ -58,4 +63,4 @@ jobs:
gh release create "$TAG" \
--title "Core Production $VERSION" \
--generate-notes
fi
fi
13 changes: 12 additions & 1 deletion .github/workflows/release-production-platform-plugins.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ jobs:
- name: Build all plugins
run: pnpm -r --sort run build

- name: Install ggshield
run: pipx install ggshield

- name: Reading Configuration
id: release_config
uses: rgarcia-phi/json-to-variables@v1.1.0
Expand All @@ -40,6 +43,8 @@ jobs:
# Utilities
- name: Publishing utilities (Production)
uses: JS-DevTools/npm-publish@v3
env:
GITGUARDIAN_API_KEY: ${{ secrets.GITGUARDIAN_API_KEY }}
with:
token: ${{ secrets.NPM_TOKEN }}
package: ./packages/contentstack-utilities/package.json
Expand All @@ -48,6 +53,8 @@ jobs:
# Command
- name: Publishing command (Production)
uses: JS-DevTools/npm-publish@v3
env:
GITGUARDIAN_API_KEY: ${{ secrets.GITGUARDIAN_API_KEY }}
with:
token: ${{ secrets.NPM_TOKEN }}
package: ./packages/contentstack-command/package.json
Expand All @@ -56,6 +63,8 @@ jobs:
# Config
- name: Publishing config (Production)
uses: JS-DevTools/npm-publish@v3
env:
GITGUARDIAN_API_KEY: ${{ secrets.GITGUARDIAN_API_KEY }}
with:
token: ${{ secrets.NPM_TOKEN }}
package: ./packages/contentstack-config/package.json
Expand All @@ -64,7 +73,9 @@ jobs:
# Auth
- name: Publishing auth (Production)
uses: JS-DevTools/npm-publish@v3
env:
GITGUARDIAN_API_KEY: ${{ secrets.GITGUARDIAN_API_KEY }}
with:
token: ${{ secrets.NPM_TOKEN }}
package: ./packages/contentstack-auth/package.json
tag: latest
tag: latest
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,5 @@ snyk_output.log
**/migration-logs
**/migration-logs/**
*.logs
tsconfig.tsbuildinfo
tsconfig.tsbuildinfo
.cache_ggshield
2 changes: 1 addition & 1 deletion packages/contentstack-auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"build": "pnpm compile && oclif manifest && oclif readme",
"clean": "rm -rf ./lib ./node_modules tsconfig.tsbuildinfo",
"compile": "tsc -b tsconfig.json",
"postpack": "rm -f oclif.manifest.json",
"postpack": "ggshield secret scan archive ./*.tgz && rm -f oclif.manifest.json",
"prepack": "pnpm compile && oclif manifest && oclif readme",
"version": "oclif readme && git add README.md",
"test": "mocha \"test/unit/**/*.test.ts\"",
Expand Down
3 changes: 2 additions & 1 deletion packages/contentstack-command/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"scripts": {
"build": "pnpm compile",
"prepack": "pnpm compile",
"postpack": "ggshield secret scan archive ./*.tgz",
"clean": "rm -rf ./lib ./node_modules tsconfig.tsbuildinfo",
"compile": "tsc -b tsconfig.json",
"test": "mocha \"test/unit/**/*.test.ts\"",
Expand Down Expand Up @@ -67,4 +68,4 @@
"url": "git+https://github.com/contentstack/cli.git",
"directory": "packages/contentstack-command"
}
}
}
2 changes: 1 addition & 1 deletion packages/contentstack-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"build": "pnpm compile && oclif manifest && oclif readme",
"clean": "rm -rf ./lib ./node_modules tsconfig.tsbuildinfo",
"compile": "tsc -b tsconfig.json",
"postpack": "rm -f oclif.manifest.json",
"postpack": "ggshield secret scan archive ./*.tgz && rm -f oclif.manifest.json",
"prepack": "pnpm compile && oclif manifest && oclif readme",
"version": "oclif readme && git add README.md",
"test": "mocha \"test/unit/**/*.test.ts\"",
Expand Down
3 changes: 2 additions & 1 deletion packages/contentstack-utilities/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"types": "lib/index.d.ts",
"scripts": {
"prepack": "pnpm compile",
"postpack": "ggshield secret scan archive ./*.tgz",
"build": "pnpm compile",
"clean": "rm -rf ./lib ./node_modules tsconfig.tsbuildinfo",
"compile": "tsc -b tsconfig.json",
Expand Down Expand Up @@ -85,4 +86,4 @@
"ts-node": "^10.9.2",
"typescript": "^5.9.3"
}
}
}
2 changes: 1 addition & 1 deletion packages/contentstack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"build": "pnpm compile && oclif manifest && oclif readme",
"clean": "rm -rf ./lib ./node_modules tsconfig.tsbuildinfo",
"compile": "tsc -b tsconfig.json",
"postpack": "rm -f oclif.manifest.json",
"postpack": "ggshield secret scan archive ./*.tgz && rm -f oclif.manifest.json",
"version": "oclif readme && git add README.md",
"test": "mocha \"test/unit/**/*.test.ts\"",
"lint": "eslint src/**/*.ts",
Expand Down
74 changes: 52 additions & 22 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion pnpm-workspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ overrides:
brace-expansion: 5.0.12
js-yaml: 5.4.3
fast-uri: 4.2.1
qs: 6.16.0
qs: 6.16.1
traverse: 0.6.14
Loading