@vidavidorra/create-project 2.0.10 → 2.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1 @@
1
- #!/bin/sh
2
- . "$(dirname "$0")/_/husky.sh"
3
-
4
1
  npx --no-install commitlint --edit "${1}"
@@ -1,4 +1 @@
1
- #!/bin/sh
2
- . "$(dirname "$0")/_/husky.sh"
3
-
4
1
  npx --no-install lint-staged --config .github/lint-staged.js
@@ -8,15 +8,15 @@ on:
8
8
  pull_request: null
9
9
  jobs:
10
10
  lint-commit-messages:
11
- uses: vidavidorra/.github/.github/workflows/lint-commit-messages.yml@c37429b00cfa4cf5503248f0aef09b452fe36660 # v4.1.4
11
+ uses: vidavidorra/.github/.github/workflows/lint-commit-messages.yml@5ffd0f145386ba036c77a68de08bbf8e333ac2da # v4.1.5
12
12
  lint:
13
- uses: vidavidorra/.github/.github/workflows/node-lint.yml@c37429b00cfa4cf5503248f0aef09b452fe36660 # v4.1.4
13
+ uses: vidavidorra/.github/.github/workflows/node-lint.yml@5ffd0f145386ba036c77a68de08bbf8e333ac2da # v4.1.5
14
14
  build:
15
- uses: vidavidorra/.github/.github/workflows/node-build.yml@c37429b00cfa4cf5503248f0aef09b452fe36660 # v4.1.4
15
+ uses: vidavidorra/.github/.github/workflows/node-build.yml@5ffd0f145386ba036c77a68de08bbf8e333ac2da # v4.1.5
16
16
  test:
17
- uses: vidavidorra/.github/.github/workflows/node-test.yml@c37429b00cfa4cf5503248f0aef09b452fe36660 # v4.1.4
17
+ uses: vidavidorra/.github/.github/workflows/node-test.yml@5ffd0f145386ba036c77a68de08bbf8e333ac2da # v4.1.5
18
18
  code-coverage:
19
- uses: vidavidorra/.github/.github/workflows/node-test-coverage.yml@c37429b00cfa4cf5503248f0aef09b452fe36660 # v4.1.4
19
+ uses: vidavidorra/.github/.github/workflows/node-test-coverage.yml@5ffd0f145386ba036c77a68de08bbf8e333ac2da # v4.1.5
20
20
  needs:
21
21
  - lint
22
22
  - build
@@ -24,7 +24,7 @@ jobs:
24
24
  secrets:
25
25
  codecovToken: ${{ secrets.CODECOV_TOKEN }}
26
26
  release:
27
- uses: vidavidorra/.github/.github/workflows/release.yml@c37429b00cfa4cf5503248f0aef09b452fe36660 # v4.1.4
27
+ uses: vidavidorra/.github/.github/workflows/release.yml@5ffd0f145386ba036c77a68de08bbf8e333ac2da # v4.1.5
28
28
  needs:
29
29
  - lint-commit-messages
30
30
  - lint
@@ -38,7 +38,7 @@ declare const schema: z.ZodObject<{
38
38
  lint: z.ZodLiteral<"npm run format:check && xo">;
39
39
  'lint:fix': z.ZodLiteral<"npm run format && xo --fix">;
40
40
  postinstall: z.ZodOptional<z.ZodString>;
41
- prepare: z.ZodLiteral<"husky install .github/husky">;
41
+ prepare: z.ZodLiteral<"husky .github/husky">;
42
42
  test: z.ZodString;
43
43
  }, "strict", z.ZodTypeAny, {
44
44
  format: string;
@@ -47,7 +47,7 @@ declare const schema: z.ZodObject<{
47
47
  test: string;
48
48
  'format:check': string;
49
49
  'lint:fix': "npm run format && xo --fix";
50
- prepare: "husky install .github/husky";
50
+ prepare: "husky .github/husky";
51
51
  postinstall?: string | undefined;
52
52
  }, {
53
53
  format: string;
@@ -56,7 +56,7 @@ declare const schema: z.ZodObject<{
56
56
  test: string;
57
57
  'format:check': string;
58
58
  'lint:fix': "npm run format && xo --fix";
59
- prepare: "husky install .github/husky";
59
+ prepare: "husky .github/husky";
60
60
  postinstall?: string | undefined;
61
61
  }>;
62
62
  commitlint: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -105,7 +105,7 @@ declare const schema: z.ZodObject<{
105
105
  test: string;
106
106
  'format:check': string;
107
107
  'lint:fix': "npm run format && xo --fix";
108
- prepare: "husky install .github/husky";
108
+ prepare: "husky .github/husky";
109
109
  postinstall?: string | undefined;
110
110
  };
111
111
  commitlint: Record<string, unknown>;
@@ -149,7 +149,7 @@ declare const schema: z.ZodObject<{
149
149
  test: string;
150
150
  'format:check': string;
151
151
  'lint:fix': "npm run format && xo --fix";
152
- prepare: "husky install .github/husky";
152
+ prepare: "husky .github/husky";
153
153
  postinstall?: string | undefined;
154
154
  };
155
155
  commitlint: Record<string, unknown>;
@@ -199,7 +199,7 @@ declare class Package extends File {
199
199
  test: string;
200
200
  'format:check': string;
201
201
  'lint:fix': "npm run format && xo --fix";
202
- prepare: "husky install .github/husky";
202
+ prepare: "husky .github/husky";
203
203
  postinstall?: string | undefined;
204
204
  };
205
205
  commitlint: Record<string, unknown>;
@@ -39,7 +39,7 @@ const schema = z
39
39
  // eslint-disable-next-line @typescript-eslint/naming-convention
40
40
  'lint:fix': z.literal('npm run format && xo --fix'),
41
41
  postinstall: z.string().optional(),
42
- prepare: z.literal('husky install .github/husky'),
42
+ prepare: z.literal('husky .github/husky'),
43
43
  test: z.string().min(1),
44
44
  })
45
45
  .strict(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vidavidorra/create-project",
3
- "version": "2.0.10",
3
+ "version": "2.0.12",
4
4
  "private": false,
5
5
  "description": "Interactively create a GitHub project",
6
6
  "keywords": [
@@ -39,7 +39,7 @@
39
39
  "postinstall": "node ./src/scripts/postinstall.js",
40
40
  "lint": "npm run format:check && xo",
41
41
  "lint:fix": "npm run format && xo --fix",
42
- "prepare": "husky install .github/husky",
42
+ "prepare": "husky .github/husky",
43
43
  "test": "c8 ava"
44
44
  },
45
45
  "commitlint": {
@@ -202,7 +202,7 @@
202
202
  "dependencies": {
203
203
  "@inquirer/prompts": "3.3.2",
204
204
  "prettier": "3.2.2",
205
- "sort-package-json": "2.6.0",
205
+ "sort-package-json": "2.7.0",
206
206
  "typescript": "5.3.3",
207
207
  "validate-npm-package-name": "5.0.0",
208
208
  "yaml": "2.3.4",
@@ -214,15 +214,15 @@
214
214
  "@semantic-release/changelog": "6.0.3",
215
215
  "@semantic-release/exec": "6.0.3",
216
216
  "@semantic-release/git": "10.0.1",
217
- "@types/node": "20.11.8",
217
+ "@types/node": "20.11.15",
218
218
  "@types/prettier": "2.7.3",
219
219
  "@types/sinon": "17.0.3",
220
220
  "@types/validate-npm-package-name": "4.0.2",
221
221
  "@vidavidorra/commitlint-config": "6.0.3",
222
- "ava": "6.1.0",
222
+ "ava": "6.1.1",
223
223
  "c8": "9.1.0",
224
- "husky": "8.0.3",
225
- "lint-staged": "15.2.0",
224
+ "husky": "9.0.7",
225
+ "lint-staged": "15.2.1",
226
226
  "semantic-release": "23.0.0",
227
227
  "sinon": "17.0.1",
228
228
  "xo": "0.56.0"