2
0
mirror of https://github.com/iconify/iconify.git synced 2025-01-08 15:54:09 +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", "name": "@iconify/types",
"version": "1.0.13", "version": "1.1.0",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@iconify/types", "name": "@iconify/types",
"version": "1.0.13", "version": "1.1.0",
"license": "(Apache-2.0 OR GPL-2.0)", "license": "(Apache-2.0 OR GPL-2.0)",
"devDependencies": { "devDependencies": {
"typescript": "^4.4.3" "typescript": "^4.4.3"

View File

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