Skip to content

Commit

Permalink
chore: update examples (#236)
Browse files Browse the repository at this point in the history
  • Loading branch information
piecyk committed Jan 22, 2022
1 parent 5300e47 commit b48e558
Show file tree
Hide file tree
Showing 87 changed files with 4,972 additions and 63,548 deletions.
3 changes: 0 additions & 3 deletions examples/dynamic/.babelrc

This file was deleted.

3 changes: 0 additions & 3 deletions examples/dynamic/.eslintrc

This file was deleted.

26 changes: 4 additions & 22 deletions examples/dynamic/.gitignore
@@ -1,23 +1,5 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# production
/build

# misc
node_modules
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
dist
dist-ssr
*.local
1 change: 0 additions & 1 deletion examples/dynamic/.prettierrc

This file was deleted.

29 changes: 0 additions & 29 deletions examples/dynamic/.rescriptsrc.js

This file was deleted.

12 changes: 12 additions & 0 deletions examples/dynamic/index.html
@@ -0,0 +1,12 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite App</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.jsx"></script>
</body>
</html>
37 changes: 11 additions & 26 deletions examples/dynamic/package.json
@@ -1,35 +1,20 @@
{
"name": "dynamic",
"private": true,
"scripts": {
"start": "rescripts start",
"build": "rescripts build",
"test": "rescripts test",
"eject": "rescripts eject",
"serve": "serve -s build"
"dev": "vite",
"build": "vite build",
"serve": "vite preview",
"start": "vite"
},
"dependencies": {
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-scripts": "3.0.1",
"react-virtual": "^2.1.8"
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-virtual": "2.10.3"
},
"devDependencies": {
"@rescripts/cli": "^0.0.11",
"@rescripts/rescript-use-babel-config": "^0.0.8",
"@rescripts/rescript-use-eslint-config": "^0.0.9",
"babel-eslint": "10.0.1",
"serve": "^11.3.0"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
"@rollup/plugin-replace": "^3.0.1",
"@vitejs/plugin-react": "^1.1.4",
"vite": "^2.7.13"
}
}
Binary file removed examples/dynamic/public/favicon.ico
Binary file not shown.
38 changes: 0 additions & 38 deletions examples/dynamic/public/index.html

This file was deleted.

15 changes: 0 additions & 15 deletions examples/dynamic/public/manifest.json

This file was deleted.

File renamed without changes.

1 comment on commit b48e558

@vercel
Copy link

@vercel vercel bot commented on b48e558 Jan 22, 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.