Skip to content

Commit 31a3bbb

Browse files
committed
fix: build
1 parent 34f9605 commit 31a3bbb

File tree

9 files changed

+13
-13
lines changed

9 files changed

+13
-13
lines changed

apps/docs-website/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"serve": "docusaurus serve --dir=./dist",
1212
"write-translations": "docusaurus write-translations",
1313
"write-heading-ids": "docusaurus write-heading-ids",
14-
"typecheck": "tsc --noEmit",
14+
"typecheck": "tsc",
1515
"lint": "eslint --max-warnings=0 --flag unstable_ts_config",
1616
"typesync": "typesync --dry=fail",
1717
"clean": "pnpm clear && rm -rf .turbo dist node_modules/.cache"

apps/sheriff-webservices/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"scripts": {
77
"start": "tsx watch ./src/index.ts",
88
"build": "tsc",
9-
"typecheck": "tsc --noEmit",
9+
"typecheck": "tsc",
1010
"lint": "eslint --max-warnings=0 --flag unstable_ts_config",
1111
"typesync": "typesync --dry=fail",
1212
"serve": "node ./dist/index.js",

packages/eslint-config-sheriff/eslint.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { sheriff, type SheriffSettings } from 'eslint-config-sheriff';
21
import { defineFlatConfig } from 'eslint-define-config';
2+
import { sheriff, type SheriffSettings } from './src';
33

44
const sheriffOptions: SheriffSettings = {
55
react: false,

packages/eslint-config-sheriff/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"clean": "rm -rf .turbo dist node_modules/.cache",
4949
"re-bundle-types": "dts-bundle-generator -out-file=dist/index.d.ts ./dist/index.d.ts",
5050
"build": "tsup && pnpm re-bundle-types",
51-
"typecheck": "tsc --noEmit",
51+
"typecheck": "tsc",
5252
"lint": "eslint src --max-warnings=0 --flag unstable_ts_config",
5353
"publint": "publint",
5454
"typesync": "typesync --dry=fail"

packages/eslint-config-sheriff/src/index.ts

+5-6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
/* eslint-disable import/no-default-export */
2-
/* eslint-disable unicorn/prefer-export-from */
32

43
import {
54
allJsExtensions,
@@ -9,7 +8,6 @@ import {
98
supportedFileTypes,
109
testsFilePatterns,
1110
} from '@sherifforg/constants';
12-
import { getExportableConfig } from './getExportableConfig';
1311
import { getIndexedBaseNoRestrictedSyntaxRules } from './utils/getIndexedBaseNoRestrictedSyntaxRules';
1412

1513
//#region - these '@sherifforg/constants' variables needs to be re-stored like this, otherwise they will not be bundled. They need to be bundled because we are not publishing the 'sheriff-constants' package, but we are using it as a dependency in this package.
@@ -22,19 +20,20 @@ const exportableTestsFilePatterns = testsFilePatterns;
2220

2321
const indexedBaseNoRestrictedSyntaxRules =
2422
getIndexedBaseNoRestrictedSyntaxRules();
25-
//#endregion
2623

2724
export {
2825
exportableAllJsExtensions as allJsExtensions,
2926
exportableAllJsxExtensions as allJsxExtensions,
3027
indexedBaseNoRestrictedSyntaxRules as baseNoRestrictedSyntaxRules,
3128
exportableIgnores as ignores,
32-
getExportableConfig as sheriff,
3329
exportableSheriffStartingOptions as sheriffStartingOptions,
3430
exportableSupportedFileTypes as supportedFileTypes,
3531
exportableTestsFilePatterns as testsFilePatterns,
3632
};
33+
//#endregion
3734

35+
export {
36+
getExportableConfig as default,
37+
getExportableConfig as sheriff,
38+
} from './getExportableConfig';
3839
export type * from '@sherifforg/types';
39-
40-
export default getExportableConfig;

packages/sheriff-cli/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"scripts": {
77
"clean": "rm -rf .turbo dist node_modules/.cache",
88
"build": "tsup",
9-
"typecheck": "tsc --noEmit",
9+
"typecheck": "tsc",
1010
"lint": "eslint ./src --max-warnings=0",
1111
"publint": "publint",
1212
"typesync": "typesync --dry=fail"

packages/sheriff-create-config/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"dev": "tsx ./src/index.ts",
88
"clean": "rm -rf .turbo dist node_modules/.cache",
99
"build": "tsup",
10-
"typecheck": "tsc --noEmit",
10+
"typecheck": "tsc",
1111
"lint": "eslint ./src --max-warnings=0 --flag unstable_ts_config",
1212
"publint": "publint",
1313
"typesync": "typesync --dry=fail"

packages/sheriff-types/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
],
1212
"scripts": {
1313
"clean": "rm -rf .turbo dist node_modules/.cache",
14-
"typecheck": "tsc --noEmit"
14+
"typecheck": "tsc"
1515
},
1616
"devDependencies": {
1717
"@types/node": "^22.9.0",

packages/tsconfig/base.json

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"${configDir}/node_modules"
99
],
1010
"compilerOptions": {
11+
"noEmit": true,
1112
"composite": false,
1213
"target": "ESNext",
1314
"module": "Preserve",

0 commit comments

Comments
 (0)