Skip to content

Commit

Permalink
chore: update lerna dep (#6352)
Browse files Browse the repository at this point in the history
  • Loading branch information
IT-MikeS committed Mar 8, 2023
1 parent be17044 commit 789fdaf
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 8 deletions.
7 changes: 1 addition & 6 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
{
"packages": [
"./android/",
"./ios/",
"./cli/",
"./core/"
],
"useWorkspaces": true,
"command": {
"bootstrap": {
"hoist": true
Expand Down
26 changes: 26 additions & 0 deletions nx.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"tasksRunnerOptions": {
"default": {
"runner": "nx/tasks-runners/default",
"options": {
"cacheableOperations": [
"build"
],
"parallel": 5
}
}
},
"targetDefaults": {
"build": {
"dependsOn": [
"^build"
],
"outputs": [
"{projectRoot}/core/dist",
"{projectRoot}/cli/dist",
"{projectRoot}/core/types",
"{projectRoot}/core/build"
]
}
}
}
9 changes: 7 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
{
"name": "capacitor",
"private": true,
"workspaces": [
"./android/",
"./ios/",
"./cli/",
"./core/"
],
"scripts": {
"ci:publish:nightly": "lerna publish prerelease --conventional-commits --conventional-prerelease --preid nightly-$(date +\"%Y%m%dT%H%M%S\") --dist-tag nightly --force-publish --no-verify-access --no-changelog --no-git-tag-version --no-push --yes",
"ci:publish:alpha": "lerna publish prerelease --conventional-commits --conventional-prerelease --preid alpha --dist-tag next --force-publish --no-verify-access --yes",
Expand All @@ -15,7 +21,6 @@
"prettier": "prettier \"**/*.{css,html,java,js,mjs,ts}\"",
"eslint": "eslint . --ext ts",
"swiftlint": "node-swiftlint",
"postinstall": "lerna bootstrap",
"version": "npm run sync-peer-dependencies"
},
"prettier": "@ionic/prettier-config",
Expand All @@ -28,7 +33,7 @@
"@ionic/swiftlint-config": "^1.1.2",
"@types/tar": "^6.1.2",
"eslint": "~7.27.0",
"lerna": "^3.22.1",
"lerna": "^6.5.1",
"prettier": "~2.3.0",
"prettier-plugin-java": "~1.1.1",
"swiftlint": "^1.0.1",
Expand Down

0 comments on commit 789fdaf

Please sign in to comment.