Merge pull request #1047 from waku-org/chore/remove-lerna

This commit is contained in:
fryorcraken.eth 2022-12-02 15:53:23 +11:00 committed by GitHub
commit 25f104a769
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 32 additions and 8400 deletions

View File

@ -1,5 +0,0 @@
{
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
"useWorkspaces": true,
"version": "0.0.0"
}

40
nx.json
View File

@ -1,40 +0,0 @@
{
"tasksRunnerOptions": {
"default": {
"runner": "nx/tasks-runners/default",
"options": {
"cacheableOperations": [
"build",
"build:esm",
"build:bundle",
"fix",
"fix:prettier",
"fix:lint",
"check",
"check:lint",
"check:prettier",
"check:spelling",
"check:tsc",
"test",
"test:node",
"test:browser",
"proto"
]
}
}
},
"targetDefaults": {
"build": {
"dependsOn": ["^build"],
"outputs": ["{projectRoot}/dist, {projectRoot}/bundle"]
},
"build:esm": {
"dependsOn": ["^build:esm"],
"outputs": ["{projectRoot}/dist"]
},
"build:bundle": {
"dependsOn": ["^build:bundle"],
"outputs": ["{projectRoot}/bundle"]
}
}
}

8362
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -2,18 +2,26 @@
"name": "@waku/root", "name": "@waku/root",
"private": true, "private": true,
"workspaces": [ "workspaces": [
"packages/*" "packages/byte-utils",
"packages/interfaces",
"packages/core",
"packages/enr",
"packages/dns-discovery",
"packages/message-encryption",
"packages/create",
"packages/tests"
], ],
"scripts": { "scripts": {
"prepare": "husky install", "prepare": "husky install",
"build": "lerna run build", "build": "npm run build --workspaces --if-present",
"size": "npm run build && size-limit", "size": "npm run build && size-limit",
"fix": "lerna run fix", "fix": "npm run fix --workspaces --if-present",
"check": "lerna run check", "check": "npm run check --workspaces --if-present",
"test": "lerna run test", "check:ws": "[ $(ls -1 ./packages|wc -l) -eq $(cat package.json | jq '.workspaces | length') ] || exit 1 # check no packages left behind",
"test:browser": "lerna run test:browser", "test": "npm run test --workspaces --if-present",
"test:node": "lerna run test:node", "test:browser": "npm run test:browser --workspaces --if-present",
"proto": "lerna run proto", "test:node": "npm run test:node --workspaces --if-present",
"proto": "npm run proto --workspaces --if-present",
"doc": "run-s doc:*", "doc": "run-s doc:*",
"doc:html": "typedoc # --treatWarningsAsErrors", "doc:html": "typedoc # --treatWarningsAsErrors",
"doc:cname": "echo 'js.waku.org' > docs/CNAME", "doc:cname": "echo 'js.waku.org' > docs/CNAME",
@ -29,7 +37,6 @@
"@size-limit/preset-big-lib": "^8.1.0", "@size-limit/preset-big-lib": "^8.1.0",
"conventional-changelog-conventionalcommits": "^5.0.0", "conventional-changelog-conventionalcommits": "^5.0.0",
"husky": "^8.0.1", "husky": "^8.0.1",
"lerna": "^6.0.1",
"lint-staged": "^13.0.3", "lint-staged": "^13.0.3",
"multi-semantic-release": "^3.0.1", "multi-semantic-release": "^3.0.1",
"semantic-release": "^19.0.5", "semantic-release": "^19.0.5",