Skip to content

Commit

Permalink
feat: unify exports (#3276)
Browse files Browse the repository at this point in the history
  • Loading branch information
stepan662 authored Nov 4, 2023
1 parent 5ef24be commit c8d2563
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 16 deletions.
3 changes: 1 addition & 2 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,8 @@
"exports": {
".": {
"require": "./dist/tolgee.cjs.js",
"svelte": "./dist/tolgee.esm.mjs",
"module": "./dist/tolgee.esm.js",
"import": "./dist/tolgee.esm.js",
"import": "./dist/tolgee.esm.mjs",
"types": "./lib/index.d.ts"
},
"./package.json": "./package.json"
Expand Down
3 changes: 1 addition & 2 deletions packages/format-icu/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,8 @@
"exports": {
".": {
"require": "./dist/tolgee-format-icu.cjs.js",
"svelte": "./dist/tolgee-format-icu.esm.mjs",
"module": "./dist/tolgee-format-icu.esm.js",
"import": "./dist/tolgee-format-icu.esm.js",
"import": "./dist/tolgee-format-icu.esm.mjs",
"types": "./lib/index.d.ts"
},
"./package.json": "./package.json"
Expand Down
3 changes: 1 addition & 2 deletions packages/i18next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,8 @@
".": {
"types": "./lib/index.d.ts",
"require": "./dist/tolgee-i18next.cjs.js",
"svelte": "./dist/tolgee-i18next.esm.mjs",
"module": "./dist/tolgee-i18next.esm.js",
"import": "./dist/tolgee-i18next.esm.js"
"import": "./dist/tolgee-i18next.esm.mjs"
},
"./package.json": "./package.json"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"types": "./lib/index.d.ts",
"require": "./dist/tolgee-react.cjs.js",
"module": "./dist/tolgee-react.esm.js",
"import": "./dist/tolgee-react.esm.js"
"import": "./dist/tolgee-react.esm.mjs"
},
"./package.json": "./package.json"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"types": "./lib/index.d.ts",
"require": "./dist/tolgee-vue.cjs.js",
"module": "./dist/tolgee-vue.esm.js",
"import": "./dist/tolgee-vue.esm.js"
"import": "./dist/tolgee-vue.esm.mjs"
},
"./package.json": "./package.json"
},
Expand Down
9 changes: 3 additions & 6 deletions packages/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,18 @@
".": {
"production": {
"require": "./dist/tolgee-web.production.cjs.js",
"svelte": "./dist/tolgee-web.production.esm.mjs",
"module": "./dist/tolgee-web.production.esm.js",
"import": "./dist/tolgee-web.production.esm.js"
"import": "./dist/tolgee-web.production.esm.mjs"
},
"require": "./index.js",
"svelte": "./dist/tolgee-web.development.esm.mjs",
"module": "./dist/tolgee-web.development.esm.js",
"import": "./dist/tolgee-web.development.esm.js",
"import": "./dist/tolgee-web.development.esm.mjs",
"types": "./types/index.d.ts"
},
"./tools": {
"require": "./dist/tolgee-in-context-tools.cjs.js",
"svelte": "./dist/tolgee-in-context-tools.esm.mjs",
"module": "./dist/tolgee-in-context-tools.esm.js",
"import": "./dist/tolgee-in-context-tools.esm.js",
"import": "./dist/tolgee-in-context-tools.esm.mjs",
"types": "./types/index.d.ts"
},
"./package.json": "./package.json"
Expand Down
3 changes: 1 addition & 2 deletions packages/web/tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@
"exports": {
".": {
"require": "./../dist/tolgee-in-context-tools.cjs.js",
"svelte": "./../dist/tolgee-in-context-tools.esm.mjs",
"module": "./../dist/tolgee-in-context-tools.esm.js",
"import": "./../dist/tolgee-in-context-tools.esm.js",
"import": "./../dist/tolgee-in-context-tools.esm.mjs",
"types": "./../types/index.d.ts"
},
"./package.json": "./package.json"
Expand Down

0 comments on commit c8d2563

Please sign in to comment.