Skip to content

Commit

Permalink
v1.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
panoply committed Sep 9, 2021
1 parent f587fac commit 422144f
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 20 deletions.
8 changes: 6 additions & 2 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
## _CHANGELOG_

### 1.1.2 - 10/09/2021

Replaced development rollup dependencies to use [@brixtol/rollup-config](https://github.com/BRIXTOL/rollup-config)

### 1.1.1 - 23/08/2021

Extend prettier config in `package.json` file and align readme.
Expand All @@ -22,9 +26,9 @@ Dropped support of default exports. This module uses named exports. The module t
##### Named export

```js
import { getCountryName } from "@brixtol/country-names";
import { getCountryName } from '@brixtol/country-names';

const country = getCountryName("SE"); // Sweden
const country = getCountryName('SE'); // Sweden
```

##### Breakdown
Expand Down
9 changes: 2 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@brixtol/country-names",
"version": "1.1.1",
"version": "1.1.2",
"description": "Mappings for 2 letter (Alpha 2) country codes to English country name",
"author": {
"name": "Νίκος Σαβίδης ",
Expand Down Expand Up @@ -55,14 +55,9 @@
"devDependencies": {
"@brixtol/eslint-config": "^1.0.1",
"@brixtol/prettier-config": "^1.0.3",
"@brixtol/rollup-utils": "^0.2.0",
"@brixtol/rollup-config": "workspace:^1.2.0",
"@brixtol/tsconfig": "^1.0.0",
"@rollup/plugin-commonjs": "^20.0.0",
"esm": "^3.2.25",
"rollup": "^2.56.2",
"rollup-plugin-filesize": "^9.1.1",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.30.0",
"typescript": "^4.3.5"
}
}
17 changes: 6 additions & 11 deletions rollup.config.mjs
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
import { config, env } from '@brixtol/rollup-utils';
import { defineConfig as Rollup } from 'rollup';
import { terser } from 'rollup-plugin-terser';
import commonjs from '@rollup/plugin-commonjs';
import filesize from 'rollup-plugin-filesize';
import ts from 'rollup-plugin-typescript2';
import { config, env, rollup, plugin } from '@brixtol/rollup-config';
import typescript from 'typescript';

export default Rollup(
export default rollup(
{
input: 'src/index.ts',
output: [
Expand All @@ -26,13 +21,13 @@ export default Rollup(
],
plugins: env.if('dev')(
[
ts({ useTsconfigDeclarationDir: true, typescript }),
commonjs()
plugin.ts({ useTsconfigDeclarationDir: true, typescript }),
plugin.commonjs()
]
)(
[
terser({ ecma: 2016, compress: { passes: 5 } }),
filesize()
plugin.terser({ ecma: 2016, compress: { passes: 5 } }),
plugin.filesize()
]
)
}
Expand Down

0 comments on commit 422144f

Please sign in to comment.