techeverri 1.8.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 (2) hide show
  1. package/README.md +10 -30
  2. package/package.json +18 -24
package/README.md CHANGED
@@ -1,47 +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
22
-
23
- ### Prerequisites
24
-
25
- - Requires [Bun](https://bun.sh/) (v1.0 or newer)
13
+ Requires Node.js 16+
26
14
 
27
- ### Setup
15
+ ## Development
28
16
 
29
- Install dependencies:
17
+ Requires [Bun](https://bun.sh/)
30
18
 
31
19
  ```sh
32
20
  bun install
21
+ bun run build
22
+ bun test
33
23
  ```
34
24
 
35
- ### Commands
36
-
37
- | Command | Description |
38
- | ---------------- | --------------------------------- |
39
- | `bun run print` | Print the card |
40
- | `bun run build` | Build and print the card |
41
- | `bun test` | Run smoke tests (Bun test runner) |
42
- | `bun run format` | Format all files (Prettier) |
43
- | `bun run lint` | Run static code analysis (ESLint) |
44
-
45
- ## Screenshots
25
+ Other scripts are in `package.json`
46
26
 
47
- ![image](./screenshot.png)
27
+ Inspired by [bitandbang](https://github.com/bnb/bitandbang)'s card
package/package.json CHANGED
@@ -1,14 +1,12 @@
1
1
  {
2
2
  "name": "techeverri",
3
- "version": "1.8.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,37 +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": "bunx prettier --write .",
31
- "format:check": "bunx prettier --check .",
32
- "lint": "bunx eslint .",
27
+ "format": "oxfmt",
28
+ "format:check": "oxfmt --check",
29
+ "lint": "oxlint",
33
30
  "test": "bun test",
34
31
  "test:watch": "bun test --watch",
35
32
  "print": "bun run ./bin/cli.js",
36
- "build": "bun run ./build.js",
37
- "postbuild": "bun run print"
33
+ "build": "bun run build.js",
34
+ "prepublishOnly": "bun run build"
38
35
  },
39
36
  "devDependencies": {
40
- "@eslint/js": "^9.32.0",
41
- "boxen": "^8.0.0",
42
- "chalk": "^5.0.0",
43
- "eslint": "^9.32.0",
44
- "eslint-config-prettier": "^10.1.8",
45
- "globals": "^16.3.0",
46
- "prettier": "^3.0.0"
37
+ "boxen": "^9.0.0",
38
+ "chalk": "^6.0.1",
39
+ "oxfmt": "^0.73.0",
40
+ "oxlint": "^1.88.0"
47
41
  },
48
42
  "engines": {
49
- "node": ">=16",
50
- "bun": ">=1.0.0"
51
- }
43
+ "node": ">=16"
44
+ },
45
+ "packageManager": "bun@1.4.3"
52
46
  }