@vidavidorra/create-project 4.1.28 → 4.2.0

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.
@@ -33,7 +33,7 @@ declare const schema: z.ZodObject<{
33
33
  }, z.core.$strict>;
34
34
  commitlint: z.ZodRecord<z.ZodString, z.ZodUnknown>;
35
35
  xo: z.ZodRecord<z.ZodString, z.ZodUnknown>;
36
- prettier: z.ZodRecord<z.ZodString, z.ZodUnknown>;
36
+ prettier: z.ZodLiteral<"@vidavidorra/prettier-config">;
37
37
  release: z.ZodRecord<z.ZodString, z.ZodUnknown>;
38
38
  ava: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
39
39
  c8: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -79,7 +79,7 @@ declare class Package extends File {
79
79
  };
80
80
  commitlint: Record<string, unknown>;
81
81
  xo: Record<string, unknown>;
82
- prettier: Record<string, unknown>;
82
+ prettier: "@vidavidorra/prettier-config";
83
83
  release: Record<string, unknown>;
84
84
  devDependencies: Record<string, string>;
85
85
  engines: {
@@ -33,7 +33,7 @@ const schema = z.strictObject({
33
33
  }),
34
34
  commitlint: z.record(z.string(), z.unknown()),
35
35
  xo: z.record(z.string(), z.unknown()),
36
- prettier: z.record(z.string(), z.unknown()),
36
+ prettier: z.literal('@vidavidorra/prettier-config'),
37
37
  release: z.record(z.string(), z.unknown()),
38
38
  ava: z.record(z.string(), z.unknown()).optional(),
39
39
  c8: z.record(z.string(), z.unknown()).optional(),
@@ -84,6 +84,7 @@ class Package extends File {
84
84
  '@semantic-release/exec',
85
85
  '@semantic-release/git',
86
86
  '@vidavidorra/commitlint-config',
87
+ '@vidavidorra/prettier-config',
87
88
  'husky',
88
89
  'lint-staged',
89
90
  'prettier',
@@ -58,7 +58,7 @@ class Readme extends File {
58
58
  ${[
59
59
  `Please [create an issue](${this.gitHubUrl('issues/new/choose')})`,
60
60
  'if you have a bug report or feature proposal, or',
61
- `[create a discussion](${this.gitHubUrl('discussions')} if you have a`,
61
+ `[create a discussion](${this.gitHubUrl('discussions')}) if you have a`,
62
62
  'question. If you like this project, please consider giving it a star',
63
63
  '⭐ to support my work.',
64
64
  ].join(' ')}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vidavidorra/create-project",
3
- "version": "4.1.28",
3
+ "version": "4.2.0",
4
4
  "private": false,
5
5
  "description": "Interactively create a GitHub project",
6
6
  "keywords": [
@@ -51,10 +51,7 @@
51
51
  "prettier": true,
52
52
  "space": true
53
53
  },
54
- "prettier": {
55
- "bracketSpacing": false,
56
- "singleQuote": true
57
- },
54
+ "prettier": "@vidavidorra/prettier-config",
58
55
  "release": {
59
56
  "branches": [
60
57
  "main",
@@ -218,6 +215,7 @@
218
215
  "@types/sinon": "21.0.0",
219
216
  "@types/validate-npm-package-name": "4.0.2",
220
217
  "@vidavidorra/commitlint-config": "7.1.6",
218
+ "@vidavidorra/prettier-config": "1.0.1",
221
219
  "ava": "6.4.1",
222
220
  "c8": "10.1.3",
223
221
  "husky": "9.1.7",