Skip to content

Commit

Permalink
sequence
Browse files Browse the repository at this point in the history
  • Loading branch information
nandorojo committed Oct 4, 2024
1 parent 80dd6d1 commit 5639437
Show file tree
Hide file tree
Showing 7 changed files with 246 additions and 9 deletions.
Binary file modified .yarn/install-state.gz
Binary file not shown.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.



**Note:** Version bump only for package moti





# [0.29.0](https://github.com/nandorojo/moti/compare/v0.28.0...v0.29.0) (2024-05-14)

**Note:** Version bump only for package moti
Expand Down
134 changes: 128 additions & 6 deletions lerna-debug.log
Original file line number Diff line number Diff line change
@@ -1,6 +1,128 @@
62 error Error: Command failed: git tag v0.25.0 -m v0.25.0
62 error fatal: tag 'v0.25.0' already exists
62 error
62 error at makeError (/Users/fernandorojo/Developer/q1-2023/moti/node_modules/execa/index.js:174:9)
62 error at /Users/fernandorojo/Developer/q1-2023/moti/node_modules/execa/index.js:278:16
62 error at processTicksAndRejections (node:internal/process/task_queues:96:5)
0 silly argv {
0 silly argv _: [ 'version' ],
0 silly argv lernaVersion: '3.22.1',
0 silly argv '$0': 'node_modules/lerna/cli.js',
0 silly argv bump: '0.29.0'
0 silly argv }
1 notice cli v3.22.1
2 verbose rootPath /Users/fernandorojo/Developer/q1-2023/moti
3 info current version 0.28.1
4 silly isAnythingCommitted
5 verbose isAnythingCommitted 1
6 silly currentBranch
7 verbose currentBranch master
8 silly remoteBranchExists
9 silly isBehindUpstream
10 silly isBehindUpstream master is behind origin/master by 0 commit(s) and ahead by 0
11 silly hasTags
12 verbose hasTags true
13 silly git-describe.sync "v0.24.0-45-gf3a1e92" => {"lastTagName":"v0.24.0","lastVersion":"v0.24.0","refCount":"45","sha":"f3a1e92","isDirty":false}
14 info Looking for changed packages since v0.24.0
15 info ignoring diff in paths matching [ '**/__fixtures__/**', '**/__tests__/**', '**/*.md', '**/example/**' ]
16 silly checking diff packages/moti
17 silly found diff in packages/moti/CHANGELOG.md
17 silly found diff in packages/moti/README.md
17 silly found diff in packages/moti/author/index.d.ts
17 silly found diff in packages/moti/author/index.js
17 silly found diff in packages/moti/index.d.ts
17 silly found diff in packages/moti/metro.config.js
17 silly found diff in packages/moti/package.json
17 silly found diff in packages/moti/src/author/index.ts
17 silly found diff in packages/moti/src/components/progress/index.tsx
17 silly found diff in packages/moti/src/core/motify.tsx
17 silly found diff in packages/moti/src/core/types.ts
17 silly found diff in packages/moti/src/core/use-motify.ts
17 silly found diff in packages/moti/src/interactions/pressable/hoverable-context.tsx
17 silly found diff in packages/moti/src/interactions/pressable/pressable.tsx
17 silly found diff in packages/moti/src/interactions/pressable/types.ts
17 silly found diff in packages/moti/src/interactions/pressable/use-moti-pressable-animated-props.ts
17 silly found diff in packages/moti/src/interactions/pressable/use-moti-pressable-interpolate.ts
17 silly found diff in packages/moti/src/interactions/pressable/use-moti-pressable-transition.ts
17 silly found diff in packages/moti/src/interactions/pressable/use-pressable.ts
17 silly found diff in packages/moti/src/interactions/pressable/use-validate-factory-or-id.ts
17 silly found diff in packages/moti/src/skeleton/expo.tsx
17 silly found diff in packages/moti/src/skeleton/native.tsx
17 silly found diff in packages/moti/src/skeleton/skeleton-new.tsx
17 silly found diff in packages/moti/src/skeleton/types.ts
17 silly found diff in packages/moti/src/svg/motify-svg.tsx
17 silly found diff in packages/moti/tsconfig.json
18 verbose filtered diff [
18 verbose filtered diff 'packages/moti/author/index.d.ts',
18 verbose filtered diff 'packages/moti/author/index.js',
18 verbose filtered diff 'packages/moti/index.d.ts',
18 verbose filtered diff 'packages/moti/metro.config.js',
18 verbose filtered diff 'packages/moti/package.json',
18 verbose filtered diff 'packages/moti/src/author/index.ts',
18 verbose filtered diff 'packages/moti/src/components/progress/index.tsx',
18 verbose filtered diff 'packages/moti/src/core/motify.tsx',
18 verbose filtered diff 'packages/moti/src/core/types.ts',
18 verbose filtered diff 'packages/moti/src/core/use-motify.ts',
18 verbose filtered diff 'packages/moti/src/interactions/pressable/hoverable-context.tsx',
18 verbose filtered diff 'packages/moti/src/interactions/pressable/pressable.tsx',
18 verbose filtered diff 'packages/moti/src/interactions/pressable/types.ts',
18 verbose filtered diff 'packages/moti/src/interactions/pressable/use-moti-pressable-animated-props.ts',
18 verbose filtered diff 'packages/moti/src/interactions/pressable/use-moti-pressable-interpolate.ts',
18 verbose filtered diff 'packages/moti/src/interactions/pressable/use-moti-pressable-transition.ts',
18 verbose filtered diff 'packages/moti/src/interactions/pressable/use-pressable.ts',
18 verbose filtered diff 'packages/moti/src/interactions/pressable/use-validate-factory-or-id.ts',
18 verbose filtered diff 'packages/moti/src/skeleton/expo.tsx',
18 verbose filtered diff 'packages/moti/src/skeleton/native.tsx',
18 verbose filtered diff 'packages/moti/src/skeleton/skeleton-new.tsx',
18 verbose filtered diff 'packages/moti/src/skeleton/types.ts',
18 verbose filtered diff 'packages/moti/src/svg/motify-svg.tsx',
18 verbose filtered diff 'packages/moti/tsconfig.json'
18 verbose filtered diff ]
19 verbose updated moti
20 info version rooted leaf detected, skipping synthetic root lifecycles
21 verbose git-describe undefined => "v0.24.0-45-gf3a1e92"
22 silly git-describe parsed => {"lastTagName":"v0.24.0","lastVersion":"v0.24.0","refCount":"45","sha":"f3a1e92","isDirty":false}
23 info execute Creating releases...
24 silly lifecycle No script for "preversion" in "moti", continuing
25 silly lifecycle No script for "version" in "moti", continuing
26 silly fixed for moti at /Users/fernandorojo/Developer/q1-2023/moti/packages/moti
27 verbose getChangelogConfig using preset "conventional-changelog-angular"
28 silly npa Result {
28 silly npa type: 'tag',
28 silly npa registry: true,
28 silly npa where: undefined,
28 silly npa raw: 'conventional-changelog-angular',
28 silly npa name: 'conventional-changelog-angular',
28 silly npa escapedName: 'conventional-changelog-angular',
28 silly npa scope: undefined,
28 silly npa rawSpec: '',
28 silly npa saveSpec: null,
28 silly npa fetchSpec: 'latest',
28 silly npa gitRange: undefined,
28 silly npa gitCommittish: undefined,
28 silly npa hosted: undefined
28 silly npa }
29 verbose getChangelogConfig Attempting to resolve preset "conventional-changelog-angular"
30 info getChangelogConfig Successfully resolved preset "conventional-changelog-angular"
31 silly fixed writing new entry: "# [0.29.0](https://github.com/nandorojo/moti/compare/v0.28.0...v0.29.0) (2024-05-14)\n\n**Note:** Version bump only for package moti\n\n\n\n"
32 verbose fixed wrote /Users/fernandorojo/Developer/q1-2023/moti/packages/moti/CHANGELOG.md
33 silly root for moti at /Users/fernandorojo/Developer/q1-2023/moti
34 silly root writing new entry: "# [0.29.0](https://github.com/nandorojo/moti/compare/v0.28.0...v0.29.0) (2024-05-14)\n\n**Note:** Version bump only for package moti\n\n\n\n"
35 verbose root wrote /Users/fernandorojo/Developer/q1-2023/moti/CHANGELOG.md
36 silly gitAdd [
36 silly gitAdd 'packages/moti/package.json',
36 silly gitAdd 'packages/moti/CHANGELOG.md',
36 silly gitAdd 'CHANGELOG.md',
36 silly gitAdd 'lerna.json'
36 silly gitAdd ]
37 silly gitCommit chore: publish
38 verbose git [ 'commit', '-m', 'chore: publish' ]
39 silly gitTag v0.29.0
40 verbose git [ 'tag', 'v0.29.0', '-m', 'v0.29.0' ]
41 silly lifecycle No script for "postversion" in "moti", continuing
42 info git Pushing tags...
43 silly gitPush origin master
44 silly parseGitRepo
45 verbose git [ 'config', '--get', 'remote.origin.url' ]
46 silly createGitHubClient
47 error Error: A GH_TOKEN environment variable is required.
47 error at createGitHubClient (/Users/fernandorojo/Developer/q1-2023/moti/node_modules/@lerna/github-client/lib/github-client.js:17:11)
47 error at createClient (/Users/fernandorojo/Developer/q1-2023/moti/node_modules/@lerna/version/lib/create-release.js:16:14)
47 error at createRelease (/Users/fernandorojo/Developer/q1-2023/moti/node_modules/@lerna/version/lib/create-release.js:25:18)
47 error at /Users/fernandorojo/Developer/q1-2023/moti/node_modules/@lerna/version/index.js:282:9
47 error at /Users/fernandorojo/Developer/q1-2023/moti/node_modules/p-waterfall/index.js:4:73
47 error at /Users/fernandorojo/Developer/q1-2023/moti/node_modules/p-reduce/index.js:16:10
8 changes: 8 additions & 0 deletions packages/moti/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.



**Note:** Version bump only for package moti





# [0.29.0](https://github.com/nandorojo/moti/compare/v0.28.0...v0.29.0) (2024-05-14)

**Note:** Version bump only for package moti
Expand Down
28 changes: 28 additions & 0 deletions packages/moti/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,33 @@
"svg",
"author"
],
"exports": {
".": {
"import": "./build/index.js",
"require": "./build/index.js",
"types": "./index.d.ts"
},
"./interactions": {
"import": "./build/interactions/index.js",
"require": "./build/interactions/index.js",
"types": "./interactions/index.d.ts"
},
"./skeleton": {
"import": "./build/skeleton/index.js",
"require": "./build/skeleton/index.js",
"types": "./skeleton/index.d.ts"
},
"./svg": {
"import": "./build/svg/index.js",
"require": "./build/svg/index.js",
"types": "./svg/index.d.ts"
},
"./author": {
"import": "./build/author/index.js",
"require": "./build/author/index.js",
"types": "./author/index.d.ts"
}
},
"sideEffects": false,
"publishConfig": {
"access": "public"
Expand All @@ -48,6 +75,7 @@
"react-native-reanimated": "*"
},
"devDependencies": {
"@react-navigation/native": "^6.1.18",
"expo-linear-gradient": "^10.0.3",
"expo-module-scripts": "^3.4.1",
"react-native-linear-gradient": "^2.6.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/moti/src/core/use-motify.ts
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@ export function useMotify<Animate>({
animation,
callback
)
let finalValue = withSequence(sequence[0], ...sequence.slice(1))
let finalValue = withSequence(...sequence)
if (shouldRepeat) {
finalValue = withRepeat(finalValue, repeatCount, repeatReverse)
}
Expand Down
75 changes: 73 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4548,6 +4548,46 @@ __metadata:
languageName: node
linkType: hard

"@react-navigation/core@npm:^6.4.17":
version: 6.4.17
resolution: "@react-navigation/core@npm:6.4.17"
dependencies:
"@react-navigation/routers": "npm:^6.1.9"
escape-string-regexp: "npm:^4.0.0"
nanoid: "npm:^3.1.23"
query-string: "npm:^7.1.3"
react-is: "npm:^16.13.0"
use-latest-callback: "npm:^0.2.1"
peerDependencies:
react: "*"
checksum: 10c0/f71fc10dd34d0bd13abd9c947833b9f5ac6aa18af58f74aa72bac45a5d348a4881924fec6534e7694d7084d940d7dac368a1b1fe7d86b260ff5cf475498e9d1b
languageName: node
linkType: hard

"@react-navigation/native@npm:^6.1.18":
version: 6.1.18
resolution: "@react-navigation/native@npm:6.1.18"
dependencies:
"@react-navigation/core": "npm:^6.4.17"
escape-string-regexp: "npm:^4.0.0"
fast-deep-equal: "npm:^3.1.3"
nanoid: "npm:^3.1.23"
peerDependencies:
react: "*"
react-native: "*"
checksum: 10c0/1f7138da298067f537a22c5ab2e8e8529e83df8f87c5c61e84afdcd49d6ba1409f44a33bac3bd08bb11bcfba3f1c84574b7aa0a67b28531e4520d485bd4e3b9b
languageName: node
linkType: hard

"@react-navigation/routers@npm:^6.1.9":
version: 6.1.9
resolution: "@react-navigation/routers@npm:6.1.9"
dependencies:
nanoid: "npm:^3.1.23"
checksum: 10c0/5b58014cf29bb71c7dc01201e271d55f0ecfe6d38d064179eeff0fc0b5cb739d4d9906eb133f100d25fc674c72c24aa65d5f6bfc3d036d79f7c5d1936391c605
languageName: node
linkType: hard

"@rnx-kit/chromium-edge-launcher@npm:^1.0.0":
version: 1.0.0
resolution: "@rnx-kit/chromium-edge-launcher@npm:1.0.0"
Expand Down Expand Up @@ -7679,7 +7719,7 @@ __metadata:
languageName: node
linkType: hard

"decode-uri-component@npm:^0.2.0":
"decode-uri-component@npm:^0.2.0, decode-uri-component@npm:^0.2.2":
version: 0.2.2
resolution: "decode-uri-component@npm:0.2.2"
checksum: 10c0/1f4fa54eb740414a816b3f6c24818fbfcabd74ac478391e9f4e2282c994127db02010ce804f3d08e38255493cfe68608b3f5c8e09fd6efc4ae46c807691f7a31
Expand Down Expand Up @@ -13473,6 +13513,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "moti@workspace:packages/moti"
dependencies:
"@react-navigation/native": "npm:^6.1.18"
expo-linear-gradient: "npm:^10.0.3"
expo-module-scripts: "npm:^3.4.1"
framer-motion: "npm:^6.5.1"
Expand Down Expand Up @@ -13556,6 +13597,15 @@ __metadata:
languageName: node
linkType: hard

"nanoid@npm:^3.1.23":
version: 3.3.7
resolution: "nanoid@npm:3.3.7"
bin:
nanoid: bin/nanoid.cjs
checksum: 10c0/e3fb661aa083454f40500473bb69eedb85dc160e763150b9a2c567c7e9ff560ce028a9f833123b618a6ea742e311138b591910e795614a629029e86e180660f3
languageName: node
linkType: hard

"nanomatch@npm:^1.2.9":
version: 1.2.13
resolution: "nanomatch@npm:1.2.13"
Expand Down Expand Up @@ -15061,6 +15111,18 @@ __metadata:
languageName: node
linkType: hard

"query-string@npm:^7.1.3":
version: 7.1.3
resolution: "query-string@npm:7.1.3"
dependencies:
decode-uri-component: "npm:^0.2.2"
filter-obj: "npm:^1.1.0"
split-on-first: "npm:^1.0.0"
strict-uri-encode: "npm:^2.0.0"
checksum: 10c0/a896c08e9e0d4f8ffd89a572d11f668c8d0f7df9c27c6f49b92ab31366d3ba0e9c331b9a620ee747893436cd1f2f821a6327e2bc9776bde2402ac6c270b801b2
languageName: node
linkType: hard

"querystring@npm:^0.2.1":
version: 0.2.1
resolution: "querystring@npm:0.2.1"
Expand Down Expand Up @@ -15154,7 +15216,7 @@ __metadata:
languageName: node
linkType: hard

"react-is@npm:^16.13.1":
"react-is@npm:^16.13.0, react-is@npm:^16.13.1":
version: 16.13.1
resolution: "react-is@npm:16.13.1"
checksum: 10c0/33977da7a5f1a287936a0c85639fec6ca74f4f15ef1e59a6bc20338fc73dc69555381e211f7a3529b8150a1f71e4225525b41b60b52965bda53ce7d47377ada1
Expand Down Expand Up @@ -18261,6 +18323,15 @@ __metadata:
languageName: node
linkType: hard

"use-latest-callback@npm:^0.2.1":
version: 0.2.1
resolution: "use-latest-callback@npm:0.2.1"
peerDependencies:
react: ">=16.8"
checksum: 10c0/66debcd5ac30aa0198669314177c7b30902787131c98c8130695555655426b43c678f84acc98a49284d50257396ed1ac4e257f3a5fc1d2a0f09ec741c08bfda9
languageName: node
linkType: hard

"use@npm:^3.1.0":
version: 3.1.1
resolution: "use@npm:3.1.1"
Expand Down

0 comments on commit 5639437

Please sign in to comment.