@intlayer/cli 2.0.13 → 3.0.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": "@intlayer/cli",
3
- "version": "2.0.13",
3
+ "version": "3.0.0",
4
4
  "private": false,
5
5
  "description": "Command Line Interface for IntLayer - CLI process to start the applications server.",
6
6
  "keywords": [
@@ -13,27 +13,27 @@
13
13
  ],
14
14
  "homepage": "https://intlayer.org",
15
15
  "bugs": {
16
- "url": "https://github.com/aypineau/intlayer/issues"
16
+ "url": "https://github.com/aymericzip/intlayer/issues"
17
17
  },
18
18
  "repository": {
19
19
  "type": "git",
20
- "url": "git+https://github.com/aypineau/intlayer.git"
20
+ "url": "git+https://github.com/aymericzip/intlayer.git"
21
21
  },
22
22
  "license": "Apache-2.0",
23
23
  "author": {
24
24
  "name": "Aymeric PINEAU",
25
- "url": "https://github.com/aypineau"
25
+ "url": "https://github.com/aymericzip"
26
26
  },
27
27
  "contributors": [
28
28
  {
29
29
  "name": "Aymeric Pineau",
30
30
  "email": "ay.pineau@gmail.com",
31
- "url": "https://github.com/aypineau"
31
+ "url": "https://github.com/aymericzip"
32
32
  }
33
33
  ],
34
34
  "exports": {
35
35
  ".": {
36
- "types": "./dist/esm/index.d.mts",
36
+ "types": "./dist/types/index.d.ts",
37
37
  "require": "./dist/cjs/index.cjs",
38
38
  "import": "./dist/esm/index.mjs"
39
39
  },
@@ -41,26 +41,50 @@
41
41
  },
42
42
  "main": "dist/cjs/index.cjs",
43
43
  "module": "dist/esm/index.mjs",
44
+ "types": "dist/types/index.d.ts",
45
+ "man": "./man/intlayer.1",
44
46
  "files": [
45
47
  "./dist",
46
48
  "./package.json"
47
49
  ],
48
50
  "dependencies": {
49
- "commander": "^12.1.0"
51
+ "commander": "^12.1.0",
52
+ "lodash": "^4.17.21",
53
+ "p-limit": "^3.1.0",
54
+ "@intlayer/chokidar": "^3.0.0",
55
+ "@intlayer/config": "^3.0.0",
56
+ "@intlayer/dictionaries-entry": "^3.0.0",
57
+ "@intlayer/design-system": "^3.0.0"
50
58
  },
51
59
  "devDependencies": {
60
+ "@types/lodash": "^4.17.10",
52
61
  "@types/node": "^20.14.9",
62
+ "concurrently": "^8.2.2",
63
+ "eslint": "^9.11.1",
64
+ "prettier": "3.3.3",
53
65
  "rimraf": "5.0.5",
66
+ "tsc-alias": "^1.8.10",
54
67
  "tsup": "^8.1.0",
55
- "@utils/ts-config": "^1.0.4"
68
+ "typescript": "^5.5.4",
69
+ "@intlayer/backend": "^3.0.0",
70
+ "@intlayer/core": "^3.0.0",
71
+ "@utils/ts-config": "^1.0.4",
72
+ "@utils/ts-config-types": "^1.0.4",
73
+ "@utils/tsup-config": "^1.0.4"
56
74
  },
57
75
  "bug": {
58
- "url": "https://github.com/aypineau/intlayer/issues"
76
+ "url": "https://github.com/aymericzip/intlayer/issues"
59
77
  },
60
78
  "scripts": {
61
- "build": "tsup",
79
+ "build": "pnpm build:package & pnpm build:types",
80
+ "build:package": "tsup",
81
+ "build:types": "tsc --project ./tsconfig.types.json && tsc-alias --project ./tsconfig.types.json",
62
82
  "clean": "rimraf ./dist",
63
- "dev": "tsup --watch",
83
+ "dev": "concurrently --prefix none \"tsup --watch\" \"tsc --project ./tsconfig.types.json --watch\" \"tsc-alias --project ./tsconfig.types.json --watch\"",
84
+ "lint": "eslint . --cache",
85
+ "lint:fix": "eslint . --cache --fix",
86
+ "prettier": "prettier . --check",
87
+ "prettier:fix": "prettier . --write",
64
88
  "test": ""
65
89
  }
66
90
  }
package/dist/cjs/cli.d.ts DELETED
@@ -1,18 +0,0 @@
1
- import { Command } from 'commander';
2
-
3
- type ServeParams = {
4
- version: string;
5
- transpile: () => void;
6
- watch: () => void;
7
- };
8
- /**
9
- * Set the API for the CLI
10
- *
11
- * Example of commands:
12
- *
13
- * npm run dev
14
- * npm run transpile
15
- */
16
- declare const setAPI: ({ transpile, watch }: ServeParams) => Command;
17
-
18
- export { setAPI };
@@ -1,2 +0,0 @@
1
- export { setAPI } from './cli.js';
2
- import 'commander';
@@ -1,18 +0,0 @@
1
- import { Command } from 'commander';
2
-
3
- type ServeParams = {
4
- version: string;
5
- transpile: () => void;
6
- watch: () => void;
7
- };
8
- /**
9
- * Set the API for the CLI
10
- *
11
- * Example of commands:
12
- *
13
- * npm run dev
14
- * npm run transpile
15
- */
16
- declare const setAPI: ({ transpile, watch }: ServeParams) => Command;
17
-
18
- export { setAPI };
@@ -1,2 +0,0 @@
1
- export { setAPI } from './cli.mjs';
2
- import 'commander';