diff --git a/examples/bigbot/.swcrc b/examples/bigbot/.swcrc index 446bf51f7..90ca98686 100644 --- a/examples/bigbot/.swcrc +++ b/examples/bigbot/.swcrc @@ -1,24 +1,24 @@ { - "jsc": { - "parser": { - "syntax": "typescript", - "decorators": true, - "dynamicImport": true - }, - "transform": { - "legacyDecorator": true, - "decoratorMetadata": true - }, - "target": "es2022", - "keepClassNames": true, - "loose": true - }, - "module": { - "type": "es6", - "strict": false, - "strictMode": true, - "lazy": false, - "noInterop": false - }, - "sourceMaps": true -} \ No newline at end of file + "jsc": { + "parser": { + "syntax": "typescript", + "decorators": true, + "dynamicImport": true + }, + "transform": { + "legacyDecorator": true, + "decoratorMetadata": true + }, + "target": "ESNext", + "keepClassNames": true, + "loose": true + }, + "module": { + "type": "es6", + "strict": false, + "strictMode": true, + "lazy": false, + "noInterop": false + }, + "sourceMaps": true +} diff --git a/examples/bigbot/tsconfig.json b/examples/bigbot/tsconfig.json index 4e8cb77f6..b356ffc97 100644 --- a/examples/bigbot/tsconfig.json +++ b/examples/bigbot/tsconfig.json @@ -1,33 +1,30 @@ { - "compilerOptions": { - "target": "es2022", - "module": "es2022", - "experimentalDecorators": true, - "emitDecoratorMetadata": true, - "outDir": "./dist", - "rootDir": "./src", - "esModuleInterop": true, - "importHelpers": true, - "allowUnusedLabels": false, - "noImplicitOverride": true, - "noUnusedLocals": true, - "noUnusedParameters": true, - "noUncheckedIndexedAccess": true, - "strict": true, - "stripInternal": true, - "noFallthroughCasesInSwitch": true, - "useUnknownInCatchVariables": false, - "allowUnreachableCode": false, - "skipLibCheck": true, - "moduleResolution": "node" - }, - "include": [ - "./src/**/*", - ".env" - ], - "ts-node": { - "esm": true, - "experimentalSpecifierResolution": "node", - "swc": true - } + "compilerOptions": { + "target": "ESNext", + "module": "es2022", + "experimentalDecorators": true, + "emitDecoratorMetadata": true, + "outDir": "./dist", + "rootDir": "./src", + "esModuleInterop": true, + "importHelpers": true, + "allowUnusedLabels": false, + "noImplicitOverride": true, + "noUnusedLocals": true, + "noUnusedParameters": true, + "noUncheckedIndexedAccess": true, + "strict": true, + "stripInternal": true, + "noFallthroughCasesInSwitch": true, + "useUnknownInCatchVariables": false, + "allowUnreachableCode": false, + "skipLibCheck": true, + "moduleResolution": "node" + }, + "include": ["./src/**/*", ".env"], + "ts-node": { + "esm": true, + "experimentalSpecifierResolution": "node", + "swc": true + } } diff --git a/packages/bot/.swcrc b/packages/bot/.swcrc index 446bf51f7..ed7fb2c47 100644 --- a/packages/bot/.swcrc +++ b/packages/bot/.swcrc @@ -9,7 +9,7 @@ "legacyDecorator": true, "decoratorMetadata": true }, - "target": "es2022", + "target": "ESNext", "keepClassNames": true, "loose": true }, diff --git a/packages/client/.swcrc b/packages/client/.swcrc index 446bf51f7..0e239af90 100644 --- a/packages/client/.swcrc +++ b/packages/client/.swcrc @@ -1,24 +1,24 @@ { - "jsc": { - "parser": { - "syntax": "typescript", - "decorators": true, - "dynamicImport": true - }, - "transform": { - "legacyDecorator": true, - "decoratorMetadata": true - }, - "target": "es2022", - "keepClassNames": true, - "loose": true + "jsc": { + "parser": { + "syntax": "typescript", + "decorators": true, + "dynamicImport": true }, - "module": { - "type": "es6", - "strict": false, - "strictMode": true, - "lazy": false, - "noInterop": false + "transform": { + "legacyDecorator": true, + "decoratorMetadata": true }, - "sourceMaps": true -} \ No newline at end of file + "target": "ESNext", + "keepClassNames": true, + "loose": true + }, + "module": { + "type": "es6", + "strict": false, + "strictMode": true, + "lazy": false, + "noInterop": false + }, + "sourceMaps": true +} diff --git a/packages/discordeno/.swcrc b/packages/discordeno/.swcrc index 446bf51f7..0e239af90 100644 --- a/packages/discordeno/.swcrc +++ b/packages/discordeno/.swcrc @@ -1,24 +1,24 @@ { - "jsc": { - "parser": { - "syntax": "typescript", - "decorators": true, - "dynamicImport": true - }, - "transform": { - "legacyDecorator": true, - "decoratorMetadata": true - }, - "target": "es2022", - "keepClassNames": true, - "loose": true + "jsc": { + "parser": { + "syntax": "typescript", + "decorators": true, + "dynamicImport": true }, - "module": { - "type": "es6", - "strict": false, - "strictMode": true, - "lazy": false, - "noInterop": false + "transform": { + "legacyDecorator": true, + "decoratorMetadata": true }, - "sourceMaps": true -} \ No newline at end of file + "target": "ESNext", + "keepClassNames": true, + "loose": true + }, + "module": { + "type": "es6", + "strict": false, + "strictMode": true, + "lazy": false, + "noInterop": false + }, + "sourceMaps": true +} diff --git a/packages/gateway/.swcrc b/packages/gateway/.swcrc index 446bf51f7..0e239af90 100644 --- a/packages/gateway/.swcrc +++ b/packages/gateway/.swcrc @@ -1,24 +1,24 @@ { - "jsc": { - "parser": { - "syntax": "typescript", - "decorators": true, - "dynamicImport": true - }, - "transform": { - "legacyDecorator": true, - "decoratorMetadata": true - }, - "target": "es2022", - "keepClassNames": true, - "loose": true + "jsc": { + "parser": { + "syntax": "typescript", + "decorators": true, + "dynamicImport": true }, - "module": { - "type": "es6", - "strict": false, - "strictMode": true, - "lazy": false, - "noInterop": false + "transform": { + "legacyDecorator": true, + "decoratorMetadata": true }, - "sourceMaps": true -} \ No newline at end of file + "target": "ESNext", + "keepClassNames": true, + "loose": true + }, + "module": { + "type": "es6", + "strict": false, + "strictMode": true, + "lazy": false, + "noInterop": false + }, + "sourceMaps": true +} diff --git a/packages/rest/.swcrc b/packages/rest/.swcrc index 446bf51f7..0e239af90 100644 --- a/packages/rest/.swcrc +++ b/packages/rest/.swcrc @@ -1,24 +1,24 @@ { - "jsc": { - "parser": { - "syntax": "typescript", - "decorators": true, - "dynamicImport": true - }, - "transform": { - "legacyDecorator": true, - "decoratorMetadata": true - }, - "target": "es2022", - "keepClassNames": true, - "loose": true + "jsc": { + "parser": { + "syntax": "typescript", + "decorators": true, + "dynamicImport": true }, - "module": { - "type": "es6", - "strict": false, - "strictMode": true, - "lazy": false, - "noInterop": false + "transform": { + "legacyDecorator": true, + "decoratorMetadata": true }, - "sourceMaps": true -} \ No newline at end of file + "target": "ESNext", + "keepClassNames": true, + "loose": true + }, + "module": { + "type": "es6", + "strict": false, + "strictMode": true, + "lazy": false, + "noInterop": false + }, + "sourceMaps": true +} diff --git a/packages/types/.swcrc b/packages/types/.swcrc index 446bf51f7..0e239af90 100644 --- a/packages/types/.swcrc +++ b/packages/types/.swcrc @@ -1,24 +1,24 @@ { - "jsc": { - "parser": { - "syntax": "typescript", - "decorators": true, - "dynamicImport": true - }, - "transform": { - "legacyDecorator": true, - "decoratorMetadata": true - }, - "target": "es2022", - "keepClassNames": true, - "loose": true + "jsc": { + "parser": { + "syntax": "typescript", + "decorators": true, + "dynamicImport": true }, - "module": { - "type": "es6", - "strict": false, - "strictMode": true, - "lazy": false, - "noInterop": false + "transform": { + "legacyDecorator": true, + "decoratorMetadata": true }, - "sourceMaps": true -} \ No newline at end of file + "target": "ESNext", + "keepClassNames": true, + "loose": true + }, + "module": { + "type": "es6", + "strict": false, + "strictMode": true, + "lazy": false, + "noInterop": false + }, + "sourceMaps": true +} diff --git a/packages/utils/.swcrc b/packages/utils/.swcrc index 446bf51f7..0e239af90 100644 --- a/packages/utils/.swcrc +++ b/packages/utils/.swcrc @@ -1,24 +1,24 @@ { - "jsc": { - "parser": { - "syntax": "typescript", - "decorators": true, - "dynamicImport": true - }, - "transform": { - "legacyDecorator": true, - "decoratorMetadata": true - }, - "target": "es2022", - "keepClassNames": true, - "loose": true + "jsc": { + "parser": { + "syntax": "typescript", + "decorators": true, + "dynamicImport": true }, - "module": { - "type": "es6", - "strict": false, - "strictMode": true, - "lazy": false, - "noInterop": false + "transform": { + "legacyDecorator": true, + "decoratorMetadata": true }, - "sourceMaps": true -} \ No newline at end of file + "target": "ESNext", + "keepClassNames": true, + "loose": true + }, + "module": { + "type": "es6", + "strict": false, + "strictMode": true, + "lazy": false, + "noInterop": false + }, + "sourceMaps": true +}