From bdae4e2a5bfbb4f42f727c2a4b554bf59d00a788 Mon Sep 17 00:00:00 2001 From: Matt Loberg Date: Wed, 18 Oct 2023 10:32:57 -0500 Subject: [PATCH 1/2] build: ensure lib is created as part of publish (#48) --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 95fab4b..ec93281 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@articulate/funky", - "version": "1.10.0", + "version": "1.10.1", "description": "Functional helper library", "main": "index.js", "types": "index.d.ts", @@ -31,8 +31,8 @@ "clean": "rm -rf lib && mkdir -p lib", "coverage": "nyc report --reporter=text-lcov | coveralls", "lint": "eslint src test", - "postversion": "git push --tags origin master", "prebuild": "yarn run clean", + "prepublish": "yarn run build", "pretest": "yarn run build", "preversion": "git checkout master && yarn run build", "test": "mocha test --reporter=dot && yarn run test:tsd", From 597bf24871427f73d288ded1dd50bd8173e9ce12 Mon Sep 17 00:00:00 2001 From: Markus Greystone Date: Wed, 17 Jan 2024 10:16:37 -0500 Subject: [PATCH 2/2] v1 dist tag --- .github/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 24d33b4..cefb3fc 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -34,6 +34,6 @@ jobs: scope: '@articulate' cache: yarn - run: yarn install --frozen-lockfile - - run: yarn publish + - run: yarn publish --tag legacy env: NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}