diff --git a/_templates/create-package/library/files/tsconfig.json.t b/_templates/create-package/library/files/tsconfig.json.t index aad3770f2e..8f6b36ccec 100644 --- a/_templates/create-package/library/files/tsconfig.json.t +++ b/_templates/create-package/library/files/tsconfig.json.t @@ -6,7 +6,6 @@ to: packages/<%=package%>/tsconfig.json "compilerOptions": { "module": "ESNext", "outDir": "./dist/esm", - "esModuleInterop": true, "skipLibCheck": true, "moduleResolution": "node", "resolveJsonModule": true diff --git a/packages/css-in-js/package.json b/packages/css-in-js/package.json index 5dde2b2548..281739eec2 100644 --- a/packages/css-in-js/package.json +++ b/packages/css-in-js/package.json @@ -21,13 +21,10 @@ "url": "https://rocket.chat/" }, "main": "dist/index.js", - "unpkg": "dist/index.umd.js", "module": "dist/index.module.js", - "source": "src/index.ts", "types": "dist/index.d.ts", "files": [ - "/dist", - "/logicalProperties" + "/dist" ], "scripts": { "build": "rollup -c", diff --git a/packages/css-in-js/rollup.config.mjs b/packages/css-in-js/rollup.config.mjs index d1f2793ae3..5fcef098a1 100644 --- a/packages/css-in-js/rollup.config.mjs +++ b/packages/css-in-js/rollup.config.mjs @@ -34,14 +34,6 @@ export default defineConfig({ format: 'es', sourcemap: true, }, - { - dir: dirname(pkg.unpkg), - entryFileNames: basename(pkg.unpkg), - format: 'umd', - name: 'cssInJs', - sourcemap: true, - globals, - }, ], plugins: [ terser({ diff --git a/packages/css-in-js/tsconfig.build.json b/packages/css-in-js/tsconfig.build.json index 5417c7dc09..f3365746bb 100644 --- a/packages/css-in-js/tsconfig.build.json +++ b/packages/css-in-js/tsconfig.build.json @@ -1,4 +1,7 @@ { "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./dist" + }, "exclude": ["src/**/*.spec.ts"] } diff --git a/packages/css-in-js/tsconfig.json b/packages/css-in-js/tsconfig.json index b376cd6768..7f841fc908 100644 --- a/packages/css-in-js/tsconfig.json +++ b/packages/css-in-js/tsconfig.json @@ -2,13 +2,8 @@ "extends": "../../tsconfig.base.json", "compilerOptions": { "rootDir": "./src", - "module": "ESNext", - "lib": ["dom", "es6"], - "declarationDir": "./dist", - "outDir": "./dist", "moduleResolution": "node", "noEmit": true, - "esModuleInterop": true, "skipLibCheck": true }, "include": ["src"], diff --git a/packages/css-supports/package.json b/packages/css-supports/package.json index fa4d1c72fa..84c35b7660 100644 --- a/packages/css-supports/package.json +++ b/packages/css-supports/package.json @@ -23,8 +23,7 @@ "/dist" ], "scripts": { - "build": "tsc -p tsconfig.esm.json && tsc -p tsconfig.cjs.json", - "clean": "rimraf dist", + "build": "rimraf dist && tsc -p tsconfig.esm.json && tsc -p tsconfig.cjs.json", "docs": "typedoc", "lint": "lint", "lint-and-fix": "lint-and-fix" diff --git a/packages/css-supports/tsconfig.esm.json b/packages/css-supports/tsconfig.esm.json index fc8520e737..48e68b0620 100644 --- a/packages/css-supports/tsconfig.esm.json +++ b/packages/css-supports/tsconfig.esm.json @@ -1,3 +1,7 @@ { - "extends": "./tsconfig.json" + "extends": "./tsconfig.json", + "compilerOptions": { + "module": "ESNext", + "outDir": "./dist/esm" + } } diff --git a/packages/css-supports/tsconfig.json b/packages/css-supports/tsconfig.json index 23682df3d9..a1a9bfbbf7 100644 --- a/packages/css-supports/tsconfig.json +++ b/packages/css-supports/tsconfig.json @@ -2,12 +2,9 @@ "extends": "../../tsconfig.base.json", "compilerOptions": { "rootDir": "./src", - "module": "ESNext", - "outDir": "./dist/esm", - "esModuleInterop": true, - "skipLibCheck": true, "moduleResolution": "node", - "resolveJsonModule": true + "types": [], + "lib": ["ES2024", "DOM"] }, "include": ["src/**/*"], "typedocOptions": { diff --git a/packages/emitter/rollup.config.mjs b/packages/emitter/rollup.config.mjs index 4ae2995394..0406549635 100644 --- a/packages/emitter/rollup.config.mjs +++ b/packages/emitter/rollup.config.mjs @@ -24,13 +24,6 @@ export default defineConfig({ format: 'es', sourcemap: true, }, - { - dir: dirname(pkg.unpkg), - entryFileNames: basename(pkg.unpkg), - format: 'umd', - name: 'Emitter', - sourcemap: true, - }, ], plugins: [ terser({ diff --git a/packages/emitter/tsconfig.build.json b/packages/emitter/tsconfig.build.json index 5417c7dc09..f3365746bb 100644 --- a/packages/emitter/tsconfig.build.json +++ b/packages/emitter/tsconfig.build.json @@ -1,4 +1,7 @@ { "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./dist" + }, "exclude": ["src/**/*.spec.ts"] } diff --git a/packages/emitter/tsconfig.json b/packages/emitter/tsconfig.json index 4c899c6467..49fc46dfaa 100644 --- a/packages/emitter/tsconfig.json +++ b/packages/emitter/tsconfig.json @@ -2,13 +2,7 @@ "extends": "../../tsconfig.base.json", "compilerOptions": { "rootDir": "./src", - "module": "ESNext", - "target": "ES5", - "lib": ["dom", "ES2015"], - "declarationDir": "./dist", - "outDir": "./dist", "moduleResolution": "node", - "esModuleInterop": true, "resolveJsonModule": true, "skipLibCheck": true }, diff --git a/packages/fuselage-hooks/package.json b/packages/fuselage-hooks/package.json index d378ffd06b..9227309323 100644 --- a/packages/fuselage-hooks/package.json +++ b/packages/fuselage-hooks/package.json @@ -23,9 +23,7 @@ "url": "https://rocket.chat/" }, "main": "dist/index.js", - "unpkg": "dist/index.umd.js", "module": "dist/index.module.js", - "source": "src/index.ts", "types": "dist/index.d.ts", "files": [ "/dist" diff --git a/packages/fuselage-hooks/rollup.config.mjs b/packages/fuselage-hooks/rollup.config.mjs index e05ded1bbe..9ca3e8eab6 100644 --- a/packages/fuselage-hooks/rollup.config.mjs +++ b/packages/fuselage-hooks/rollup.config.mjs @@ -29,14 +29,6 @@ export default defineConfig({ format: 'es', sourcemap: true, }, - { - dir: dirname(pkg.unpkg), - entryFileNames: basename(pkg.unpkg), - format: 'umd', - name: 'FuselageHooks', - sourcemap: true, - globals, - }, ], plugins: [ terser({ diff --git a/packages/fuselage-hooks/tsconfig.build.json b/packages/fuselage-hooks/tsconfig.build.json index 6b551b781c..b0146c3146 100644 --- a/packages/fuselage-hooks/tsconfig.build.json +++ b/packages/fuselage-hooks/tsconfig.build.json @@ -1,7 +1,8 @@ { "extends": "./tsconfig.json", "compilerOptions": { - "rootDir": "./src" + "rootDir": "./src", + "outDir": "./dist" }, "exclude": ["./src/**/*.spec.ts"] } diff --git a/packages/fuselage-hooks/tsconfig.json b/packages/fuselage-hooks/tsconfig.json index ca71bb0364..0217d35430 100644 --- a/packages/fuselage-hooks/tsconfig.json +++ b/packages/fuselage-hooks/tsconfig.json @@ -1,12 +1,7 @@ { "extends": "../../tsconfig.base.json", "compilerOptions": { - "module": "ESNext", - "lib": ["DOM", "ES2015"], - "declarationDir": "./dist", - "outDir": "./dist", "moduleResolution": "node", - "esModuleInterop": true, "resolveJsonModule": true, "jsx": "react-jsx" }, diff --git a/packages/fuselage-toastbar/tsconfig.cjs.json b/packages/fuselage-toastbar/tsconfig.cjs.json index c37b67cd5b..591462e5b6 100644 --- a/packages/fuselage-toastbar/tsconfig.cjs.json +++ b/packages/fuselage-toastbar/tsconfig.cjs.json @@ -1,7 +1,7 @@ { "extends": "./tsconfig.json", "compilerOptions": { - "module": "CommonJS", + "module": "commonjs", "rootDir": "./src", "outDir": "./dist/cjs" }, diff --git a/packages/fuselage-toastbar/tsconfig.esm.json b/packages/fuselage-toastbar/tsconfig.esm.json index 7072684525..2f86a6185d 100644 --- a/packages/fuselage-toastbar/tsconfig.esm.json +++ b/packages/fuselage-toastbar/tsconfig.esm.json @@ -1,7 +1,6 @@ { "extends": "./tsconfig.json", "compilerOptions": { - "module": "ESNext", "rootDir": "./src", "outDir": "./dist/esm" }, diff --git a/packages/fuselage-toastbar/tsconfig.json b/packages/fuselage-toastbar/tsconfig.json index 4cd9de5515..1b0c6678b9 100644 --- a/packages/fuselage-toastbar/tsconfig.json +++ b/packages/fuselage-toastbar/tsconfig.json @@ -2,10 +2,7 @@ "extends": "../../tsconfig.base.json", "compilerOptions": { "rootDirs": ["./src", "./.storybook"], - "target": "ES5", - "module": "CommonJS", - "outDir": "./dist", - "esModuleInterop": true, + "module": "commonjs", "skipLibCheck": true, "moduleResolution": "node", "resolveJsonModule": true, diff --git a/packages/fuselage/package.json b/packages/fuselage/package.json index 6c5789ff4c..9865281147 100644 --- a/packages/fuselage/package.json +++ b/packages/fuselage/package.json @@ -27,12 +27,8 @@ "storybook": "storybook dev -p 6006 --no-version-updates", "build": "run-s .:build:clean .:build:dev .:build:prod", ".:build:clean": "rimraf dist", - ".:build:prod": "run-s .:build:prod:bundle .:build:prod:check", - ".:build:dev": "run-s .:build:dev:bundle .:build:dev:check", - ".:build:prod:bundle": "webpack --mode production", - ".:build:prod:check": "es-check es5 dist/*.production.js", - ".:build:dev:bundle": "webpack --mode development", - ".:build:dev:check": "es-check es5 dist/*.development.js", + ".:build:prod": "webpack --mode production", + ".:build:dev": "webpack --mode development", "lint": "lint", "lint-and-fix": "lint-and-fix", "test": "jest --runInBand", @@ -79,7 +75,6 @@ "cross-env": "^7.0.3", "css-loader": "~7.1.2", "cssnano": "~7.1.0", - "es-check": "~9.1.4", "eslint": "~9.29.0", "jest": "~30.0.0", "jest-axe": "~10.0.0", diff --git a/packages/fuselage/tsconfig.build.json b/packages/fuselage/tsconfig.build.json index d0f7720a98..214b3b7504 100644 --- a/packages/fuselage/tsconfig.build.json +++ b/packages/fuselage/tsconfig.build.json @@ -1,7 +1,8 @@ { "extends": "./tsconfig.json", "compilerOptions": { - "rootDir": "./src" + "module": "commonjs", + "outDir": "./dist" }, "include": ["./src"], "exclude": [ diff --git a/packages/fuselage/tsconfig.json b/packages/fuselage/tsconfig.json index 147b2d73ff..d0fdbd1c36 100644 --- a/packages/fuselage/tsconfig.json +++ b/packages/fuselage/tsconfig.json @@ -2,16 +2,10 @@ "extends": "../../tsconfig.base.json", "compilerOptions": { "rootDirs": ["./src", "./.storybook"], - "target": "ES5", - "module": "CommonJS", - "lib": ["ES2020", "DOM"], - "downlevelIteration": true, - "outDir": "./dist", - "esModuleInterop": true, "skipLibCheck": true, "moduleResolution": "node", "resolveJsonModule": true, - "allowJs": true, + "allowJs": false, "jsx": "react-jsx" }, "include": [ diff --git a/packages/layout/tsconfig.cjs.json b/packages/layout/tsconfig.cjs.json index bf7da979f8..37ed0491fc 100644 --- a/packages/layout/tsconfig.cjs.json +++ b/packages/layout/tsconfig.cjs.json @@ -1,7 +1,7 @@ { "extends": "./tsconfig.json", "compilerOptions": { - "module": "CommonJS", + "module": "commonjs", "rootDir": "./src", "outDir": "./dist/cjs" }, diff --git a/packages/layout/tsconfig.esm.json b/packages/layout/tsconfig.esm.json index d044c373eb..952485967a 100644 --- a/packages/layout/tsconfig.esm.json +++ b/packages/layout/tsconfig.esm.json @@ -1,7 +1,6 @@ { "extends": "./tsconfig.json", "compilerOptions": { - "module": "ESNext", "rootDir": "./src", "outDir": "./dist/esm" }, diff --git a/packages/layout/tsconfig.json b/packages/layout/tsconfig.json index 0bfabe5210..514e6ef37f 100644 --- a/packages/layout/tsconfig.json +++ b/packages/layout/tsconfig.json @@ -2,10 +2,6 @@ "extends": "../../tsconfig.base.json", "compilerOptions": { "rootDirs": ["./src", "./.storybook"], - "target": "ES5", - "module": "CommonJS", - "outDir": "./dist", - "esModuleInterop": true, "skipLibCheck": true, "moduleResolution": "node", "resolveJsonModule": true, diff --git a/packages/logo/package.json b/packages/logo/package.json index 345cd4e21c..dbd455b8df 100644 --- a/packages/logo/package.json +++ b/packages/logo/package.json @@ -29,8 +29,8 @@ "scripts": { "build": "run-s .:build:clean .:build:esm .:build:cjs .:build:logo", ".:build:clean": "rimraf dist", - ".:build:esm": "tsc -p tsconfig-esm.json", - ".:build:cjs": "tsc -p tsconfig-cjs.json", + ".:build:esm": "tsc -p tsconfig.esm.json", + ".:build:cjs": "tsc -p tsconfig.cjs.json", ".:build:logo": "build-logo", "lint": "lint", "lint-and-fix": "lint-and-fix", diff --git a/packages/logo/tsconfig-cjs.json b/packages/logo/tsconfig.cjs.json similarity index 100% rename from packages/logo/tsconfig-cjs.json rename to packages/logo/tsconfig.cjs.json diff --git a/packages/logo/tsconfig-esm.json b/packages/logo/tsconfig.esm.json similarity index 55% rename from packages/logo/tsconfig-esm.json rename to packages/logo/tsconfig.esm.json index 138e2c182b..6d7d7436c7 100644 --- a/packages/logo/tsconfig-esm.json +++ b/packages/logo/tsconfig.esm.json @@ -1,4 +1,7 @@ { "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./dist/esm" + }, "exclude": ["./**/*.spec.tsx"] } diff --git a/packages/logo/tsconfig.json b/packages/logo/tsconfig.json index 0c9ff42708..9a039d44f5 100644 --- a/packages/logo/tsconfig.json +++ b/packages/logo/tsconfig.json @@ -1,16 +1,8 @@ { + "extends": "../../tsconfig.base.json", "compilerOptions": { "rootDir": "./src", - "target": "es5", - "module": "ESNext", - "declaration": true, - "declarationMap": true, - "sourceMap": true, - "outDir": "./dist/esm", - "strict": true, - "esModuleInterop": true, "skipLibCheck": true, - "forceConsistentCasingInFileNames": true, "moduleResolution": "node", "resolveJsonModule": true, "jsx": "react-jsx" diff --git a/packages/memo/package.json b/packages/memo/package.json index 8e09478e3d..32064ae0bd 100644 --- a/packages/memo/package.json +++ b/packages/memo/package.json @@ -26,8 +26,8 @@ "/dist" ], "scripts": { - ".:build:cjs": "tsc -p tsconfig-cjs.json", - ".:build:esm": "tsc -p tsconfig-esm.json", + ".:build:cjs": "tsc -p tsconfig.cjs.json", + ".:build:esm": "tsc -p tsconfig.esm.json", "build": "run .:build:esm && run .:build:cjs", "clean": "rimraf dist", "docs": "typedoc", diff --git a/packages/memo/src/memoize.spec.ts b/packages/memo/src/memoize.spec.ts index b8f2668252..46f2bf8704 100644 --- a/packages/memo/src/memoize.spec.ts +++ b/packages/memo/src/memoize.spec.ts @@ -1,3 +1,5 @@ +import { it, jest, expect, describe } from '@jest/globals'; + import { memoize, clear } from './memoize'; it('should memoize a function that takes no parameter', () => { diff --git a/packages/memo/src/memoize.ts b/packages/memo/src/memoize.ts index 04a754b61d..651c17d737 100644 --- a/packages/memo/src/memoize.ts +++ b/packages/memo/src/memoize.ts @@ -6,7 +6,7 @@ interface Options { } const store = new WeakMap< - MemoizableFunction, + MemoizableFunction, Map >(); @@ -18,7 +18,7 @@ const isCachedValue = ( export const memoize = ( fn: MemoizableFunction, - _options?: Options, + options?: Options, ): MemoizedFunction => { const cache = new Map(); const cacheTimers = new Map>(); @@ -37,8 +37,8 @@ export const memoize = ( clearTimeout(oldTimer); } - if (_options) { - const timer = setTimeout(cleanUp, _options.maxAge); + if (options) { + const timer = setTimeout(cleanUp, options.maxAge); cacheTimers.set(arg, timer); } @@ -49,15 +49,15 @@ export const memoize = ( cache.set(arg, result); - if (_options) { - const timer = setTimeout(cleanUp, _options.maxAge); + if (options) { + const timer = setTimeout(cleanUp, options.maxAge); cacheTimers.set(arg, timer); } return result; }; - store.set(memoized as MemoizableFunction, cache); + store.set(memoized, cache); return memoized; }; diff --git a/packages/memo/tsconfig-esm.json b/packages/memo/tsconfig-esm.json deleted file mode 100644 index fc8520e737..0000000000 --- a/packages/memo/tsconfig-esm.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "./tsconfig.json" -} diff --git a/packages/string-helpers/tsconfig-cjs.json b/packages/memo/tsconfig.cjs.json similarity index 74% rename from packages/string-helpers/tsconfig-cjs.json rename to packages/memo/tsconfig.cjs.json index 44b902831e..9ad8c2a1c7 100644 --- a/packages/string-helpers/tsconfig-cjs.json +++ b/packages/memo/tsconfig.cjs.json @@ -3,5 +3,6 @@ "compilerOptions": { "module": "commonjs", "outDir": "./dist/cjs" - } + }, + "exclude": ["src/**/*.spec.ts"] } diff --git a/packages/memo/tsconfig.esm.json b/packages/memo/tsconfig.esm.json new file mode 100644 index 0000000000..3e601dc19a --- /dev/null +++ b/packages/memo/tsconfig.esm.json @@ -0,0 +1,7 @@ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./dist/esm" + }, + "exclude": ["src/**/*.spec.ts"] +} diff --git a/packages/memo/tsconfig.json b/packages/memo/tsconfig.json index 9d0094d8a9..65789284d7 100644 --- a/packages/memo/tsconfig.json +++ b/packages/memo/tsconfig.json @@ -1,17 +1,9 @@ { + "extends": "../../tsconfig.base.json", "compilerOptions": { - "target": "es5", - "module": "ESNext", - "declaration": true, - "declarationMap": true, - "sourceMap": true, - "outDir": "./dist/esm", - "strict": true, - "esModuleInterop": true, - "skipLibCheck": true, - "forceConsistentCasingInFileNames": true, - "moduleResolution": "node", - "resolveJsonModule": true + "types": ["node"], + "lib": ["ES2024", "DOM"], + "moduleResolution": "node" }, "include": ["src/**/*"], "typedocOptions": { diff --git a/packages/mp3-encoder/tsconfig.build.json b/packages/mp3-encoder/tsconfig.build.json index 8c0f74bb02..e896d41cb9 100644 --- a/packages/mp3-encoder/tsconfig.build.json +++ b/packages/mp3-encoder/tsconfig.build.json @@ -1,4 +1,7 @@ { "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./dist" + }, "exclude": ["**/*.spec.ts"] } diff --git a/packages/mp3-encoder/tsconfig.json b/packages/mp3-encoder/tsconfig.json index ef367fd30c..732bfb8bd7 100644 --- a/packages/mp3-encoder/tsconfig.json +++ b/packages/mp3-encoder/tsconfig.json @@ -2,10 +2,6 @@ "extends": "../../tsconfig.base.json", "compilerOptions": { "rootDir": "./src", - "module": "ESNext", - "lib": ["ES2015", "WebWorker"], - "outDir": "./dist", - "esModuleInterop": true, "moduleResolution": "node", "skipLibCheck": true }, diff --git a/packages/onboarding-ui/tsconfig.cjs.json b/packages/onboarding-ui/tsconfig.cjs.json index bf7da979f8..37ed0491fc 100644 --- a/packages/onboarding-ui/tsconfig.cjs.json +++ b/packages/onboarding-ui/tsconfig.cjs.json @@ -1,7 +1,7 @@ { "extends": "./tsconfig.json", "compilerOptions": { - "module": "CommonJS", + "module": "commonjs", "rootDir": "./src", "outDir": "./dist/cjs" }, diff --git a/packages/onboarding-ui/tsconfig.esm.json b/packages/onboarding-ui/tsconfig.esm.json index d044c373eb..952485967a 100644 --- a/packages/onboarding-ui/tsconfig.esm.json +++ b/packages/onboarding-ui/tsconfig.esm.json @@ -1,7 +1,6 @@ { "extends": "./tsconfig.json", "compilerOptions": { - "module": "ESNext", "rootDir": "./src", "outDir": "./dist/esm" }, diff --git a/packages/onboarding-ui/tsconfig.json b/packages/onboarding-ui/tsconfig.json index 1808d73a6a..96be8a0951 100644 --- a/packages/onboarding-ui/tsconfig.json +++ b/packages/onboarding-ui/tsconfig.json @@ -2,10 +2,6 @@ "extends": "../../tsconfig.base.json", "compilerOptions": { "rootDirs": ["./src", "./.storybook"], - "target": "ES5", - "module": "CommonJS", - "outDir": "./dist", - "esModuleInterop": true, "skipLibCheck": true, "moduleResolution": "node", "resolveJsonModule": true, diff --git a/packages/peggy-loader/package.json b/packages/peggy-loader/package.json index 278622afb2..88faffdabb 100644 --- a/packages/peggy-loader/package.json +++ b/packages/peggy-loader/package.json @@ -30,8 +30,8 @@ "scripts": { "build": "run-s .:build:clean .:build:esm .:build:cjs", ".:build:clean": "rimraf dist", - ".:build:esm": "tsc -p tsconfig.json", - ".:build:cjs": "tsc -p tsconfig-cjs.json", + ".:build:esm": "tsc -p tsconfig.esm.json", + ".:build:cjs": "tsc -p tsconfig.cjs.json", "lint": "lint", "lint-and-fix": "lint-and-fix" }, diff --git a/packages/memo/tsconfig-cjs.json b/packages/peggy-loader/tsconfig.cjs.json similarity index 100% rename from packages/memo/tsconfig-cjs.json rename to packages/peggy-loader/tsconfig.cjs.json diff --git a/packages/fuselage-tokens/tsconfig-cjs.json b/packages/peggy-loader/tsconfig.esm.json similarity index 53% rename from packages/fuselage-tokens/tsconfig-cjs.json rename to packages/peggy-loader/tsconfig.esm.json index 7ec2a2fd83..c571fac084 100644 --- a/packages/fuselage-tokens/tsconfig-cjs.json +++ b/packages/peggy-loader/tsconfig.esm.json @@ -1,7 +1,6 @@ { "extends": "./tsconfig.json", "compilerOptions": { - "module": "commonjs", - "outDir": "./dist/cjs/" + "outDir": "./dist/esm" } } diff --git a/packages/peggy-loader/tsconfig.json b/packages/peggy-loader/tsconfig.json index cb8b1309f9..48e491a0cf 100644 --- a/packages/peggy-loader/tsconfig.json +++ b/packages/peggy-loader/tsconfig.json @@ -1,15 +1,7 @@ { + "extends": "../../tsconfig.base.json", "compilerOptions": { - "target": "es2015", - "module": "ESNext", - "declaration": true, - "declarationMap": true, - "sourceMap": true, - "outDir": "./dist/esm", - "strict": true, - "esModuleInterop": true, "skipLibCheck": true, - "forceConsistentCasingInFileNames": true, "moduleResolution": "node", "resolveJsonModule": true } diff --git a/packages/string-helpers/package.json b/packages/string-helpers/package.json index 3f40e3dbd0..db913069d2 100644 --- a/packages/string-helpers/package.json +++ b/packages/string-helpers/package.json @@ -29,8 +29,8 @@ "scripts": { "build": "run-s .:build:clean .:build:esm .:build:cjs", ".:build:clean": "rimraf dist", - ".:build:esm": "tsc -p tsconfig.json", - ".:build:cjs": "tsc -p tsconfig-cjs.json", + ".:build:esm": "tsc -p tsconfig.esm.json", + ".:build:cjs": "tsc -p tsconfig.cjs.json", "lint": "lint", "lint-and-fix": "lint-and-fix", "test": "jest --runInBand", diff --git a/packages/peggy-loader/tsconfig-cjs.json b/packages/string-helpers/tsconfig.cjs.json similarity index 100% rename from packages/peggy-loader/tsconfig-cjs.json rename to packages/string-helpers/tsconfig.cjs.json diff --git a/packages/string-helpers/tsconfig.esm.json b/packages/string-helpers/tsconfig.esm.json new file mode 100644 index 0000000000..c571fac084 --- /dev/null +++ b/packages/string-helpers/tsconfig.esm.json @@ -0,0 +1,6 @@ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./dist/esm" + } +} diff --git a/packages/string-helpers/tsconfig.json b/packages/string-helpers/tsconfig.json index 2db09fcceb..70dc57eb8e 100644 --- a/packages/string-helpers/tsconfig.json +++ b/packages/string-helpers/tsconfig.json @@ -1,15 +1,7 @@ { + "extends": "../../tsconfig.base.json", "compilerOptions": { - "target": "es5", - "module": "ESNext", - "declaration": true, - "declarationMap": true, - "sourceMap": true, - "outDir": "./dist/esm", - "strict": true, - "esModuleInterop": true, "skipLibCheck": true, - "forceConsistentCasingInFileNames": true, "moduleResolution": "node", "resolveJsonModule": true }, diff --git a/packages/styled/package.json b/packages/styled/package.json index 376a1275ea..824412e1e3 100644 --- a/packages/styled/package.json +++ b/packages/styled/package.json @@ -25,8 +25,8 @@ "scripts": { "build": "run-s .:build:clean .:build:esm .:build:cjs", ".:build:clean": "rimraf dist", - ".:build:esm": "tsc -p tsconfig-esm.json", - ".:build:cjs": "tsc -p tsconfig-cjs.json", + ".:build:esm": "tsc -p tsconfig.esm.json", + ".:build:cjs": "tsc -p tsconfig.cjs.json", "lint": "lint", "lint-and-fix": "lint-and-fix", "test": "jest --runInBand", diff --git a/packages/styled/tsconfig-cjs.json b/packages/styled/tsconfig.cjs.json similarity index 100% rename from packages/styled/tsconfig-cjs.json rename to packages/styled/tsconfig.cjs.json diff --git a/packages/stylis-logical-props-middleware/tsconfig-esm.json b/packages/styled/tsconfig.esm.json similarity index 54% rename from packages/stylis-logical-props-middleware/tsconfig-esm.json rename to packages/styled/tsconfig.esm.json index 8c0f74bb02..4209c1bcd6 100644 --- a/packages/stylis-logical-props-middleware/tsconfig-esm.json +++ b/packages/styled/tsconfig.esm.json @@ -1,4 +1,7 @@ { "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./dist/esm" + }, "exclude": ["**/*.spec.ts"] } diff --git a/packages/styled/tsconfig.json b/packages/styled/tsconfig.json index 9d2804b026..48e491a0cf 100644 --- a/packages/styled/tsconfig.json +++ b/packages/styled/tsconfig.json @@ -1,15 +1,7 @@ { + "extends": "../../tsconfig.base.json", "compilerOptions": { - "target": "es5", - "module": "ESNext", - "declaration": true, - "declarationMap": true, - "sourceMap": true, - "outDir": "./dist/esm", - "strict": true, - "esModuleInterop": true, "skipLibCheck": true, - "forceConsistentCasingInFileNames": true, "moduleResolution": "node", "resolveJsonModule": true } diff --git a/packages/stylis-logical-props-middleware/package.json b/packages/stylis-logical-props-middleware/package.json index 875fe37f59..2167c106aa 100644 --- a/packages/stylis-logical-props-middleware/package.json +++ b/packages/stylis-logical-props-middleware/package.json @@ -25,8 +25,8 @@ "scripts": { "build": "run-s .:build:clean .:build:esm .:build:cjs", ".:build:clean": "rimraf dist", - ".:build:esm": "tsc -p tsconfig-esm.json", - ".:build:cjs": "tsc -p tsconfig-cjs.json", + ".:build:esm": "tsc -p tsconfig.esm.json", + ".:build:cjs": "tsc -p tsconfig.cjs.json", "lint": "lint", "lint-and-fix": "lint-and-fix", "test": "jest --runInBand --passWithNoTests", diff --git a/packages/stylis-logical-props-middleware/tsconfig-cjs.json b/packages/stylis-logical-props-middleware/tsconfig.cjs.json similarity index 100% rename from packages/stylis-logical-props-middleware/tsconfig-cjs.json rename to packages/stylis-logical-props-middleware/tsconfig.cjs.json diff --git a/packages/styled/tsconfig-esm.json b/packages/stylis-logical-props-middleware/tsconfig.esm.json similarity index 54% rename from packages/styled/tsconfig-esm.json rename to packages/stylis-logical-props-middleware/tsconfig.esm.json index 8c0f74bb02..4209c1bcd6 100644 --- a/packages/styled/tsconfig-esm.json +++ b/packages/stylis-logical-props-middleware/tsconfig.esm.json @@ -1,4 +1,7 @@ { "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./dist/esm" + }, "exclude": ["**/*.spec.ts"] } diff --git a/packages/stylis-logical-props-middleware/tsconfig.json b/packages/stylis-logical-props-middleware/tsconfig.json index 9d2804b026..48e491a0cf 100644 --- a/packages/stylis-logical-props-middleware/tsconfig.json +++ b/packages/stylis-logical-props-middleware/tsconfig.json @@ -1,15 +1,7 @@ { + "extends": "../../tsconfig.base.json", "compilerOptions": { - "target": "es5", - "module": "ESNext", - "declaration": true, - "declarationMap": true, - "sourceMap": true, - "outDir": "./dist/esm", - "strict": true, - "esModuleInterop": true, "skipLibCheck": true, - "forceConsistentCasingInFileNames": true, "moduleResolution": "node", "resolveJsonModule": true } diff --git a/tools/scripts/tsconfig.json b/tools/scripts/tsconfig.json index f0a121d9de..81460ac3c8 100644 --- a/tools/scripts/tsconfig.json +++ b/tools/scripts/tsconfig.json @@ -1,15 +1,8 @@ { + "extends": "../../tsconfig.base.json", "compilerOptions": { - "target": "ES2015", - "module": "CommonJS", - "lib": ["ES2020"], - "declaration": true, - "declarationMap": true, - "sourceMap": true, - "strict": true, - "esModuleInterop": true, + "module": "commonjs", "skipLibCheck": true, - "forceConsistentCasingInFileNames": true, "moduleResolution": "node", "resolveJsonModule": true } diff --git a/tsconfig.base.json b/tsconfig.base.json index bf384dae8c..1f0bec181c 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -1,9 +1,11 @@ { "compilerOptions": { - "target": "ES5", + "target": "es2024", + "module": "es2022", "sourceMap": true, "declaration": true, "declarationMap": true, + "esModuleInterop": true, "allowJs": false, "noImplicitReturns": true, "noImplicitThis": true, diff --git a/yarn.lock b/yarn.lock index 32f266cfb7..4b2e312ed4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2111,13 +2111,6 @@ __metadata: languageName: node linkType: hard -"@colors/colors@npm:1.6.0, @colors/colors@npm:^1.6.0": - version: 1.6.0 - resolution: "@colors/colors@npm:1.6.0" - checksum: 10/66d00284a3a9a21e5e853b256942e17edbb295f4bd7b9aa7ef06bbb603568d5173eb41b0f64c1e51748bc29d382a23a67d99956e57e7431c64e47e74324182d9 - languageName: node - linkType: hard - "@cspotcode/source-map-support@npm:^0.8.0": version: 0.8.1 resolution: "@cspotcode/source-map-support@npm:0.8.1" @@ -2211,17 +2204,6 @@ __metadata: languageName: node linkType: hard -"@dabh/diagnostics@npm:^2.0.2": - version: 2.0.3 - resolution: "@dabh/diagnostics@npm:2.0.3" - dependencies: - colorspace: "npm:1.1.x" - enabled: "npm:2.0.x" - kuler: "npm:^2.0.0" - checksum: 10/14e449a7f42f063f959b472f6ce02d16457a756e852a1910aaa831b63fc21d86f6c32b2a1aa98a4835b856548c926643b51062d241fb6e9b2b7117996053e6b9 - languageName: node - linkType: hard - "@discoveryjs/json-ext@npm:0.5.7": version: 0.5.7 resolution: "@discoveryjs/json-ext@npm:0.5.7" @@ -5804,7 +5786,6 @@ __metadata: cross-env: "npm:^7.0.3" css-loader: "npm:~7.1.2" cssnano: "npm:~7.1.0" - es-check: "npm:~9.1.4" eslint: "npm:~9.29.0" invariant: "npm:^2.2.4" jest: "npm:~30.0.0" @@ -7377,13 +7358,6 @@ __metadata: languageName: node linkType: hard -"@types/triple-beam@npm:^1.3.2": - version: 1.3.5 - resolution: "@types/triple-beam@npm:1.3.5" - checksum: 10/519b6a1b30d4571965c9706ad5400a200b94e4050feca3e7856e3ea7ac00ec9903e32e9a10e2762d0f7e472d5d03e5f4b29c16c0bd8c1f77c8876c683b2231f1 - languageName: node - linkType: hard - "@types/unist@npm:*, @types/unist@npm:^3.0.0": version: 3.0.2 resolution: "@types/unist@npm:3.0.2" @@ -8095,7 +8069,7 @@ __metadata: languageName: node linkType: hard -"acorn-walk@npm:^8.0.0, acorn-walk@npm:^8.1.1, acorn-walk@npm:^8.3.4": +"acorn-walk@npm:^8.0.0, acorn-walk@npm:^8.1.1": version: 8.3.4 resolution: "acorn-walk@npm:8.3.4" dependencies: @@ -8104,15 +8078,6 @@ __metadata: languageName: node linkType: hard -"acorn@npm:8.14.1": - version: 8.14.1 - resolution: "acorn@npm:8.14.1" - bin: - acorn: bin/acorn - checksum: 10/d1379bbee224e8d44c3c3946e6ba6973e999fbdd4e22e41c3455d7f9b6f72f7ce18d3dc218002e1e48eea789539cf1cb6d1430c81838c6744799c712fb557d92 - languageName: node - linkType: hard - "acorn@npm:^8.0.0, acorn@npm:^8.0.4, acorn@npm:^8.11.0, acorn@npm:^8.12.1, acorn@npm:^8.14.0, acorn@npm:^8.15.0, acorn@npm:^8.4.1, acorn@npm:^8.8.2": version: 8.15.0 resolution: "acorn@npm:8.15.0" @@ -8973,20 +8938,6 @@ __metadata: languageName: node linkType: hard -"browserslist@npm:^4.23.3": - version: 4.25.0 - resolution: "browserslist@npm:4.25.0" - dependencies: - caniuse-lite: "npm:^1.0.30001718" - electron-to-chromium: "npm:^1.5.160" - node-releases: "npm:^2.0.19" - update-browserslist-db: "npm:^1.1.3" - bin: - browserslist: cli.js - checksum: 10/4a5442b1a0d09c4c64454f184b8fed17d8c3e202034bf39de28f74497d7bd28dddee121b2bab4e34825fe0ed4c166d84e32a39f576c76fce73c1f8f05e4b6ee6 - languageName: node - linkType: hard - "browserslist@npm:^4.24.5": version: 4.24.5 resolution: "browserslist@npm:4.24.5" @@ -9240,7 +9191,7 @@ __metadata: languageName: node linkType: hard -"caniuse-lite@npm:^1.0.0, caniuse-lite@npm:^1.0.30001702, caniuse-lite@npm:^1.0.30001718": +"caniuse-lite@npm:^1.0.0, caniuse-lite@npm:^1.0.30001702": version: 1.0.30001723 resolution: "caniuse-lite@npm:1.0.30001723" checksum: 10/edab89e84a2b257cf640f0bac1f25f92c699ade86143b2affc73403468f894023416a9f4a99e5345c933956990b005a2facfb87ac4517c8ccb588819bb62453b @@ -9617,7 +9568,7 @@ __metadata: languageName: node linkType: hard -"color-convert@npm:^1.9.0, color-convert@npm:^1.9.3": +"color-convert@npm:^1.9.0": version: 1.9.3 resolution: "color-convert@npm:1.9.3" dependencies: @@ -9649,7 +9600,7 @@ __metadata: languageName: node linkType: hard -"color-string@npm:^1.6.0, color-string@npm:^1.9.0": +"color-string@npm:^1.9.0": version: 1.9.0 resolution: "color-string@npm:1.9.0" dependencies: @@ -9659,16 +9610,6 @@ __metadata: languageName: node linkType: hard -"color@npm:^3.1.3": - version: 3.2.1 - resolution: "color@npm:3.2.1" - dependencies: - color-convert: "npm:^1.9.3" - color-string: "npm:^1.6.0" - checksum: 10/bf70438e0192f4f62f4bfbb303e7231289e8cc0d15ff6b6cbdb722d51f680049f38d4fdfc057a99cb641895cf5e350478c61d98586400b060043afc44285e7ae - languageName: node - linkType: hard - "color@npm:^4.2.3": version: 4.2.3 resolution: "color@npm:4.2.3" @@ -9693,16 +9634,6 @@ __metadata: languageName: node linkType: hard -"colorspace@npm:1.1.x": - version: 1.1.4 - resolution: "colorspace@npm:1.1.4" - dependencies: - color: "npm:^3.1.3" - text-hex: "npm:1.0.x" - checksum: 10/bb3934ef3c417e961e6d03d7ca60ea6e175947029bfadfcdb65109b01881a1c0ecf9c2b0b59abcd0ee4a0d7c1eae93beed01b0e65848936472270a0b341ebce8 - languageName: node - linkType: hard - "combined-stream@npm:^1.0.6, combined-stream@npm:~1.0.6": version: 1.0.8 resolution: "combined-stream@npm:1.0.8" @@ -9712,13 +9643,6 @@ __metadata: languageName: node linkType: hard -"commander@npm:14.0.0": - version: 14.0.0 - resolution: "commander@npm:14.0.0" - checksum: 10/c05418bfc35a3e8b5c67bd9f75f5b773f386f9b85f83e70e7c926047f270929cb06cf13cd68f387dd6e7e23c6157de8171b28ba606abd3e6256028f1f789becf - languageName: node - linkType: hard - "commander@npm:^10.0.0": version: 10.0.1 resolution: "commander@npm:10.0.1" @@ -10751,13 +10675,6 @@ __metadata: languageName: node linkType: hard -"electron-to-chromium@npm:^1.5.160": - version: 1.5.167 - resolution: "electron-to-chromium@npm:1.5.167" - checksum: 10/078093a38e7295e575f381943f62914f49b53dd73506af2ce3e59332835c42b487ad02ff1207dfdcb33a5886d74a98e352c04431c0537366d9999a79c7d15c94 - languageName: node - linkType: hard - "electron-to-chromium@npm:^1.5.173": version: 1.5.190 resolution: "electron-to-chromium@npm:1.5.190" @@ -10814,13 +10731,6 @@ __metadata: languageName: node linkType: hard -"enabled@npm:2.0.x": - version: 2.0.0 - resolution: "enabled@npm:2.0.0" - checksum: 10/9d256d89f4e8a46ff988c6a79b22fa814b4ffd82826c4fdacd9b42e9b9465709d3b748866d0ab4d442dfc6002d81de7f7b384146ccd1681f6a7f868d2acca063 - languageName: node - linkType: hard - "encoding@npm:^0.1.13": version: 0.1.13 resolution: "encoding@npm:0.1.13" @@ -11045,25 +10955,6 @@ __metadata: languageName: node linkType: hard -"es-check@npm:~9.1.4": - version: 9.1.4 - resolution: "es-check@npm:9.1.4" - dependencies: - acorn: "npm:8.14.1" - acorn-walk: "npm:^8.3.4" - browserslist: "npm:^4.23.3" - commander: "npm:14.0.0" - fast-glob: "npm:^3.3.3" - lilconfig: "npm:^3.1.3" - source-map: "npm:^0.7.4" - supports-color: "npm:8.1.1" - winston: "npm:3.17.0" - bin: - es-check: index.js - checksum: 10/60594c723904652bc8a97fc9e5edb2e3cbfc0478a2635120376ee0d15f50104ff080e7ecd3544487272c22f98c5f5aa205fb82d4f61ee096d8e7720bc8d419f4 - languageName: node - linkType: hard - "es-define-property@npm:^1.0.0, es-define-property@npm:^1.0.1": version: 1.0.1 resolution: "es-define-property@npm:1.0.1" @@ -11978,13 +11869,6 @@ __metadata: languageName: node linkType: hard -"fecha@npm:^4.2.0": - version: 4.2.1 - resolution: "fecha@npm:4.2.1" - checksum: 10/6cf959d41a4c68d5b3296d9621e0d5b7c8ee6a5ea51f11b468742a5533b74d635dd12d2edafae0b29c9df060d4d650d1c30d415a14bdaae8fc1b5c836451fbb8 - languageName: node - linkType: hard - "file-entry-cache@npm:^10.1.0": version: 10.1.1 resolution: "file-entry-cache@npm:10.1.1" @@ -12133,13 +12017,6 @@ __metadata: languageName: node linkType: hard -"fn.name@npm:1.x.x": - version: 1.1.0 - resolution: "fn.name@npm:1.1.0" - checksum: 10/000198af190ae02f0138ac5fa4310da733224c628e0230c81e3fff7c4e094af7e0e8bb9f4357cabd21db601759d89f3445da744afbae20623cfa41edf3888397 - languageName: node - linkType: hard - "focus-visible@npm:^5.2.1": version: 5.2.1 resolution: "focus-visible@npm:5.2.1" @@ -15122,13 +14999,6 @@ __metadata: languageName: node linkType: hard -"kuler@npm:^2.0.0": - version: 2.0.0 - resolution: "kuler@npm:2.0.0" - checksum: 10/9e10b5a1659f9ed8761d38df3c35effabffbd19fc6107324095238e4ef0ff044392cae9ac64a1c2dda26e532426485342226b93806bd97504b174b0dcf04ed81 - languageName: node - linkType: hard - "language-subtag-registry@npm:^0.3.20": version: 0.3.23 resolution: "language-subtag-registry@npm:0.3.23" @@ -15333,20 +15203,6 @@ __metadata: languageName: node linkType: hard -"logform@npm:^2.7.0": - version: 2.7.0 - resolution: "logform@npm:2.7.0" - dependencies: - "@colors/colors": "npm:1.6.0" - "@types/triple-beam": "npm:^1.3.2" - fecha: "npm:^4.2.0" - ms: "npm:^2.1.1" - safe-stable-stringify: "npm:^2.3.1" - triple-beam: "npm:^1.3.0" - checksum: 10/4b861bfd67efe599ab41113ae3ffe92b1873bf86793fb442f58971852430d8f416f9904da69e5043071fb3725690e2499a13acbfe92a57ba7d21690004f9edc0 - languageName: node - linkType: hard - "longest-streak@npm:^3.0.0": version: 3.1.0 resolution: "longest-streak@npm:3.1.0" @@ -16813,15 +16669,6 @@ __metadata: languageName: node linkType: hard -"one-time@npm:^1.0.0": - version: 1.0.0 - resolution: "one-time@npm:1.0.0" - dependencies: - fn.name: "npm:1.x.x" - checksum: 10/64d0160480eeae4e3b2a6fc0a02f452e05bb0cc8373a4ed56a4fc08c3939dcb91bc20075003ed499655bd16919feb63ca56f86eee7932c5251f7d629b55dfc90 - languageName: node - linkType: hard - "onetime@npm:^5.1.0, onetime@npm:^5.1.2": version: 5.1.2 resolution: "onetime@npm:5.1.2" @@ -18430,7 +18277,7 @@ __metadata: languageName: node linkType: hard -"readable-stream@npm:^3.0.2, readable-stream@npm:^3.4.0, readable-stream@npm:^3.6.2": +"readable-stream@npm:^3.0.2, readable-stream@npm:^3.4.0": version: 3.6.2 resolution: "readable-stream@npm:3.6.2" dependencies: @@ -19015,13 +18862,6 @@ __metadata: languageName: node linkType: hard -"safe-stable-stringify@npm:^2.3.1": - version: 2.4.1 - resolution: "safe-stable-stringify@npm:2.4.1" - checksum: 10/5dbc0004427a81837d83e25e7db30294f5a11b2600af911591547a5013fd99a9b215b68d3edfbeefb783c23881f6d6b69c61bb20ec5e16bb88d5ac2687794a00 - languageName: node - linkType: hard - "safer-buffer@npm:>= 2.1.2 < 3, safer-buffer@npm:>= 2.1.2 < 3.0.0, safer-buffer@npm:^2.0.2, safer-buffer@npm:^2.1.0, safer-buffer@npm:~2.1.0": version: 2.1.2 resolution: "safer-buffer@npm:2.1.2" @@ -19678,13 +19518,6 @@ __metadata: languageName: node linkType: hard -"stack-trace@npm:0.0.x": - version: 0.0.10 - resolution: "stack-trace@npm:0.0.10" - checksum: 10/7bd633f0e9ac46e81a0b0fe6538482c1d77031959cf94478228731709db4672fbbed59176f5b9a9fd89fec656b5dae03d084ef2d1b0c4c2f5683e05f2dbb1405 - languageName: node - linkType: hard - "stack-utils@npm:^2.0.3, stack-utils@npm:^2.0.6": version: 2.0.6 resolution: "stack-utils@npm:2.0.6" @@ -20178,15 +20011,6 @@ __metadata: languageName: node linkType: hard -"supports-color@npm:8.1.1, supports-color@npm:^8.0.0, supports-color@npm:^8.1.1": - version: 8.1.1 - resolution: "supports-color@npm:8.1.1" - dependencies: - has-flag: "npm:^4.0.0" - checksum: 10/157b534df88e39c5518c5e78c35580c1eca848d7dbaf31bbe06cdfc048e22c7ff1a9d046ae17b25691128f631a51d9ec373c1b740c12ae4f0de6e292037e4282 - languageName: node - linkType: hard - "supports-color@npm:^5.3.0": version: 5.5.0 resolution: "supports-color@npm:5.5.0" @@ -20205,6 +20029,15 @@ __metadata: languageName: node linkType: hard +"supports-color@npm:^8.0.0, supports-color@npm:^8.1.1": + version: 8.1.1 + resolution: "supports-color@npm:8.1.1" + dependencies: + has-flag: "npm:^4.0.0" + checksum: 10/157b534df88e39c5518c5e78c35580c1eca848d7dbaf31bbe06cdfc048e22c7ff1a9d046ae17b25691128f631a51d9ec373c1b740c12ae4f0de6e292037e4282 + languageName: node + linkType: hard + "supports-color@npm:^9.0.0": version: 9.4.0 resolution: "supports-color@npm:9.4.0" @@ -20475,13 +20308,6 @@ __metadata: languageName: unknown linkType: soft -"text-hex@npm:1.0.x": - version: 1.0.0 - resolution: "text-hex@npm:1.0.0" - checksum: 10/1138f68adc97bf4381a302a24e2352f04992b7b1316c5003767e9b0d3367ffd0dc73d65001ea02b07cd0ecc2a9d186de0cf02f3c2d880b8a522d4ccb9342244a - languageName: node - linkType: hard - "thingies@npm:^1.20.0": version: 1.21.0 resolution: "thingies@npm:1.21.0" @@ -20657,13 +20483,6 @@ __metadata: languageName: node linkType: hard -"triple-beam@npm:^1.3.0": - version: 1.3.0 - resolution: "triple-beam@npm:1.3.0" - checksum: 10/7d7b77d8625fb252c126c24984a68de462b538a8fcd1de2abd0a26421629cf3527d48e23b3c2264f08f4a6c3bc40a478a722176f4d7b6a1acc154cb70c359f2b - languageName: node - linkType: hard - "trough@npm:^2.0.0": version: 2.1.0 resolution: "trough@npm:2.1.0" @@ -22079,36 +21898,6 @@ __metadata: languageName: node linkType: hard -"winston-transport@npm:^4.9.0": - version: 4.9.0 - resolution: "winston-transport@npm:4.9.0" - dependencies: - logform: "npm:^2.7.0" - readable-stream: "npm:^3.6.2" - triple-beam: "npm:^1.3.0" - checksum: 10/5946918720baadd7447823929e94cf0935f92c4cff6d9451c6fcb009bd9d20a3b3df9ad606109e79d1e9f4d2ff678477bf09f81cfefce2025baaf27a617129bb - languageName: node - linkType: hard - -"winston@npm:3.17.0": - version: 3.17.0 - resolution: "winston@npm:3.17.0" - dependencies: - "@colors/colors": "npm:^1.6.0" - "@dabh/diagnostics": "npm:^2.0.2" - async: "npm:^3.2.3" - is-stream: "npm:^2.0.0" - logform: "npm:^2.7.0" - one-time: "npm:^1.0.0" - readable-stream: "npm:^3.4.0" - safe-stable-stringify: "npm:^2.3.1" - stack-trace: "npm:0.0.x" - triple-beam: "npm:^1.3.0" - winston-transport: "npm:^4.9.0" - checksum: 10/220309a0ead36c1171158ab28cb9133f8597fba19c8c1c190df9329555530565b58f3af0037c1b80e0c49f7f9b6b3b01791d0c56536eb0be38678d36e316c2a3 - languageName: node - linkType: hard - "word-wrap@npm:^1.2.5": version: 1.2.5 resolution: "word-wrap@npm:1.2.5"