diff --git a/.github/workflows/e2e-test.yml b/.github/workflows/e2e-test.yml index 7fbad89..7acc67a 100644 --- a/.github/workflows/e2e-test.yml +++ b/.github/workflows/e2e-test.yml @@ -25,7 +25,7 @@ jobs: uses: BerniWittmann/background-server-action@v1 with: cwd: scripts - start: pnpm ts-node test.ts + start: pnpm tsx test.ts wait-on: 'http://localhost:3000' wait-on-timeout: 300 command: pnpm playwright test @@ -39,7 +39,7 @@ jobs: uses: BerniWittmann/background-server-action@v1 with: cwd: scripts - start: pnpm ts-node test.ts + start: pnpm tsx test.ts wait-on: 'http://localhost:3000' wait-on-timeout: 300 command: pnpm playwright test diff --git a/packages/create-nextjs-storybook/src/index.ts b/packages/create-nextjs-storybook/src/index.ts index 8d51a0c..4816f4b 100644 --- a/packages/create-nextjs-storybook/src/index.ts +++ b/packages/create-nextjs-storybook/src/index.ts @@ -19,7 +19,7 @@ import { codeLog } from './cli/helpers.js'; const logger = console; const DIRNAME = new URL('.', import.meta.url).pathname; -const VERSION = '0.0.0-pr-24447-sha-c98bddd2'; +const VERSION = 'next'; const ensureDirShallow = async (path: string) => mkdir(path).catch(() => {}); @@ -162,7 +162,7 @@ const init = async () => { const language = await detectLanguage(packageManager); const appDir = isAppDir(process.cwd()); - const corePackages = ['storybook', '@storybook/react', '@storybook/nextjs-server']; + const corePackages = ['storybook', '@storybook/react']; const addons = appDir ? ['@storybook/addon-controls'] : [ @@ -185,10 +185,10 @@ const init = async () => { await createRoutes(options); await updateNextConfig(); status('Installing package dependencies', 1500); - await packageManager.addDependencies( - { installAsDevDependencies: true }, - _version([...corePackages, ...addons]) - ); + await packageManager.addDependencies({ installAsDevDependencies: true }, [ + '@storybook/nextjs-server', + ..._version([...corePackages, ...addons]), + ]); done = true; spinner.succeed('Done!'); diff --git a/packages/nextjs-server/package.json b/packages/nextjs-server/package.json index f30d1d9..34fbee6 100644 --- a/packages/nextjs-server/package.json +++ b/packages/nextjs-server/package.json @@ -110,7 +110,7 @@ "typescript": "^5.3.2" }, "peerDependencies": { - "next": "^14", + "next": "^14.0.4", "react": "^16.8.0 || ^17.0.0 || ^18.0.0", "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0" }, diff --git a/packages/nextjs-server/src/indexers.ts b/packages/nextjs-server/src/indexers.ts index 1f5587d..ee0572a 100644 --- a/packages/nextjs-server/src/indexers.ts +++ b/packages/nextjs-server/src/indexers.ts @@ -57,7 +57,7 @@ export const appIndexer = ( const pageTsx = dedent` import React from 'react'; - import { composeStory } from '@storybook/react/testing-api'; + import { composeStory } from '@storybook/react'; import { getArgs } from '../components/args'; import { Prepare, StoryAnnotations } from '../components/Prepare'; import { Args } from '@storybook/react'; @@ -68,7 +68,7 @@ export const appIndexer = ( const Composed = composeStory(stories.${exportName}, stories.default, projectAnnotations?.default || {}, '${exportName}'); const extraArgs = await getArgs(Composed.id); - const { id, parameters, argTypes, initialArgs } = Composed; + const { id, parameters, argTypes, args: initialArgs } = Composed; const args = { ...initialArgs, ...extraArgs }; const storyAnnotations: StoryAnnotations = { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ea5bd45..0d09b65 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -118,7 +118,7 @@ importers: specifier: ^11.1.0 version: 11.2.0 next: - specifier: ^14 + specifier: ^14.0.4 version: 14.0.4(@babel/core@7.23.5)(react-dom@18.2.0)(react@18.2.0) react: specifier: ^16.8.0 || ^17.0.0 || ^18.0.0 @@ -187,12 +187,12 @@ importers: ts-dedent: specifier: ^2.2.0 version: 2.2.0 - ts-node: - specifier: ^10.9.1 - version: 10.9.1(@types/node@20.10.4)(typescript@5.3.3) tsup: specifier: ^6.7.0 - version: 6.7.0(ts-node@10.9.1)(typescript@5.3.3) + version: 6.7.0(typescript@5.3.3) + tsx: + specifier: ^4.6.2 + version: 4.6.2 type-fest: specifier: ~2.19 version: 2.19.0 @@ -602,13 +602,6 @@ packages: dev: false optional: true - /@cspotcode/source-map-support@0.8.1: - resolution: {integrity: sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==, tarball: https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz} - engines: {node: '>=12'} - dependencies: - '@jridgewell/trace-mapping': 0.3.9 - dev: true - /@discoveryjs/json-ext@0.5.7: resolution: {integrity: sha512-dBVuXR082gk3jsFp7Rd/JI4kytwGHecnCoTtXFb7DB6CNHp4rg5k1bhg0nWdLGLnOV71lmDzGQaLMy8iPLY0pw==, tarball: https://registry.npmjs.org/@discoveryjs/json-ext/-/json-ext-0.5.7.tgz} engines: {node: '>=10.0.0'} @@ -1028,13 +1021,6 @@ packages: '@jridgewell/resolve-uri': 3.1.1 '@jridgewell/sourcemap-codec': 1.4.15 - /@jridgewell/trace-mapping@0.3.9: - resolution: {integrity: sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==, tarball: https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz} - dependencies: - '@jridgewell/resolve-uri': 3.1.1 - '@jridgewell/sourcemap-codec': 1.4.15 - dev: true - /@manypkg/find-root@1.1.0: resolution: {integrity: sha512-mki5uBvhHzO8kYYix/WRy2WX8S3B5wdVSc9D6KcU5lQNglP2yt58/VfLuAK49glRXChosY8ap2oJ1qgma3GUVA==, tarball: https://registry.npmjs.org/@manypkg/find-root/-/find-root-1.1.0.tgz} dependencies: @@ -1605,22 +1591,6 @@ packages: tslib: 2.6.2 dev: false - /@tsconfig/node10@1.0.9: - resolution: {integrity: sha512-jNsYVVxU8v5g43Erja32laIDHXeoNvFEpX33OK4d6hljo3jDhCBDhx5dhCCTMWUojscpAagGiRkBKxpdl9fxqA==, tarball: https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.9.tgz} - dev: true - - /@tsconfig/node12@1.0.11: - resolution: {integrity: sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag==, tarball: https://registry.npmjs.org/@tsconfig/node12/-/node12-1.0.11.tgz} - dev: true - - /@tsconfig/node14@1.0.3: - resolution: {integrity: sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow==, tarball: https://registry.npmjs.org/@tsconfig/node14/-/node14-1.0.3.tgz} - dev: true - - /@tsconfig/node16@1.0.4: - resolution: {integrity: sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA==, tarball: https://registry.npmjs.org/@tsconfig/node16/-/node16-1.0.4.tgz} - dev: true - /@types/babel__core@7.20.5: resolution: {integrity: sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==, tarball: https://registry.npmjs.org/@types/babel__core/-/babel__core-7.20.5.tgz} dependencies: @@ -1835,11 +1805,6 @@ packages: resolution: {integrity: sha512-OPdCF6GsMIP+Az+aWfAAOEt2/+iVDKE7oy6lJ098aoe59oAmK76qV6Gw60SbZ8jHuG2wH058GF4pLFbYamYrVA==, tarball: https://registry.npmjs.org/acorn-walk/-/acorn-walk-7.2.0.tgz} engines: {node: '>=0.4.0'} - /acorn-walk@8.3.1: - resolution: {integrity: sha512-TgUZgYvqZprrl7YldZNoa9OciCAyZR+Ejm9eXzKCmjsF5IKp/wgQ7Z/ZpjpGTIUPwrHQIcYeI8qDh4PsEwxMbw==, tarball: https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.3.1.tgz} - engines: {node: '>=0.4.0'} - dev: true - /acorn@7.4.1: resolution: {integrity: sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==, tarball: https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz} engines: {node: '>=0.4.0'} @@ -1849,6 +1814,7 @@ packages: resolution: {integrity: sha512-nc0Axzp/0FILLEVsm4fNwLCwMttvhEI263QtVPQcbpfZZ3ts0hLsZGOpE6czNlid7CJ9MlyH8reXkpsf3YUY4w==, tarball: https://registry.npmjs.org/acorn/-/acorn-8.11.2.tgz} engines: {node: '>=0.4.0'} hasBin: true + dev: false /address@1.2.2: resolution: {integrity: sha512-4B/qKCfeE/ODUaAUpSwfzazo5x29WD4r3vXiWsB7I2mSDAihwEqKO+g8GELZUQSSAo5e1XTYh3ZVfLyxBc12nA==, tarball: https://registry.npmjs.org/address/-/address-1.2.2.tgz} @@ -1904,10 +1870,6 @@ packages: /app-root-dir@1.0.2: resolution: {integrity: sha512-jlpIfsOoNoafl92Sz//64uQHGSyMrD2vYG5d8o2a4qGvyNCvXur7bzIsWtAC/6flI2RYAp3kv8rsfBtaLm7w0g==, tarball: https://registry.npmjs.org/app-root-dir/-/app-root-dir-1.0.2.tgz} - /arg@4.1.3: - resolution: {integrity: sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==, tarball: https://registry.npmjs.org/arg/-/arg-4.1.3.tgz} - dev: true - /argparse@1.0.10: resolution: {integrity: sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==, tarball: https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz} dependencies: @@ -2345,10 +2307,6 @@ packages: engines: {node: '>= 0.6'} dev: false - /create-require@1.1.1: - resolution: {integrity: sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==, tarball: https://registry.npmjs.org/create-require/-/create-require-1.1.1.tgz} - dev: true - /cross-spawn@5.1.0: resolution: {integrity: sha512-pTgQJ5KC0d2hcY8eyL1IzlBPYjTkyH72XRZPnLyKus2mBfNjQs3klqbJU2VILqZryAZUt9JOb3h/mWMy23/f5A==, tarball: https://registry.npmjs.org/cross-spawn/-/cross-spawn-5.1.0.tgz} dependencies: @@ -2506,11 +2464,6 @@ packages: - supports-color dev: false - /diff@4.0.2: - resolution: {integrity: sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==, tarball: https://registry.npmjs.org/diff/-/diff-4.0.2.tgz} - engines: {node: '>=0.3.1'} - dev: true - /dir-glob@3.0.1: resolution: {integrity: sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==, tarball: https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz} engines: {node: '>=8'} @@ -3066,6 +3019,12 @@ packages: get-intrinsic: 1.2.2 dev: true + /get-tsconfig@4.7.2: + resolution: {integrity: sha512-wuMsz4leaj5hbGgg4IvDU0bqJagpftG5l5cXIAvo8uZrqn0NJqwtfupTN00VnkQJPcIRrxYrm1Ue24btpCha2A==, tarball: https://registry.npmjs.org/get-tsconfig/-/get-tsconfig-4.7.2.tgz} + dependencies: + resolve-pkg-maps: 1.0.0 + dev: true + /glob-parent@5.1.2: resolution: {integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==, tarball: https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz} engines: {node: '>= 6'} @@ -3643,10 +3602,6 @@ packages: dependencies: semver: 6.3.1 - /make-error@1.3.6: - resolution: {integrity: sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==, tarball: https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz} - dev: true - /map-obj@1.0.1: resolution: {integrity: sha512-7N/q3lyZ+LVCp7PzuxrJr4KMbBE2hW7BT7YNia330OFxIf4d3r5zVpicP2650l7CPN6RM9zOJRl3NGpqSiw3Eg==, tarball: https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz} engines: {node: '>=0.10.0'} @@ -4138,7 +4093,7 @@ packages: fsevents: 2.3.2 dev: true - /postcss-load-config@3.1.4(ts-node@10.9.1): + /postcss-load-config@3.1.4: resolution: {integrity: sha512-6DiM4E7v4coTE4uzA8U//WhtPwyhiim3eyjEMFCnUpzbrkK9wJHgKDT2mR+HbtSrd/NubVaYTOpSpjUl8NQeRg==, tarball: https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-3.1.4.tgz} engines: {node: '>= 10'} peerDependencies: @@ -4151,7 +4106,6 @@ packages: optional: true dependencies: lilconfig: 2.1.0 - ts-node: 10.9.1(@types/node@20.10.4)(typescript@5.3.3) yaml: 1.10.2 dev: true @@ -4380,6 +4334,10 @@ packages: resolution: {integrity: sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==, tarball: https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz} engines: {node: '>=8'} + /resolve-pkg-maps@1.0.0: + resolution: {integrity: sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==, tarball: https://registry.npmjs.org/resolve-pkg-maps/-/resolve-pkg-maps-1.0.0.tgz} + dev: true + /resolve@1.22.8: resolution: {integrity: sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==, tarball: https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz} hasBin: true @@ -4874,37 +4832,6 @@ packages: resolution: {integrity: sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==, tarball: https://registry.npmjs.org/ts-interface-checker/-/ts-interface-checker-0.1.13.tgz} dev: true - /ts-node@10.9.1(@types/node@20.10.4)(typescript@5.3.3): - resolution: {integrity: sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==, tarball: https://registry.npmjs.org/ts-node/-/ts-node-10.9.1.tgz} - hasBin: true - peerDependencies: - '@swc/core': '>=1.2.50' - '@swc/wasm': '>=1.2.50' - '@types/node': '*' - typescript: '>=2.7' - peerDependenciesMeta: - '@swc/core': - optional: true - '@swc/wasm': - optional: true - dependencies: - '@cspotcode/source-map-support': 0.8.1 - '@tsconfig/node10': 1.0.9 - '@tsconfig/node12': 1.0.11 - '@tsconfig/node14': 1.0.3 - '@tsconfig/node16': 1.0.4 - '@types/node': 20.10.4 - acorn: 8.11.2 - acorn-walk: 8.3.1 - arg: 4.1.3 - create-require: 1.1.1 - diff: 4.0.2 - make-error: 1.3.6 - typescript: 5.3.3 - v8-compile-cache-lib: 3.0.1 - yn: 3.1.1 - dev: true - /tslib@1.14.1: resolution: {integrity: sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==, tarball: https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz} dev: false @@ -4913,7 +4840,7 @@ packages: resolution: {integrity: sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==, tarball: https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz} dev: false - /tsup@6.7.0(ts-node@10.9.1)(typescript@5.3.3): + /tsup@6.7.0(typescript@5.3.3): resolution: {integrity: sha512-L3o8hGkaHnu5TdJns+mCqFsDBo83bJ44rlK7e6VdanIvpea4ArPcU3swWGsLVbXak1PqQx/V+SSmFPujBK+zEQ==, tarball: https://registry.npmjs.org/tsup/-/tsup-6.7.0.tgz} engines: {node: '>=14.18'} hasBin: true @@ -4937,7 +4864,7 @@ packages: execa: 5.1.1 globby: 11.1.0 joycon: 3.1.1 - postcss-load-config: 3.1.4(ts-node@10.9.1) + postcss-load-config: 3.1.4 resolve-from: 5.0.0 rollup: 3.29.4 source-map: 0.8.0-beta.0 @@ -4949,6 +4876,17 @@ packages: - ts-node dev: true + /tsx@4.6.2: + resolution: {integrity: sha512-QPpBdJo+ZDtqZgAnq86iY/PD2KYCUPSUGIunHdGwyII99GKH+f3z3FZ8XNFLSGQIA4I365ui8wnQpl8OKLqcsg==, tarball: https://registry.npmjs.org/tsx/-/tsx-4.6.2.tgz} + engines: {node: '>=18.0.0'} + hasBin: true + dependencies: + esbuild: 0.18.20 + get-tsconfig: 4.7.2 + optionalDependencies: + fsevents: 2.3.3 + dev: true + /tty-table@4.2.3: resolution: {integrity: sha512-Fs15mu0vGzCrj8fmJNP7Ynxt5J7praPXqFN0leZeZBXJwkMxv9cb2D454k1ltrtUSJbZ4yH4e0CynsHLxmUfFA==, tarball: https://registry.npmjs.org/tty-table/-/tty-table-4.2.3.tgz} engines: {node: '>=8.0.0'} @@ -5121,10 +5059,6 @@ packages: engines: {node: '>= 0.4.0'} dev: false - /v8-compile-cache-lib@3.0.1: - resolution: {integrity: sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==, tarball: https://registry.npmjs.org/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz} - dev: true - /validate-npm-package-license@3.0.4: resolution: {integrity: sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==, tarball: https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz} dependencies: @@ -5346,11 +5280,6 @@ packages: yargs-parser: 21.1.1 dev: true - /yn@3.1.1: - resolution: {integrity: sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==, tarball: https://registry.npmjs.org/yn/-/yn-3.1.1.tgz} - engines: {node: '>=6'} - dev: true - /yocto-queue@0.1.0: resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==, tarball: https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz} engines: {node: '>=10'} diff --git a/scripts/package.json b/scripts/package.json index eacc063..1f82d89 100644 --- a/scripts/package.json +++ b/scripts/package.json @@ -3,7 +3,6 @@ "private": true, "license": "MIT", "type": "module", - "dependencies": {}, "devDependencies": { "@playwright/test": "^1.40.0", "@types/fs-extra": "^11.0.4", @@ -19,10 +18,10 @@ "playwright": "^1.40.0", "slash": "^3.0.0", "tempy": "^3.1.0", - "type-fest": "~2.19", "ts-dedent": "^2.2.0", - "ts-node": "^10.9.1", "tsup": "^6.7.0", + "tsx": "^4.6.2", + "type-fest": "~2.19", "typescript": "^5.3.2" } } diff --git a/scripts/tsconfig.json b/scripts/tsconfig.json index 7548fac..59c1c72 100644 --- a/scripts/tsconfig.json +++ b/scripts/tsconfig.json @@ -2,12 +2,12 @@ "compilerOptions": { "target": "es2020", "module": "esnext", + "module": "ESNext", "lib": ["es2020"], "esModuleInterop": true, "strict": true, "moduleResolution": "node" }, - "ts-node": { - "esm": true - } + "include": ["/**/*.ts"], + "exclude": ["node_modules"] }