-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Infra: Bump TypeScript, add main exports #472
Merged
Merged
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
6fe8752
feat: bump typscript, add main exports
a47f195
feat: use yarn registry
46a4415
feat: export style paths
3c1e8c4
feat: comment mixins to test
99b37f4
feat: export sass files
7c8f874
feat: export react components
229a2b0
feat: expose utils styles
77443d8
feat: sort out exports and file extensions
a31fbf5
feat: remove dupe export
45f9123
feat: use pattern to export styles
a8a5625
feat: explicitly export pharos.scss
2387620
chore: add changeset
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
'@ithaka/pharos': major | ||
'@ithaka/pharos-site': major | ||
--- | ||
|
||
individual file exports are no longer supported, import files based on the exports defined in the package.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
packages/pharos-site/src/components/statics/color/ColorCombos.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
packages/pharos-site/src/components/statics/color/ColorGradients.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
packages/pharos-site/src/components/statics/color/ColorSwatches.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
packages/pharos-site/src/components/statics/color/ColorTextSquares.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -84,7 +84,22 @@ | |
"sinon": "^12.0.1", | ||
"style-dictionary": "^3.0.1", | ||
"ts-lit-plugin": "^1.2.1", | ||
"typescript": "^4.5.2" | ||
"typescript": "^4.9.4" | ||
}, | ||
"customElements": "custom-elements.json" | ||
"customElements": "custom-elements.json", | ||
"exports": { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Think you'll want to add a changeset and designate it as a breaking change since individual component imports will be invalid. |
||
".": "./lib/index.js", | ||
"./lib": "./lib/index.js", | ||
"./lib/index": "./lib/index.js", | ||
"./lib/react-components": "./lib/react-components/index.js", | ||
"./lib/styles/*": "./lib/styles/*.js", | ||
"./lib/styles/*.css": "./lib/styles/*.css", | ||
"./lib/styles/*.scss": "./lib/styles/*.scss", | ||
"./lib/styles/pharos": "./lib/styles/pharos.scss", | ||
"./lib/utils/scss/mixins": "./lib/utils/scss/_mixins.scss", | ||
chrisjbrown marked this conversation as resolved.
Show resolved
Hide resolved
|
||
"./lib/utils/registerComponents": "./lib/utils/registerComponents.js", | ||
"./lib/utils/PharosContext": "./lib/utils/PharosContext.js", | ||
"./package.json": "./package.json", | ||
"./custom-elements.json": "./custom-elements.json" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tried to standardize the exports.
what i have so far is
.js
should always drop the extension and anything else should always include the extension