@10stars/config 15.6.3 → 16.0.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.
package/.oxfmtrc.json CHANGED
@@ -1,6 +1,8 @@
1
1
  {
2
2
  "ignorePatterns": [
3
- "**/*.js" // .js files we have are built-files that should not be formatted
3
+ // our ".js & .jsx" files are built-files that should not be formatted
4
+ "**/*.js",
5
+ "**/*.jsx"
4
6
  ],
5
7
  "arrowParentheses": "always",
6
8
  "trailingCommas": "all",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@10stars/config",
3
- "version": "15.6.3",
3
+ "version": "16.0.0",
4
4
  "private": false,
5
5
  "bin": {
6
6
  "config": "./src/index.ts"
@@ -32,6 +32,6 @@
32
32
  "oxlint-tsgolint": "^0.24.0",
33
33
  "tsx": "^4.22.5",
34
34
  "type-fest": "^5.7.0",
35
- "typescript": "~6.0.3"
35
+ "typescript": "7.0.1-rc"
36
36
  }
37
37
  }
package/src/index.ts CHANGED
@@ -79,10 +79,6 @@ const actions = {
79
79
  info: `Typecheck code (no watch)`,
80
80
  action: () => exec(`tsc --project ./tsconfig.json --noEmit`),
81
81
  },
82
- typecheckGo: {
83
- info: `Typecheck using tsgo (@typescript/native-preview, experimental)`,
84
- action: () => exec(`@typescript/native-preview --project ./tsconfig.json --noEmit`),
85
- },
86
82
  lint: {
87
83
  info: `Format & Lint code (no watch)`,
88
84
  action: async () => {
@@ -9,7 +9,7 @@ const stripJsoncComments = (jsonc: string): string =>
9
9
  )
10
10
 
11
11
  const extensionsJson = {
12
- recommendations: ["oxc.oxc-vscode"],
12
+ recommendations: ["oxc.oxc-vscode", "TypeScriptTeam.native-preview"],
13
13
  unwantedRecommendations: [
14
14
  "ms-vscode.vscode-typescript-tslint-plugin",
15
15
  "eg2.tslint",
@@ -55,8 +55,8 @@ const settingsJson = {
55
55
  "typescript.implementationsCodeLens.enabled": true,
56
56
  "typescript.referencesCodeLens.enabled": true,
57
57
 
58
- // TypeScript
59
- "typescript.tsdk": "node_modules/typescript/lib",
58
+ // TypeScript — v7 (tsgo) ships no JS tsserver, so use the native-preview LSP extension instead of a tsdk path
59
+ "typescript.experimental.useTsgo": true,
60
60
  "typescript.tsserver.maxTsServerMemory": 8192,
61
61
  "typescript.disableAutomaticTypeAcquisition": true,
62
62
  "typescript.check.npmIsInstalled": false,