diff --git a/.github/workflows/app.yml b/.github/workflows/app.yml index 05bf8199..72079f5e 100644 --- a/.github/workflows/app.yml +++ b/.github/workflows/app.yml @@ -22,11 +22,11 @@ jobs: - name: Check styles run: npm ci && npm run tsc && npm run check working-directory: styles + - run: npm ci && npm run tsc && npm run check && npm run build + working-directory: app - name: Generate styles typedoc run: npx typedoc src/index.ts --out ../app/dist/typedoc working-directory: styles - - run: npm ci && npm run tsc && npm run check && npm run build - working-directory: app - run: python .github/check_examples.py - uses: peaceiris/actions-gh-pages@v3 if: ${{ github.ref == 'refs/heads/main' }} diff --git a/styles/src/index.ts b/styles/src/index.ts index 9f0b31fc..9ac30afd 100644 --- a/styles/src/index.ts +++ b/styles/src/index.ts @@ -1,9 +1,10 @@ import { LayerSpecification } from "@maplibre/maplibre-gl-style-spec"; import { labels_layers, nolabels_layers } from "./base_layers"; import { language_script_pairs } from "./language"; -import themes, { Theme } from "./themes"; +import themes, { Theme, Pois } from "./themes"; export { language_script_pairs }; +export type { Theme, Pois }; export default function ( source: string,