Skip to content

Commit

Permalink
🔖Release eds-icons@0.19.2 (#2940)
Browse files Browse the repository at this point in the history
* 📝 Updated changelog

* 🔖 bump version for release

* fix release date

* make version for dev release

* 🔧 try package exports

* move types into exports

* new next version

* try different export format

* fix rollup config

* add fallback

* prepare proper release
  • Loading branch information
oddvernes authored Jul 4, 2023
1 parent 9b36b20 commit eab8c5a
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 8 deletions.
11 changes: 9 additions & 2 deletions packages/eds-icons/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,17 @@ 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.19.2] - 2023-07-04

### Changed

- 📦️ Use `.mjs` file extension for es-modules in the build output, added `exports` field in package.json by @oddvernes in https://github.com/equinor/design-system/pull/2866

## [0.19.1] - 2023-03-14

### Changed
- :arrow_up: Updated SVGO to version 3.0.2 (side effect: "z" in all svg paths changed to uppercase), by @oddvernes in https://github.com/equinor/design-system/pull/2799
### Changed

- ⬆️ Updated SVGO to version 3.0.2 (side effect: "z" in all svg paths changed to uppercase), by @oddvernes in https://github.com/equinor/design-system/pull/2799

## [0.19.0] - 2023-03-03

Expand Down
19 changes: 15 additions & 4 deletions packages/eds-icons/package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,21 @@
{
"name": "@equinor/eds-icons",
"version": "0.19.1",
"version": "0.19.2",
"description": "Icons from the Equinor Design System",
"main": "dist/icons.cjs.js",
"module": "dist/esm/index.mjs",
"types": "dist/types/index.d.ts",
"type": "module",
"exports": {
".": {
"import": {
"types": "./dist/types/index.d.ts",
"default": "./dist/esm/index.mjs"
},
"require": {
"default": "./dist/icons.cjs"
}
}
},
"types": "./dist/types/index.d.ts",
"main": "./dist/icons.cjs",
"license": "Apache-2.0",
"author": {
"name": "EDS Core Team",
Expand Down
6 changes: 4 additions & 2 deletions packages/eds-icons/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import resolve from '@rollup/plugin-node-resolve'
import commonjs from '@rollup/plugin-commonjs'
import { babel } from '@rollup/plugin-babel'
import del from 'rollup-plugin-delete'
import pkg from './package.json'

const extensions = ['.jsx', '.js', '.tsx', '.ts']

Expand Down Expand Up @@ -31,7 +30,10 @@ export default [
format: 'es',
entryFileNames: '[name].mjs',
},
{ file: pkg.main, format: 'cjs' },
{
file: './dist/icons.cjs',
format: 'cjs',
},
],
},
]

0 comments on commit eab8c5a

Please sign in to comment.