-
Notifications
You must be signed in to change notification settings - Fork 6
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
Add React Component Example To Docs #31
Open
mcqua007
wants to merge
10
commits into
main
Choose a base branch
from
sean/add-react-componenet-example-to-docs
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
afe7a13
feat | add babel package & config
mcqua007 cab16d8
chore | update eslint package
mcqua007 87f5eea
chore | update yarn lock
mcqua007 c18d26a
doc | add basic react component example
mcqua007 cb896be
docs | add main react app tp docs
mcqua007 eb18428
chore | update gitignore
mcqua007 b9f437e
chore | update package JSON
mcqua007 2033d08
feat | add JSDocs & remove exports from private functions
mcqua007 ce4f4d5
chore | update eslint & prettier
mcqua007 085e77e
Merge branch 'main' into sean/add-react-componenet-example-to-docs
mcqua007 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,3 @@ | ||
{ | ||
"presets": ["@babel/preset-env", "@babel/preset-react"] | ||
} |
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
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 |
---|---|---|
@@ -1,10 +1,14 @@ | ||
{ | ||
"name": "@thebeyondgroup/shopify-rich-text-renderer", | ||
"version": "2.0.3", | ||
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. Is this just to bump the docs on npm? |
||
"description": "Convert Shopify's rich text field from a rich text schema to HTML.", | ||
"description": "Convert Shopify's Metafields/Metaobjects rich text type from a rich text AST/schema to HTML. Works great with hydrogen/headless & regular storefronts.", | ||
"main": "src/index.js", | ||
"repository": "https://github.com/TheBeyondGroup/shopify-rich-text-renderer.git", | ||
"author": "Sean ", | ||
"author": { | ||
"name": "Sean McQuaid", | ||
"email": "[email protected]", | ||
"github": "mcqua007" | ||
}, | ||
"license": "MIT", | ||
"private": false, | ||
"type": "module", | ||
|
@@ -20,20 +24,23 @@ | |
"lint:fix": "npx eslint --fix src/index.js" | ||
}, | ||
"devDependencies": { | ||
"@babel/preset-react": "^7.24.7", | ||
"eslint": "^8.37.0", | ||
"eslint-config-prettier": "^8.8.0", | ||
"eslint-config-prettier": "^9.1.0", | ||
"eslint-plugin-import": "^2.27.5", | ||
"eslint-plugin-prettier": "^4.2.1", | ||
"eslint-plugin-prettier": "^5.2.1", | ||
"jest": "^29.5.0", | ||
"jest-environment-jsdom": "^29.5.0", | ||
"jsdoc-to-markdown": "^8.0.0", | ||
"prettier": "^2.8.7", | ||
"prettier": "^3.3.3", | ||
"rollup": "^3.20.2", | ||
"rollup-plugin-filesize": "^10.0.0", | ||
"rollup-plugin-terser": "^7.0.2" | ||
}, | ||
"keywords": [ | ||
"AST", | ||
"convert", | ||
"CSS", | ||
"deserialize", | ||
"deserializer", | ||
"html serializer", | ||
|
@@ -44,10 +51,18 @@ | |
"Metaobject", | ||
"rich text to html", | ||
"rich text", | ||
"react", | ||
"hydrogen", | ||
"renderer", | ||
"serialize", | ||
"serializer", | ||
"schema", | ||
"shopify", | ||
"typescript", | ||
"tailwind", | ||
"typings", | ||
"type definitions", | ||
"utility", | ||
"utilities" | ||
], | ||
"files": [ | ||
|
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
Oops, something went wrong.
Oops, something went wrong.
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.
Is this a breaking change or a fix to align the docs with the real code?