config: update nx

This commit is contained in:
Abdullah Atta
2024-02-02 18:32:53 +05:00
parent c8ba88bb99
commit 061433d8cd
6 changed files with 691 additions and 660 deletions

2
.gitignore vendored
View File

@@ -10,4 +10,4 @@ nx-cloud.env
.nyc_output
site
node_modules.backup
.nx
.nx

View File

@@ -11,4 +11,5 @@ apps/mobile/native/
apps/web/public/an.js
# editor
packages/editor/styles/
packages/editor/styles/
/.nx/cache

View File

@@ -1,12 +1,12 @@
{
"name": "@notesnook/mobile",
"version": "3.0.0-beta.0",
"version": "3.0.0",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@notesnook/mobile",
"version": "3.0.0-beta.0",
"version": "3.0.0",
"hasInstallScript": true,
"license": "GPL-3.0-or-later",
"workspaces": [

26
nx.json
View File

@@ -1,13 +1,4 @@
{
"tasksRunnerOptions": {
"default": {
"runner": "@nrwl/nx-cloud",
"options": {
"cacheableOperations": ["build", "build:test", "build:desktop"],
"accessToken": "ZWM3ODgxNDgtNGUzZC00MjQ0LWE3MzMtZDdhMzE3ZGY2MWFlfHJlYWQ="
}
}
},
"targetDefaults": {
"build": {
"dependsOn": ["^build"],
@@ -15,7 +6,8 @@
"{projectRoot}/build",
"{projectRoot}/dist",
"{projectRoot}/languages"
]
],
"cache": true
},
"release": {
"dependsOn": ["^build"],
@@ -23,7 +15,8 @@
},
"build:test": {
"dependsOn": ["^build"],
"outputs": ["{projectRoot}/build"]
"outputs": ["{projectRoot}/build"],
"cache": true
},
"build:beta": {
"dependsOn": ["^build"],
@@ -31,7 +24,8 @@
},
"build:desktop": {
"dependsOn": ["^build"],
"outputs": ["{projectRoot}/build"]
"outputs": ["{projectRoot}/build"],
"cache": true
},
"start": {
"dependsOn": ["^build"]
@@ -66,5 +60,11 @@
"release-ios": {
"dependsOn": ["^build"]
}
}
},
"namedInputs": {
"default": ["{projectRoot}/**/*", "sharedGlobals"],
"sharedGlobals": [],
"production": ["default"]
},
"nxCloudAccessToken": "ZWM3ODgxNDgtNGUzZC00MjQ0LWE3MzMtZDdhMzE3ZGY2MWFlfHJlYWQ="
}

1313
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -56,11 +56,10 @@
"serve": "^14.0.1"
},
"dependencies": {
"@nrwl/nx-cloud": "^14.6.2",
"eslint-plugin-header": "^3.1.1",
"fdir": "^6.0.2",
"listr": "^0.14.3",
"nx": "^16.3.2",
"nx": "^17.3.1",
"patch-package": "^7.0.0",
"rxjs": "^7.8.1",
"typescript": "5.1.3",