fix: missing api-client types

Signed-off-by: Innei <tukon479@gmail.com>
This commit is contained in:
Innei
2022-12-23 14:59:20 +08:00
parent d90efebb8c
commit 4c603dcba1
3 changed files with 22 additions and 3 deletions

View File

@@ -0,0 +1,6 @@
node_modules
__tests__
rollup.config.js
adaptors/*
core/*
utils/*

View File

@@ -15,7 +15,7 @@ describe('test note client', () => {
comments_index: 1,
id: '6188b80b6290547080c9e1f3',
author: 'yss',
text: '做的框架模板不错. (•౪• ) ',
text: '做的框架模板不错(•౪• ) ',
url: 'https://gitee.com/kmyss/',
key: '#26',
ref: '5e0318319332d06503619337',
@@ -38,7 +38,7 @@ describe('test note client', () => {
comments_index: 1,
id: '6188b80b6290547080c9e1f3',
author: 'yss',
text: '做的框架模板不错. (•౪• ) ',
text: '做的框架模板不错(•౪• ) ',
url: 'https://gitee.com/kmyss/',
key: '#26',
ref: '5e0318319332d06503619337',

View File

@@ -1,6 +1,6 @@
{
"name": "@mx-space/api-client",
"version": "1.0.0",
"version": "1.0.1",
"type": "module",
"description": "A api client for mx-space server@next",
"author": "Innei",
@@ -25,6 +25,19 @@
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./dist/*": {
"types": "./types/*.d.ts",
"import": "./dist/*.js",
"require": "./dist/*.cjs"
},
"./dist/adaptors/*": {
"types": "./types/adaptors/*.d.ts",
"import": "./dist/adaptors/*.js",
"require": "./dist/adaptors/*.cjs"
},
"./types/*": {
"types": "./types/*.d.ts"
},
"./package.json": "./package.json",
"./adaptors/*": {
"types": "./types/adaptors/*.d.ts",