@amagaki/amagaki 4.0.0 → 4.1.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amagaki/amagaki",
3
- "version": "4.0.0",
3
+ "version": "4.1.0",
4
4
  "license": "MIT",
5
5
  "homepage": "https://amagaki.dev",
6
6
  "repository": {
@@ -9,7 +9,7 @@
9
9
  "directory": "packages/amagaki"
10
10
  },
11
11
  "engines": {
12
- "node": ">=14"
12
+ "node": ">=22"
13
13
  },
14
14
  "bin": {
15
15
  "amagaki": "./dist/src/cli.js"
@@ -21,80 +21,55 @@
21
21
  ],
22
22
  "scripts": {
23
23
  "build:example": "node ./dist/src/cli.js --profile build example",
24
- "check": "gts check",
25
- "clean": "gts clean",
26
- "compile": "tsc",
27
- "copy": "mkdir -p dist/src/static; cp src/static/* dist/src/static",
28
- "dev": "nodemon --watch src -e njk,ts --exec npm run dev:start",
29
- "dev:start": "npm run copy; npm run compile",
30
- "docs": "typedoc",
31
- "docs:ci": "typedoc --out public/api",
32
- "fix": "eslint --fix src/**/*.ts",
33
- "prepare": "rm -rf dist/; npm run dev:start;",
24
+ "clean": "rm -rf dist",
25
+ "compile": "tsc && chmod +x dist/src/cli.js",
26
+ "copy": "mkdir -p dist/src/static && cp src/static/* dist/src/static",
27
+ "dev:start": "npm run copy && npm run compile",
28
+ "build": "rm -rf dist && npm run dev:start",
29
+ "prepack": "npm run build",
34
30
  "start:example": "node ./dist/src/cli.js serve example",
35
31
  "test": "ava",
36
32
  "test:watch": "ava --watch"
37
33
  },
38
34
  "ava": {
39
- "require": [
40
- "ts-node/register"
41
- ],
42
- "extensions": [
43
- "ts"
35
+ "extensions": {
36
+ "ts": "commonjs"
37
+ },
38
+ "nodeArguments": [
39
+ "--import=tsx"
44
40
  ],
45
41
  "files": [
46
42
  "src/**/*.test.ts"
47
43
  ]
48
44
  },
49
45
  "devDependencies": {
50
- "@types/async": "^3.2.6",
51
- "@types/cli-progress": "^3.9.1",
52
- "@types/cli-table": "^0.3.0",
53
- "@types/compression": "^1.7.2",
54
- "@types/express": "^4.17.11",
55
- "@types/express-serve-static-core": "^4.17.21",
56
- "@types/glob": "^7.1.3",
57
- "@types/js-yaml": "^4.0.1",
58
- "@types/marked": "^5.0.0",
59
- "@types/mime-types": "^2.1.0",
60
- "@types/node": "^18.11.18",
61
- "@types/nunjucks": "^3.1.4",
62
- "@types/semver": "^7.3.5",
63
- "ava": "^4.0.1",
64
- "del": "^6.0.0",
65
- "eslint": "^7.25.0",
66
- "eslint-plugin-sort-class-members": "^1.11.0",
67
- "get-port": "^5.1.1",
68
- "gts": "^3.1.0",
69
- "nodemon": "^2.0.7",
70
- "ts-loader": "^9.1.1",
71
- "ts-node": "^10.5.0",
72
- "typedoc": "^0.22.12",
73
- "typescript": "^4.3.5"
46
+ "@types/compression": "^1.7.5",
47
+ "@types/express": "^5.0.6",
48
+ "@types/js-yaml": "^4.0.9",
49
+ "@types/mime-types": "^3.0.1",
50
+ "@types/node": "^22.10.0",
51
+ "@types/nunjucks": "^3.2.6",
52
+ "ava": "^6.4.1",
53
+ "get-port": "^7.2.0",
54
+ "typescript": "^5.9.3"
74
55
  },
75
56
  "dependencies": {
76
- "@blinkk/editor.dev-ui": "^3.11.1",
77
- "async": "^3.2.0",
78
- "chalk": "^2.4.2",
79
- "chokidar": "^3.5.1",
80
- "cli-progress": "^3.9.0",
81
- "cli-table": "^0.3.6",
82
- "commander": "^7.2.0",
83
- "compression": "^1.7.4",
84
- "esbuild-register": "^3.5.0",
85
- "express": "^4.17.1",
86
- "glob": "^7.1.6",
87
- "i": "^0.3.7",
88
- "isomorphic-git": "^1.12.1",
89
- "jiti": "^1.21.0",
90
- "js-yaml": "^4.1.0",
91
- "marked": "^5.1.1",
92
- "marked-gfm-heading-id": "^3.0.4",
93
- "marked-mangle": "^1.1.2",
94
- "mime-types": "^2.1.30",
95
- "minimatch": "^3.0.4",
96
- "nunjucks": "^3.2.3",
97
- "sucrase": "^3.18.1",
98
- "tsx": "^4.7.0"
57
+ "chokidar": "^6.0.0",
58
+ "commander": "^15.1.0",
59
+ "compression": "^1.7.5",
60
+ "esbuild-register": "^3.6.0",
61
+ "express": "^5.3.0",
62
+ "glob": "^14.0.6",
63
+ "isomorphic-git": "^1.27.1",
64
+ "jiti": "^1.21.7",
65
+ "js-yaml": "^4.3.2",
66
+ "marked": "^15.0.12",
67
+ "marked-gfm-heading-id": "^4.1.4",
68
+ "marked-mangle": "^1.1.10",
69
+ "mime-types": "^3.0.2",
70
+ "minimatch": "^11.0.9",
71
+ "nunjucks": "^3.2.4",
72
+ "sucrase": "^3.35.0",
73
+ "tsx": "^4.19.2"
99
74
  }
100
75
  }