From 0bc6fb865c904391e8a6af9657ceaa772208c6a2 Mon Sep 17 00:00:00 2001 From: Jaryt Bustard Date: Wed, 31 Aug 2022 14:50:07 -0400 Subject: [PATCH] fix: source declaration file and semver tag filter (#128) --- .circleci/config.yml | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 275ce82..b6cdca4 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -127,4 +127,4 @@ workflows: branches: ignore: /.*/ tags: - only: /^v\d+\.\d+\.\d+(-(beta|alpha)(\.\d)?)?$/ + only: /^v(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/ diff --git a/package.json b/package.json index 96a4324..27d86db 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "version": "0.0.0-development", "description": "An SDK for building CircleCI Configuration files with JavaScript.", "main": "dist/index.js", - "types": "dist/index.d.ts", + "types": "dist/src/index.d.ts", "scripts": { "test": "npx jest", "lint": "eslint . --ext .js,.jsx,.ts,.tsx --max-warnings 0",