From 2b7542ec7827be8ad2f759c4ed66cc8a39ca6213 Mon Sep 17 00:00:00 2001 From: emer Date: Sat, 7 Oct 2023 12:24:04 +0200 Subject: [PATCH] Working on new pipeline --- .github/workflows/python-publish.yml | 7 ++++++- CHANGELOG.md | 15 +++++++++++++++ package.json | 2 +- poetry.lock | 4 ++-- pyproject.toml | 2 +- 5 files changed, 25 insertions(+), 5 deletions(-) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index e2e05e1..d34a753 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -34,9 +34,14 @@ jobs: - run: poetry --version - name: Install dependencies run: poetry install - - name: Build and publish + - name: Build and publish to npm run: | poetry run npm install | echo "Ignore npm install error" poetry run npm run build + poetry run npm publish + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + - name: Build and publish to pypi + run: | poetry build poetry publish --username=${{ secrets.PYPI_USERNAME }} --password=${{ secrets.PYPI_PASSWORD }} diff --git a/CHANGELOG.md b/CHANGELOG.md index d698399..a42984f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,21 @@ All notable changes to this project will be documented in this file. +## [1.0.4] - 07-10-23 + +### Added + +- Publishing to npm added to CICD pipeline. Fixes [#284](https://github.com/emilhe/dash-extensions/issues/284) + +### Changed + +- Dependencies updated +- A few bugfixes + +### Added + +- Added `SerializationTransform` and `DataclassTransform` + ## [1.0.3] - 31-07-23 ### Added diff --git a/package.json b/package.json index 14ca6a2..06eae39 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "dash-extensions", - "version": "1.0.3", + "version": "1.0.4rc6", "description": "Extensions for Plotly Dash.", "main": "build/index.js", "scripts": { diff --git a/poetry.lock b/poetry.lock index 9b4e0d3..9ec2b7d 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 1.5.1 and should not be changed by hand. +# This file is automatically @generated by Poetry 1.6.1 and should not be changed by hand. [[package]] name = "aiofiles" @@ -1127,8 +1127,8 @@ files = [ [package.dependencies] numpy = [ {version = ">=1.20.3", markers = "python_version < \"3.10\""}, - {version = ">=1.21.0", markers = "python_version >= \"3.10\""}, {version = ">=1.23.2", markers = "python_version >= \"3.11\""}, + {version = ">=1.21.0", markers = "python_version >= \"3.10\" and python_version < \"3.11\""}, ] python-dateutil = ">=2.8.2" pytz = ">=2020.1" diff --git a/pyproject.toml b/pyproject.toml index 1cd4286..af14fb7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "dash-extensions" -version = "1.0.3" +version = "1.0.4rc6" description = "Extensions for Plotly Dash." authors = ["emher "] license = "MIT"