mirror of
https://github.com/ionic-team/ionicons.git
synced 2026-12-05 17:33:41 +01:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9992cc07a3 | ||
|
|
3aed6eee31 |
@@ -1,3 +1,12 @@
|
||||
## [5.1.2](https://github.com/ionic-team/ionicons/compare/v5.1.1...v5.1.2) (2020-06-25)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **types:** temporary fix for projects using older typescript versions ([3aed6ee](https://github.com/ionic-team/ionicons/commit/3aed6eee317a5de367416e7529028a650e2617d3))
|
||||
|
||||
|
||||
|
||||
## [5.1.1](https://github.com/ionic-team/ionicons/compare/v5.1.0...v5.1.1) (2020-06-25)
|
||||
|
||||
|
||||
|
||||
Generated
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "ionicons",
|
||||
"version": "5.1.1",
|
||||
"version": "5.1.2",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "ionicons",
|
||||
"version": "5.1.1",
|
||||
"version": "5.1.2",
|
||||
"description": "Premium icons for Ionic.",
|
||||
"files": [
|
||||
"dist/",
|
||||
|
||||
@@ -10,6 +10,17 @@ async function collectionCopy(rootDir: string) {
|
||||
|
||||
// we don't to copy the src svgs to collection
|
||||
await fs.remove(join(rootDir, 'dist', 'collection', 'svg'));
|
||||
|
||||
// this is temporary!!!!
|
||||
// removing the `type` from the d.ts export
|
||||
// to make it easier for users migrating between
|
||||
// of older versions of angular and typescript
|
||||
// to the newer verisons, where the `type` keyword
|
||||
// is used. This is a megahack, no doubt.
|
||||
const typesDist = join(rootDir, 'dist', 'types', 'index.d.ts');
|
||||
let types = await fs.readFile(typesDist, 'utf8');
|
||||
types = types.replace('export type', 'export');
|
||||
await fs.writeFile(typesDist, types);
|
||||
}
|
||||
|
||||
collectionCopy(join(__dirname, '..'));
|
||||
Reference in New Issue
Block a user