Skip to content

Commit

Permalink
Move to turbo (#3801)
Browse files Browse the repository at this point in the history
* Move to turbo

* Remove lerna flags

* Rename dev -> start

* Fix prepublish
  • Loading branch information
jaredpalmer committed May 27, 2023
1 parent b4e7488 commit c3acdbd
Show file tree
Hide file tree
Showing 7 changed files with 166 additions and 3,792 deletions.
21 changes: 0 additions & 21 deletions lerna.json

This file was deleted.

13 changes: 5 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,19 @@
"@changesets/cli": "^2.10.3",
"@types/jest": "^26.0.14",
"cypress": "^12.13.0",
"got": "10.0.4",
"husky": "^4.3.0",
"lerna": "^3.19.0",
"lint-staged": "^10.4.0",
"prettier": "^2.1.2",
"release": "6.0.1"
"turbo": "^1.9.9"
},
"workspaces": [
"packages/*"
],
"scripts": {
"lerna": "lerna",
"dev": "lerna run start --stream --parallel",
"test": "lerna run test --",
"build": "lerna run build",
"prepublish": "lerna run prepublish",
"dev": "turbo run start",
"test": "turbo run test --",
"build": "turbo run build",
"prepublish": "turbo run build",
"format": "prettier --write 'examples/**/*' 'packages/*/src/**/*' 'website/src/**/*.{ts,tsx,js,jsx,md,mdx}' 'app/pages/**/*' 'packages/*/test/**/*' 'README.md'",
"changeset": "changeset",
"release": "changeset publish",
Expand Down
7 changes: 4 additions & 3 deletions packages/formik-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,14 @@
"module": "dist/index.esm.js",
"react-native": "src/index.js",
"typings": "dist/index.d.ts",
"files": ["dist"],
"files": [
"dist"
],
"scripts": {
"start": "tsdx watch --tsconfig tsconfig.build.json --verbose --noClean",
"build": "tsdx build --tsconfig tsconfig.build.json",
"test": "tsdx test",
"lint": "tsdx lint",
"prepublish": "npm run build"
"lint": "tsdx lint"
},
"peerDependencies": {
"react": ">=16.8.0"
Expand Down
7 changes: 4 additions & 3 deletions packages/formik/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@
"umd:main": "dist/formik.umd.production.js",
"module": "dist/formik.esm.js",
"typings": "dist/index.d.ts",
"files": ["dist"],
"files": [
"dist"
],
"peerDependencies": {
"react": ">=16.8.0"
},
Expand All @@ -39,8 +41,7 @@
"test:watch": "npm run test -- --watchAll",
"start": "tsdx watch --tsconfig tsconfig.build.json --verbose --noClean",
"build": "tsdx build --tsconfig tsconfig.build.json",
"lint": "tsdx lint",
"prepublish": "npm run build"
"lint": "tsdx lint"
},
"dependencies": {
"deepmerge": "^2.1.1",
Expand Down
119 changes: 0 additions & 119 deletions scripts/release-notes.js

This file was deleted.

19 changes: 19 additions & 0 deletions turbo.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"$schema": "https://turbo.build/schema.json",
"pipeline": {
"build": {
"dependsOn": ["^build"],
"outputs": ["dist/**", ".next/**", "!.next/cache/**"]
},
"lint": {
"dependsOn": ["^build", "build"]
},
"test": {
"dependsOn": ["^build", "build"]
},
"start": {
"cache": false,
"persistent": true
}
}
}

1 comment on commit c3acdbd

@vercel
Copy link

@vercel vercel bot commented on c3acdbd May 27, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deployment failed with the following error:

Resource is limited - try again in 53 minutes (more than 100, code: "api-deployments-free-per-day").

Please sign in to comment.