@lakutata/template-cli 3.0.0 → 3.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,10 +1,24 @@
1
1
  {
2
2
  "name": "@lakutata/template-cli",
3
- "version": "3.0.0",
3
+ "version": "3.1.0",
4
4
  "description": "The command line template of the lakutata projects: a command line tool built into executables which run without Node.js.",
5
+ "homepage": "https://lakutata.com/guide/ProjectStructure",
6
+ "bugs": {
7
+ "url": "https://github.com/lakutata/lakutata/issues",
8
+ "email": "admin@lakutata.com"
9
+ },
10
+ "repository": {
11
+ "type": "git",
12
+ "url": "https://github.com/lakutata/lakutata.git",
13
+ "directory": "packages/template-cli"
14
+ },
15
+ "author": "alex.ma",
5
16
  "keywords": [
6
17
  "lakutata",
7
- "lakutata-template"
18
+ "lakutata-template",
19
+ "template",
20
+ "cli",
21
+ "executable"
8
22
  ],
9
23
  "license": "MIT",
10
24
  "files": [
@@ -9,7 +9,7 @@ other packages are the ones it uses (`npx lakutata add <name>`: a package of Typ
9
9
 
10
10
  ```bash
11
11
  npm run build # build the packages, in the order of their dependencies: node packages/app/build/App.js greet --name you
12
- npm test # the tests of the packages
12
+ npm test # build the packages and run their tests
13
13
  npm run package:exe # the executable of this platform: dist/{$APP_ID} (dist/{$APP_ID}.exe on Windows)
14
14
  ./dist/{$APP_ID} greet --name you # run a command (--help lists them)
15
15
  npm run package:bundle # one JavaScript file with the dependencies: node dist/{$APP_ID}.cjs greet --name you
@@ -7,7 +7,7 @@
7
7
  ],
8
8
  "scripts": {
9
9
  "build": "lakutata run rebuild",
10
- "test": "lakutata run test",
10
+ "test": "npm run build && lakutata run test",
11
11
  "start": "npm start -w app",
12
12
  "package:bundle": "npm run build && npm run package:bundle -w app -- --outfile ../../dist/{$APP_ID}.cjs",
13
13
  "package:exe": "npm run build && npm run package:exe -w app -- --outdir ../../dist",
@@ -20,6 +20,6 @@
20
20
  "typescript": "^6.0.3"
21
21
  },
22
22
  "engines": {
23
- "node": ">=22"
23
+ "node": "^22.13.0 || >=24.11.0"
24
24
  }
25
25
  }
@@ -27,7 +27,7 @@ export function config(): ApplicationOptions {
27
27
  //The messages in the language of its environment (LANG)
28
28
  middlewares: [I18nMiddleware],
29
29
  //@end
30
- //The actions of the controllers are the commands; the missing required options are asked in a terminal
30
+ //The actions of the controllers are the commands; the missing required options are asked for in a terminal
31
31
  cli: commanderCLIEntrypoint({bin: '{$APP_ID}', description: manifest.description, version: manifest.version})
32
32
  })
33
33
  },