diff options
author | Vijay A <vraravam@users.noreply.github.com> | 2023-05-24 10:24:22 +0530 |
---|---|---|
committer | Vijay A <vraravam@users.noreply.github.com> | 2023-05-24 10:24:22 +0530 |
commit | f8bb993365cb4fecc8429ccce6b5c35e51459528 (patch) | |
tree | e28690d32ac121460f28d2a43a649f58b0c0eb4c | |
parent | add thehale as a contributor for code (#372) (diff) | |
download | ferdium-recipes-f8bb993365cb4fecc8429ccce6b5c35e51459528.tar.gz ferdium-recipes-f8bb993365cb4fecc8429ccce6b5c35e51459528.tar.zst ferdium-recipes-f8bb993365cb4fecc8429ccce6b5c35e51459528.zip |
Do not install husky if running in CI
-rw-r--r-- | package.json | 7 | ||||
-rw-r--r-- | pnpm-lock.yaml | 14 |
2 files changed, 18 insertions, 3 deletions
diff --git a/package.json b/package.json index c74bf97..4e65369 100644 --- a/package.json +++ b/package.json | |||
@@ -9,11 +9,11 @@ | |||
9 | }, | 9 | }, |
10 | "scripts": { | 10 | "scripts": { |
11 | "preinstall": "npx only-allow pnpm", | 11 | "preinstall": "npx only-allow pnpm", |
12 | "prepare": "pnpm dlx husky install", | 12 | "prepare": "is-ci || husky install", |
13 | "package": "node scripts/package.js", | 13 | "package": "node scripts/package.js", |
14 | "create": "node scripts/create.js", | 14 | "create": "node scripts/create.js", |
15 | "lint": "pnpm dlx eslint \"{recipes,scripts}/**/*.{js,jsx,ts,tsx}\"", | 15 | "lint": "eslint \"{recipes,scripts}/**/*.{js,jsx,ts,tsx}\"", |
16 | "lint:fix": "pnpm dlx eslint --fix \"{recipes,scripts}/**/*.{js,jsx,ts,tsx}\"", | 16 | "lint:fix": "eslint --fix \"{recipes,scripts}/**/*.{js,jsx,ts,tsx}\"", |
17 | "reformat-files": "prettier --ignore-path .eslintignore --write --require-pragma \"**/*.{js,json,scss}\"", | 17 | "reformat-files": "prettier --ignore-path .eslintignore --write --require-pragma \"**/*.{js,json,scss}\"", |
18 | "contributors": "all-contributors" | 18 | "contributors": "all-contributors" |
19 | }, | 19 | }, |
@@ -39,6 +39,7 @@ | |||
39 | "fs-extra": "11.1.1", | 39 | "fs-extra": "11.1.1", |
40 | "husky": "8.0.3", | 40 | "husky": "8.0.3", |
41 | "image-size": "1.0.2", | 41 | "image-size": "1.0.2", |
42 | "is-ci": "3.0.1", | ||
42 | "open": "8.4.1", | 43 | "open": "8.4.1", |
43 | "prettier": "2.8.8", | 44 | "prettier": "2.8.8", |
44 | "simple-git": "3.18.0", | 45 | "simple-git": "3.18.0", |
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 08546e6..ddbf363 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml | |||
@@ -25,6 +25,9 @@ importers: | |||
25 | image-size: | 25 | image-size: |
26 | specifier: 1.0.2 | 26 | specifier: 1.0.2 |
27 | version: 1.0.2 | 27 | version: 1.0.2 |
28 | is-ci: | ||
29 | specifier: 3.0.1 | ||
30 | version: 3.0.1 | ||
28 | open: | 31 | open: |
29 | specifier: 8.4.1 | 32 | specifier: 8.4.1 |
30 | version: 8.4.1 | 33 | version: 8.4.1 |
@@ -64,6 +67,8 @@ importers: | |||
64 | 67 | ||
65 | recipes/asana: {} | 68 | recipes/asana: {} |
66 | 69 | ||
70 | recipes/awork: {} | ||
71 | |||
67 | recipes/azure-devops: {} | 72 | recipes/azure-devops: {} |
68 | 73 | ||
69 | recipes/basecamp: {} | 74 | recipes/basecamp: {} |
@@ -380,6 +385,8 @@ importers: | |||
380 | 385 | ||
381 | recipes/nextcloud-cospend: {} | 386 | recipes/nextcloud-cospend: {} |
382 | 387 | ||
388 | recipes/nextcloud-deck: {} | ||
389 | |||
383 | recipes/nextcloud-news: {} | 390 | recipes/nextcloud-news: {} |
384 | 391 | ||
385 | recipes/nextcloud-talk: {} | 392 | recipes/nextcloud-talk: {} |
@@ -1434,6 +1441,13 @@ packages: | |||
1434 | builtin-modules: 3.3.0 | 1441 | builtin-modules: 3.3.0 |
1435 | dev: true | 1442 | dev: true |
1436 | 1443 | ||
1444 | /is-ci@3.0.1: | ||
1445 | resolution: {integrity: sha512-ZYvCgrefwqoQ6yTyYUbQu64HsITZ3NfKX1lzaEYdkTDcfKzzCI/wthRRYKkdjHKFVgNiXKAKm65Zo1pk2as/QQ==} | ||
1446 | hasBin: true | ||
1447 | dependencies: | ||
1448 | ci-info: 3.3.2 | ||
1449 | dev: true | ||
1450 | |||
1437 | /is-core-module@2.9.0: | 1451 | /is-core-module@2.9.0: |
1438 | resolution: {integrity: sha512-+5FPy5PnwmO3lvfMb0AsoPaBG+5KHUI0wYFXOtYPnVVVspTFUuMZNfNaNVRt3FZadstu2c8x23vykRW/NBoU6A==} | 1452 | resolution: {integrity: sha512-+5FPy5PnwmO3lvfMb0AsoPaBG+5KHUI0wYFXOtYPnVVVspTFUuMZNfNaNVRt3FZadstu2c8x23vykRW/NBoU6A==} |
1439 | dependencies: | 1453 | dependencies: |