@vidavidorra/create-project 3.0.168 → 3.0.169

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.
package/README.md CHANGED
@@ -64,7 +64,7 @@ Please refer to the [Security Policy on GitHub](https://github.com/vidavidorra/c
64
64
 
65
65
  This project is licensed under the [GPLv3 license](https://www.gnu.org/licenses/gpl.html).
66
66
 
67
- Copyright © 2023-2024 Jeroen de Bruijn
67
+ Copyright © 2023-2025 Jeroen de Bruijn
68
68
 
69
69
  <details><summary>License notice</summary>
70
70
  <p>
@@ -61,7 +61,7 @@ class CiCd extends File {
61
61
  this._yaml = schema.parse(parse(this._content));
62
62
  }
63
63
  process() {
64
- const data = schema.deepPartial().parse(this._yaml);
64
+ const data = schema.parse(this._yaml);
65
65
  const removeFromRelease = [];
66
66
  if (!this._options.typescript) {
67
67
  delete data.jobs?.build;
@@ -1,12 +1,10 @@
1
1
  import { schema } from './options.js';
2
2
  import { files } from './content/index.js';
3
3
  async function createProject(options) {
4
- const paths = [];
5
- for await (const file of files(schema.parse(options))) {
4
+ return Promise.all(files(schema.parse(options)).map(async (file) => {
6
5
  await file.write();
7
- paths.push(file.path);
8
- }
9
- return paths;
6
+ return file.path;
7
+ }));
10
8
  }
11
9
  export { createProject };
12
10
  //# sourceMappingURL=create-project.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vidavidorra/create-project",
3
- "version": "3.0.168",
3
+ "version": "3.0.169",
4
4
  "private": false,
5
5
  "description": "Interactively create a GitHub project",
6
6
  "keywords": [
@@ -214,7 +214,7 @@
214
214
  "@semantic-release/changelog": "6.0.3",
215
215
  "@semantic-release/exec": "7.1.0",
216
216
  "@semantic-release/git": "10.0.1",
217
- "@types/node": "22.15.23",
217
+ "@types/node": "22.15.24",
218
218
  "@types/sinon": "17.0.4",
219
219
  "@types/validate-npm-package-name": "4.0.2",
220
220
  "@vidavidorra/commitlint-config": "7.0.15",
@@ -224,7 +224,7 @@
224
224
  "lint-staged": "16.1.0",
225
225
  "semantic-release": "24.2.5",
226
226
  "sinon": "20.0.0",
227
- "xo": "0.60.0"
227
+ "xo": "1.0.0"
228
228
  },
229
229
  "engines": {
230
230
  "node": ">=20"