diff --git a/.github/workflows/npm-publish-reusable.yml b/.github/workflows/npm-publish-reusable.yml index 800560ff..7f5e1639 100644 --- a/.github/workflows/npm-publish-reusable.yml +++ b/.github/workflows/npm-publish-reusable.yml @@ -7,6 +7,10 @@ on: workflow_call: inputs: name: + required: true + type: string + description: 'Name of the package directory to publish' + packageName: required: true type: string description: 'Name of the package to publish' @@ -67,9 +71,9 @@ jobs: with: message: "[skip ci] [version-bump] Automated commit for version ${{ steps.version-bump.outputs.bumped-semantic-version }}" - - run: pnpm i --frozen-lockfile --filter=${{ inputs.name }}... - - run: pnpm build --filter=${{ inputs.name }}... - - run: pnpm publish --access public --filter=${{ inputs.name }} --no-git-checks + - run: pnpm i --frozen-lockfile --filter=${{ inputs.packageName }}... + - run: pnpm build --filter=${{ inputs.packageName }}... + - run: pnpm publish --access public --filter=${{ inputs.packageName }} --no-git-checks - name: Git tags update run: | diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 0c97928c..6820f759 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -15,18 +15,21 @@ jobs: uses: './.github/workflows/npm-publish-reusable.yml' with: name: 'react-ui' + packageName: '@enterwell/react-ui' secrets: NPM_TOKEN: ${{ secrets.NPM_TOKEN }} publish_hooks: uses: './.github/workflows/npm-publish-reusable.yml' with: name: 'react-hooks' + packageName: '@enterwell/react-hooks' secrets: NPM_TOKEN: ${{ secrets.NPM_TOKEN }} publish_mui_hooks: uses: './.github/workflows/npm-publish-reusable.yml' with: name: 'react-mui-hooks' + packageName: '@enterwell/react-mui-hooks' secrets: NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - \ No newline at end of file + diff --git a/packages/react-hooks/CHANGELOG.md b/packages/react-hooks/CHANGELOG.md index 57fed864..cbca82b0 100644 --- a/packages/react-hooks/CHANGELOG.md +++ b/packages/react-hooks/CHANGELOG.md @@ -7,10 +7,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 _NOTE: This is an automatically generated file. Do not modify contents of this file manually._ -## [0.6.0] - 2025-04-01 -### Changed -- Updated packages - ## [0.5.0] - 2024-01-08 ### Added - [useControllableState] useControllableState hook diff --git a/packages/react-hooks/changes/Changed Updated packages b/packages/react-hooks/changes/Changed Updated packages new file mode 100644 index 00000000..e69de29b diff --git a/packages/react-hooks/package.json b/packages/react-hooks/package.json index 44ab23e6..b4856577 100644 --- a/packages/react-hooks/package.json +++ b/packages/react-hooks/package.json @@ -1,6 +1,6 @@ { "name": "@enterwell/react-hooks", - "version": "0.6.0", + "version": "0.5.0", "type": "module", "main": "dist/index.js", "types": "./dist/index.d.ts", diff --git a/packages/react-mui-hooks/CHANGELOG.md b/packages/react-mui-hooks/CHANGELOG.md index 0e000265..15c1809e 100644 --- a/packages/react-mui-hooks/CHANGELOG.md +++ b/packages/react-mui-hooks/CHANGELOG.md @@ -7,10 +7,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 _NOTE: This is an automatically generated file. Do not modify contents of this file manually._ -## [0.9.0] - 2025-04-01 -### Changed -- Migrated to MUI 6 - ## [0.8.0] - 2024-06-18 ### Changed - [useDataGrid] Disabled column hide when last one is left diff --git a/packages/react-mui-hooks/changes/Changed Migrated to MUI 6 b/packages/react-mui-hooks/changes/Changed Migrated to MUI 6 new file mode 100644 index 00000000..e69de29b diff --git a/packages/react-mui-hooks/package.json b/packages/react-mui-hooks/package.json index 8407f560..911cc64e 100644 --- a/packages/react-mui-hooks/package.json +++ b/packages/react-mui-hooks/package.json @@ -1,6 +1,6 @@ { "name": "@enterwell/react-mui-hooks", - "version": "0.9.0", + "version": "0.8.0", "type": "module", "main": "dist/index.js", "types": "./dist/index.d.ts", diff --git a/packages/react-ui/CHANGELOG.md b/packages/react-ui/CHANGELOG.md index 7aa35be2..4f8cd947 100644 --- a/packages/react-ui/CHANGELOG.md +++ b/packages/react-ui/CHANGELOG.md @@ -7,10 +7,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 _NOTE: This is an automatically generated file. Do not modify contents of this file manually._ -## [0.15.0] - 2025-04-01 -### Changed -- Updated MUI to v6 - ## [0.14.1] - 2024-02-05 ### Fixed - [DropdownButton] Properly disabling the button if the disable prop is passed in diff --git a/packages/react-ui/changes/Changed Updated MUI to v6 b/packages/react-ui/changes/Changed Updated MUI to v6 new file mode 100644 index 00000000..e69de29b diff --git a/packages/react-ui/package.json b/packages/react-ui/package.json index 501a6904..f29bfe3f 100644 --- a/packages/react-ui/package.json +++ b/packages/react-ui/package.json @@ -1,7 +1,7 @@ { "name": "@enterwell/react-ui", "description": "Enterwell's React UI component library.", - "version": "0.15.0", + "version": "0.14.1", "type": "module", "main": "dist/index.js", "types": "./dist/index.d.ts",