2
0
mirror of https://github.com/iconify/iconify.git synced 2024-11-09 14:50:56 +00:00

Restructure types package: types and blank filenames must match to avoid errors in unbuild

This commit is contained in:
Vjacheslav Trushkin 2022-03-22 08:58:43 +02:00
parent deacbd9187
commit 8617560485
6 changed files with 9 additions and 6 deletions

View File

@ -1,12 +1,12 @@
{
"name": "@iconify/types",
"version": "1.0.13",
"version": "1.1.0",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@iconify/types",
"version": "1.0.13",
"version": "1.1.0",
"license": "(Apache-2.0 OR GPL-2.0)",
"devDependencies": {
"typescript": "^4.4.3"

View File

@ -2,13 +2,13 @@
"name": "@iconify/types",
"type": "module",
"description": "Types for Iconify data",
"version": "1.0.13",
"version": "1.1.0",
"author": "Vjacheslav Trushkin",
"license": "(Apache-2.0 OR GPL-2.0)",
"main": "./index.js",
"types": "./types.ts",
"main": "./types.js",
"types": "./types.d.ts",
"scripts": {
"test": "tsc --noEmit --strict --typeRoots '[]' types.ts"
"test": "tsc --noEmit --strict --typeRoots '[]' types.d.ts"
},
"bugs": "https://github.com/iconify/iconify/issues",
"homepage": "https://github.com/iconify/iconify",

3
packages/types/types.js Normal file
View File

@ -0,0 +1,3 @@
/**
* Empty file. This repository contains only TypeScript types
*/