create-kyro 0.2.10 → 0.3.1

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/dist/index.js CHANGED
@@ -370,6 +370,10 @@ function generateAstroConfig(answers) {
370
370
  'ioredis',
371
371
  'nodemailer',
372
372
  'jsonwebtoken',
373
+ '@mapbox/node-pre-gyp',
374
+ 'mock-aws-s3',
375
+ 'aws-sdk',
376
+ 'nock',
373
377
  ],
374
378
  },
375
379
  optimizeDeps: {
@@ -382,6 +386,10 @@ function generateAstroConfig(answers) {
382
386
  'ioredis',
383
387
  'nodemailer',
384
388
  'jsonwebtoken',
389
+ '@mapbox/node-pre-gyp',
390
+ 'mock-aws-s3',
391
+ 'aws-sdk',
392
+ 'nock',
385
393
  ],
386
394
  },`;
387
395
  const config = `import { defineConfig } from 'astro/config';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-kyro",
3
- "version": "0.2.10",
3
+ "version": "0.3.1",
4
4
  "description": "Interactive scaffolding for Kyro CMS projects",
5
5
  "type": "module",
6
6
  "bin": {
@@ -28,6 +28,10 @@ export function generateAstroConfig(answers: Answers): string {
28
28
  'ioredis',
29
29
  'nodemailer',
30
30
  'jsonwebtoken',
31
+ '@mapbox/node-pre-gyp',
32
+ 'mock-aws-s3',
33
+ 'aws-sdk',
34
+ 'nock',
31
35
  ],
32
36
  },
33
37
  optimizeDeps: {
@@ -40,6 +44,10 @@ export function generateAstroConfig(answers: Answers): string {
40
44
  'ioredis',
41
45
  'nodemailer',
42
46
  'jsonwebtoken',
47
+ '@mapbox/node-pre-gyp',
48
+ 'mock-aws-s3',
49
+ 'aws-sdk',
50
+ 'nock',
43
51
  ],
44
52
  },`;
45
53
 
@@ -13,7 +13,7 @@ describe("validators", () => {
13
13
  expect(validateProjectName("")).toBe("Project name is required");
14
14
  });
15
15
 
16
- it("rejects uppercase letters", () => {
16
+ it("rejects letters", () => {
17
17
  expect(validateProjectName("My-App")).toBe(
18
18
  "Use lowercase letters, numbers, and hyphens only",
19
19
  );