Skip to content

Commit ad1ea2d

Browse files
committed
Merge branch 'master' into beta
2 parents 97870d4 + e032483 commit ad1ea2d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+11315
-1395
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ build/
44
dist/
55
.cache/
66
.parcel-cache/
7+
.next
78

89
# testing
910
/coverage

.vscode/react-spring.code-workspace

Lines changed: 0 additions & 23 deletions
This file was deleted.

.vscode/settings.json

Lines changed: 0 additions & 3 deletions
This file was deleted.

demo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "demo",
2+
"name": "@react-spring/demo",
33
"version": "1.0.0",
44
"description": "a sandbox for react-spring (probably will be replaced with something in the future)",
55
"main": "null",

docs/.babelrc

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"presets": ["next/babel"],
3+
"plugins": [
4+
[
5+
"babel-plugin-styled-components",
6+
{
7+
"ssr": false,
8+
"displayName": true,
9+
"preprocess": false
10+
}
11+
]
12+
]
13+
}

docs/.env

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
CI=false

docs/next-env.d.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/// <reference types="next" />
2+
/// <reference types="next/types/global" />
3+
/// <reference types="next/image-types/global" />
4+
5+
// NOTE: This file should not be edited
6+
// see https://nextjs.org/docs/basic-features/typescript for more information.

docs/next.config.js

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
const withTM = require('next-transpile-modules')(['@react-spring/demo'])
2+
const slugs = require('remark-slug')
3+
const autoLinkHeadings = require('remark-autolink-headings')
4+
5+
const withMDX = require('@next/mdx')({
6+
extension: /\.mdx$/,
7+
options: {
8+
remarkPlugins: [
9+
slugs,
10+
[
11+
autoLinkHeadings,
12+
{
13+
behavior: 'append',
14+
},
15+
],
16+
],
17+
rehypePlugins: [],
18+
},
19+
})
20+
21+
module.exports = withTM(
22+
withMDX({
23+
pageExtensions: ['js', 'jsx', 'ts', 'tsx', 'md', 'mdx'],
24+
experimental: {
25+
externalDir: true,
26+
},
27+
})
28+
)

docs/package.json

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
{
2+
"name": "@react-spring/docs",
3+
"version": "1.0.0",
4+
"private": true,
5+
"author": "Poimandres",
6+
"license": "MIT",
7+
"dependencies": {
8+
"@mdx-js/loader": "^1.6.22",
9+
"@mdx-js/react": "^1.6.22",
10+
"@next/mdx": "^10.1.3",
11+
"@react-spring/demo": "*",
12+
"@react-spring/parallax": "*",
13+
"clsx": "^1.1.1",
14+
"lodash-move": "^1.1.1",
15+
"lodash.clamp": "^4.0.3",
16+
"lodash.shuffle": "^4.2.0",
17+
"lorem-ipsum": "^2.0.3",
18+
"next": "^11.1.2",
19+
"next-seo": "^4.23.0",
20+
"next-transpile-modules": "^8.0.0",
21+
"prism-react-renderer": "^1.2.0",
22+
"react": "^17.0.2",
23+
"react-dom": "^17.0.2",
24+
"react-feather": "^2.0.9",
25+
"react-lazyload": "^3.2.0",
26+
"react-live": "^2.2.3",
27+
"react-scroll-percentage": "^4.2.0",
28+
"react-spring": "*",
29+
"react-twitter-widgets": "^1.10.0",
30+
"react-use-gesture": "^9.1.3",
31+
"react-use-measure": "^2.0.4",
32+
"react-visibility-sensor": "^5.1.1",
33+
"remark-autolink-headings": "^6.0.1",
34+
"remark-slug": "^6.0.0",
35+
"resize-observer-polyfill": "^1.5.1",
36+
"styled-components": "^5.2.3",
37+
"vec-la": "^1.5.0"
38+
},
39+
"scripts": {
40+
"dev": "next",
41+
"start": "next start",
42+
"build": "next build"
43+
},
44+
"browserslist": [
45+
">0.2%",
46+
"not dead",
47+
"not ie <= 11",
48+
"not op_mini all"
49+
]
50+
}

docs/public/favicon-16x16.png

1.34 KB
Loading

0 commit comments

Comments
 (0)