summaryrefslogtreecommitdiff
path: root/www/onlyoffice-documentserver/files/patch-server_package.json
blob: 984b76c3bcb0bf09b31a52cb09496f8316e36cc7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
--- server/package.json.orig	2024-01-30 12:30:03.000000000 +0100
+++ server/package.json	2024-03-01 10:57:21.937036000 +0100
@@ -9,7 +9,7 @@
         "expand": true,
         "src": [
           "./**/sources/*.js",
-          "./Common/package.json",
+          "./Common/*.json",
           "./DocService/package.json",
           "./DocService/public/healthcheck.docx",
           "./FileConverter/package.json",
@@ -34,6 +34,7 @@
     "mkdir": {
       "server": {
         "options": {
+          "mode": "0755",
           "create": [
             "./build/server"
           ]
@@ -54,9 +55,10 @@
     "./build/server/Metrics"
   ],
   "dependencies": {
-    "grunt": "1.5.3",
+    "grunt": "^1.6.1",
     "grunt-banner": "0.6.0",
     "grunt-check-dependencies": "1.0.0",
+    "grunt-cli": "^1.5.0",
     "grunt-contrib-clean": "2.0.0",
     "grunt-contrib-copy": "1.0.0",
     "grunt-mkdir": "1.1.0",
@@ -78,10 +80,10 @@
     "integration tests with server instance": "cd ./DocService && jest integration/withServerInstance --inject-globals=false --config=../tests/jest.config.js",
     "integration database tests": "cd ./DocService && jest integration/databaseTests --inject-globals=false --config=../tests/jest.config.js",
     "tests": "cd ./DocService && jest --inject-globals=false --config=../tests/jest.config.js",
-    "install:Common": "npm ci --prefix ./Common",
-    "install:DocService": "npm ci --prefix ./DocService",
-    "install:FileConverter": "npm ci --prefix ./FileConverter",
-    "install:Metrics": "npm ci --prefix ./Metrics",
+    "install:Common": "npm install --prefix ./Common",
+    "install:DocService": "npm install --prefix ./DocService",
+    "install:FileConverter": "npm install --prefix ./FileConverter",
+    "install:Metrics": "npm install --prefix ./Metrics",
     "3d-party-lic-json:Common": "license-report --output=json --package=./Common/package.json --config ./3d-party-lic-report/license-report-config.json > ./3d-party-lic-report/license-report.json",
     "3d-party-lic-json:DocService": "license-report --output=json --package=./DocService/package.json --config ./3d-party-lic-report/license-report-config.json > ./3d-party-lic-report/license-report.json",
     "3d-party-lic-json:FileConverter": "license-report --output=json --package=./FileConverter/package.json --config ./3d-party-lic-report/license-report-config.json > ./3d-party-lic-report/license-report.json",