create-chapterjs 0.1.1 → 0.1.4

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +21 -4
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- // Alias so `npm create chapterjs` works too: runs the create-chapter CLI.
2
+ // Alias so `pnpm create chapterjs` works too: runs the create-chapter CLI.
3
3
  // @ts-expect-error create-chapter only ships a bin, without type declarations.
4
4
  await import('create-chapter/dist/index.js');
5
5
  export {};
package/package.json CHANGED
@@ -1,8 +1,15 @@
1
1
  {
2
2
  "name": "create-chapterjs",
3
- "version": "0.1.1",
3
+ "version": "0.1.4",
4
4
  "description": "Alias of create-chapter: scaffolds a ChapterJS Discord bot",
5
5
  "license": "MIT",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/chapterjs/chapterjs.git",
9
+ "directory": "packages/create-chapterjs"
10
+ },
11
+ "homepage": "https://chapterjs.dev",
12
+ "bugs": "https://github.com/chapterjs/chapterjs/issues",
6
13
  "type": "module",
7
14
  "bin": {
8
15
  "create-chapterjs": "./dist/index.js"
@@ -11,14 +18,24 @@
11
18
  "dist"
12
19
  ],
13
20
  "devDependencies": {
21
+ "@chapterjs/test-utils": "0.0.0",
14
22
  "@types/node": "^24.0.0",
15
- "typescript": "^7.0.2"
23
+ "@vitest/coverage-v8": "^5.0.3",
24
+ "typescript": "^7.0.2",
25
+ "vitest": "^5.0.3"
16
26
  },
17
27
  "dependencies": {
18
- "create-chapter": "^0.1.1"
28
+ "create-chapter": "^0.1.4"
29
+ },
30
+ "engines": {
31
+ "node": ">=24"
19
32
  },
20
33
  "scripts": {
21
34
  "build": "tsc",
22
- "dev": "tsc --watch"
35
+ "dev": "tsc --watch",
36
+ "check-types": "tsc --noEmit && tsc -p test",
37
+ "test": "vitest run",
38
+ "test:watch": "vitest",
39
+ "coverage": "vitest run --coverage"
23
40
  }
24
41
  }