Skip to content

Commit

Permalink
Upgrade packages (#114)
Browse files Browse the repository at this point in the history
  • Loading branch information
scriptex authored Mar 2, 2022
1 parent 04e8bd1 commit 1e8a756
Show file tree
Hide file tree
Showing 15 changed files with 955 additions and 1,454 deletions.
1 change: 1 addition & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"plugin:react/recommended",
"plugin:react-hooks/recommended"
],
"ignore": ["postcss.config.js"],
"settings": {
"react": {
"version": "detect"
Expand Down
1 change: 1 addition & 0 deletions demo/dist/index.1b32f9f5.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions demo/dist/index.7cd13e53.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions demo/dist/index.c8467d7e.js

This file was deleted.

1 change: 0 additions & 1 deletion demo/dist/index.c8467d7e.js.map

This file was deleted.

2 changes: 0 additions & 2 deletions demo/dist/index.cdc9bcae.css

This file was deleted.

1 change: 0 additions & 1 deletion demo/dist/index.cdc9bcae.css.map

This file was deleted.

4 changes: 2 additions & 2 deletions demo/dist/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta http-equiv="X-UA-Compatible" content="ie=edge"><title>React Round Carousel Demo</title><link rel="stylesheet" href="/index.cdc9bcae.css"><style>body{font-family:monospace;display:flex;flex-flow:row wrap;align-items:center;justify-content:center;align-content:center;margin:0}.usage{line-height:1.1;width:100%;max-width:50rem;flex:0 0 100%;padding:1rem;margin:auto;box-sizing:border-box}.usage h1,.usage h2,.usage p{margin:1rem 0}.usage h1{text-align:center;margin-bottom:2rem}.usage pre{margin:0;overflow:auto;-webkit-overflow-scrolling:touch}.usage h2+pre{margin-top:-1rem}#root{flex:0 0 100%;padding-bottom:3rem;overflow:hidden}.carousel__controls{padding-top:2rem}</style></head><body> <div class="usage"> <h1>React Round Carousel</h1> <h2>Install</h2> <code>npm install react-round-carousel</code> <br> <em>or</em> <br> <code>yarn add react-round-carousel</code> <h2>Use the module</h2> <pre>
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta http-equiv="X-UA-Compatible" content="ie=edge"><title>React Round Carousel Demo</title><link rel="stylesheet" href="/index.7cd13e53.css"><style>body{align-content:center;align-items:center;display:flex;flex-flow:row wrap;font-family:monospace;justify-content:center;margin:0}.usage{box-sizing:border-box;flex:0 0 100%;line-height:1.1;margin:auto;max-width:50rem;padding:1rem;width:100%}.usage h1,.usage h2,.usage p{margin:1rem 0}.usage h1{margin-bottom:2rem;text-align:center}.usage pre{-webkit-overflow-scrolling:touch;margin:0;overflow:auto}.usage h2+pre{margin-top:-1rem}#root{flex:0 0 100%;overflow:hidden;padding-bottom:3rem}.carousel__controls{padding-top:2rem}</style></head><body> <div class="usage"> <h1>React Round Carousel</h1> <h2>Install</h2> <code>npm install react-round-carousel</code> <br> <em>or</em> <br> <code>yarn add react-round-carousel</code> <h2>Use the module</h2> <pre>
<code>
import * as React from 'react';
import * as ReactDOM from 'react-dom';
Expand All @@ -23,4 +23,4 @@

ReactDOM.render(&lt;App /&gt;, document.getElementById('root'));
</code>
</pre> </div> <div id="root"></div> <script src="/index.c8467d7e.js"></script> </body></html>
</pre> </div> <div id="root"></div> <script type="module" src="/index.1b32f9f5.js"></script> </body></html>
2 changes: 1 addition & 1 deletion demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,6 @@ <h2>Use the module</h2>

<div id="root"></div>

<script src="./index.tsx"></script>
<script type="module" src="./index.tsx"></script>
</body>
</html>
5 changes: 3 additions & 2 deletions demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
"version": "1.0.0",
"license": "MIT",
"scripts": {
"start": "parcel index.html",
"build": "rm -rf dist && parcel build index.html"
"clean": "rm -rf dist",
"start": "yarn clean && parcel index.html",
"build": "yarn clean && parcel build index.html --no-source-maps"
},
"dependencies": {},
"alias": {
Expand Down
Loading

1 comment on commit 1e8a756

@vercel
Copy link

@vercel vercel bot commented on 1e8a756 Mar 2, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.