Skip to content

Commit

Permalink
fix: move substrate to deps
Browse files Browse the repository at this point in the history
  • Loading branch information
pismenskiy authored Jul 6, 2022
1 parent ddd2fae commit a98ce78
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 4 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,13 @@
"lodash.once": "^4.1.1",
"lodash.set": "^4.3.2",
"nanoid": "3.3.4",
"safe-json-stringify": "^1.2.0"
"safe-json-stringify": "^1.2.0",
"tslib": "^2.4.0",
"@qiwi/substrate": "^1.20.14"
},
"devDependencies": {
"@qiwi/libdefkit": "^4.0.8",
"@qiwi/npm-run-all": "^4.1.7",
"@qiwi/substrate": "^1.20.14",
"@types/lodash.once": "^4.1.7",
"@types/lodash.set": "^4.3.7",
"@types/node": "^18.0.0",
Expand All @@ -92,7 +93,6 @@
"rimraf": "^3.0.2",
"terser": "^5.14.1",
"tsc-esm-fix": "^2.18.0",
"tslib": "^2.4.0",
"tsm": "^2.2.1",
"typedoc": "^0.23.2",
"typescript": "4.7.4",
Expand Down
2 changes: 1 addition & 1 deletion src/test/js/index.js → src/test/js/indexes5.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import * as assert from 'uvu/assert'

import { createHttpPipe,createTransmitter } from '../../../target/es5/index.cjs'

test('index.js (target)', () => {
test('index es5 (target)', () => {
test('has proper export', () => {
assert.instance(createTransmitter, Function)
assert.instance(createHttpPipe, Function)
Expand Down
14 changes: 14 additions & 0 deletions src/test/js/indexes6.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import { test } from 'uvu'
import * as assert from 'uvu/assert'

import { createFrontLogProxyTransmitter,createHttpPipe,createTransmitter } from '../../../target/es6/index.mjs'

test('index es6 (target)', () => {
test('has proper export', () => {
assert.instance(createTransmitter, Function)
assert.instance(createHttpPipe, Function)
assert.instance(createFrontLogProxyTransmitter, Function)
})
})

test.run()

0 comments on commit a98ce78

Please sign in to comment.