create-turbo 1.0.1 → 1.0.5

Sign up to get free protection for your applications and to get access to all the features.
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Welcome to Turborepo
2
2
 
3
- [Turborepo](https://tureborepo.org) is a high-performance monorepo build-system for modern JavaScript and TypeScript codebases.
3
+ [Turborepo](https://turborepo.org) is a high-performance monorepo build-system for modern JavaScript and TypeScript codebases.
4
4
 
5
5
  To get started, open a new shell and run:
6
6
 
@@ -10,4 +10,4 @@ $ npx create-turbo@latest
10
10
 
11
11
  Then follow the prompts you see in your terminal.
12
12
 
13
- For more information about Turborepo, [visit tuborepo.org](https://turborepo.org) and follow us on Twitter ([@turborepo](https://twitter.com/turborepo))!
13
+ For more information about Turborepo, [visit turborepo.org](https://turborepo.org) and follow us on Twitter ([@turborepo](https://twitter.com/turborepo))!
package/dist/index.js CHANGED
@@ -31,7 +31,7 @@ var import_chalk = __toModule(require("chalk"));
31
31
 
32
32
  // package.json
33
33
  var name = "create-turbo";
34
- var version = "1.0.1";
34
+ var version = "1.0.5";
35
35
  var description = "Create a new Turborepo";
36
36
  var homepage = "https://turborepo.org";
37
37
  var license = "MPL-2.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-turbo",
3
- "version": "1.0.1",
3
+ "version": "1.0.5",
4
4
  "description": "Create a new Turborepo",
5
5
  "homepage": "https://turborepo.org",
6
6
  "license": "MPL-2.0",
@@ -3,7 +3,7 @@
3
3
  "version": "1.0.0",
4
4
  "private": true,
5
5
  "scripts": {
6
- "dev": "next dev",
6
+ "dev": "next dev --port 3001",
7
7
  "build": "next build",
8
8
  "start": "next start",
9
9
  "lint": "next lint"
@@ -11,7 +11,8 @@
11
11
  "dependencies": {
12
12
  "next": "12.0.3",
13
13
  "react": "17.0.2",
14
- "react-dom": "17.0.2"
14
+ "react-dom": "17.0.2",
15
+ "ui": "*"
15
16
  },
16
17
  "devDependencies": {
17
18
  "config": "*",
@@ -1,6 +1,6 @@
1
1
  import { Button } from "ui";
2
2
 
3
- export default function Checkout() {
3
+ export default function Docs() {
4
4
  return (
5
5
  <div>
6
6
  <h1>Docs</h1>
@@ -11,7 +11,8 @@
11
11
  "dependencies": {
12
12
  "next": "12.0.3",
13
13
  "react": "17.0.2",
14
- "react-dom": "17.0.2"
14
+ "react-dom": "17.0.2",
15
+ "ui": "*"
15
16
  },
16
17
  "devDependencies": {
17
18
  "config": "*",
@@ -1,9 +1,9 @@
1
1
  import { Button } from "ui";
2
2
 
3
- export default function Checkout() {
3
+ export default function Web() {
4
4
  return (
5
5
  <div>
6
- <h1>Docs</h1>
6
+ <h1>Web</h1>
7
7
  <Button />
8
8
  </div>
9
9
  );
@@ -7,9 +7,9 @@
7
7
  "packages/*"
8
8
  ],
9
9
  "scripts": {
10
- "build": "yarn turbo run build",
11
- "dev": "yarn turbo run dev --parallel",
12
- "lint": "yarn turbo run lint",
10
+ "build": "turbo run build",
11
+ "dev": "turbo run dev --parallel",
12
+ "lint": "turbo run lint",
13
13
  "format": "prettier --write '**/*.{ts,tsx,.md}'"
14
14
  },
15
15
  "devDependencies": {
@@ -27,25 +27,25 @@ This turborepo has some additional tools already setup for you:
27
27
 
28
28
  ## Setup
29
29
 
30
- This repository is used in the `npx create-turbo` command, and selected when choosing which package manager you wish to use with your monorepo (NPM).
30
+ This repository is used in the `npx create-turbo@latest` command, and selected when choosing which package manager you wish to use with your monorepo (NPM).
31
31
 
32
32
  ### Build
33
33
 
34
34
  To build all apps and packages, run the following command:
35
35
 
36
- ´´´
36
+ ```
37
37
  cd my-turborepo
38
38
  npm run build
39
- ´´´
39
+ ```
40
40
 
41
41
  ### Develop
42
42
 
43
43
  To develop all apps and packages, run the following command:
44
44
 
45
- ´´´
45
+ ```
46
46
  cd my-turborepo
47
47
  npm run dev
48
- ´´´
48
+ ```
49
49
 
50
50
  ### Remote Caching
51
51
 
@@ -53,18 +53,18 @@ Turborepo can use a technique known as [Remote Caching (Beta)](https://turborepo
53
53
 
54
54
  By default, Turborepo will cache locally. To enable Remote Caching (Beta) you will need an account with Vercel. If you don't have an account you can [create one](https://vercel.com/signup), then enter the following commands:
55
55
 
56
- ´´´
56
+ ```
57
57
  cd my-turborepo
58
58
  npx turbo login
59
- ´´´
59
+ ```
60
60
 
61
61
  This will authenticate the Turborepo CLI with your [Vercel account](https://vercel.com/docs/concepts/personal-accounts/overview).
62
62
 
63
63
  Next, you can link your Turborepo to your Remote Cache by running the following command from the root of your turborepo:
64
64
 
65
- ´´´
65
+ ```
66
66
  npx turbo link
67
- ´´´
67
+ ```
68
68
 
69
69
  ## Useful Links
70
70
 
@@ -7,9 +7,9 @@
7
7
  "packages/*"
8
8
  ],
9
9
  "scripts": {
10
- "build": "yarn turbo run build",
11
- "dev": "yarn turbo run dev --parallel",
12
- "lint": "yarn turbo run lint",
10
+ "build": "turbo run build",
11
+ "dev": "turbo run dev --parallel",
12
+ "lint": "turbo run lint",
13
13
  "format": "prettier --write '**/*.{ts,tsx,.md}'"
14
14
  },
15
15
  "devDependencies": {
@@ -27,25 +27,25 @@ This turborepo has some additional tools already setup for you:
27
27
 
28
28
  ## Setup
29
29
 
30
- This repository is used in the `npx create-turbo` command, and selected when choosing which package manager you wish to use with your monorepo (PNPM).
30
+ This repository is used in the `npx create-turbo@latest` command, and selected when choosing which package manager you wish to use with your monorepo (PNPM).
31
31
 
32
32
  ### Build
33
33
 
34
34
  To build all apps and packages, run the following command:
35
35
 
36
- ´´´
36
+ ```
37
37
  cd my-turborepo
38
38
  pnpm run build
39
- ´´´
39
+ ```
40
40
 
41
41
  ### Develop
42
42
 
43
43
  To develop all apps and packages, run the following command:
44
44
 
45
- ´´´
45
+ ```
46
46
  cd my-turborepo
47
47
  pnpm run dev
48
- ´´´
48
+ ```
49
49
 
50
50
  ### Remote Caching
51
51
 
@@ -53,18 +53,18 @@ Turborepo can use a technique known as [Remote Caching (Beta)](https://turborepo
53
53
 
54
54
  By default, Turborepo will cache locally. To enable Remote Caching (Beta) you will need an account with Vercel. If you don't have an account you can [create one](https://vercel.com/signup), then enter the following commands:
55
55
 
56
- ´´´
56
+ ```
57
57
  cd my-turborepo
58
58
  npx turbo login
59
- ´´´
59
+ ```
60
60
 
61
61
  This will authenticate the Turborepo CLI with your [Vercel account](https://vercel.com/docs/concepts/personal-accounts/overview).
62
62
 
63
63
  Next, you can link your Turborepo to your Remote Cache by running the following command from the root of your turborepo:
64
64
 
65
- ´´´
65
+ ```
66
66
  npx turbo link
67
- ´´´
67
+ ```
68
68
 
69
69
  ## Useful Links
70
70
 
@@ -2,6 +2,12 @@
2
2
  "name": "turborepo-basic",
3
3
  "version": "0.0.0",
4
4
  "private": true,
5
+ "scripts": {
6
+ "build": "turbo run build",
7
+ "dev": "turbo run dev --parallel",
8
+ "lint": "turbo run lint",
9
+ "format": "prettier --write '**/*.{ts,tsx,.md}'"
10
+ },
5
11
  "devDependencies": {
6
12
  "prettier": "^2.5.1",
7
13
  "turbo": "latest"
@@ -33,19 +33,19 @@ This repository is used in the `npx create-turbo` command, and selected when cho
33
33
 
34
34
  To build all apps and packages, run the following command:
35
35
 
36
- ´´´
36
+ ```
37
37
  cd my-turborepo
38
38
  yarn run build
39
- ´´´
39
+ ```
40
40
 
41
41
  ### Develop
42
42
 
43
43
  To develop all apps and packages, run the following command:
44
44
 
45
- ´´´
45
+ ```
46
46
  cd my-turborepo
47
47
  yarn run dev
48
- ´´´
48
+ ```
49
49
 
50
50
  ### Remote Caching
51
51
 
@@ -53,18 +53,18 @@ Turborepo can use a technique known as [Remote Caching (Beta)](https://turborepo
53
53
 
54
54
  By default, Turborepo will cache locally. To enable Remote Caching (Beta) you will need an account with Vercel. If you don't have an account you can [create one](https://vercel.com/signup), then enter the following commands:
55
55
 
56
- ´´´
56
+ ```
57
57
  cd my-turborepo
58
58
  npx turbo login
59
- ´´´
59
+ ```
60
60
 
61
61
  This will authenticate the Turborepo CLI with your [Vercel account](https://vercel.com/docs/concepts/personal-accounts/overview).
62
62
 
63
63
  Next, you can link your Turborepo to your Remote Cache by running the following command from the root of your turborepo:
64
64
 
65
- ´´´
65
+ ```
66
66
  npx turbo link
67
- ´´´
67
+ ```
68
68
 
69
69
  ## Useful Links
70
70