Skip to content

Commit 8de3f22

Browse files
committed
(chore) Release: Add Provenance Badge
Signed-off-by: Progyan Bhattacharya <bprogyan@gmail.com>
1 parent df425a5 commit 8de3f22

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,6 @@ jobs:
3939
run: pnpm build
4040

4141
- name: Publish to NPM
42-
run: lerna publish from-git --yes --no-verify-access
42+
run: lerna publish from-git --yes
4343
env:
4444
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

.husky/pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/sh
22
. "$(dirname "$0")/_/husky.sh"
33

4-
npx lint-staged
4+
pnpm exec lint-staged

.npmrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,6 @@ shared-workspace-lockfile=true
1717

1818
# Script Execution Configuration
1919
enable-pre-post-scripts=true
20+
21+
# Enable Provenance Badge on Release
22+
provenance=true

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"private": true,
44
"description": "A collection of Algorithms to Synchronise changes across multiple clients using Operational Transformation",
55
"scripts": {
6-
"postinstall": "husky install",
6+
"prepare": "husky install",
77
"clean": "lerna run clean --no-private",
88
"build": "lerna run build --no-private",
99
"start:editors": "pnpm run --filter '@otjs-examples/collaborative-editors' start",
@@ -18,7 +18,7 @@
1818
"test:monaco": "pnpm run --filter '@otjs-tests/monaco' test:ci",
1919
"test:watch": "pnpm run test --watch",
2020
"lint": "pnpm run lint:prettier",
21-
"lint:prettier": "prettier --write packages/**/*.ts examples/**/*.ts",
21+
"lint:prettier": "prettier --write {packages,examples}/**/*.ts",
2222
"release": "lerna version --no-private --exact"
2323
},
2424
"repository": {

0 commit comments

Comments
 (0)