arsam 2.0.2 → 2.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,29 +1,45 @@
1
1
  {
2
2
  "name": "arsam",
3
- "version": "2.0.2",
4
- "description": "Arsam Sarabi's portfolio in an interactive terminal dist",
5
- "entry": "./dist/index.js",
3
+ "version": "2.1.0",
4
+ "description": "Arsam Sarabi's portfolio in an interactive terminal app - A modern, type-safe CLI built with TypeScript",
5
+ "type": "module",
6
+ "main": "./dist/index.js",
7
+ "exports": {
8
+ ".": "./dist/index.js"
9
+ },
6
10
  "files": [
7
11
  "dist",
8
12
  "fonts"
9
13
  ],
10
- "repository": "git@github.com:arsamsarabi/arsam-cli.git",
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "https://github.com/arsamsarabi/arsam-cli.git"
17
+ },
11
18
  "author": {
12
19
  "name": "Arsam Sarabi",
13
20
  "email": "arsamsarabi@me.com",
14
21
  "url": "https://arsam.dev"
15
22
  },
16
23
  "license": "MIT",
24
+ "publishConfig": {
25
+ "access": "public",
26
+ "provenance": true
27
+ },
28
+ "engines": {
29
+ "bun": ">=1.0.0"
30
+ },
31
+ "packageManager": "bun@1.3.10",
17
32
  "scripts": {
18
- "clean": "rimraf dist",
19
- "esbuild": "node esbuild.config.js",
20
- "build": "yarn clean && yarn esbuild",
21
- "dev": "ts-node ./src/index.ts",
22
- "start": "node ./dist/index.js",
33
+ "clean": "rm -rf dist",
34
+ "bundle": "bun build src/index.ts --outdir dist --target node --minify --sourcemap=linked --format esm",
35
+ "build": "bun run clean && bun run typecheck && bun run bundle",
36
+ "dev": "bun ./src/index.ts",
37
+ "start": "bun ./dist/index.js",
23
38
  "prettier": "prettier --write 'src/**/*.ts'",
24
39
  "lint": "eslint src",
25
- "tidy": "yarn eslint && yarn prettier",
26
- "prepare": "husky install"
40
+ "tidy": "bun run lint && bun run prettier",
41
+ "prepare": "husky install",
42
+ "typecheck": "tsc --noEmit"
27
43
  },
28
44
  "dependencies": {
29
45
  "boxen": "^7.0.1",
@@ -31,24 +47,21 @@
31
47
  "chalk-animation": "^2.0.3",
32
48
  "clear": "^0.1.0",
33
49
  "figlet": "^1.5.2",
34
- "gradient-string": "^2.0.2",
35
50
  "inquirer": "^9.1.4"
36
51
  },
37
52
  "devDependencies": {
38
- "@arsams/eslintrc": "^1.0.1",
39
- "@arsams/prettierrc": "^1.0.2",
53
+ "@eslint/js": "^10.0.1",
40
54
  "@types/chalk-animation": "^1.6.1",
41
55
  "@types/clear": "^0.1.2",
42
56
  "@types/figlet": "^1.5.5",
43
57
  "@types/inquirer": "^9.0.3",
44
- "esbuild": "^0.17.5",
45
- "eslint": "^8.33.0",
58
+ "@types/node": "^20.0.0",
59
+ "eslint": "^10.6.0",
46
60
  "husky": "^8.0.3",
47
61
  "lint-staged": "^13.1.0",
48
62
  "prettier": "^2.8.3",
49
- "rimraf": "^4.1.2",
50
- "ts-node": "^10.9.1",
51
- "typescript": "^4.9.5"
63
+ "typescript": "^5.3.0",
64
+ "typescript-eslint": "^8.62.1"
52
65
  },
53
66
  "bin": {
54
67
  "arsam": "./dist/index.js"