create-turbo 1.0.12 → 1.0.16

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 = __toModule(require("chalk"));
31
31
 
32
32
  // package.json
33
33
  var name = "create-turbo";
34
- var version = "1.0.12";
34
+ var version = "1.0.16";
35
35
  var description = "Create a new Turborepo";
36
36
  var homepage = "https://turborepo.org";
37
37
  var license = "MPL-2.0";
@@ -48,7 +48,8 @@ var bin = {
48
48
  };
49
49
  var scripts = {
50
50
  build: "tsup src/index.ts --format cjs",
51
- test: "jest"
51
+ test: "jest",
52
+ lint: "eslint src/**/*.ts"
52
53
  };
53
54
  var dependencies = {
54
55
  chalk: "2.4.2",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-turbo",
3
- "version": "1.0.12",
3
+ "version": "1.0.16",
4
4
  "description": "Create a new Turborepo",
5
5
  "homepage": "https://turborepo.org",
6
6
  "license": "MPL-2.0",
@@ -17,7 +17,8 @@
17
17
  },
18
18
  "scripts": {
19
19
  "build": "tsup src/index.ts --format cjs",
20
- "test": "jest"
20
+ "test": "jest",
21
+ "lint": "eslint src/**/*.ts"
21
22
  },
22
23
  "dependencies": {
23
24
  "chalk": "2.4.2",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "docs",
3
- "version": "1.0.0",
3
+ "version": "0.0.0",
4
4
  "private": true,
5
5
  "scripts": {
6
6
  "dev": "next dev --port 3001",
@@ -20,6 +20,6 @@
20
20
  "next-transpile-modules": "9.0.0",
21
21
  "tsconfig": "*",
22
22
  "@types/react": "17.0.37",
23
- "typescript": "4.5.2"
23
+ "typescript": "^4.5.3"
24
24
  }
25
25
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "web",
3
- "version": "1.0.0",
3
+ "version": "0.0.0",
4
4
  "private": true,
5
5
  "scripts": {
6
6
  "dev": "next dev",
@@ -20,6 +20,6 @@
20
20
  "next-transpile-modules": "9.0.0",
21
21
  "tsconfig": "*",
22
22
  "@types/react": "17.0.37",
23
- "typescript": "4.5.2"
23
+ "typescript": "^4.5.3"
24
24
  }
25
25
  }
@@ -2,13 +2,7 @@ module.exports = {
2
2
  extends: ["next", "prettier"],
3
3
  settings: {
4
4
  next: {
5
- rootDir: [
6
- "apps/docs/",
7
- "apps/web/",
8
- "packages/ui/",
9
- "packages/config/",
10
- "packages/tsconfig/",
11
- ],
5
+ rootDir: ["apps/*/", "packages/*/"],
12
6
  },
13
7
  },
14
8
  };
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "config",
3
- "version": "1.0.0",
3
+ "version": "0.0.0",
4
4
  "main": "index.js",
5
5
  "license": "MIT",
6
6
  "files": [
@@ -1,3 +1,3 @@
1
1
  # `tsconfig`
2
2
 
3
- This is the base shared `tsconfig.json` from which all other `tsconfig.json`'s inherit from.
3
+ These are base shared `tsconfig.json`s from which all other `tsconfig.json`'s inherit from.
@@ -2,13 +2,10 @@
2
2
  "$schema": "https://json.schemastore.org/tsconfig",
3
3
  "display": "React Library",
4
4
  "extends": "./base.json",
5
- "include": ["src"],
6
- "exclude": ["node_modules"],
7
5
  "compilerOptions": {
8
6
  "lib": ["ES2015"],
9
7
  "module": "ESNext",
10
- "rootDir": "src",
11
- "outDir": "dist",
12
- "jsx": "react"
8
+ "target": "ES6",
9
+ "jsx": "react-jsx"
13
10
  }
14
11
  }
@@ -0,0 +1 @@
1
+ export * from "./Button";
@@ -1,7 +1,13 @@
1
1
  {
2
2
  "name": "ui",
3
- "version": "1.0.0",
4
- "main": "./Button.tsx",
5
- "types": "./Button.tsx",
6
- "license": "MIT"
3
+ "version": "0.0.0",
4
+ "main": "./index.tsx",
5
+ "types": "./index.tsx",
6
+ "license": "MIT",
7
+ "devDependencies": {
8
+ "@types/react": "^17.0.37",
9
+ "@types/react-dom": "^17.0.11",
10
+ "tsconfig": "*",
11
+ "typescript": "^4.5.3"
12
+ }
7
13
  }
@@ -0,0 +1,5 @@
1
+ {
2
+ "extends": "tsconfig/react-library.json",
3
+ "include": ["."],
4
+ "exclude": ["dist", "build", "node_modules"]
5
+ }