skillet-shared 0.7.0 → 0.7.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
@@ -5,11 +5,13 @@ Code that bender and videoskillet both ship, as raw TypeScript and CSS.
5
5
  - **In:** nothing at build time; each app compiles the source itself
6
6
  - **Out:** modules under `skillet-shared/<name>`, listed in `exports`
7
7
 
8
- Both apps run it through Vite, so imports keep their `.ts` form and need no build step.
8
+ Both apps run it through Vite, so imports keep their `.ts` form and need no
9
+ build step.
9
10
 
10
11
  ## Develop
11
12
 
12
- - `pnpm test` and `pnpm typecheck` run the package's own suite
13
+ - `pnpm test`, `pnpm typecheck` and `pnpm lint` run the package's own suite
13
14
  - In an app, `pnpm link ../skillet-shared` tests an edit before it is tagged
14
- - Release: `pnpm version patch` (or `minor`). It tests, tags and pushes, and CI publishes to npm through trusted publishing
15
+ - Release: `pnpm version patch` (or `minor`). It tests, tags and pushes, and CI
16
+ publishes to npm through trusted publishing
15
17
  - Then bump the range in each app
@@ -47,7 +47,7 @@ export function readRecent(raw, recentMax, legacy) {
47
47
  }
48
48
  const seen = new Set();
49
49
  return raw
50
- .flatMap(item => {
50
+ .flatMap((item) => {
51
51
  const session = readCurrent(item);
52
52
  const id = typeof item === 'object' && item !== null && 'id' in item
53
53
  ? item.id
package/dist/tokens.css CHANGED
@@ -39,6 +39,7 @@
39
39
  /* A failed write, or a button whose job is to remove something. */
40
40
  --danger: #e08484;
41
41
 
42
+ --fs-2xs: 0.5625rem; /* 9px */
42
43
  --fs-xs: 0.6875rem; /* 11px */
43
44
  --fs-sm: 0.75rem; /* 12px */
44
45
  --fs: 0.8125rem; /* 13px */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skillet-shared",
3
- "version": "0.7.0",
3
+ "version": "0.7.1",
4
4
  "description": "Code shared by bender and videoskillet",
5
5
  "license": "MIT",
6
6
  "author": "Colin Diesh",
@@ -75,10 +75,13 @@
75
75
  "packageManager": "pnpm@11.20.0",
76
76
  "scripts": {
77
77
  "test": "vitest run",
78
- "typecheck": "tsc",
78
+ "typecheck": "tsrs",
79
+ "lint": "oxlint --deny-warnings --report-unused-disable-directives",
80
+ "format": "oxfmt",
81
+ "format:check": "oxfmt --check",
79
82
  "build": "tsc -p tsconfig.build.json && cp src/tokens.css dist/",
80
83
  "prepack": "pnpm build",
81
- "preversion": "pnpm typecheck && pnpm test",
84
+ "preversion": "pnpm typecheck && pnpm lint && pnpm test",
82
85
  "postversion": "git push --follow-tags"
83
86
  },
84
87
  "peerDependencies": {
@@ -89,6 +92,9 @@
89
92
  "@types/node": "^26.6.5",
90
93
  "astro": "^7.4.2",
91
94
  "firebase": "13.1.0",
95
+ "oxfmt": "^0.77.0",
96
+ "oxlint": "^1.92.0",
97
+ "tsrs": "0.23.0-ts7.1.0-beta",
92
98
  "typescript": "^7.0.2",
93
99
  "vitest": "^5.0.5"
94
100
  }