Skip to content

Commit

Permalink
fix: setup turbo
Browse files Browse the repository at this point in the history
  • Loading branch information
Naturalclar committed Apr 17, 2024
1 parent 2929d3d commit 766cf4f
Show file tree
Hide file tree
Showing 9 changed files with 65 additions and 124 deletions.
92 changes: 0 additions & 92 deletions .clang-format

This file was deleted.

5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,7 @@ web-build
dist/

# yarn files
.yarn
.yarn

# turbo files
.turbo
3 changes: 0 additions & 3 deletions app.config.js

This file was deleted.

14 changes: 0 additions & 14 deletions babel.config.js

This file was deleted.

9 changes: 0 additions & 9 deletions index.js

This file was deleted.

4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
{
"author": "Jesse Katsumata <[email protected]> (Naturalclar)",
"description": "React Native Picker for iOS, Android, macOS, and Windows",
"scripts": {
"lint": "turbo lint"
},
"devDependencies": {
"@react-native/eslint-config": "^0.72.2",
"eslint": "^8.4.1",
"prettier": "^2.2.1",
"react-native-test-app": "^3.5.8",
"turbo": "^1.13.2",
"typescript": "^4.2.3"
},
"homepage": "https://github.com/react-native-picker/picker#readme",
Expand Down
9 changes: 4 additions & 5 deletions packages/picker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,10 @@
"web": "expo web",
"android": "react-native run-android",
"macos": "cd example && react-native run-macos",
"test": "yarn validate:eslint && yarn validate:flow && yarn validate:typescript && yarn test:jest",
"validate:eslint": "eslint 'js/**/*.js' 'example/**/*.js'",
"validate:flow": "flow check",
"validate:typescript": "tsc --project ./",
"test:jest": "jest js/",
"lint": "eslint 'js/**/*.js'",
"flow": "flow check",
"typecheck": "tsc --project ./",
"test": "jest js/",
"ci:publish": "yarn semantic-release",
"semantic-release": "semantic-release"
},
Expand Down
11 changes: 11 additions & 0 deletions turbo.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"$schema": "https://turbo.build/schema.json",
"pipeline":{
"lint": {
"dependsOn": ["^lint"]
},
"typecheck": {
"dependsOn": ["^typecheck"]
}
}
}
42 changes: 42 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -18684,6 +18684,48 @@ [email protected]:
resolved "https://registry.yarnpkg.com/tty-browserify/-/tty-browserify-0.0.0.tgz#a157ba402da24e9bf957f9aa69d524eed42901a6"
integrity sha512-JVa5ijo+j/sOoHGjw0sxw734b1LhBkQ3bvUGNdxnVXDCX81Yx7TFgnZygxrIIWn23hbfTaMYLwRmAxFyDuFmIw==

[email protected]:
version "1.13.2"
resolved "https://registry.yarnpkg.com/turbo-darwin-64/-/turbo-darwin-64-1.13.2.tgz#34c8c8a06e9c38ed9cbd219b2ade6e83f02bc7b3"
integrity sha512-CCSuD8CfmtncpohCuIgq7eAzUas0IwSbHfI8/Q3vKObTdXyN8vAo01gwqXjDGpzG9bTEVedD0GmLbD23dR0MLA==

[email protected]:
version "1.13.2"
resolved "https://registry.yarnpkg.com/turbo-darwin-arm64/-/turbo-darwin-arm64-1.13.2.tgz#2fd380e13b8cd75d1514c433d196ea4be097230c"
integrity sha512-0HySm06/D2N91rJJ89FbiI/AodmY8B3WDSFTVEpu2+8spUw7hOJ8okWOT0e5iGlyayUP9gr31eOeL3VFZkpfCw==

[email protected]:
version "1.13.2"
resolved "https://registry.yarnpkg.com/turbo-linux-64/-/turbo-linux-64-1.13.2.tgz#a861fb4180e0a601459b79837b4e2ded27c7ffa7"
integrity sha512-7HnibgbqZrjn4lcfIouzlPu8ZHSBtURG4c7Bedu7WJUDeZo+RE1crlrQm8wuwO54S0siYqUqo7GNHxu4IXbioQ==

[email protected]:
version "1.13.2"
resolved "https://registry.yarnpkg.com/turbo-linux-arm64/-/turbo-linux-arm64-1.13.2.tgz#e0d290ea338eb8e5fb8905547954d36f81d8d7fa"
integrity sha512-sUq4dbpk6SNKg/Hkwn256Vj2AEYSQdG96repio894h5/LEfauIK2QYiC/xxAeW3WBMc6BngmvNyURIg7ltrePg==

[email protected]:
version "1.13.2"
resolved "https://registry.yarnpkg.com/turbo-windows-64/-/turbo-windows-64-1.13.2.tgz#c9821ea0d34204d3bed28ccfb096c520dbe3c209"
integrity sha512-DqzhcrciWq3dpzllJR2VVIyOhSlXYCo4mNEWl98DJ3FZ08PEzcI3ceudlH6F0t/nIcfSItK1bDP39cs7YoZHEA==

[email protected]:
version "1.13.2"
resolved "https://registry.yarnpkg.com/turbo-windows-arm64/-/turbo-windows-arm64-1.13.2.tgz#07d6a01a1bfc6293ee8365cf3639914244f6f0b9"
integrity sha512-WnPMrwfCXxK69CdDfS1/j2DlzcKxSmycgDAqV0XCYpK/812KB0KlvsVAt5PjEbZGXkY88pCJ1BLZHAjF5FcbqA==

turbo@^1.13.2:
version "1.13.2"
resolved "https://registry.yarnpkg.com/turbo/-/turbo-1.13.2.tgz#c45919cb1cebc86390516184396247eedf65e232"
integrity sha512-rX/d9f4MgRT3yK6cERPAkfavIxbpBZowDQpgvkYwGMGDQ0Nvw1nc0NVjruE76GrzXQqoxR1UpnmEP54vBARFHQ==
optionalDependencies:
turbo-darwin-64 "1.13.2"
turbo-darwin-arm64 "1.13.2"
turbo-linux-64 "1.13.2"
turbo-linux-arm64 "1.13.2"
turbo-windows-64 "1.13.2"
turbo-windows-arm64 "1.13.2"

type-check@^0.4.0, type-check@~0.4.0:
version "0.4.0"
resolved "https://registry.yarnpkg.com/type-check/-/type-check-0.4.0.tgz#07b8203bfa7056c0657050e3ccd2c37730bab8f1"
Expand Down

0 comments on commit 766cf4f

Please sign in to comment.