@10stars/config 16.0.2 → 16.0.4

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.
@@ -17,6 +17,18 @@
17
17
  "ignore": ["sx"]
18
18
  }
19
19
  ],
20
- "react/react-in-jsx-scope": "off"
20
+ "react/react-in-jsx-scope": "off",
21
+ "no-restricted-imports": [
22
+ "error",
23
+ {
24
+ "paths": [
25
+ {
26
+ "name": "@vanilla-extract/css",
27
+ "importNames": ["style"],
28
+ "message": "Do not use 'style' from '@vanilla-extract/css'. Use 'theme.layerStyle(import.meta, ...)' instead so the rule lands in a cascade layer"
29
+ }
30
+ ]
31
+ }
32
+ ]
21
33
  }
22
34
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@10stars/config",
3
- "version": "16.0.2",
3
+ "version": "16.0.4",
4
4
  "private": false,
5
5
  "bin": {
6
6
  "config": "./src/index.ts"
@@ -26,6 +26,7 @@
26
26
  "@types/node": "^26.1.0",
27
27
  "@types/react": "^19.2.17",
28
28
  "@types/react-dom": "^19.2.3",
29
+ "@typescript/native-preview": "7.0.0-dev.20260704.1",
29
30
  "husky": "^9.1.7",
30
31
  "oxfmt": "0.57.0",
31
32
  "oxlint": "^1.72.0",
package/src/index.ts CHANGED
@@ -39,8 +39,6 @@ const getOxlintCommonCmd = async () => {
39
39
  return `${paths} ${quiet} --ignore-pattern '**/node_modules/**' --ignore-pattern '**/dist/**'`
40
40
  }
41
41
 
42
- const typecheckAndWatch = () => exec(`tsc --project ./tsconfig.json --noEmit --watch`)
43
-
44
42
  const actions = {
45
43
  prepare: {
46
44
  info: `Runs husky and links packages`,
@@ -70,13 +68,9 @@ const actions = {
70
68
  }
71
69
  },
72
70
  },
73
- typecheckWatch: {
74
- info: "Typecheck code (in watch mode)",
75
- action: typecheckAndWatch,
76
- },
77
71
  ts: {
78
- info: `alias for 'typecheckWatch'`,
79
- action: typecheckAndWatch,
72
+ info: `Typecheck code (in watch mode)`,
73
+ action: () => exec(`tsgo --project ./tsconfig.json --noEmit --watch`), // watch uses tsgo (native-preview) for the FSEvents watcher fix absent from typescript@7.0.1-rc; non-watch typecheck stays on tsc
80
74
  },
81
75
  typecheck: {
82
76
  info: `Typecheck code (no watch)`,