GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Add GitGuardian secret scan on publish (postpack hook, blocking); ins… · contentstack/cli@f6f6b25

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .github/workflows
    • release-production-core.yml
    • release-production-platform-plugins.yml
  • .gitignore
  • package.json
  • packages
    • contentstack-auth
      • package.json
    • contentstack-command
      • package.json
    • contentstack-config
      • package.json
    • contentstack-utilities
      • package.json
    • contentstack
      • package.json
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.github/workflows/release-production-core.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/release-production-core.yml
+6-1Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ jobs:
3030
- name: Build all packages
3131
run: pnpm -r --sort run build
3232

33+
- name: Install ggshield
34+
run: pipx install ggshield
35+
3336
- name: Reading Configuration
3437
id: release_config
3538
uses: rgarcia-phi/[email protected]
@@ -40,6 +43,8 @@ jobs:
4043
- name: Publishing core (Production)
4144
id: publish-core
4245
uses: JS-DevTools/npm-publish@v3
46+
env:
47+
GITGUARDIAN_API_KEY: ${{ secrets.GITGUARDIAN_API_KEY }}
4348
with:
4449
token: ${{ secrets.NPM_TOKEN }}
4550
package: ./packages/contentstack/package.json
@@ -58,4 +63,4 @@ jobs:
5863
gh release create "$TAG" \
5964
--title "Core Production $VERSION" \
6065
--generate-notes
61-
fi
66+
fi
Collapse file

‎.github/workflows/release-production-platform-plugins.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/release-production-platform-plugins.yml
+12-1Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ jobs:
3030
- name: Build all plugins
3131
run: pnpm -r --sort run build
3232

33+
- name: Install ggshield
34+
run: pipx install ggshield
35+
3336
- name: Reading Configuration
3437
id: release_config
3538
uses: rgarcia-phi/[email protected]
@@ -40,6 +43,8 @@ jobs:
4043
# Utilities
4144
- name: Publishing utilities (Production)
4245
uses: JS-DevTools/npm-publish@v3
46+
env:
47+
GITGUARDIAN_API_KEY: ${{ secrets.GITGUARDIAN_API_KEY }}
4348
with:
4449
token: ${{ secrets.NPM_TOKEN }}
4550
package: ./packages/contentstack-utilities/package.json
@@ -48,6 +53,8 @@ jobs:
4853
# Command
4954
- name: Publishing command (Production)
5055
uses: JS-DevTools/npm-publish@v3
56+
env:
57+
GITGUARDIAN_API_KEY: ${{ secrets.GITGUARDIAN_API_KEY }}
5158
with:
5259
token: ${{ secrets.NPM_TOKEN }}
5360
package: ./packages/contentstack-command/package.json
@@ -56,6 +63,8 @@ jobs:
5663
# Config
5764
- name: Publishing config (Production)
5865
uses: JS-DevTools/npm-publish@v3
66+
env:
67+
GITGUARDIAN_API_KEY: ${{ secrets.GITGUARDIAN_API_KEY }}
5968
with:
6069
token: ${{ secrets.NPM_TOKEN }}
6170
package: ./packages/contentstack-config/package.json
@@ -64,7 +73,9 @@ jobs:
6473
# Auth
6574
- name: Publishing auth (Production)
6675
uses: JS-DevTools/npm-publish@v3
76+
env:
77+
GITGUARDIAN_API_KEY: ${{ secrets.GITGUARDIAN_API_KEY }}
6778
with:
6879
token: ${{ secrets.NPM_TOKEN }}
6980
package: ./packages/contentstack-auth/package.json
70-
tag: latest
81+
tag: latest
Collapse file

‎.gitignore‎

Copy file name to clipboardExpand all lines: .gitignore
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ snyk_output.log
2626
**/migration-logs
2727
**/migration-logs/**
2828
*.logs
29-
tsconfig.tsbuildinfo
29+
tsconfig.tsbuildinfo.cache_ggshield
Collapse file

‎package.json‎

Copy file name to clipboardExpand all lines: package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"lint": "pnpm -r --filter './packages/*' run lint",
1717
"prepack": "pnpm -r --filter './packages/*' run prepack",
1818
"bootstrap": "pnpm install",
19-
"clean:modules": "rm -rf node_modules packages/**/node_modules",
19+
"clean:modules": "rm -rf node_modulesgit branch packages/**/node_modules",
2020
"clean:lock": "rm -f pnpm-lock.yaml",
2121
"clean:all": "pnpm store prune && rm -rf node_modules && pnpm run clean:packages",
2222
"setup": "pnpm run clean:all && pnpm run bootstrap && pnpm run build",
Collapse file

‎packages/contentstack-auth/package.json‎

Copy file name to clipboardExpand all lines: packages/contentstack-auth/package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"build": "pnpm compile && oclif manifest && oclif readme",
99
"clean": "rm -rf ./lib ./node_modules tsconfig.tsbuildinfo",
1010
"compile": "tsc -b tsconfig.json",
11-
"postpack": "rm -f oclif.manifest.json",
11+
"postpack": "ggshield secret scan archive ./*.tgz && rm -f oclif.manifest.json",
1212
"prepack": "pnpm compile && oclif manifest && oclif readme",
1313
"version": "oclif readme && git add README.md",
1414
"test": "mocha \"test/unit/**/*.test.ts\"",
Collapse file

‎packages/contentstack-command/package.json‎

Copy file name to clipboardExpand all lines: packages/contentstack-command/package.json
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"scripts": {
99
"build": "pnpm compile",
1010
"prepack": "pnpm compile",
11+
"postpack": "ggshield secret scan archive ./*.tgz",
1112
"clean": "rm -rf ./lib ./node_modules tsconfig.tsbuildinfo",
1213
"compile": "tsc -b tsconfig.json",
1314
"test": "mocha \"test/unit/**/*.test.ts\"",
@@ -67,4 +68,4 @@
6768
"url": "git+https://github.com/contentstack/cli.git",
6869
"directory": "packages/contentstack-command"
6970
}
70-
}
71+
}
Collapse file

‎packages/contentstack-config/package.json‎

Copy file name to clipboardExpand all lines: packages/contentstack-config/package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"build": "pnpm compile && oclif manifest && oclif readme",
88
"clean": "rm -rf ./lib ./node_modules tsconfig.tsbuildinfo",
99
"compile": "tsc -b tsconfig.json",
10-
"postpack": "rm -f oclif.manifest.json",
10+
"postpack": "pnpm -w run gg:scan-tarball && rm -f oclif.manifest.json",
1111
"prepack": "pnpm compile && oclif manifest && oclif readme",
1212
"version": "oclif readme && git add README.md",
1313
"test": "mocha \"test/unit/**/*.test.ts\"",
Collapse file

‎packages/contentstack-utilities/package.json‎

Copy file name to clipboardExpand all lines: packages/contentstack-utilities/package.json
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"types": "lib/index.d.ts",
77
"scripts": {
88
"prepack": "pnpm compile",
9+
"postpack": "ggshield secret scan archive ./*.tgz",
910
"build": "pnpm compile",
1011
"clean": "rm -rf ./lib ./node_modules tsconfig.tsbuildinfo",
1112
"compile": "tsc -b tsconfig.json",
@@ -85,4 +86,4 @@
8586
"ts-node": "^10.9.2",
8687
"typescript": "^5.9.3"
8788
}
88-
}
89+
}
Collapse file

‎packages/contentstack/package.json‎

Copy file name to clipboardExpand all lines: packages/contentstack/package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"build": "pnpm compile && oclif manifest && oclif readme",
1313
"clean": "rm -rf ./lib ./node_modules tsconfig.tsbuildinfo",
1414
"compile": "tsc -b tsconfig.json",
15-
"postpack": "rm -f oclif.manifest.json",
15+
"postpack": "ggshield secret scan archive ./*.tgz && rm -f oclif.manifest.json",
1616
"version": "oclif readme && git add README.md",
1717
"test": "mocha \"test/unit/**/*.test.ts\"",
1818
"lint": "eslint src/**/*.ts",

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.