@thestraylight/so-hot-right-now 0.1.0 → 0.1.1

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/README.md CHANGED
@@ -26,11 +26,10 @@ The tags show which code is hot. A reviewer can see that a function runs on each
26
26
 
27
27
  ## Install
28
28
 
29
- The npm name will be `@thestraylight/so-hot-right-now`, and the command is `so-hot-right-now`.
30
- The package is not on npm yet. Install it from GitHub:
29
+ The npm name is `@thestraylight/so-hot-right-now`, and the command is `so-hot-right-now`.
31
30
 
32
31
  ```sh
33
- pnpm add -D github:mrsharpoblunto/so-hot-right-now
32
+ pnpm add -D @thestraylight/so-hot-right-now
34
33
  npx so-hot-right-now init
35
34
  ```
36
35
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thestraylight/so-hot-right-now",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "A TypeScript checker that finds allocations, closures, string compares, and hash lookups in code that runs on each frame or tick.",
5
5
  "keywords": [
6
6
  "typescript",
@@ -35,7 +35,7 @@
35
35
  "./package.json": "./package.json"
36
36
  },
37
37
  "bin": {
38
- "so-hot-right-now": "./bin/so-hot-right-now.mjs"
38
+ "so-hot-right-now": "bin/so-hot-right-now.mjs"
39
39
  },
40
40
  "files": [
41
41
  "bin",
@@ -46,7 +46,8 @@
46
46
  "scripts": {
47
47
  "test": "vitest run",
48
48
  "lint": "oxlint --deny-warnings && pnpm format --check",
49
- "format": "oxfmt '**/*.{mjs,ts,mts}'"
49
+ "format": "oxfmt '**/*.{mjs,ts,mts}'",
50
+ "prepublishOnly": "pnpm test && node scripts/check-version.mjs"
50
51
  },
51
52
  "dependencies": {
52
53
  "picomatch": "^4.0.7",
@@ -1,9 +1,16 @@
1
1
  {
2
2
  "name": "so-hot-right-now",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Skills to write, fix, and set up hot path checks for TypeScript code that runs on each frame or tick.",
5
- "author": { "name": "Glenn Conner" },
5
+ "author": {
6
+ "name": "Glenn Conner"
7
+ },
6
8
  "repository": "https://github.com/mrsharpoblunto/so-hot-right-now",
7
9
  "license": "MIT",
8
- "keywords": ["typescript", "performance", "hot-path", "lint"]
10
+ "keywords": [
11
+ "typescript",
12
+ "performance",
13
+ "hot-path",
14
+ "lint"
15
+ ]
9
16
  }
@@ -12,10 +12,9 @@ It follows each call from a root, so the roots decide which code it checks.
12
12
  ## 1. Install
13
13
 
14
14
  Install the package as a dev dependency with the project's package manager. It includes its own TypeScript 6, so the project can compile with any TypeScript version.
15
- The package is not on npm yet, so install it from GitHub:
16
15
 
17
16
  ```sh
18
- pnpm add -D github:mrsharpoblunto/so-hot-right-now
17
+ pnpm add -D @thestraylight/so-hot-right-now
19
18
  npx so-hot-right-now init
20
19
  ```
21
20