diff --git a/.gitignore b/.gitignore index abc39076d1..ed9f9e5794 100644 --- a/.gitignore +++ b/.gitignore @@ -44,6 +44,7 @@ build/ /packages/*/i18n/ tmp/ lib/ +lib-esm/ storybook-static/ dist/ eslint-report.json diff --git a/fork/json-schema-form-core/package.json b/fork/json-schema-form-core/package.json index 478c095c80..7440c3a766 100644 --- a/fork/json-schema-form-core/package.json +++ b/fork/json-schema-form-core/package.json @@ -3,13 +3,13 @@ "version": "1.2.4", "description": "JSON-Schema and JSON-UI-Schema utilities for form generation.", "main": "dist/index.js", - "module": "./lib/esm/index.js", + "module": "./lib-esm/index.js", "exports": { "./package.json": "./package.json", ".": { "import": { - "types": "./lib/esm/index.d.ts", - "default": "./lib/esm/index.js" + "types": "./lib-esm/index.d.ts", + "default": "./lib-esm/index.js" }, "require": { "types": "./lib/index.d.ts", diff --git a/fork/json-schema-form-core/tsconfig.esm.json b/fork/json-schema-form-core/tsconfig.esm.json index 0b9ecd6104..6bbc81329a 100644 --- a/fork/json-schema-form-core/tsconfig.esm.json +++ b/fork/json-schema-form-core/tsconfig.esm.json @@ -1,7 +1,7 @@ { "extends": "./tsconfig.json", "compilerOptions": { - "outDir": "lib/esm", + "outDir": "lib-esm", "module": "ESNext" } } diff --git a/fork/react-bootstrap/package.json b/fork/react-bootstrap/package.json index e3bf810154..5792ca7e59 100644 --- a/fork/react-bootstrap/package.json +++ b/fork/react-bootstrap/package.json @@ -9,13 +9,13 @@ "homepage": "https://react-bootstrap.github.io/", "sideEffects": false, "main": "lib/index.js", - "module": "./lib/esm/index.js", + "module": "./lib-esm/index.js", "exports": { "./package.json": "./package.json", ".": { "import": { - "types": "./lib/esm/index.d.ts", - "default": "./lib/esm/index.js" + "types": "./lib-esm/index.d.ts", + "default": "./lib-esm/index.js" }, "require": { "types": "./lib/index.d.ts", diff --git a/fork/react-bootstrap/tsconfig.esm.json b/fork/react-bootstrap/tsconfig.esm.json index 0b9ecd6104..6bbc81329a 100644 --- a/fork/react-bootstrap/tsconfig.esm.json +++ b/fork/react-bootstrap/tsconfig.esm.json @@ -1,7 +1,7 @@ { "extends": "./tsconfig.json", "compilerOptions": { - "outDir": "lib/esm", + "outDir": "lib-esm", "module": "ESNext" } } diff --git a/packages/a11y/package.json b/packages/a11y/package.json index 6dc5b08c14..2caa1b0908 100644 --- a/packages/a11y/package.json +++ b/packages/a11y/package.json @@ -5,13 +5,13 @@ "mainSrc": "src/index.js", "license": "Apache-2.0", "types": "./lib/index.d.ts", - "module": "./lib/esm/index.js", + "module": "./lib-esm/index.js", "exports": { "./package.json": "./package.json", ".": { "import": { - "types": "./lib/esm/index.d.ts", - "default": "./lib/esm/index.js" + "types": "./lib-esm/index.d.ts", + "default": "./lib-esm/index.js" }, "require": { "types": "./lib/index.d.ts", diff --git a/packages/a11y/tsconfig.esm.json b/packages/a11y/tsconfig.esm.json index 0b9ecd6104..6bbc81329a 100644 --- a/packages/a11y/tsconfig.esm.json +++ b/packages/a11y/tsconfig.esm.json @@ -1,7 +1,7 @@ { "extends": "./tsconfig.json", "compilerOptions": { - "outDir": "lib/esm", + "outDir": "lib-esm", "module": "ESNext" } } diff --git a/packages/assets-api/package.json b/packages/assets-api/package.json index 3368a27f03..1e80ad9122 100644 --- a/packages/assets-api/package.json +++ b/packages/assets-api/package.json @@ -3,13 +3,13 @@ "description": "A set of API designed to access assets using CDN", "types": "lib/index.d.ts", "main": "lib/index.js", - "module": "./lib/esm/index.js", + "module": "./lib-esm/index.js", "exports": { "./package.json": "./package.json", ".": { "import": { - "types": "./lib/esm/index.d.ts", - "default": "./lib/esm/index.js" + "types": "./lib-esm/index.d.ts", + "default": "./lib-esm/index.js" }, "require": { "types": "./lib/index.d.ts", diff --git a/packages/assets-api/tsconfig.esm.json b/packages/assets-api/tsconfig.esm.json index 465b53faa3..a61d885eff 100644 --- a/packages/assets-api/tsconfig.esm.json +++ b/packages/assets-api/tsconfig.esm.json @@ -3,7 +3,7 @@ "exclude": ["src/**/*.test.ts"], "compilerOptions": { "declaration": true, - "outDir": "lib/esm", + "outDir": "lib-esm", "module": "ESNext" } } diff --git a/packages/cmf-router/package.json b/packages/cmf-router/package.json index c0c09e6366..ba63a63528 100644 --- a/packages/cmf-router/package.json +++ b/packages/cmf-router/package.json @@ -3,13 +3,13 @@ "version": "6.1.2", "description": "", "main": "lib/index.js", - "module": "./lib/esm/index.js", + "module": "./lib-esm/index.js", "exports": { "./package.json": "./package.json", ".": { "import": { - "types": "./lib/esm/index.d.ts", - "default": "./lib/esm/index.js" + "types": "./lib-esm/index.d.ts", + "default": "./lib-esm/index.js" }, "require": { "types": "./lib/index.d.ts", diff --git a/packages/cmf-router/tsconfig.esm.json b/packages/cmf-router/tsconfig.esm.json index 0b9ecd6104..6bbc81329a 100644 --- a/packages/cmf-router/tsconfig.esm.json +++ b/packages/cmf-router/tsconfig.esm.json @@ -1,7 +1,7 @@ { "extends": "./tsconfig.json", "compilerOptions": { - "outDir": "lib/esm", + "outDir": "lib-esm", "module": "ESNext" } } diff --git a/packages/cmf/package.json b/packages/cmf/package.json index 367c5ad5dc..6556044a83 100644 --- a/packages/cmf/package.json +++ b/packages/cmf/package.json @@ -4,13 +4,13 @@ "main": "lib/index.js", "mainSrc": "src/index.js", "license": "Apache-2.0", - "module": "./lib/esm/index.js", + "module": "./lib-esm/index.js", "exports": { "./package.json": "./package.json", ".": { "import": { - "types": "./lib/esm/index.d.ts", - "default": "./lib/esm/index.js" + "types": "./lib-esm/index.d.ts", + "default": "./lib-esm/index.js" }, "require": { "types": "./lib/index.d.ts", diff --git a/packages/cmf/tsconfig.esm.json b/packages/cmf/tsconfig.esm.json index 0b9ecd6104..6bbc81329a 100644 --- a/packages/cmf/tsconfig.esm.json +++ b/packages/cmf/tsconfig.esm.json @@ -1,7 +1,7 @@ { "extends": "./tsconfig.json", "compilerOptions": { - "outDir": "lib/esm", + "outDir": "lib-esm", "module": "ESNext" } } diff --git a/packages/components/package.json b/packages/components/package.json index 517faa2cf7..37a7154858 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -2,13 +2,13 @@ "name": "@talend/react-components", "description": "Set of react components.", "main": "lib/index.js", - "module": "./lib/esm/index.js", + "module": "./lib-esm/index.js", "exports": { "./package.json": "./package.json", "./lib/*": { "import": { - "types": "./lib/esm/*/index.d.ts", - "default": "./lib/esm/*/index.js" + "types": "./lib-esm/*/index.d.ts", + "default": "./lib-esm/*/index.js" }, "require": { "types": "./lib/*/index.d.ts", @@ -17,8 +17,8 @@ }, ".": { "import": { - "types": "./lib/esm/index.d.ts", - "default": "./lib/esm/index.js" + "types": "./lib-esm/index.d.ts", + "default": "./lib-esm/index.js" }, "require": { "types": "./lib/index.d.ts", @@ -32,7 +32,7 @@ "build:prod": "talend-scripts build --umd --prod", "pre-release": "yarn build:dev && yarn build:prod", "build:lib": "talend-scripts build && yarn run tsc", - "build:lib:esm": "tsc --project ./tsconfig.esm.json && cpx 'src/**/*.{scss,json}' lib/esm --verbose", + "build:lib:esm": "tsc --project ./tsconfig.esm.json && cpx 'src/**/*.{scss,json}' lib-esm --verbose", "watch": "talend-scripts build --watch", "tsc": "tsc --emitDeclarationOnly --project ./tsconfig.json --outDir ./types", "test": "cross-env TZ=UTC talend-scripts test", diff --git a/packages/components/tsconfig.esm.json b/packages/components/tsconfig.esm.json index 1c3dad8c15..d5d4fa3f74 100644 --- a/packages/components/tsconfig.esm.json +++ b/packages/components/tsconfig.esm.json @@ -2,7 +2,7 @@ "extends": "./tsconfig.json", "exclude": ["node_modules", "src/**/*.stories.*", "src/**/*.test.*"], "compilerOptions": { - "outDir": "lib/esm", + "outDir": "lib-esm", "module": "ESNext" } } diff --git a/packages/containers/package.json b/packages/containers/package.json index 884a7f6145..b0e26fa69e 100644 --- a/packages/containers/package.json +++ b/packages/containers/package.json @@ -3,13 +3,13 @@ "description": "Provide connected components aka containers for @talend/react-cmf based on @talend/react-components.", "main": "lib/index.js", "types": "lib/index.d.ts", - "module": "./lib/esm/index.js", + "module": "./lib-esm/index.js", "exports": { "./package.json": "./package.json", "./lib/*": { "import": { - "types": "./lib/esm/*/index.d.ts", - "default": "./lib/esm/*/index.js" + "types": "./lib-esm/*/index.d.ts", + "default": "./lib-esm/*/index.js" }, "require": { "types": "./lib/*/index.d.ts", @@ -18,8 +18,8 @@ }, ".": { "import": { - "types": "./lib/esm/index.d.ts", - "default": "./lib/esm/index.js" + "types": "./lib-esm/index.d.ts", + "default": "./lib-esm/index.js" }, "require": { "types": "./lib/index.d.ts", @@ -33,7 +33,7 @@ "build:prod": "talend-scripts build --umd --prod", "pre-release": "yarn build:dev && yarn build:prod", "build:lib": "talend-scripts build", - "build:lib:esm": "tsc --project ./tsconfig.esm.json && cpx 'src/**/*.{scss,json}' lib/esm --verbose", + "build:lib:esm": "tsc --project ./tsconfig.esm.json && cpx 'src/**/*.{scss,json}' lib-esm --verbose", "start": "talend-scripts start-storybook -p 6007", "test": "talend-scripts test", "test:watch": "talend-scripts test --watch", diff --git a/packages/containers/tsconfig.esm.json b/packages/containers/tsconfig.esm.json index f6997ffa57..11b7659654 100644 --- a/packages/containers/tsconfig.esm.json +++ b/packages/containers/tsconfig.esm.json @@ -3,7 +3,7 @@ "include": ["src/**/*"], "compilerOptions": { "declaration": true, - "outDir": "lib/esm", + "outDir": "lib-esm", "module": "ESNext" } } diff --git a/packages/dataviz/package.json b/packages/dataviz/package.json index 57fef04553..ee7b17150e 100644 --- a/packages/dataviz/package.json +++ b/packages/dataviz/package.json @@ -4,13 +4,13 @@ "description": "Talend charts and visualization components", "main": "lib/index.js", "types": "./lib/index.d.ts", - "module": "./lib/esm/index.js", + "module": "./lib-esm/index.js", "exports": { "./package.json": "./package.json", ".": { "import": { - "types": "./lib/esm/index.d.ts", - "default": "./lib/esm/index.js" + "types": "./lib-esm/index.d.ts", + "default": "./lib-esm/index.js" }, "require": { "types": "./lib/index.d.ts", @@ -24,7 +24,7 @@ "build:umd:dev": "talend-scripts build --umd --dev", "build:umd:prod": "talend-scripts build --umd", "build:lib": "talend-scripts build", - "build:lib:esm": "tsc --project ./tsconfig.esm.json && cpx 'src/**/*.{scss,json}' lib/esm --verbose", + "build:lib:esm": "tsc --project ./tsconfig.esm.json && cpx 'src/**/*.{scss,json}' lib-esm --verbose", "build-storybook": "talend-scripts build-storybook", "extract-i18n": "i18next-scanner --config i18next-scanner.config.js", "lint": "talend-scripts lint", diff --git a/packages/dataviz/tsconfig.esm.json b/packages/dataviz/tsconfig.esm.json index c2a3716108..e24819d9f4 100644 --- a/packages/dataviz/tsconfig.esm.json +++ b/packages/dataviz/tsconfig.esm.json @@ -1,7 +1,7 @@ { "extends": "./tsconfig.json", "compilerOptions": { - "outDir": "lib/esm", + "outDir": "lib-esm", "module": "ESNext" }, "exclude": ["src/**/*.test.*", "src/**/*.stories.*", "src/**/*.cy.*"] diff --git a/packages/design-system/package.json b/packages/design-system/package.json index 73a620b01d..e17e30ca6d 100644 --- a/packages/design-system/package.json +++ b/packages/design-system/package.json @@ -4,13 +4,13 @@ "description": "Talend Design System", "main": "lib/index.js", "types": "lib/index.d.ts", - "module": "./lib/esm/index.js", + "module": "./lib-esm/index.js", "exports": { "./package.json": "./package.json", "./lib/*": { "import": { - "types": "./lib/esm/*/index.d.ts", - "default": "./lib/esm/*/index.js" + "types": "./lib-esm/*/index.d.ts", + "default": "./lib-esm/*/index.js" }, "require": { "types": "./lib/*/index.d.ts", @@ -19,8 +19,8 @@ }, ".": { "import": { - "types": "./lib/esm/index.d.ts", - "default": "./lib/esm/index.js" + "types": "./lib-esm/index.d.ts", + "default": "./lib-esm/index.js" }, "require": { "types": "./lib/index.d.ts", @@ -32,7 +32,7 @@ "build:lib": "talend-scripts build", "build:lib:umd": "talend-scripts build --umd --dev", "build:lib:umd:min": "talend-scripts build --umd --prod", - "build:lib:esm": "tsc --project ./tsconfig.esm.json && cpx 'src/**/*.{scss,json}' lib/esm --verbose", + "build:lib:esm": "tsc --project ./tsconfig.esm.json && cpx 'src/**/*.{scss,json}' lib-esm --verbose", "pre-release": "npm run build:lib:umd && npm run build:lib:umd:min", "watch": "talend-scripts build --watch", "test": "talend-scripts test", diff --git a/packages/design-system/tsconfig.esm.json b/packages/design-system/tsconfig.esm.json index d9318e73b9..d89d5ed4d1 100644 --- a/packages/design-system/tsconfig.esm.json +++ b/packages/design-system/tsconfig.esm.json @@ -9,7 +9,7 @@ "src/stories/**/*" ], "compilerOptions": { - "outDir": "lib/esm", + "outDir": "lib-esm", "module": "ESNext" } } diff --git a/packages/design-tokens/package.json b/packages/design-tokens/package.json index f33ef33698..def7716321 100644 --- a/packages/design-tokens/package.json +++ b/packages/design-tokens/package.json @@ -4,29 +4,29 @@ "description": "Talend Design Tokens", "main": "lib/index.js", "types": "lib/index.d.ts", - "module": "./lib/esm/index.js", + "module": "./lib-esm/index.js", "exports": { "./package.json": "./package.json", "./lib/tokens": { - "import": "./lib/esm/_tokens.scss", + "import": "./lib-esm/_tokens.scss", "require": "./lib/_tokens.scss" }, "./lib/_tokens": { - "import": "./lib/esm/_tokens.scss", + "import": "./lib-esm/_tokens.scss", "require": "./lib/_tokens.scss" }, "./lib/*": { - "import": "./lib/esm/*", + "import": "./lib-esm/*", "require": "./lib/*" }, "./dist/*": { - "import": "./lib/esm/dist/*", + "import": "./lib-esm/dist/*", "require": "./dist/*" }, ".": { "import": { - "types": "./lib/esm/index.d.ts", - "default": "./lib/esm/index.js" + "types": "./lib-esm/index.d.ts", + "default": "./lib-esm/index.js" }, "require": { "types": "./lib/index.d.ts", @@ -39,7 +39,7 @@ "build:umd:dev": "talend-scripts build --umd --dev", "build:umd:prod": "talend-scripts build --umd", "build:lib": "talend-scripts build && yarn build:umd:dev && yarn build:umd:prod && yarn test:umd", - "build:lib:esm": "yarn build:lib && tsc --project ./tsconfig.esm.json && cpx 'src/**/*.{scss,json}' lib/esm --verbose && cpx 'dist/*' lib/esm/dist --verbose", + "build:lib:esm": "yarn build:lib && tsc --project ./tsconfig.esm.json && cpx 'src/**/*.{scss,json}' lib-esm --verbose && cpx 'dist/*' lib/esm/dist --verbose", "test": "echo no test for @talend/design-tokens", "test:cov": "echo no test for @talend/design-tokens", "test:umd": "jest scripts/umd.test.js", diff --git a/packages/design-tokens/tsconfig.esm.json b/packages/design-tokens/tsconfig.esm.json index 0b9ecd6104..6bbc81329a 100644 --- a/packages/design-tokens/tsconfig.esm.json +++ b/packages/design-tokens/tsconfig.esm.json @@ -1,7 +1,7 @@ { "extends": "./tsconfig.json", "compilerOptions": { - "outDir": "lib/esm", + "outDir": "lib-esm", "module": "ESNext" } } diff --git a/packages/faceted-search/package.json b/packages/faceted-search/package.json index 2d61316c0a..f0b936894a 100644 --- a/packages/faceted-search/package.json +++ b/packages/faceted-search/package.json @@ -3,13 +3,13 @@ "version": "19.0.0", "description": "Faceted search", "main": "lib/index.js", - "module": "./lib/esm/index.js", + "module": "./lib-esm/index.js", "exports": { "./package.json": "./package.json", "./lib/*": { "import": { - "types": "./lib/esm/*/index.d.ts", - "default": "./lib/esm/*/index.js" + "types": "./lib-esm/*/index.d.ts", + "default": "./lib-esm/*/index.js" }, "require": { "types": "./lib/*/index.d.ts", @@ -18,8 +18,8 @@ }, ".": { "import": { - "types": "./lib/esm/index.d.ts", - "default": "./lib/esm/index.js" + "types": "./lib-esm/index.d.ts", + "default": "./lib-esm/index.js" }, "require": { "types": "./lib/index.d.ts", @@ -33,7 +33,7 @@ "build:prod": "talend-scripts build --umd --prod", "pre-release": "yarn build:dev && yarn build:prod", "build:lib": "talend-scripts build", - "build:lib:esm": "tsc --project ./tsconfig.esm.json && cpx 'src/**/*.{scss,json}' lib/esm --verbose", + "build:lib:esm": "tsc --project ./tsconfig.esm.json && cpx 'src/**/*.{scss,json}' lib-esm --verbose", "test": "cross-env TZ=UTC talend-scripts test", "test:watch": "cross-env TZ=UTC talend-scripts test --watch", "test:cov": "cross-env TZ=UTC talend-scripts test --coverage", diff --git a/packages/faceted-search/tsconfig.esm.json b/packages/faceted-search/tsconfig.esm.json index 0b9ecd6104..6bbc81329a 100644 --- a/packages/faceted-search/tsconfig.esm.json +++ b/packages/faceted-search/tsconfig.esm.json @@ -1,7 +1,7 @@ { "extends": "./tsconfig.json", "compilerOptions": { - "outDir": "lib/esm", + "outDir": "lib-esm", "module": "ESNext" } } diff --git a/packages/forms/package.json b/packages/forms/package.json index a0553a8ca5..c55e8fb477 100644 --- a/packages/forms/package.json +++ b/packages/forms/package.json @@ -2,14 +2,14 @@ "name": "@talend/react-forms", "description": "React forms library based on json schema form.", "main": "lib/index.js", - "mainSrc": "src/index.js", "types": "./lib/index.d.ts", + "module": "./lib-esm/index.js", "exports": { "./package.json": "./package.json", ".": { "import": { - "types": "./lib/esm/index.d.ts", - "default": "./lib/esm/index.js" + "types": "./lib-esm/index.d.ts", + "default": "./lib-esm/index.js" }, "require": { "types": "./lib/index.d.ts", @@ -21,7 +21,7 @@ "scripts": { "build:dev": "talend-scripts build --umd --dev", "build:prod": "talend-scripts build --umd --prod", - "build:lib:esm": "tsc --project ./tsconfig.esm.json && cpx 'src/**/*.{scss,json}' lib/esm --verbose", + "build:lib:esm": "tsc --project ./tsconfig.esm.json && cpx 'src/**/*.{scss,json}' lib-esm --verbose", "build-storybook": "talend-scripts build-storybook", "pre-release": "yarn build:dev && yarn build:prod", "build:lib": "talend-scripts build", diff --git a/packages/forms/tsconfig.esm.json b/packages/forms/tsconfig.esm.json index 62809c496b..49608e4591 100644 --- a/packages/forms/tsconfig.esm.json +++ b/packages/forms/tsconfig.esm.json @@ -1,7 +1,7 @@ { "extends": "./tsconfig.json", "compilerOptions": { - "outDir": "lib/esm", + "outDir": "lib-esm", "module": "ESNext" }, "exclude": ["node_modules", "stories/**/*", "src/**/*.test.*"] diff --git a/packages/icons/package.json b/packages/icons/package.json index ff13bc2fc4..531d3e59f3 100644 --- a/packages/icons/package.json +++ b/packages/icons/package.json @@ -4,13 +4,13 @@ "main": "dist/TalendIcons.js", "types": "dist/typeUtils.d.ts", "style": "build/octicons.css", - "module": "./lib/esm/index.js", + "module": "./lib-esm/index.js", "exports": { "./package.json": "./package.json", "./src/*": { "import": { - "types": "./lib/esm/src/*", - "default": "./lib/esm/src/*" + "types": "./lib-esm/src/*", + "default": "./lib-esm/src/*" }, "require": { "types": "./src/*", @@ -19,8 +19,8 @@ }, "./dist/typeUtils": { "import": { - "types": "./lib/esm/typeUtils.d.ts", - "default": "./lib/esm/typeUtils.js" + "types": "./lib-esm/typeUtils.d.ts", + "default": "./lib-esm/typeUtils.js" }, "require": { "types": "./dist/typeUtils.d.ts", @@ -29,8 +29,8 @@ }, ".": { "import": { - "types": "./lib/esm/index.d.ts", - "default": "./lib/esm/index.js" + "types": "./lib-esm/index.d.ts", + "default": "./lib-esm/index.js" }, "require": { "types": "./lib/index.d.ts", diff --git a/packages/icons/tsconfig.esm.json b/packages/icons/tsconfig.esm.json index 8ce47b9232..afb7ff63e5 100644 --- a/packages/icons/tsconfig.esm.json +++ b/packages/icons/tsconfig.esm.json @@ -10,7 +10,7 @@ "src/stories/**/*" ], "compilerOptions": { - "outDir": "lib/esm", + "outDir": "lib-esm", "module": "ESNext" } } diff --git a/packages/utils/package.json b/packages/utils/package.json index 94540b92d3..5abe10710d 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -4,13 +4,13 @@ "description": "Various utilities", "main": "lib/index.js", "types": "lib/index.d.ts", - "module": "./lib/esm/index.js", + "module": "./lib-esm/index.js", "exports": { "./package.json": "./package.json", "./lib/*": { "import": { - "types": "./lib/esm/*/index.d.ts", - "default": "./lib/esm/*/index.js" + "types": "./lib-esm/*/index.d.ts", + "default": "./lib-esm/*/index.js" }, "require": { "types": "./lib/*/index.d.ts", @@ -19,8 +19,8 @@ }, ".": { "import": { - "types": "./lib/esm/index.d.ts", - "default": "./lib/esm/index.js" + "types": "./lib-esm/index.d.ts", + "default": "./lib-esm/index.js" }, "require": { "types": "./lib/index.d.ts", diff --git a/packages/utils/tsconfig.esm.json b/packages/utils/tsconfig.esm.json index d3375b4f65..1302c19473 100644 --- a/packages/utils/tsconfig.esm.json +++ b/packages/utils/tsconfig.esm.json @@ -2,7 +2,7 @@ "extends": "./tsconfig.json", "exclude": ["node_modules", "src/**/*.test.*"], "compilerOptions": { - "outDir": "lib/esm", + "outDir": "lib-esm", "module": "ESNext" } }