techeverri 1.7.0 → 1.9.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.
Files changed (3) hide show
  1. package/README.md +13 -25
  2. package/bin/cli.js +0 -0
  3. package/package.json +21 -25
package/README.md CHANGED
@@ -1,39 +1,27 @@
1
- ![GitHub](https://img.shields.io/github/license/techeverri/techeverri-cli?color=blue) [![CI](https://github.com/techeverri/techeverri-cli/actions/workflows/ci.yml/badge.svg)](https://github.com/techeverri/techeverri-cli/actions/workflows/ci.yml) [![GitHub version](https://badge.fury.io/gh/techeverri%2Ftecheverri-cli.svg)](https://badge.fury.io/gh/techeverri%2Ftecheverri-cli) [![npm version](https://badge.fury.io/js/techeverri.svg)](https://badge.fury.io/js/techeverri)
1
+ [![CI](https://github.com/techeverri/techeverri-cli/actions/workflows/ci.yml/badge.svg)](https://github.com/techeverri/techeverri-cli/actions/workflows/ci.yml) [![npm](https://img.shields.io/npm/v/techeverri)](https://www.npmjs.com/package/techeverri)
2
2
 
3
- ### It's me Tomas! 👋
3
+ # techeverri
4
4
 
5
- _Inspired by [bitandbang](https://github.com/bnb/bitandbang)'s card._
5
+ My npm card
6
6
 
7
7
  ## Usage
8
8
 
9
- ### Prerequisites
10
-
11
- - Requires [Node.js](https://nodejs.org/) (v16 or newer)
12
-
13
- ### npm
14
-
15
- To see my `npm` card, run the following command:
16
-
17
9
  ```sh
18
10
  npx techeverri
19
11
  ```
20
12
 
21
- ## Development
13
+ Requires Node.js 16+
22
14
 
23
- ### Prerequisites
24
-
25
- - Requires [Node.js](https://nodejs.org/) (v16 or newer)
15
+ ## Development
26
16
 
27
- ### Commands
17
+ Requires [Bun](https://bun.sh/)
28
18
 
29
- | Command | Description |
30
- | ---------------- | --------------------------------- |
31
- | `npm run print` | Print the card |
32
- | `npm run build` | Build and print the card |
33
- | `npm run test` | Run smoke tests (Jest) |
34
- | `npm run format` | Format all files (Prettier) |
35
- | `npm run lint` | Run static code analysis (ESLint) |
19
+ ```sh
20
+ bun install
21
+ bun run build
22
+ bun test
23
+ ```
36
24
 
37
- ## Screenshots
25
+ Other scripts are in `package.json`
38
26
 
39
- ![image](./screenshot.png)
27
+ Inspired by [bitandbang](https://github.com/bnb/bitandbang)'s card
package/bin/cli.js CHANGED
File without changes
package/package.json CHANGED
@@ -1,14 +1,12 @@
1
1
  {
2
2
  "name": "techeverri",
3
- "version": "1.7.0",
3
+ "version": "1.9.0",
4
4
  "description": "Personal card for Tomas Echeverri (@techeverri)",
5
5
  "keywords": [
6
6
  "business card",
7
7
  "card",
8
8
  "npm card",
9
- "npm",
10
9
  "npx card",
11
- "npx",
12
10
  "techeverri"
13
11
  ],
14
12
  "license": "MIT",
@@ -16,35 +14,33 @@
16
14
  "name": "Tomas Echeverri",
17
15
  "url": "https://github.com/techeverri"
18
16
  },
19
- "files": [
20
- "bin/card"
21
- ],
22
- "type": "module",
23
- "main": "./bin/cli.js",
24
- "bin": "./bin/cli.js",
25
17
  "repository": {
26
18
  "type": "git",
27
19
  "url": "https://github.com/techeverri/techeverri-cli.git"
28
20
  },
21
+ "bin": "./bin/cli.js",
22
+ "files": [
23
+ "bin"
24
+ ],
25
+ "type": "module",
29
26
  "scripts": {
30
- "format": "prettier --write .",
31
- "format:check": "prettier --check .",
32
- "lint": "eslint .",
33
- "test": "jest",
34
- "print": "node ./bin/cli.js",
35
- "build": "node ./build.js",
36
- "postbuild": "npm run print"
27
+ "format": "oxfmt",
28
+ "format:check": "oxfmt --check",
29
+ "lint": "oxlint",
30
+ "test": "bun test",
31
+ "test:watch": "bun test --watch",
32
+ "print": "bun run ./bin/cli.js",
33
+ "build": "bun run build.js",
34
+ "prepublishOnly": "bun run build"
37
35
  },
38
36
  "devDependencies": {
39
- "boxen": "^8.0.0",
40
- "chalk": "^5.0.0",
41
- "eslint": "^9.4.0",
42
- "eslint-config-prettier": "^10.1.5",
43
- "eslint-plugin-jest": "^28.5.0",
44
- "jest": "^29.6.1",
45
- "prettier": "^3.0.0"
37
+ "boxen": "^9.0.0",
38
+ "chalk": "^6.0.1",
39
+ "oxfmt": "^0.73.0",
40
+ "oxlint": "^1.88.0"
46
41
  },
47
42
  "engines": {
48
- "node": ">=12"
49
- }
43
+ "node": ">=16"
44
+ },
45
+ "packageManager": "bun@1.4.3"
50
46
  }