mirror of
https://github.com/waku-org/js-waku.git
synced 2025-02-09 11:03:59 +00:00
chore: move size-limit to root
This commit is contained in:
parent
c2e8feba28
commit
2cef9d43ea
@ -1,42 +1,46 @@
|
|||||||
module.exports = [
|
module.exports = [
|
||||||
{
|
{
|
||||||
name: "Waku core",
|
name: "Waku core",
|
||||||
path: "bundle/index.js",
|
path: "packages/core/bundle/index.js",
|
||||||
import: "{ WakuNode }",
|
import: "{ WakuNode }",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "Waku default setup",
|
name: "Waku default setup",
|
||||||
path: ["bundle/index.js", "bundle/lib/create_waku.js"],
|
path: [
|
||||||
|
"packages/core/bundle/index.js",
|
||||||
|
"packages/core/bundle/lib/create_waku.js",
|
||||||
|
],
|
||||||
import: {
|
import: {
|
||||||
"./bundle/lib/create_waku.js": "{ createLightNode }",
|
"./packages/core/bundle/lib/create_waku.js": "{ createLightNode }",
|
||||||
"./bundle/lib/wait_for_remote_peer.js": "{ waitForRemotePeer }",
|
"./packages/core/bundle/lib/wait_for_remote_peer.js":
|
||||||
"./bundle/lib/waku_message/version_0.js":
|
"{ waitForRemotePeer }",
|
||||||
|
"./packages/core/bundle/lib/waku_message/version_0.js":
|
||||||
"{ MessageV0, DecoderV0, EncoderV0 }",
|
"{ MessageV0, DecoderV0, EncoderV0 }",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "Asymmetric, symmetric encryption and signature",
|
name: "Asymmetric, symmetric encryption and signature",
|
||||||
path: "bundle/lib/waku_message/version_1.js",
|
path: "packages/core/bundle/lib/waku_message/version_1.js",
|
||||||
import: "{ MessageV1, AsymEncoder, AsymDecoder, SymEncoder, SymDecoder }",
|
import: "{ MessageV1, AsymEncoder, AsymDecoder, SymEncoder, SymDecoder }",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "DNS discovery",
|
name: "DNS discovery",
|
||||||
path: "bundle/lib/peer_discovery_dns.js",
|
path: "packages/core/bundle/lib/peer_discovery_dns.js",
|
||||||
import: "{ PeerDiscoveryDns }",
|
import: "{ PeerDiscoveryDns }",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "Privacy preserving protocols",
|
name: "Privacy preserving protocols",
|
||||||
path: "bundle/index.js",
|
path: "packages/core/bundle/index.js",
|
||||||
import: "{ WakuRelay }",
|
import: "{ WakuRelay }",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "Light protocols",
|
name: "Light protocols",
|
||||||
path: "bundle/index.js",
|
path: "packages/core/bundle/index.js",
|
||||||
import: "{ WakuLightPush, WakuFilter }",
|
import: "{ WakuLightPush, WakuFilter }",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "History retrieval protocols",
|
name: "History retrieval protocols",
|
||||||
path: "bundle/index.js",
|
path: "packages/core/bundle/index.js",
|
||||||
import: "{ WakuStore }",
|
import: "{ WakuStore }",
|
||||||
},
|
},
|
||||||
];
|
];
|
8
package-lock.json
generated
8
package-lock.json
generated
@ -9,9 +9,11 @@
|
|||||||
"packages/*"
|
"packages/*"
|
||||||
],
|
],
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"@size-limit/preset-big-lib": "^8.1.0",
|
||||||
"husky": "^8.0.1",
|
"husky": "^8.0.1",
|
||||||
"lerna": "^6.0.1",
|
"lerna": "^6.0.1",
|
||||||
"lint-staged": "^13.0.3"
|
"lint-staged": "^13.0.3",
|
||||||
|
"size-limit": "^8.1.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@achingbrain/ip-address": {
|
"node_modules/@achingbrain/ip-address": {
|
||||||
@ -18018,7 +18020,6 @@
|
|||||||
"@rollup/plugin-commonjs": "^22.0.0",
|
"@rollup/plugin-commonjs": "^22.0.0",
|
||||||
"@rollup/plugin-json": "^4.1.0",
|
"@rollup/plugin-json": "^4.1.0",
|
||||||
"@rollup/plugin-node-resolve": "^13.3.0",
|
"@rollup/plugin-node-resolve": "^13.3.0",
|
||||||
"@size-limit/preset-big-lib": "^8.0.0",
|
|
||||||
"@types/app-root-path": "^1.2.4",
|
"@types/app-root-path": "^1.2.4",
|
||||||
"@types/chai": "^4.2.15",
|
"@types/chai": "^4.2.15",
|
||||||
"@types/debug": "^4.1.7",
|
"@types/debug": "^4.1.7",
|
||||||
@ -18056,7 +18057,6 @@
|
|||||||
"protons": "^5.1.0",
|
"protons": "^5.1.0",
|
||||||
"puppeteer": "^13.0.1",
|
"puppeteer": "^13.0.1",
|
||||||
"rollup": "^2.75.0",
|
"rollup": "^2.75.0",
|
||||||
"size-limit": "^8.0.0",
|
|
||||||
"tail": "^2.2.0",
|
"tail": "^2.2.0",
|
||||||
"ts-loader": "^9.3.1",
|
"ts-loader": "^9.3.1",
|
||||||
"ts-node": "^10.9.1",
|
"ts-node": "^10.9.1",
|
||||||
@ -26421,7 +26421,6 @@
|
|||||||
"@rollup/plugin-commonjs": "^22.0.0",
|
"@rollup/plugin-commonjs": "^22.0.0",
|
||||||
"@rollup/plugin-json": "^4.1.0",
|
"@rollup/plugin-json": "^4.1.0",
|
||||||
"@rollup/plugin-node-resolve": "^13.3.0",
|
"@rollup/plugin-node-resolve": "^13.3.0",
|
||||||
"@size-limit/preset-big-lib": "^8.0.0",
|
|
||||||
"@types/app-root-path": "^1.2.4",
|
"@types/app-root-path": "^1.2.4",
|
||||||
"@types/chai": "^4.2.15",
|
"@types/chai": "^4.2.15",
|
||||||
"@types/debug": "^4.1.7",
|
"@types/debug": "^4.1.7",
|
||||||
@ -26469,7 +26468,6 @@
|
|||||||
"protons-runtime": "^3.1.0",
|
"protons-runtime": "^3.1.0",
|
||||||
"puppeteer": "^13.0.1",
|
"puppeteer": "^13.0.1",
|
||||||
"rollup": "^2.75.0",
|
"rollup": "^2.75.0",
|
||||||
"size-limit": "^8.0.0",
|
|
||||||
"tail": "^2.2.0",
|
"tail": "^2.2.0",
|
||||||
"ts-loader": "^9.3.1",
|
"ts-loader": "^9.3.1",
|
||||||
"ts-node": "^10.9.1",
|
"ts-node": "^10.9.1",
|
||||||
|
@ -7,16 +7,18 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"prepare": "husky install",
|
"prepare": "husky install",
|
||||||
"build": "lerna run build",
|
"build": "lerna run build",
|
||||||
"size": "lerna run size",
|
"size": "npm run build && size-limit",
|
||||||
"fix": "lerna run fix",
|
"fix": "lerna run fix",
|
||||||
"test": "lerna run test",
|
"test": "lerna run test",
|
||||||
"proto": "lerna run proto",
|
"proto": "lerna run proto",
|
||||||
"doc": "lerna run doc"
|
"doc": "lerna run doc"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"@size-limit/preset-big-lib": "^8.1.0",
|
||||||
"husky": "^8.0.1",
|
"husky": "^8.0.1",
|
||||||
"lerna": "^6.0.1",
|
"lerna": "^6.0.1",
|
||||||
"lint-staged": "^13.0.3"
|
"lint-staged": "^13.0.3",
|
||||||
|
"size-limit": "^8.1.0"
|
||||||
},
|
},
|
||||||
"lint-staged": {
|
"lint-staged": {
|
||||||
"*.ts": [
|
"*.ts": [
|
||||||
|
@ -67,7 +67,6 @@
|
|||||||
"build": "run-s build:**",
|
"build": "run-s build:**",
|
||||||
"build:esm": "tsc && node build-scripts/fix-imports.js",
|
"build:esm": "tsc && node build-scripts/fix-imports.js",
|
||||||
"build:bundle": "rollup --config rollup.config.js",
|
"build:bundle": "rollup --config rollup.config.js",
|
||||||
"size": "npm run build && size-limit",
|
|
||||||
"fix": "run-s fix:*",
|
"fix": "run-s fix:*",
|
||||||
"fix:prettier": "prettier \"src/**/*.ts\" \"./*.json\" \"*.*js\" --write",
|
"fix:prettier": "prettier \"src/**/*.ts\" \"./*.json\" \"*.*js\" --write",
|
||||||
"fix:lint": "eslint src --ext .ts --ext .cjs --fix",
|
"fix:lint": "eslint src --ext .ts --ext .cjs --fix",
|
||||||
@ -135,7 +134,6 @@
|
|||||||
"@rollup/plugin-commonjs": "^22.0.0",
|
"@rollup/plugin-commonjs": "^22.0.0",
|
||||||
"@rollup/plugin-json": "^4.1.0",
|
"@rollup/plugin-json": "^4.1.0",
|
||||||
"@rollup/plugin-node-resolve": "^13.3.0",
|
"@rollup/plugin-node-resolve": "^13.3.0",
|
||||||
"@size-limit/preset-big-lib": "^8.0.0",
|
|
||||||
"@types/app-root-path": "^1.2.4",
|
"@types/app-root-path": "^1.2.4",
|
||||||
"@types/chai": "^4.2.15",
|
"@types/chai": "^4.2.15",
|
||||||
"@types/debug": "^4.1.7",
|
"@types/debug": "^4.1.7",
|
||||||
@ -173,7 +171,6 @@
|
|||||||
"protons": "^5.1.0",
|
"protons": "^5.1.0",
|
||||||
"puppeteer": "^13.0.1",
|
"puppeteer": "^13.0.1",
|
||||||
"rollup": "^2.75.0",
|
"rollup": "^2.75.0",
|
||||||
"size-limit": "^8.0.0",
|
|
||||||
"tail": "^2.2.0",
|
"tail": "^2.2.0",
|
||||||
"ts-loader": "^9.3.1",
|
"ts-loader": "^9.3.1",
|
||||||
"ts-node": "^10.9.1",
|
"ts-node": "^10.9.1",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user