@vidavidorra/create-project 2.0.121 → 3.0.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.
@@ -68,11 +68,11 @@ declare const schema: z.ZodObject<{
68
68
  dependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
69
69
  devDependencies: z.ZodRecord<z.ZodString, z.ZodString>;
70
70
  engines: z.ZodObject<{
71
- node: z.ZodLiteral<">=18">;
71
+ node: z.ZodLiteral<">=20">;
72
72
  }, "strict", z.ZodTypeAny, {
73
- node: ">=18";
73
+ node: ">=20";
74
74
  }, {
75
- node: ">=18";
75
+ node: ">=20";
76
76
  }>;
77
77
  publishConfig: z.ZodOptional<z.ZodObject<{
78
78
  access: z.ZodLiteral<"public">;
@@ -113,7 +113,7 @@ declare const schema: z.ZodObject<{
113
113
  xo: Record<string, unknown>;
114
114
  devDependencies: Record<string, string>;
115
115
  engines: {
116
- node: ">=18";
116
+ node: ">=20";
117
117
  };
118
118
  files?: ["./dist/**/!(*.test).{js,d.ts,cjs}", ...string[]] | undefined;
119
119
  ava?: Record<string, unknown> | undefined;
@@ -158,7 +158,7 @@ declare const schema: z.ZodObject<{
158
158
  xo: Record<string, unknown>;
159
159
  devDependencies: Record<string, string>;
160
160
  engines: {
161
- node: ">=18";
161
+ node: ">=20";
162
162
  };
163
163
  files?: ["./dist/**/!(*.test).{js,d.ts,cjs}", ...string[]] | undefined;
164
164
  ava?: Record<string, unknown> | undefined;
@@ -209,7 +209,7 @@ declare class Package extends File {
209
209
  xo: Record<string, unknown>;
210
210
  devDependencies: Record<string, string>;
211
211
  engines: {
212
- node: ">=18";
212
+ node: ">=20";
213
213
  };
214
214
  files?: ["./dist/**/!(*.test).{js,d.ts,cjs}", ...string[]] | undefined;
215
215
  ava?: Record<string, unknown> | undefined;
@@ -51,7 +51,7 @@ const schema = z
51
51
  c8: z.record(z.unknown()).optional(),
52
52
  dependencies: z.record(z.string()).optional(),
53
53
  devDependencies: z.record(z.string()),
54
- engines: z.object({ node: z.literal('>=18') }).strict(),
54
+ engines: z.object({ node: z.literal('>=20') }).strict(),
55
55
  publishConfig: z
56
56
  .object({ access: z.literal('public') })
57
57
  .strict()
@@ -1,10 +1,10 @@
1
1
  import fs from 'node:fs';
2
2
  import { fileURLToPath } from 'node:url';
3
3
  import { argv } from 'node:process';
4
- import { join, resolve, dirname } from 'node:path';
5
- const rootPath = resolve(dirname(fileURLToPath(import.meta.url)), '../../');
6
- const gitIgnore = join(rootPath, '.gitignore');
7
- const npmIgnore = join(rootPath, '.npmignore');
4
+ import path from 'node:path';
5
+ const rootPath = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '../../');
6
+ const gitIgnore = path.join(rootPath, '.gitignore');
7
+ const npmIgnore = path.join(rootPath, '.npmignore');
8
8
  /**
9
9
  * Workaround for [Rename `.gitignore` to `.npmignore` in package if no
10
10
  * `.npmignore` found](https://github.com/npm/npm/issues/1862) and ['npm pack'/
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vidavidorra/create-project",
3
- "version": "2.0.121",
3
+ "version": "3.0.0",
4
4
  "private": false,
5
5
  "description": "Interactively create a GitHub project",
6
6
  "keywords": [
@@ -224,10 +224,10 @@
224
224
  "lint-staged": "15.2.7",
225
225
  "semantic-release": "24.0.0",
226
226
  "sinon": "18.0.0",
227
- "xo": "0.58.0"
227
+ "xo": "0.59.3"
228
228
  },
229
229
  "engines": {
230
- "node": ">=18"
230
+ "node": ">=20"
231
231
  },
232
232
  "publishConfig": {
233
233
  "access": "public"
@@ -1,11 +1,14 @@
1
1
  import fs from 'node:fs';
2
2
  import {fileURLToPath} from 'node:url';
3
3
  import {argv} from 'node:process';
4
- import {join, resolve, dirname} from 'node:path';
4
+ import path from 'node:path';
5
5
 
6
- const rootPath = resolve(dirname(fileURLToPath(import.meta.url)), '../../');
7
- const gitIgnore = join(rootPath, '.gitignore');
8
- const npmIgnore = join(rootPath, '.npmignore');
6
+ const rootPath = path.resolve(
7
+ path.dirname(fileURLToPath(import.meta.url)),
8
+ '../../',
9
+ );
10
+ const gitIgnore = path.join(rootPath, '.gitignore');
11
+ const npmIgnore = path.join(rootPath, '.npmignore');
9
12
 
10
13
  /**
11
14
  * Workaround for [Rename `.gitignore` to `.npmignore` in package if no