Skip to content

Commit

Permalink
Dependency upgrade + dep visualizer (#388)
Browse files Browse the repository at this point in the history
* upgrade rollup deps and esbuild

* upgrade execa to latest

* remove unused

* update redux-toolkit, loglevel and mock-socket

* upgrade ws

* up concurrently

* up concurrently sw-build-all

* up listr

* up changeset

* up typedoc plugin

* upgrade prettier

* remove script

* add changeset
  • Loading branch information
framini authored Dec 22, 2021
1 parent 66e6e30 commit 62c25d8
Show file tree
Hide file tree
Showing 14 changed files with 1,909 additions and 1,035 deletions.
12 changes: 12 additions & 0 deletions .changeset/hungry-hornets-thank.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
'@signalwire/core': patch
'@signalwire/node': patch
'@signalwire/realtime-api': patch
'@signalwire/webrtc': patch
'@sw-internal/build': patch
'@sw-internal/build-all': patch
'@sw-internal/common': patch
'@sw-internal/release': patch
---

[internal] upgrade dependencies, add dependency visualizer to umd build
2,878 changes: 1,869 additions & 1,009 deletions package-lock.json

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@
"@babel/core": "^7.16.5",
"@babel/preset-env": "^7.16.5",
"@babel/preset-typescript": "^7.16.5",
"@changesets/changelog-github": "^0.4.0",
"@changesets/cli": "^2.16.0",
"@signalwire/typedoc-readme-api-theme": "^0.6.1",
"@changesets/changelog-github": "^0.4.2",
"@changesets/cli": "^2.19.0",
"@signalwire/typedoc-readme-api-theme": "^0.7.0",
"@types/jest": "^27.0.3",
"babel-jest": "^27.4.5",
"concurrently": "^6.2.0",
"concurrently": "^6.5.1",
"jest": "^27.4.5",
"prettier": "^2.3.2",
"prettier": "^2.5.1",
"typedoc": "^0.22.10",
"typescript": "^4.5.4"
}
Expand Down
6 changes: 3 additions & 3 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,15 @@
},
"dependencies": {
"@redux-saga/core": "^1.1.3",
"@reduxjs/toolkit": "^1.6.0",
"@reduxjs/toolkit": "^1.7.1",
"eventemitter3": "4.0.7",
"loglevel": "^1.7.1",
"loglevel": "^1.8.0",
"uuid": "^8.3.2"
},
"devDependencies": {
"@types/uuid": "^8.3.3",
"jest-websocket-mock": "^2.2.1",
"mock-socket": "^9.0.3",
"mock-socket": "^9.0.8",
"redux-saga-test-plan": "^4.0.4"
},
"types": "dist/core/src/index.d.ts"
Expand Down
4 changes: 2 additions & 2 deletions packages/realtime-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@
},
"dependencies": {
"@signalwire/core": "3.4.0",
"ws": "^8.2.3"
"ws": "^8.4.0"
},
"devDependencies": {
"@types/ws": "^8.2.0",
"@types/ws": "^8.2.2",
"ts-node": "^10.0.0"
},
"types": "dist/realtime-api/src/index.d.ts"
Expand Down
2 changes: 1 addition & 1 deletion scripts/sw-build-all/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
"sw-build-all": "bin/cli.js"
},
"dependencies": {
"concurrently": "^6.2.0"
"concurrently": "^6.5.1"
}
}
2 changes: 2 additions & 0 deletions scripts/sw-build/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import * as rollup from 'rollup'
import commonjs from '@rollup/plugin-commonjs'
import license from 'rollup-plugin-license'
import replace from '@rollup/plugin-replace'
import { visualizer } from 'rollup-plugin-visualizer'
import typescript from 'rollup-plugin-typescript2'

const COMMON_NODE = {
Expand Down Expand Up @@ -248,6 +249,7 @@ const buildUmd = async (options) => {
},
mangle: true,
}),
visualizer(),
],
})
return instance.write({
Expand Down
16 changes: 8 additions & 8 deletions scripts/sw-build/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@
"sw-build": "bin/cli.js"
},
"dependencies": {
"@rollup/plugin-commonjs": "^19.0.1",
"@rollup/plugin-node-resolve": "^13.0.2",
"@rollup/plugin-commonjs": "^21.0.1",
"@rollup/plugin-node-resolve": "^13.1.1",
"@rollup/plugin-replace": "^3.0.0",
"esbuild": "^0.13.9",
"esbuild-node-externals": "^1.3.0",
"rollup": "^2.53.3",
"rollup-plugin-license": "^2.5.0",
"esbuild": "^0.14.6",
"esbuild-node-externals": "^1.4.1",
"rollup": "^2.61.1",
"rollup-plugin-license": "^2.6.0",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.31.0",
"tslib": "^2.3.0"
"rollup-plugin-typescript2": "^0.31.1",
"rollup-plugin-visualizer": "^5.5.2"
}
}
2 changes: 1 addition & 1 deletion scripts/sw-common/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import path from 'node:path'
import fs from 'node:fs'
import { fileURLToPath } from 'node:url'
import execa from 'execa'
import { execa } from 'execa'

const __filename = fileURLToPath(import.meta.url)
const __dirname = path.dirname(__filename)
Expand Down
2 changes: 1 addition & 1 deletion scripts/sw-common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"type": "module",
"private": true,
"dependencies": {
"execa": "^5.1.1"
"execa": "^6.0.0"
},
"scripts": {
"test": ""
Expand Down
2 changes: 1 addition & 1 deletion scripts/sw-release/common.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import execa from 'execa'
import { execa } from 'execa'
import path from 'node:path'
import { fileURLToPath } from 'node:url'
import { getPackages, getNpmTag, isPackagePublished } from '@sw-internal/common'
Expand Down
2 changes: 1 addition & 1 deletion scripts/sw-release/modes/beta.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import execa from 'execa'
import { execa } from 'execa'
import {
getBuildTask,
getInstallDependenciesTask,
Expand Down
2 changes: 1 addition & 1 deletion scripts/sw-release/modes/development.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import execa from 'execa'
import { execa } from 'execa'
import { getLastGitSha } from '@sw-internal/common'
import {
getBuildTask,
Expand Down
4 changes: 2 additions & 2 deletions scripts/sw-release/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
},
"dependencies": {
"@sw-internal/common": "^0.0.0",
"execa": "^5.1.1",
"execa": "^6.0.0",
"inquirer": "^8.2.0",
"listr2": "^3.12.2"
"listr2": "^3.13.5"
}
}

0 comments on commit 62c25d8

Please sign in to comment.