From 222bc89181f5387cd4d1f356c54d75bfb02f5fae Mon Sep 17 00:00:00 2001 From: Aileen Booker Date: Tue, 22 Oct 2024 08:41:21 +0400 Subject: [PATCH] Renamed `yarn build:types` to `yarn build:ts` to ensure CI is working correctly --- ghost/custom-fonts/package.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ghost/custom-fonts/package.json b/ghost/custom-fonts/package.json index 75022d5015..e39ca10893 100644 --- a/ghost/custom-fonts/package.json +++ b/ghost/custom-fonts/package.json @@ -16,14 +16,14 @@ }, "scripts": { "dev": "tsc --watch --preserveWatchOutput --sourceMap", - "build": "yarn build:cjs && yarn build:esm && yarn build:types", + "build": "yarn build:cjs && yarn build:esm && yarn build:ts", "build:cjs": "tsc -p tsconfig.json --outDir ./build/cjs --module CommonJS", "build:esm": "tsc -p tsconfig.esm.json --outDir ./build/esm --module ES2020", - "build:types": "tsc -p tsconfig.json --emitDeclarationOnly --declaration --declarationDir ./build/types", + "build:ts": "tsc -p tsconfig.json --emitDeclarationOnly --declaration --declarationDir ./build/types", "prepare": "yarn build", "test:unit": "NODE_ENV=testing c8 --src src --all --check-coverage --100 --reporter text --reporter cobertura mocha -r ts-node/register './test/**/*.test.ts'", - "test": "yarn test:types && yarn test:unit", - "test:types": "tsc --noEmit", + "test": "yarn test:ts && yarn test:unit", + "test:ts": "tsc --noEmit", "lint:code": "eslint src/ --ext .ts --cache", "lint": "yarn lint:code && yarn lint:test", "lint:test": "eslint -c test/.eslintrc.js test/ --ext .ts --cache"