Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
wginolas committed Oct 22, 2024
1 parent 8c06f73 commit bd2504a
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 4 deletions.
15 changes: 13 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,24 @@
# TODO

# Updating npm dependencies
# Build oofork.tar.gz

Run

```
bazel run -- @pnpm//:pnpm --dir $PWD install --lockfile-only
bazel build :oofork
```

and find the result here: `bazel-bin/onlyoffice-editor.tar.gz`

# Running all tests

```
bazel test --test_output=errors //...
```

# Updating npm dependencies
After changing a `pachage.json` file you have to run this command to update the bazel dependencies:

```
bazel run -- @pnpm//:pnpm --dir $PWD install --lockfile-only
```
4 changes: 2 additions & 2 deletions e2etests/playwright.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ module.exports = defineConfig({
/* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */
trace: 'on-first-retry',
},
timeout: 5000,
timeout: 50000,
expect: {
timeout: 1000,
timeout: 10000,
},

/* Configure projects for major browsers */
Expand Down
2 changes: 2 additions & 0 deletions mitmproxy/replace-oo.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ def request(flow: http.HTTPFlow) -> None:
content,
{"Content-Type": "application/javascript"},
)
flow.response.headers["cross-origin-resource-policy"] = 'cross-origin';

logging.info('Replaced %s (%d bytes)', path, len(content))
except:
logging.error('Could not read file %s', path, exc_info=True)
Expand Down

0 comments on commit bd2504a

Please sign in to comment.