Skip to content

Commit

Permalink
πŸ”– Release eds-core-react@0.30.0 (#2815)
Browse files Browse the repository at this point in the history
* πŸ“ Updated changelog

* πŸ”–Bump version for new release

* removed not needed text

* 🚧 Try old npm token setup

* πŸ’š Publish worked, changing all back to original
  • Loading branch information
oddvernes authored Mar 15, 2023
1 parent 0bd1bf2 commit 8ae11fd
Show file tree
Hide file tree
Showing 8 changed files with 30 additions and 13 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/publish_core_react.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ jobs:
name: Publish utils to npm
runs-on: ubuntu-latest
needs: [packages, setup]
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
steps:
- name: Use "dist" cache
id: dist-cache
Expand All @@ -72,6 +70,7 @@ jobs:
- name: Publish to npm
id: publish-to-npm
run: |
node_modules/.bin/pnpm config set '//registry.npmjs.org/:_authToken' ${{ secrets.NPM_TOKEN }}
node_modules/.bin/pnpm --filter @equinor/eds-utils publish --access public --tag ${{ needs.setup.outputs.tag }} --no-git-checks
- name: log-errors-to-slack
uses: act10ns/slack@v2
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/publish_icons.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ jobs:
name: Publish icons to npm
runs-on: ubuntu-latest
needs: [packages, setup]
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
steps:
- name: Use "dist" cache
id: dist-cache
Expand All @@ -64,6 +62,7 @@ jobs:
- name: Publish to npm
id: publish-to-npm
run: |
node_modules/.bin/pnpm config set '//registry.npmjs.org/:_authToken' ${{ secrets.NPM_TOKEN }}
node_modules/.bin/pnpm --filter ./packages/eds-icons publish --access public --no-git-checks --tag ${{ needs.setup.outputs.tag }}
- name: log-errors-to-slack
uses: act10ns/slack@v2
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/publish_lab.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ jobs:
name: Publish utils to npm
runs-on: ubuntu-latest
needs: [packages, setup]
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
steps:
- name: Use "dist" cache
id: dist-cache
Expand All @@ -72,6 +70,7 @@ jobs:
- name: Publish to npm
id: publish-to-npm
run: |
node_modules/.bin/pnpm config set '//registry.npmjs.org/:_authToken' ${{ secrets.NPM_TOKEN }}
node_modules/.bin/pnpm --filter @equinor/eds-utils publish --access public --tag ${{ needs.setup.outputs.tag }} --no-git-checks
- name: log-errors-to-slack
uses: act10ns/slack@v2
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/publish_packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ on:
default: 'development'
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

jobs:
setup:
Expand Down Expand Up @@ -74,6 +73,7 @@ jobs:
- name: Publish to npm
id: publish-to-npm
run: |
node_modules/.bin/pnpm config set '//registry.npmjs.org/:_authToken' ${{ secrets.NPM_TOKEN }}
node_modules/.bin/pnpm --filter @equinor/eds-tokens publish --access public --tag ${{ needs.setup.outputs.tag }} --no-git-checks
- name: log-errors-to-slack
uses: act10ns/slack@v2
Expand All @@ -97,6 +97,7 @@ jobs:
- name: Publish to npm
id: publish-to-npm
run: |
node_modules/.bin/pnpm config set '//registry.npmjs.org/:_authToken' ${{ secrets.NPM_TOKEN }}
node_modules/.bin/pnpm --filter @equinor/eds-tokens publish --access public --tag ${{ needs.setup.outputs.tag }} --no-git-checks
- name: log-errors-to-slack
uses: act10ns/slack@v2
Expand All @@ -108,8 +109,6 @@ jobs:
name: Publish utils to npm
runs-on: ubuntu-latest
needs: [packages, setup, publish-tokens]
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
steps:
- name: Use built packages cache
id: packages-cache
Expand All @@ -122,6 +121,7 @@ jobs:
- name: Publish to npm
id: publish-to-npm
run: |
node_modules/.bin/pnpm config set '//registry.npmjs.org/:_authToken' ${{ secrets.NPM_TOKEN }}
node_modules/.bin/pnpm --filter @equinor/eds-utils publish --access public --tag ${{ needs.setup.outputs.tag }} --no-git-checks
- name: log-errors-to-slack
uses: act10ns/slack@v2
Expand All @@ -145,6 +145,7 @@ jobs:
- name: Publish to npm
id: publish-to-npm
run: |
node_modules/.bin/pnpm config set '//registry.npmjs.org/:_authToken' ${{ secrets.NPM_TOKEN }}
node_modules/.bin/pnpm --filter @equinor/eds-lab-react publish --access public --tag ${{ needs.setup.outputs.tag }} --no-git-checks
- name: log-errors-to-slack
uses: act10ns/slack@v2
Expand Down Expand Up @@ -209,6 +210,7 @@ jobs:
- name: Publish to npm
id: publish-to-npm
run: |
node_modules/.bin/pnpm config set '//registry.npmjs.org/:_authToken' ${{ secrets.NPM_TOKEN }}
node_modules/.bin/pnpm --filter @equinor/eds-core-react publish --access public --tag ${{ needs.setup.outputs.tag }} --no-git-checks
- name: log-errors-to-slack
uses: act10ns/slack@v2
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/publish_tokens.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,6 @@ jobs:
name: Publish to npm
runs-on: ubuntu-latest
needs: [packages, setup]
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
steps:
- name: Use "dist" cache
id: dist-cache
Expand All @@ -65,6 +63,7 @@ jobs:
- name: Publish to npm
id: publish-to-npm
run: |
node_modules/.bin/pnpm config set '//registry.npmjs.org/:_authToken' ${{ secrets.NPM_TOKEN }}
node_modules/.bin/pnpm --filter @equinor/eds-tokens publish --access public --tag ${{ needs.setup.outputs.tag }} --no-git-checks
- name: log-errors-to-slack
uses: act10ns/slack@v2
Expand Down
1 change: 0 additions & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
//registry.npmjs.org/:_authToken=${NPM_TOKEN}
shared-workspace-shrinkwrap = true
link-workspace-packages = false
package-lock = true
Expand Down
20 changes: 20 additions & 0 deletions packages/eds-core-react/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,26 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.30.0] - 2023-03-15

### Fixed

- πŸ› `NativeSelect`: fixed label not having disabled-style when disabled by @oddvernes in https://github.com/equinor/design-system/pull/2802
- πŸ› `Dialog`: fixed css syntax errors in `Dialog.Header`, `align-items: center; justify-content: space-between;` is now applied by @oddvernes in https://github.com/equinor/design-system/pull/2801

### Added

- ✨`Accordion`: Added `onExpandedChange` prop to `Accordion.Item` to enable controlled mode by @bjartebore in https://github.com/equinor/design-system/pull/2775
- ✨ `Autocomplete`: added `onInputChange` and `loading` props to enable async search-as-you-type use cases. Updated storybook with example by @oddvernes in https://github.com/equinor/design-system/pull/2788
- ✨ `Autocomplete`: added `dropdownHeight` prop allowing users to override default dropdown height by @oddvernes in https://github.com/equinor/design-system/pull/2793
- ✨ `Menu`: added `matchAnchorWidth` prop by @bjartebore in https://github.com/equinor/design-system/pull/2806
- ✨`Breadcrumbs`: added option to not wrap Breadcrumbs with a new `wrap` prop, plus added `forceTooltip` prop. Added storybook example by @oddvernes in https://github.com/equinor/design-system/commit/fdb178be39fd51ec474e85bd008f6a5f9a0f8ef3

### Changed

- 🚸⚑️ `Slider` - new behaviour: min/max thumbs can no longer cross, plus some performance improvements by @oddvernes in https://github.com/equinor/design-system/pull/2783
- πŸšΈπŸ’„ `Input`: added ellipsis to overflowing text, `Autocomplete` input: reduced padding-right by @oddvernes in https://github.com/equinor/design-system/pull/2807

## [0.29.1] - 2023-02-03

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion packages/eds-core-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@equinor/eds-core-react",
"version": "0.29.1",
"version": "0.30.0",
"description": "The React implementation of the Equinor Design System",
"sideEffects": [
"**/*.css"
Expand Down

0 comments on commit 8ae11fd

Please sign in to comment.