create-turbo 1.2.7-canary.0 → 1.2.7

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.js CHANGED
@@ -31,7 +31,7 @@ var import_chalk = __toESM(require("chalk"));
31
31
 
32
32
  // package.json
33
33
  var name = "create-turbo";
34
- var version = "1.2.7-canary.0";
34
+ var version = "1.2.7";
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.2.7-canary.0",
3
+ "version": "1.2.7",
4
4
  "description": "Create a new Turborepo",
5
5
  "homepage": "https://turborepo.org",
6
6
  "license": "MPL-2.0",
@@ -0,0 +1,10 @@
1
+ module.exports = {
2
+ root: true,
3
+ // This tells ESLint to load the config from the package `eslint-config-custom`
4
+ extends: ["custom"],
5
+ settings: {
6
+ next: {
7
+ rootDir: ["apps/*/"],
8
+ },
9
+ },
10
+ };
@@ -11,7 +11,7 @@ This turborepo includes the following packages/apps:
11
11
  - `docs`: a [Next.js](https://nextjs.org) app
12
12
  - `web`: another [Next.js](https://nextjs.org) app
13
13
  - `ui`: a stub React component library shared by both `web` and `docs` applications
14
- - `config`: `eslint` configurations (includes `eslint-config-next` and `eslint-config-prettier`)
14
+ - `eslint-config-custom`: `eslint` configurations (includes `eslint-config-next` and `eslint-config-prettier`)
15
15
  - `tsconfig`: `tsconfig.json`s used throughout the monorepo
16
16
 
17
17
  Each package/app is 100% [TypeScript](https://www.typescriptlang.org/).
@@ -1 +1,4 @@
1
- module.exports = require("config/eslint-preset");
1
+ module.exports = {
2
+ root: true,
3
+ extends: ["custom"],
4
+ };
@@ -15,8 +15,8 @@
15
15
  "ui": "*"
16
16
  },
17
17
  "devDependencies": {
18
- "config": "*",
19
18
  "eslint": "7.32.0",
19
+ "eslint-config-custom": "*",
20
20
  "next-transpile-modules": "9.0.0",
21
21
  "tsconfig": "*",
22
22
  "@types/node": "^17.0.12",
@@ -1 +1,4 @@
1
- module.exports = require("config/eslint-preset");
1
+ module.exports = {
2
+ root: true,
3
+ extends: ["custom"],
4
+ };
@@ -15,8 +15,8 @@
15
15
  "ui": "*"
16
16
  },
17
17
  "devDependencies": {
18
- "config": "*",
19
18
  "eslint": "7.32.0",
19
+ "eslint-config-custom": "*",
20
20
  "next-transpile-modules": "9.0.0",
21
21
  "tsconfig": "*",
22
22
  "@types/node": "^17.0.12",
@@ -1,10 +1,5 @@
1
1
  module.exports = {
2
2
  extends: ["next", "prettier"],
3
- settings: {
4
- next: {
5
- rootDir: ["apps/*/", "packages/*/"],
6
- },
7
- },
8
3
  rules: {
9
4
  "@next/next/no-html-link-for-pages": "off",
10
5
  "react/jsx-key": "off",
@@ -1,14 +1,14 @@
1
1
  {
2
- "name": "config",
2
+ "name": "eslint-config-custom",
3
3
  "version": "0.0.0",
4
4
  "main": "index.js",
5
5
  "license": "MIT",
6
- "files": [
7
- "eslint-preset.js"
8
- ],
9
6
  "dependencies": {
10
7
  "eslint-config-next": "^12.0.8",
11
8
  "eslint-config-prettier": "^8.3.0",
12
9
  "eslint-plugin-react": "7.28.0"
10
+ },
11
+ "publishConfig": {
12
+ "access": "public"
13
13
  }
14
14
  }
@@ -4,11 +4,16 @@
4
4
  "main": "./index.tsx",
5
5
  "types": "./index.tsx",
6
6
  "license": "MIT",
7
+ "scripts": {
8
+ "lint": "eslint *.ts*"
9
+ },
7
10
  "devDependencies": {
8
11
  "@types/react": "^17.0.37",
9
12
  "@types/react-dom": "^17.0.11",
13
+ "eslint": "^7.32.0",
14
+ "eslint-config-custom": "*",
15
+ "react": "^17.0.2",
10
16
  "tsconfig": "*",
11
- "config": "*",
12
- "typescript": "^4.5.3"
17
+ "typescript": "^4.5.2"
13
18
  }
14
19
  }
@@ -11,7 +11,7 @@ This turborepo uses [npm](https://www.npmjs.com/) as a package manager. It inclu
11
11
  - `docs`: a [Next.js](https://nextjs.org) app
12
12
  - `web`: another [Next.js](https://nextjs.org) app
13
13
  - `ui`: a stub React component library shared by both `web` and `docs` applications
14
- - `config`: `eslint` configurations (includes `eslint-config-next` and `eslint-config-prettier`)
14
+ - `eslint-config-custom`: `eslint` configurations (includes `eslint-config-next` and `eslint-config-prettier`)
15
15
  - `tsconfig`: `tsconfig.json`s used throughout the monorepo
16
16
 
17
17
  Each package/app is 100% [TypeScript](https://www.typescriptlang.org/).
@@ -11,7 +11,7 @@ This turborepo uses [pnpm](https://pnpm.io) as a packages manager. It includes t
11
11
  - `docs`: a [Next.js](https://nextjs.org) app
12
12
  - `web`: another [Next.js](https://nextjs.org) app
13
13
  - `ui`: a stub React component library shared by both `web` and `docs` applications
14
- - `config`: `eslint` configurations (includes `eslint-config-next` and `eslint-config-prettier`)
14
+ - `eslint-config-custom`: `eslint` configurations (includes `eslint-config-next` and `eslint-config-prettier`)
15
15
  - `tsconfig`: `tsconfig.json`s used throughout the monorepo
16
16
 
17
17
  Each package/app is 100% [TypeScript](https://www.typescriptlang.org/).
@@ -15,7 +15,7 @@
15
15
  "ui": "workspace:*"
16
16
  },
17
17
  "devDependencies": {
18
- "config": "workspace:*",
18
+ "eslint-config-custom": "workspace:*",
19
19
  "eslint": "7.32.0",
20
20
  "next-transpile-modules": "9.0.0",
21
21
  "tsconfig": "workspace:*",
@@ -15,7 +15,7 @@
15
15
  "ui": "workspace:*"
16
16
  },
17
17
  "devDependencies": {
18
- "config": "workspace:*",
18
+ "eslint-config-custom": "workspace:*",
19
19
  "eslint": "7.32.0",
20
20
  "next-transpile-modules": "9.0.0",
21
21
  "tsconfig": "workspace:*",
@@ -9,6 +9,7 @@
9
9
  "format": "prettier --write \"**/*.{ts,tsx,md}\""
10
10
  },
11
11
  "devDependencies": {
12
+ "eslint-config-custom": "workspace:*",
12
13
  "prettier": "latest",
13
14
  "turbo": "latest"
14
15
  }
@@ -4,11 +4,16 @@
4
4
  "main": "./index.tsx",
5
5
  "types": "./index.tsx",
6
6
  "license": "MIT",
7
+ "scripts": {
8
+ "lint": "eslint *.ts*"
9
+ },
7
10
  "devDependencies": {
8
11
  "@types/react": "^17.0.37",
9
12
  "@types/react-dom": "^17.0.11",
13
+ "eslint": "^7.32.0",
14
+ "eslint-config-custom": "workspace:*",
15
+ "react": "^17.0.2",
10
16
  "tsconfig": "workspace:*",
11
- "config": "workspace:*",
12
- "typescript": "^4.5.3"
17
+ "typescript": "^4.5.2"
13
18
  }
14
19
  }
@@ -11,7 +11,7 @@ This turborepo uses [Yarn](https://classic.yarnpkg.com/lang/en/) as a package ma
11
11
  - `docs`: a [Next.js](https://nextjs.org) app
12
12
  - `web`: another [Next.js](https://nextjs.org) app
13
13
  - `ui`: a stub React component library shared by both `web` and `docs` applications
14
- - `config`: `eslint` configurations (includes `eslint-config-next` and `eslint-config-prettier`)
14
+ - `eslint-config-custom`: `eslint` configurations (includes `eslint-config-next` and `eslint-config-prettier`)
15
15
  - `tsconfig`: `tsconfig.json`s used throughout the monorepo
16
16
 
17
17
  Each package/app is 100% [TypeScript](https://www.typescriptlang.org/).