diff --git a/.circleci/config.yml b/.circleci/config.yml index 5ca3e5090..d07de0c7a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -50,6 +50,9 @@ jobs: key: npm-cache-v1-{{ checksum "package-lock.json" }} paths: - ~/.npm + - run: + name: Generate type information + command: npm run sync-types - run: name: Run eslint command: npm run check:eslint diff --git a/bin/git-helper b/bin/git-helper index 367a5f6b1..df085f182 100755 --- a/bin/git-helper +++ b/bin/git-helper @@ -1,5 +1,7 @@ #!/bin/bash set -e +echo Aligning star charts +npm run sync-types echo Finding fixpoint... npm run fix echo Inverting matrices... diff --git a/package.json b/package.json index 6110ec7f9..e9b001e80 100644 --- a/package.json +++ b/package.json @@ -13,6 +13,7 @@ "check:prettier": "prettier --ignore-path .gitignore --check --cache --cache-strategy metadata .", "check:svelte-check": "svelte-check --tsconfig tsconfig.json --diagnostic-sources js,svelte", "check:knip": "knip", + "sync-types": "svelte-kit sync", "format": "npm run fix:prettier", "fix": "npm run fix:prettier && npm run fix:eslint", "fix:eslint": "eslint . --fix --cache --ext .ts,.js,.svelte src",