create-turbo 1.0.2 → 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +2 -2
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/templates/_shared_ts/apps/docs/package.json +2 -1
- package/templates/_shared_ts/apps/web/package.json +2 -1
- package/templates/_shared_ts/package.json +3 -3
- package/templates/npm/README.md +8 -8
- package/templates/pnpm/README.md +8 -8
- package/templates/pnpm/package.json +6 -0
- package/templates/yarn/README.md +8 -8
package/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Welcome to Turborepo
|
2
2
|
|
3
|
-
[Turborepo](https://
|
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
|
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.
|
34
|
+
var version = "1.0.6";
|
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
@@ -7,9 +7,9 @@
|
|
7
7
|
"packages/*"
|
8
8
|
],
|
9
9
|
"scripts": {
|
10
|
-
"build": "
|
11
|
-
"dev": "
|
12
|
-
"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": {
|
package/templates/npm/README.md
CHANGED
@@ -33,19 +33,19 @@ This repository is used in the `npx create-turbo@latest` command, and selected w
|
|
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
|
|
package/templates/pnpm/README.md
CHANGED
@@ -33,19 +33,19 @@ This repository is used in the `npx create-turbo@latest` command, and selected w
|
|
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"
|
package/templates/yarn/README.md
CHANGED
@@ -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
|
|