diff --git a/ghost/adapter-manager/package.json b/ghost/adapter-manager/package.json index d1ec93d412..fd772c9af1 100644 --- a/ghost/adapter-manager/package.json +++ b/ghost/adapter-manager/package.json @@ -5,14 +5,11 @@ "author": "Ghost Foundation", "license": "MIT", "main": "index.js", - "types": "types/index.d.ts", "scripts": { "dev": "echo \"Implement me!\"", "test": "NODE_ENV=testing c8 mocha './test/**/*.test.js'", "lint": "eslint . --ext .js --cache", - "posttest": "yarn lint", - "pretest": "yarn types", - "types": "rm -r types && yarn tsc" + "posttest": "yarn lint" }, "files": [ "index.js", @@ -22,13 +19,10 @@ "access": "public" }, "devDependencies": { - "@types/mocha": "8.2.3", - "@types/sinon": "10.0.2", "c8": "7.7.3", "mocha": "9.0.0", "should": "13.2.3", - "sinon": "11.0.0", - "typescript": "4.3.5" + "sinon": "11.0.0" }, "dependencies": { "@tryghost/errors": "^0.2.13" diff --git a/ghost/adapter-manager/tsconfig.json b/ghost/adapter-manager/tsconfig.json index 03f41e871e..375c68363c 100644 --- a/ghost/adapter-manager/tsconfig.json +++ b/ghost/adapter-manager/tsconfig.json @@ -2,7 +2,6 @@ "compilerOptions": { "declaration": true, "emitDeclarationOnly": true, - "outDir": "types", "allowJs": true, "checkJs": true, "module": "commonjs", diff --git a/ghost/moleculer-service-from-class/package.json b/ghost/moleculer-service-from-class/package.json index f352a93aae..5a8278c6cf 100644 --- a/ghost/moleculer-service-from-class/package.json +++ b/ghost/moleculer-service-from-class/package.json @@ -9,8 +9,6 @@ "dev": "echo \"Implement me!\"", "test": "NODE_ENV=testing c8 mocha './test/**/*.test.js'", "lint": "eslint . --ext .js --cache", - "types": "rm -rf types && tsc", - "pretest": "yarn types", "posttest": "yarn lint" }, "files": [ @@ -24,8 +22,7 @@ "c8": "7.7.3", "mocha": "9.0.0", "should": "13.2.3", - "sinon": "11.0.0", - "typescript": "4.3.5" + "sinon": "11.0.0" }, "dependencies": { "moleculer": "^0.14.11" diff --git a/ghost/moleculer-service-from-class/tsconfig.json b/ghost/moleculer-service-from-class/tsconfig.json index 03f41e871e..375c68363c 100644 --- a/ghost/moleculer-service-from-class/tsconfig.json +++ b/ghost/moleculer-service-from-class/tsconfig.json @@ -2,7 +2,6 @@ "compilerOptions": { "declaration": true, "emitDeclarationOnly": true, - "outDir": "types", "allowJs": true, "checkJs": true, "module": "commonjs", diff --git a/ghost/mw-session-from-token/package.json b/ghost/mw-session-from-token/package.json index bcf0cf81b3..9d4cb83c49 100644 --- a/ghost/mw-session-from-token/package.json +++ b/ghost/mw-session-from-token/package.json @@ -9,8 +9,6 @@ "dev": "echo \"Implement me!\"", "test": "NODE_ENV=testing c8 mocha './test/**/*.test.js'", "lint": "eslint . --ext .js --cache", - "types": "rm -r types && tsc", - "pretest": "yarn types", "posttest": "yarn lint" }, "files": [ @@ -21,13 +19,10 @@ "access": "public" }, "devDependencies": { - "@types/express": "4.17.13", - "@types/mocha": "8.2.3", "c8": "7.7.3", "express": "4.17.1", "mocha": "9.0.0", "should": "13.2.3", - "sinon": "11.0.0", - "typescript": "4.3.5" + "sinon": "11.0.0" } } diff --git a/ghost/mw-session-from-token/tsconfig.json b/ghost/mw-session-from-token/tsconfig.json index 03f41e871e..375c68363c 100644 --- a/ghost/mw-session-from-token/tsconfig.json +++ b/ghost/mw-session-from-token/tsconfig.json @@ -2,7 +2,6 @@ "compilerOptions": { "declaration": true, "emitDeclarationOnly": true, - "outDir": "types", "allowJs": true, "checkJs": true, "module": "commonjs", diff --git a/ghost/session-service/README.md b/ghost/session-service/README.md index 47ed2f5ed5..3ce562dc22 100644 --- a/ghost/session-service/README.md +++ b/ghost/session-service/README.md @@ -73,7 +73,6 @@ Follow the instructions for the top-level repo. ## Test -- `yarn types` run just type check - `yarn lint` run just eslint - `yarn test` run lint and tests and type check diff --git a/ghost/session-service/package.json b/ghost/session-service/package.json index 0de44bf38a..6ef46b63fa 100644 --- a/ghost/session-service/package.json +++ b/ghost/session-service/package.json @@ -5,14 +5,11 @@ "author": "Ghost Foundation", "license": "MIT", "main": "index.js", - "types": "./types/index.d.ts", "scripts": { "dev": "echo \"Implement me!\"", "test": "NODE_ENV=testing c8 mocha './test/**/*.test.js'", "lint": "eslint . --ext .js --cache", - "posttest": "yarn lint", - "pretest": "yarn types", - "types": "rm -r types && tsc" + "posttest": "yarn lint" }, "files": [ "index.js", @@ -22,14 +19,11 @@ "access": "public" }, "devDependencies": { - "@types/express": "4.17.13", - "@types/mocha": "8.2.3", "c8": "7.7.3", "express": "4.17.1", "mocha": "9.0.0", "should": "13.2.3", - "sinon": "11.0.0", - "typescript": "4.3.5" + "sinon": "11.0.0" }, "dependencies": { "@tryghost/errors": "^0.2.13" diff --git a/ghost/session-service/tsconfig.json b/ghost/session-service/tsconfig.json index 03f41e871e..375c68363c 100644 --- a/ghost/session-service/tsconfig.json +++ b/ghost/session-service/tsconfig.json @@ -2,7 +2,6 @@ "compilerOptions": { "declaration": true, "emitDeclarationOnly": true, - "outDir": "types", "allowJs": true, "checkJs": true, "module": "commonjs",