Skip to content

Commit

Permalink
chore: add typesVersions declaration (#1655)
Browse files Browse the repository at this point in the history
  • Loading branch information
saikumarrs authored Mar 21, 2024
1 parent 177421c commit ede12fa
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 1 deletion.
7 changes: 7 additions & 0 deletions packages/analytics-js-integrations/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@
}
},
"types": "./dist/npm/index.d.ts",
"typesVersions": {
"*": {
"*": [
"./dist/npm/index.d.ts"
]
}
},
"publishConfig": {},
"files": [
"dist/npm",
Expand Down
9 changes: 8 additions & 1 deletion packages/analytics-js-plugins/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,19 @@
"import": "./dist/npm/modern/esm/index.js"
},
"./legacy": {
"types": "./index.d.ts",
"types": "./dist/npm/index.d.ts",
"require": "./dist/npm/legacy/cjs/index.js",
"import": "./dist/npm/legacy/esm/index.js"
}
},
"types": "./dist/npm/index.d.ts",
"typesVersions": {
"*": {
"*": [
"./dist/npm/index.d.ts"
]
}
},
"publishConfig": {},
"files": [
"dist/npm",
Expand Down
7 changes: 7 additions & 0 deletions packages/analytics-js-service-worker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@
"types": "./dist/npm/index.d.ts"
},
"types": "./dist/npm/index.d.ts",
"typesVersions": {
"*": {
"*": [
"dist/npm/index.d.ts"
]
}
},
"publishConfig": {
"access": "public"
},
Expand Down
7 changes: 7 additions & 0 deletions packages/analytics-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,13 @@
}
},
"types": "./dist/npm/index.d.ts",
"typesVersions": {
"*": {
"*": [
"./dist/npm/index.d.ts"
]
}
},
"publishConfig": {
"access": "public"
},
Expand Down

0 comments on commit ede12fa

Please sign in to comment.