From b577daf27cd87870b6e095e4e995519f96d321dd Mon Sep 17 00:00:00 2001 From: James Henry Date: Mon, 7 Sep 2020 23:40:44 +0400 Subject: [PATCH] fix(types): artificial fix needed to trigger release --- .github/workflows/manual-release.yml | 10 ++++++---- packages/types/src/ast-node-types.ts | 3 +++ 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/manual-release.yml b/.github/workflows/manual-release.yml index d0ad35f8f91..6cf61cab555 100644 --- a/.github/workflows/manual-release.yml +++ b/.github/workflows/manual-release.yml @@ -17,8 +17,6 @@ jobs: # We need to fetch all tags and branches fetch-depth: 0 - - run: git log -n 3 - - name: Verify head of master hasn't changed run: | # We ensure that the latest commit on master is still the one we expected when @@ -52,8 +50,12 @@ jobs: run: | yarn build - - name: (WIP) Determine what version to release - run: npx lerna version --loglevel=silly --conventional-commits --exact + - name: (WIP) Determine what version to release (--yes will skip the confirmation prompt) + run: npx lerna version --loglevel=silly --conventional-commits --exact --yes + + - run: | + git diff + git status # - name: Publish the updated versions to NPM (--yes will skip the confirmation prompt) # run: npx lerna publish from-package --yes diff --git a/packages/types/src/ast-node-types.ts b/packages/types/src/ast-node-types.ts index d6523eb5c4a..36699864ede 100644 --- a/packages/types/src/ast-node-types.ts +++ b/packages/types/src/ast-node-types.ts @@ -169,10 +169,13 @@ export { AST_NODE_TYPES }; import type { Node } from './ts-estree'; type GetKeys = keyof Extract; + type AllKeys = { readonly [T in AST_NODE_TYPES]: GetKeys; }; + type TakesString> = T; + // @ts-expect-error: purposely unused type _Test = // forcing the test onto a new line so it isn't covered by the expect error