fix(docs): exclude test files from docs, also fixed build for crypto-node

This commit is contained in:
alina 🌸 2023-11-12 01:55:26 +03:00
parent 56ede3dd8e
commit 38de001e8d
Signed by: teidesu
SSH key fingerprint: SHA256:uNeCpw6aTSU4aIObXLvHfLkDa82HWH9EiOj9AXOIRpI
3 changed files with 13 additions and 1 deletions

View file

@ -2,8 +2,9 @@ import { describe } from 'vitest'
// eslint-disable-next-line import/no-relative-packages
import { testCryptoProvider } from '../../core/src/utils/crypto/crypto.test-utils.js'
import { NodeNativeCryptoProvider } from './index.js'
import { NodeNativeCryptoProvider } from '../src/index.js'
describe('NodeNativeCryptoProvider', () => {
// eslint-disable-next-line
testCryptoProvider(new NodeNativeCryptoProvider())
})

View file

@ -0,0 +1,9 @@
{
"extends": "../../../tsconfig.json",
"include": [
"."
],
"references": [
{ "path": "../" }
]
}

View file

@ -11,6 +11,8 @@ module.exports = {
exclude: [
'**/*/node_modules',
'./packages/tl/**/*',
'**/*.test.ts',
'**/*.test-utils.ts',
],
externalPattern: ['**/dist/**'],
plugin: [