Skip to content

Commit

Permalink
feat(sdds-cs): fix typings path
Browse files Browse the repository at this point in the history
  • Loading branch information
TitanKuzmich committed Dec 23, 2024
1 parent 4f1a778 commit c77d726
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 4 deletions.
5 changes: 5 additions & 0 deletions packages/plasma-new-hope/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@
"require": "./styled-components/cjs/index.js",
"import": "./styled-components/es/index.js",
"types": "./types/index.d.ts"
},
"./emotion": {
"require": "./emotion/cjs/index.js",
"import": "./emotion/es/index.js",
"types": "./types/index.d.ts"
}
},
"files": [
Expand Down
33 changes: 30 additions & 3 deletions packages/sdds-cs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,36 @@
"api-extractor.json",
"CHANGELOG.md"
],
"main": "index.js",
"module": "es/index.js",
"types": "index.d.ts",
"main": "./index.js",
"module": "./es/index.js",
"types": "./index.d.ts",
"exports": {
".": {
"require": "./components/index.js",
"import": "./es/index.js",
"types": "./index.d.ts"
},
"./styled-components": {
"require": "./styled-components/cjs/index.js",
"import": "./styled-components/es/index.js",
"types": "./index.d.ts"
},
"./emotion": {
"require": "./emotion/cjs/index.js",
"import": "./emotion/es/index.js",
"types": "./index.d.ts"
},
"./tokens": {
"require": "./tokens/index.js",
"import": "./es/tokens/index.js",
"types": "./tokens/index.d.ts"
},
"./mixins": {
"require": "./mixins/index.js",
"import": "./es/mixins/index.js",
"types": "./mixins/index.d.ts"
}
},
"repository": {
"type": "git",
"url": "ssh://[email protected]:salute-developers/plasma.git",
Expand Down
2 changes: 1 addition & 1 deletion packages/sdds-serv/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
],
"main": "./index.js",
"module": "./es/index.js",
"types": "./types/index.d.ts",
"types": "./index.d.ts",
"exports": {
".": {
"require": "./components/index.js",
Expand Down

0 comments on commit c77d726

Please sign in to comment.