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

View File

@@ -12,3 +12,4 @@ apps/web/public/an.js
# editor # editor
packages/editor/styles/ packages/editor/styles/
/.nx/cache

View File

@@ -1,12 +1,12 @@
{ {
"name": "@notesnook/mobile", "name": "@notesnook/mobile",
"version": "3.0.0-beta.0", "version": "3.0.0",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@notesnook/mobile", "name": "@notesnook/mobile",
"version": "3.0.0-beta.0", "version": "3.0.0",
"hasInstallScript": true, "hasInstallScript": true,
"license": "GPL-3.0-or-later", "license": "GPL-3.0-or-later",
"workspaces": [ "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": { "targetDefaults": {
"build": { "build": {
"dependsOn": ["^build"], "dependsOn": ["^build"],
@@ -15,7 +6,8 @@
"{projectRoot}/build", "{projectRoot}/build",
"{projectRoot}/dist", "{projectRoot}/dist",
"{projectRoot}/languages" "{projectRoot}/languages"
] ],
"cache": true
}, },
"release": { "release": {
"dependsOn": ["^build"], "dependsOn": ["^build"],
@@ -23,7 +15,8 @@
}, },
"build:test": { "build:test": {
"dependsOn": ["^build"], "dependsOn": ["^build"],
"outputs": ["{projectRoot}/build"] "outputs": ["{projectRoot}/build"],
"cache": true
}, },
"build:beta": { "build:beta": {
"dependsOn": ["^build"], "dependsOn": ["^build"],
@@ -31,7 +24,8 @@
}, },
"build:desktop": { "build:desktop": {
"dependsOn": ["^build"], "dependsOn": ["^build"],
"outputs": ["{projectRoot}/build"] "outputs": ["{projectRoot}/build"],
"cache": true
}, },
"start": { "start": {
"dependsOn": ["^build"] "dependsOn": ["^build"]
@@ -66,5 +60,11 @@
"release-ios": { "release-ios": {
"dependsOn": ["^build"] "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" "serve": "^14.0.1"
}, },
"dependencies": { "dependencies": {
"@nrwl/nx-cloud": "^14.6.2",
"eslint-plugin-header": "^3.1.1", "eslint-plugin-header": "^3.1.1",
"fdir": "^6.0.2", "fdir": "^6.0.2",
"listr": "^0.14.3", "listr": "^0.14.3",
"nx": "^16.3.2", "nx": "^17.3.1",
"patch-package": "^7.0.0", "patch-package": "^7.0.0",
"rxjs": "^7.8.1", "rxjs": "^7.8.1",
"typescript": "5.1.3", "typescript": "5.1.3",