Skip to content

Commit

Permalink
eliminate --project
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh-Cena committed May 17, 2022
1 parent 9db6d3b commit d1c68f2
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 13 deletions.
4 changes: 2 additions & 2 deletions packages/create-docusaurus/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
},
"scripts": {
"create-docusaurus": "create-docusaurus",
"build": "tsc -p tsconfig.build.json",
"watch": "tsc -p tsconfig.build.json --watch"
"build": "tsc --build",
"watch": "tsc --watch"
},
"bin": "bin/index.js",
"publishConfig": {
Expand Down
1 change: 1 addition & 0 deletions packages/create-docusaurus/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"composite": true,
"module": "es2020",
"incremental": true,
"tsBuildInfoFile": "./lib/.tsbuildinfo",
Expand Down
7 changes: 4 additions & 3 deletions packages/create-docusaurus/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
// For editor typechecking; includes bin
{
"extends": "./tsconfig.build.json",
"extends": "../../tsconfig.json",
"references": [{"path": "./tsconfig.build.json"}],
"compilerOptions": {
"noEmit": true,
"allowJs": true,
"module": "esnext",
"rootDir": "."
},
"include": ["src", "bin"]
"include": ["bin"]
}
4 changes: 2 additions & 2 deletions packages/docusaurus-migrate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"node": ">=14"
},
"scripts": {
"build": "tsc -p tsconfig.build.json",
"watch": "tsc -p tsconfig.build.json --watch"
"build": "tsc --build",
"watch": "tsc --watch"
},
"repository": {
"type": "git",
Expand Down
1 change: 1 addition & 0 deletions packages/docusaurus-migrate/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"composite": true,
"incremental": true,
"tsBuildInfoFile": "./lib/.tsbuildinfo",
"rootDir": "src",
Expand Down
6 changes: 3 additions & 3 deletions packages/docusaurus-migrate/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
// For editor typechecking; includes bin
{
"extends": "./tsconfig.build.json",
"extends": "../../tsconfig.json",
"references": [{"path": "./tsconfig.build.json"}],
"compilerOptions": {
"noEmit": true,
"module": "esnext",
"allowJs": true,
"rootDir": "."
},
"include": ["src", "bin"]
"include": ["bin"]
}
4 changes: 2 additions & 2 deletions packages/docusaurus-theme-translations/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
},
"license": "MIT",
"scripts": {
"build": "tsc -p tsconfig.build.json",
"watch": "tsc -p tsconfig.build.json --watch",
"build": "tsc --build",
"watch": "tsc --watch",
"update": "node ./update.mjs"
},
"dependencies": {
Expand Down
1 change: 1 addition & 0 deletions packages/docusaurus-theme-translations/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"composite": true,
"incremental": true,
"tsBuildInfoFile": "./lib/.tsbuildinfo",
"sourceMap": true,
Expand Down
3 changes: 2 additions & 1 deletion packages/docusaurus-theme-translations/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{
"extends": "../../tsconfig.json",
"references": [{"path": "./tsconfig.build.json"}],
"compilerOptions": {
"module": "esnext",
"noEmit": true,
"checkJs": true,
"allowJs": true
},
"include": ["update.mjs", "src"]
"include": ["update.mjs"]
}

0 comments on commit d1c68f2

Please sign in to comment.