Skip to content

Commit

Permalink
Shuffle around dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Shaptic committed Apr 4, 2023
1 parent 15f13d3 commit 738ccb8
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:

strategy:
fail-fast: false
max-parallel: 4
max-parallel: 2
matrix:
node-version: [14, 16, 18]

Expand Down
3 changes: 2 additions & 1 deletion config/karma.conf.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
var webpackConfig = require('./webpack.config.browser.js');
const webpackConfig = require('./webpack.config.browser.js');

delete webpackConfig.output;
webpackConfig.entry = {}; // karma fills these in
webpackConfig.plugins.shift(); // drop eslinter plugin
Expand Down
5 changes: 3 additions & 2 deletions config/webpack.config.browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ const config = {
crypto: require.resolve('crypto-browserify'),
stream: require.resolve('stream-browserify'),
buffer: require.resolve('buffer')
}
},
extensions: ['.ts', '.js']
},
output: {
clean: true,
Expand Down Expand Up @@ -67,7 +68,7 @@ const config = {
})
],
watchOptions: {
ignored: /(node_modules|coverage)/
ignored: /(node_modules|coverage|lib|dist)/
}
};

Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "stellar-base",
"version": "8.2.2",
"description": "Low-level support library for the Stellar network.",
"main": "./lib/index.js",
"main": "./src/index.js",
"types": "./types/index.d.ts",
"scripts": {
"build": "yarn build:node",
Expand Down Expand Up @@ -111,19 +111,19 @@
"terser-webpack-plugin": "^5.3.7",
"ts-node": "^10.9.1",
"webpack": "^5.77.0",
"ghooks": "^2.0.4",
"typescript": "^5.0.3",
"webpack-cli": "^5.0.1"
},
"dependencies": {
"base32.js": "^0.1.0",
"bignumber.js": "^9.1.1",
"crc": "^4.3.2",
"crypto-browserify": "^3.12.0",
"ghooks": "^2.0.4",
"js-xdr": "^1.1.3",
"lodash": "^4.17.21",
"sha.js": "^2.3.6",
"tweetnacl": "^1.0.3",
"typescript": "^5.0.3"
"tweetnacl": "^1.0.3"
},
"optionalDependencies": {
"sodium-native": "^3.3.0"
Expand Down

0 comments on commit 738ccb8

Please sign in to comment.