Skip to content

[v9] Release #1330

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

Merged
merged 1,535 commits into from
Mar 23, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1535 commits
Select commit Hold shift + click to select a range
e7ca81d
test: more tests for async `to` function
aleclarson May 11, 2020
2d51b84
test: returning an object from `enter` function
aleclarson May 11, 2020
85092ed
fix: returning an object from `enter` function
aleclarson May 11, 2020
dcca3bd
9.0.0-rc.3
aleclarson May 11, 2020
e365858
nit: use `flush` on the `frameQueue` and `writeQueue`
aleclarson May 12, 2020
e8eeb79
nit: skip updates with SpringContext when it's empty
aleclarson May 12, 2020
3d2846f
refactor: add `flushCalls` helper
aleclarson May 12, 2020
67c95a1
nit: use `SpringPhase` enum instead of string
aleclarson May 12, 2020
86fbd87
fix: make `pause` prop affect async animations
aleclarson May 11, 2020
293e2e9
nit: use `each` helper for merging cancel/pause defaults
aleclarson May 12, 2020
9e2110e
types: fix return type of `getDefaultProp` helper
aleclarson May 12, 2020
af0bf03
fix: interpretation of default cancel/pause props
aleclarson May 12, 2020
57f59f2
fix(Controller): check phase before doing pause/resume effects
aleclarson May 12, 2020
e577deb
fix(Controller): respect `default.pause` prop when false
aleclarson May 12, 2020
df799a8
fix: clone the props object passed to `SpringValue#_update`
aleclarson May 12, 2020
4de9fd0
fix: ensure `stop` calls do not act like `cancel: true`
aleclarson May 13, 2020
25da502
fix(Controller): avoid adding batched handlers to the default props
aleclarson May 13, 2020
f51beea
chore: remove unused import
aleclarson May 14, 2020
697f765
types: fix incorrect type error for useSpring props function
aleclarson May 14, 2020
c77b9d3
fix(Controller): call `stopAsync` in the `dispose` method
aleclarson May 14, 2020
03cf6f4
fix(Controller): set `phase` to DISPOSED when `dispose` is called
aleclarson May 14, 2020
04760a2
fix: be more strict about disposed objects
aleclarson May 14, 2020
c5ffd63
refactor: combine `get` and `coerceEventProp` helpers into `getEventP…
aleclarson May 14, 2020
fb06087
feat: add `onPause` and `onResume` event props
aleclarson May 14, 2020
235fa4e
types: derive from the Controller's `State` parameter for event maps
aleclarson May 14, 2020
cb3c6b8
fix: call `onProps` before delays and cancellation
aleclarson May 14, 2020
47e72cb
test: fix outdated test
aleclarson May 15, 2020
8905f26
test: SpringContext should only update springs when changed
aleclarson May 15, 2020
26e3fb6
nit: use faster key iteration
aleclarson May 15, 2020
7cba9e1
chore: remove unused import
aleclarson May 15, 2020
27e154e
nit: format for easier breakpoints
aleclarson May 15, 2020
0887c46
fix(Controller): add `throwDisposed` calls where needed
aleclarson May 15, 2020
04c3b49
fix: check for PAUSED phase instead of calling `resume` method
aleclarson May 15, 2020
ed8372b
refactor(Controller): add `_onStart` method
aleclarson May 15, 2020
0f2f2d9
test: add basic tests for event props
aleclarson May 15, 2020
15a4bdd
fix: prevent noop updates from setting event props
aleclarson May 15, 2020
333cfa0
test: remove extraneous tests
aleclarson May 15, 2020
57e9725
fix: ensure `cancel: true` always stops the async animation
aleclarson May 15, 2020
17d2749
fix(runAsync): ensure the `animate` function never throws synchronously
aleclarson May 15, 2020
053b132
nit: convert `SpringValue#_getNodeType` to a local function
aleclarson May 20, 2020
a8a71f5
nit: convert `checkFinishedOnRest` to a function declaration
aleclarson May 20, 2020
6b81e95
fix: stop using React.Fragment in `Transition` component
aleclarson May 20, 2020
7a12d23
nit: remove description from `Spring` component
aleclarson May 20, 2020
8ed5a42
fix: memoize the `ref` function in `withAnimated`
aleclarson May 20, 2020
b818f08
refactor: rename `getNodeType` to `getAnimatedType` (and move it to p…
aleclarson May 21, 2020
69d9332
docs: add instructions to umd testbed
aleclarson May 23, 2020
31f86b7
chore: disable `build-if-changed` in umd testbed
aleclarson May 23, 2020
1241b6e
docs: mention gatsby workaround in CONTRIBUTING.md
aleclarson May 23, 2020
326daad
Revert "fix: hslToRgb accuracy"
aleclarson May 24, 2020
92f3faa
types: ensure `FrameValue.Event` subtypes can be used alone
aleclarson May 29, 2020
ec64066
fix: avoid circular import for FrameLoop constructor
aleclarson May 29, 2020
0133a9f
test(useTransition): unmount after no-op `leave` animation
aleclarson May 29, 2020
ca11a57
feat: throw when a SpringValue is passed to a normal component
aleclarson Jun 2, 2020
4b8cd96
fix: make `useSprings` work with Fast Refresh
aleclarson Jun 2, 2020
be5728f
fix: add `toJSON` method to SpringValue
aleclarson Jun 2, 2020
819393a
fix: omit async "to" from range object
aleclarson Jun 4, 2020
d0089ec
fix: handle falsy to/from props in a better spot
aleclarson Jun 4, 2020
973ab28
fix(Controller): imply `default: true` for constructor props
aleclarson Jun 4, 2020
7bd3fd4
fix: skip updating node for update w/ "to" and w/o "from" (unless "de…
aleclarson Jun 4, 2020
f24b5b0
fix: mistaking a number array for an update array
aleclarson Jun 4, 2020
1b72cc7
fix: treat "to" prop as "from" when animated node is undefined
aleclarson Jun 5, 2020
7daff69
test: enable the animated array test
aleclarson Jun 5, 2020
f3a0576
fix: avoid overriding "to" value with "from" prop
aleclarson Jun 5, 2020
7b3fe64
fix: cancel delayed updates when `stop` or `dispose` is called
aleclarson Jun 7, 2020
ce7086d
fix(Controller): bail out of `_onFrame` call when disposed
aleclarson Jun 7, 2020
7a86a70
test: the `Controller#dispose` method
aleclarson Jun 8, 2020
d58e312
fix: have `SpringValue#dispose` call `stopAsync` directly
aleclarson Jun 8, 2020
2202512
fix: have `stopAsync` clear all `runAsync` state
aleclarson Jun 8, 2020
d59cf8e
test: have `advanceUntilIdle` check the `timeoutQueue` and `startQueu…
aleclarson Jun 8, 2020
f8d8e50
fix: override `pause: true` for looping updates
aleclarson Jun 12, 2020
0d3ad80
fix: handle false `to` prop in the Controller class
aleclarson Jun 14, 2020
ca5684d
types: the `GoalValue` type is incompatible with false
aleclarson Jun 14, 2020
ba7ebee
types: support null in `GoalValues` object
aleclarson Jun 14, 2020
aa7edec
feat: add `cancel` argument to `Controller#stop`
aleclarson Jun 16, 2020
c591273
fix: remove the concept of disposal
aleclarson Jun 16, 2020
973175f
nit: update stale comment
aleclarson Jun 30, 2020
543eb3f
fix: stop using `sideEffects: false`
aleclarson Jul 24, 2020
877e622
fix: schedule the next frame before advancing
aleclarson Jul 29, 2020
41dae42
nit: remove unnecessary `async` keyword
aleclarson Jul 29, 2020
f2a7a55
test: a paused Controller stays paused when its values are force-fini…
aleclarson Jul 30, 2020
bc8bfbf
test: when a SpringValue has its `finish` method called while its Con…
aleclarson Jul 30, 2020
f676b1e
fix(Controller): stop tracking `onStart` calls via the `_phase` property
aleclarson Jul 30, 2020
3b90e82
fix: rewrite `Globals.assign` function
aleclarson Aug 3, 2020
9d45aef
chore: stop using dependency aliasing and tsconfig paths
aleclarson Aug 2, 2020
d4e582a
feat: add `@react-spring/types` package
aleclarson Aug 3, 2020
a17c0b5
chore: update lockfile
Aug 3, 2020
9e52c64
fix: circular dependency
aleclarson Aug 4, 2020
1f600f9
chore: update "@react-spring/shared" readme
aleclarson Aug 4, 2020
31b38e4
fix(useSprings): stop calling `useMemoOne` (fixing Fast Refresh)
aleclarson Aug 6, 2020
7fe3cd4
nit: remove return value from `SpringValue#advance`
aleclarson Aug 19, 2020
ba7bd14
nit: move a comment
aleclarson Aug 25, 2020
d3e4ace
nit: remove unnecessary comment
aleclarson Aug 31, 2020
7e35027
test: when all `Interpolation` inputs are paused
aleclarson Aug 31, 2020
d6ae758
fix: ensure Interpolation is paused when its inputs are
aleclarson Aug 31, 2020
d90f88b
fix: emit a "change" event and reset node state when Interpolation go…
aleclarson Aug 31, 2020
fdf5a88
test: fix broken import
aleclarson Aug 31, 2020
f9d2179
fix: detach from `animation.to` when not observed
aleclarson Sep 1, 2020
e288cfd
test: detach from target when not observed
aleclarson Sep 1, 2020
3df6481
fix(withAnimated): attach new props before detaching old props
aleclarson Sep 1, 2020
eecc98f
test: when target is an animated string
aleclarson Sep 2, 2020
53585e6
test: remove unused tests
aleclarson Sep 2, 2020
ed71f66
fix: force `to` to be 1 for AnimatedString nodes
aleclarson Sep 2, 2020
fbcc55f
fix: always call `_reset` when dynamic goal is updated
aleclarson Sep 2, 2020
fbcff74
fix: unwrap `FluidValue`s before passing to `Animated#reset` method
aleclarson Sep 2, 2020
ff97155
chore: update test snapshots
aleclarson Sep 2, 2020
a15e98a
nit: use `function` keyword
aleclarson Sep 2, 2020
e53fbfb
chore: remove unused export
aleclarson Sep 3, 2020
9234853
feat: add `useSpringRef` hook + more
aleclarson Sep 3, 2020
599001a
fix: let `SpringRef#start` be called without arguments
aleclarson Sep 4, 2020
f43f245
test: update `useSpring` tests for SpringRef
aleclarson Sep 7, 2020
31d66f3
feat: add `SpringRef` support to `useTrail`
aleclarson Sep 18, 2020
189f78a
feat: add `SpringRef` support to `useChain`
aleclarson Sep 18, 2020
9959831
fix(SpringRef): store controllers in an array
aleclarson Sep 19, 2020
6da48dd
test: update `useSprings` tests with SpringRef
aleclarson Sep 19, 2020
e585335
test: update `useSpring` type tests with SpringRef
aleclarson Sep 19, 2020
0be6954
fix: use bitwise flag for active/paused state
aleclarson Sep 5, 2020
b05a2df
nit: remove `defineSpringPhases` function
aleclarson Sep 6, 2020
400055b
types: tweak the `MatchProp` type
aleclarson Sep 7, 2020
3cb0aa1
feat(SpringContext): remove `cancel` and `config` props
aleclarson Sep 7, 2020
ee6166e
fix: prevent SpringContext from resuming an explicitly paused spring
aleclarson Sep 7, 2020
3d63278
types: remove types related to default props
aleclarson Sep 8, 2020
d247eab
fix(FrameLoop): adding an animation during a frame
aleclarson Sep 9, 2020
4ddc2cb
fix: call `willAdvance` global for each animation
aleclarson Sep 9, 2020
48dbd1f
refactor: reduce internal complexity
aleclarson Sep 9, 2020
71536f6
fix(useTransition): stop referencing `context.cancel`
aleclarson Sep 9, 2020
f086315
test: clear the frame cache before expecting frame length
aleclarson Sep 9, 2020
3b64dde
types: fix `OnProps` type
aleclarson Sep 9, 2020
889939b
fix(SpringContext): improve memoization
aleclarson Sep 9, 2020
0552536
fix: use immediate goal as from value when overridden before next frame
aleclarson Sep 15, 2020
8db622a
fix: event prop resolution
aleclarson Sep 15, 2020
bdecdc1
feat(useTransition): when `keys` is null, generate keys internally
aleclarson May 26, 2020
7ffefb7
nit: split `each` function into two
aleclarson Sep 18, 2020
65fc80c
chore: tweak some package.json fields
aleclarson Sep 18, 2020
346b40d
types: add explicit return type annotations
aleclarson Sep 18, 2020
9885fc9
build: use rollup for @react-spring/shared
aleclarson Sep 18, 2020
1207245
build: skip creating a "dist" folder for @react-spring/types
aleclarson Sep 18, 2020
6d9e4d9
chore: fix "react-native" package.json field
aleclarson Sep 18, 2020
db5294d
chore: point to /tree/v9/ url
aleclarson Sep 18, 2020
76bf693
chore: fix dist linking to @react-spring/types
aleclarson Sep 18, 2020
ceb6046
build: link .cjs.d.ts to .d.ts instead of creating two type bundles
aleclarson Sep 18, 2020
58d9ac2
build: use rollup-plugin-esbuild
aleclarson Sep 18, 2020
ba0b4be
build: generate sourcemap for umd bundle
aleclarson Sep 18, 2020
94e0030
chore: update package.json of @react-spring/types
aleclarson Sep 18, 2020
6bdb924
chore: update RN_PKG regex in prepare script
aleclarson Sep 18, 2020
9a2069e
chore: omit "keywords" from @react-spring/animated package.json
aleclarson Sep 18, 2020
817b7d6
build: add "jsdelivr" field to @react-spring/web
aleclarson Sep 18, 2020
5f52544
nit: add small delay between loop in umd testbed
aleclarson Sep 18, 2020
af5a5c7
fix: broken type imports in konva and native targets
aleclarson Sep 18, 2020
e802dc8
chore: upgrade to typescript 4
aleclarson Sep 18, 2020
c663b1c
test: replace ts-jest with esbuild-jest
aleclarson Sep 19, 2020
4dd1f05
test: fix invalid import in `createInterpolator` test
aleclarson Sep 19, 2020
ab75053
chore: remove `typeRoots` in targets/web
aleclarson Sep 19, 2020
c0bbbe0
chore: upgrade to [email protected]
aleclarson Sep 19, 2020
6a86b04
fix(SpringRef): return `this` from stop/pause/resume methods
aleclarson Sep 21, 2020
e12c52c
docs: add discord badge
stephencorwin Aug 6, 2020
62e709e
docs: mention "next" tag in readme
aleclarson Sep 29, 2019
8008aac
chore: remove automatic label for bug reports
aleclarson May 6, 2020
c5f43fd
chore: add commitlint
aleclarson Sep 22, 2020
5d5206a
feat(types): re-export the CSS namespace from csstype
aleclarson Sep 22, 2020
bae2c07
chore: remove Spectrum from issue template
mdugue Sep 22, 2020
f669abc
chore: update lockfile
Sep 22, 2020
0a45f30
feat: add `SpringRef.set` method
aleclarson Sep 23, 2020
18f108f
refactor: reverse the argument order of `ControllerUpdateFn`
aleclarson Sep 23, 2020
47ec8e2
refactor: remove `Controller.reset` method
aleclarson Sep 23, 2020
90949a3
fix(types): remove unused `ResetEvent` type
aleclarson Sep 24, 2020
d4efeae
refactor: make `AnimatedArray.setValue` return a boolean
aleclarson Sep 24, 2020
e00f4b2
fix: argument order of props function call in `useTrail`
aleclarson Sep 24, 2020
f8a54c5
refactor: remove `onDelayEnd` prop
aleclarson Sep 24, 2020
bb4b6b6
fix(types): remove unused `ControllerDefaultProps` type
aleclarson Sep 24, 2020
d61ae94
feat: various improvements to event props
aleclarson Sep 24, 2020
41a7067
fix: make `animated` idempotent for host components
aleclarson Sep 25, 2020
baed8c7
feat: integrate with rafz
aleclarson Sep 26, 2020
bfb3c10
feat: add `Controller#set` method
aleclarson Sep 26, 2020
ebd28f1
chore: update lockfile
Sep 26, 2020
39b40f3
fix: define `batchedUpdates` in @react-spring/native
aleclarson Sep 26, 2020
55a1379
fix: stop merging default pause/cancel in scheduleProps
aleclarson Sep 26, 2020
b9cadec
feat: support `useContext(SpringContext)`
aleclarson Oct 7, 2020
d52948f
feat: reintroduce `onDestroyed` prop for useTransition
aleclarson Oct 8, 2020
95c4fda
fix: stop using `pause: false` by default in loop updates
aleclarson Oct 8, 2020
86dd66d
fix: missing/unused imports
aleclarson Oct 8, 2020
55ca688
chore: update lockfile
Oct 8, 2020
221bebd
fix: useContext(SpringContext) bug
aleclarson Oct 8, 2020
893ac1f
feat: add `onResolve` prop (Controller only)
aleclarson Oct 9, 2020
513f686
fix: unmount transition items even if `leave` is a noop
aleclarson Oct 9, 2020
efc8e56
test: clear the frameloop before each test
aleclarson Oct 9, 2020
f17621e
fix: prefer truthy values in SpringContext
aleclarson Oct 9, 2020
b3da886
fix: update propagation with `useContext(SpringContext)`
aleclarson Oct 9, 2020
9f0331d
fix: treat undefined/false as equal in SpringContext
aleclarson Oct 9, 2020
fc286ea
fix(types): support csstype@3
aleclarson Oct 9, 2020
25d0e2a
fix: import redirect in react-native environment
aleclarson Oct 11, 2020
d6e4087
fix: "transparent" should be converted to rgb
aleclarson Oct 12, 2020
d745976
build: depend on @babel/core
aleclarson Oct 13, 2020
fc09d6f
fix(types): invalid property type for ControllerProps.onResolve
aleclarson Oct 13, 2020
6c98c7d
fix(types): narrow EventKey to keys used by SpringValue
aleclarson Oct 13, 2020
c1279ef
fix(types): remove unused import
aleclarson Oct 13, 2020
f26e12e
chore: update lockfile
Oct 13, 2020
bf86edd
fix(web): use `import type` for csstype
aleclarson Oct 17, 2020
dd24d38
chore: fix webpack warning
aleclarson Oct 18, 2020
e0fbccf
fix: stop calling `raf.clear` in `frameLoop.clear`
aleclarson Oct 19, 2020
323cdc5
test: use `__raf` export
aleclarson Oct 19, 2020
2920664
docs: update `SpringValue#pause` description
aleclarson Oct 19, 2020
da8fafa
chore(deps): upgrade rafz
aleclarson Oct 23, 2020
6f6a2e0
chore: inline `use-memo-one` package
aleclarson Nov 6, 2020
e666ac8
chore: update lockfile
Nov 6, 2020
6ebafe3
refactor: remove nullability from AnimatedObject value
aleclarson Nov 7, 2020
32920d6
fix: compare strings in AnimatedString.setValue
aleclarson Nov 7, 2020
3828832
refactor: merge `AnimatedProps` into `withAnimated`
aleclarson Nov 7, 2020
fd6335a
fix: make `config.progress` affect `config.duration`
aleclarson Nov 9, 2020
ea99294
fix: avoid overwriting `default` prop if defined
aleclarson Nov 20, 2020
9134d0b
chore: upgrade to [email protected]
aleclarson Dec 8, 2020
21ffb67
test: use same `rafz` as @react-spring/shared
aleclarson Dec 19, 2020
3a87dda
fix(build): upgrade esbuild
aleclarson Dec 19, 2020
6e1abeb
chore: fix typescript issues
aleclarson Dec 19, 2020
0045333
chore: update lockfile
Dec 20, 2020
338cc2d
fix: reset to default velocity when goal values are defined
aleclarson Dec 20, 2020
f0d3599
test: fix `getFluidObservers` usage
aleclarson Dec 20, 2020
b5aa42c
test: ensure `onChange` is called for animated arrays
aleclarson Dec 22, 2020
daa71c0
fix(types): update AnimatedObject subclasses
aleclarson Jan 3, 2021
bd3b9f9
feat: let interpolated values be static
aleclarson Jan 17, 2021
26928d9
fix: make successful build by re-adding FrameLoop class local to @rea…
joshuaellis Mar 18, 2021
5722143
fix: typo
joshuaellis Mar 18, 2021
f68a756
chore: add workflow
joshuaellis Mar 18, 2021
14bc71b
chore: change badge
joshuaellis Mar 18, 2021
1f630b9
Update LICENSE
drcmda Mar 18, 2021
5e9b094
fix(shared): resolve circular dependencies (#1150)
khmm12 Mar 18, 2021
6e6c71e
chore(deps): Add react as peer dependency for animated, core and shar…
zachasme Mar 18, 2021
0467ddd
fix(parallax): remove extra targetScroll space (#1023)
localjo Mar 18, 2021
dd83a2f
chore(docs): Fix typo (#1223)
inokawa Mar 18, 2021
e8b1e19
chore(demo): add sandbox env using vite
joshuaellis Mar 20, 2021
0b83331
chore: make types create a dist folder
joshuaellis Mar 21, 2021
e8c6288
chore: add copyfiles to shared
joshuaellis Mar 21, 2021
39a58b8
9.0.0-rc.4
joshuaellis Mar 21, 2021
8248609
chore: add copyfiles to other packages
joshuaellis Mar 21, 2021
b1ac2b4
chore: add copyfiles to other packages
joshuaellis Mar 21, 2021
f8c5e6a
Merge branch 'v9' of https://github.com/pmndrs/react-spring into v9
joshuaellis Mar 21, 2021
1c627dc
Revert "chore: add copyfiles to other packages"
joshuaellis Mar 21, 2021
05cef2f
Revert "chore: add copyfiles to shared"
joshuaellis Mar 21, 2021
4440c6c
Revert "chore: add copyfiles to shared"
joshuaellis Mar 21, 2021
3e8e012
Merge branch 'v9' of https://github.com/pmndrs/react-spring into v9
joshuaellis Mar 22, 2021
b2c7555
chore: remove scripts from prepare
joshuaellis Mar 22, 2021
582711f
chore: edit build script
joshuaellis Mar 22, 2021
07b987d
feat: add three-v5 & use v6 r3f
joshuaellis Mar 22, 2021
39a9609
feat: add three-v5 & use v6 r3f
joshuaellis Mar 22, 2021
e886e3a
Merge branch 'v9' of https://github.com/pmndrs/react-spring into v9
joshuaellis Mar 22, 2021
c3816ca
chore: re-add prepare scripts
joshuaellis Mar 22, 2021
57bb427
fix: scrollTop is not set when from & to are equal #1185 (#1354)
Rohanhacker Mar 22, 2021
10b2492
chore: remove maintainer
joshuaellis Mar 22, 2021
832a26d
Merge branch 'v9' of https://github.com/pmndrs/react-spring into v9
joshuaellis Mar 22, 2021
aec6881
chore: merge master
joshuaellis Mar 23, 2021
a9b80a4
feat: Add Sandbox CI (#1358)
joshuaellis Mar 23, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
24 changes: 0 additions & 24 deletions .babelrc

This file was deleted.

5 changes: 5 additions & 0 deletions .codesandbox/ci.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"packages": ["packages/*", "targets/*"],
"sandboxes": ["/demo/src/sandboxes/card", "/demo/src/sandboxes/gooBlobs"],
"node": "14"
}
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/question.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ about: Ask the maintainers (as a last resort)

## 🤓 Question

(You _must_ search the issues before asking your question. Please consider asking in [the official Spectrum community](https://spectrum.chat/react-spring) and/or [Stack Overflow](https://stackoverflow.com) first.)
(You _must_ search the issues before asking your question. Please consider asking in [the Discussions tab](https://github.com/pmndrs/react-spring/discussions) and/or [Stack Overflow](https://stackoverflow.com) first.)
23 changes: 23 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: release
on:
push: {}
pull_request: {}
jobs:
main:
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ secrets.GITHUB_TOKEN }}
- name: Checkout repo
uses: actions/checkout@v2
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: '14.x'
- name: Install deps
# this runs a build script so there is no dedicated build
run: yarn install
- name: Run tests
run: yarn test:ts && yarn test
11 changes: 7 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
dist/
.bic_cache
.rpt2_cache/
node_modules/
coverage/
dist/
Thumbs.db
ehthumbs.db
Desktop.ini
$RECYCLE.BIN/
.DS_Store
.vscode
.docz/
package-lock.json
coverage/
report.*.json
.idea
*.log
/docs/
/examples/
6 changes: 6 additions & 0 deletions .meta
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"projects": {
"docs": "https://github.com/react-spring/react-spring.io.git",
"examples": "https://github.com/react-spring/react-spring-examples.git"
}
}
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.log
9 changes: 9 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"arrowParens": "avoid",
"jsxBracketSameLine": true,
"printWidth": 80,
"semi": false,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "es5"
}
261 changes: 0 additions & 261 deletions .size-snapshot.json

This file was deleted.

5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
language: node_js
node_js:
- stable
- stable
script:
- yarn test:ts
- yarn test
Loading