fix: missing api-client types
Signed-off-by: Innei <tukon479@gmail.com>
This commit is contained in:
6
packages/api-client/.npmignore
Normal file
6
packages/api-client/.npmignore
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
node_modules
|
||||||
|
__tests__
|
||||||
|
rollup.config.js
|
||||||
|
adaptors/*
|
||||||
|
core/*
|
||||||
|
utils/*
|
||||||
@@ -15,7 +15,7 @@ describe('test note client', () => {
|
|||||||
comments_index: 1,
|
comments_index: 1,
|
||||||
id: '6188b80b6290547080c9e1f3',
|
id: '6188b80b6290547080c9e1f3',
|
||||||
author: 'yss',
|
author: 'yss',
|
||||||
text: '做的框架模板不错. (•౪• ) ',
|
text: '做的框架模板不错。(•౪• ) ',
|
||||||
url: 'https://gitee.com/kmyss/',
|
url: 'https://gitee.com/kmyss/',
|
||||||
key: '#26',
|
key: '#26',
|
||||||
ref: '5e0318319332d06503619337',
|
ref: '5e0318319332d06503619337',
|
||||||
@@ -38,7 +38,7 @@ describe('test note client', () => {
|
|||||||
comments_index: 1,
|
comments_index: 1,
|
||||||
id: '6188b80b6290547080c9e1f3',
|
id: '6188b80b6290547080c9e1f3',
|
||||||
author: 'yss',
|
author: 'yss',
|
||||||
text: '做的框架模板不错. (•౪• ) ',
|
text: '做的框架模板不错。(•౪• ) ',
|
||||||
url: 'https://gitee.com/kmyss/',
|
url: 'https://gitee.com/kmyss/',
|
||||||
key: '#26',
|
key: '#26',
|
||||||
ref: '5e0318319332d06503619337',
|
ref: '5e0318319332d06503619337',
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@mx-space/api-client",
|
"name": "@mx-space/api-client",
|
||||||
"version": "1.0.0",
|
"version": "1.0.1",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"description": "A api client for mx-space server@next",
|
"description": "A api client for mx-space server@next",
|
||||||
"author": "Innei",
|
"author": "Innei",
|
||||||
@@ -25,6 +25,19 @@
|
|||||||
"import": "./dist/index.js",
|
"import": "./dist/index.js",
|
||||||
"require": "./dist/index.cjs"
|
"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",
|
"./package.json": "./package.json",
|
||||||
"./adaptors/*": {
|
"./adaptors/*": {
|
||||||
"types": "./types/adaptors/*.d.ts",
|
"types": "./types/adaptors/*.d.ts",
|
||||||
|
|||||||
Reference in New Issue
Block a user