Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .buildkite/scripts/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ fi

echo "--- Install node and gather dependencies"
nvm install "$(cat .nvmrc)"
npm ci
npm ci --legacy-peer-deps

echo "--- run release-ci"
# Disable signing
Expand Down
26 changes: 26 additions & 0 deletions .ci/scripts/release-ci.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#!/bin/bash --login

set -eo pipefail

echo 'set env context'
export HOME='/var/lib/jenkins'
export CSC_KEYCHAIN="/var/lib/jenkins/Library/Keychains/Elastic.keychain-db"

echo 'set keychain'
set -x
security list-keychains -s "$CSC_KEYCHAIN"
security list-keychains

set +x
echo 'unlock keychain'
security unlock-keychain -p "$KEYCHAIN_PASSWORD" "$CSC_KEYCHAIN"

echo 'run release-ci'
set -x
npm ci --legacy-peer-deps

# temp, TEAM_ID is public info that is available in codesign verification
export APPLE_TEAM_ID='2BT3HPN62Z'
export APPLE_USERNAME
export APPLE_APP_SPECIFIC_PASSWORD
npm run release-ci
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
node-version-file: '.nvmrc'
cache: 'npm'
- name: Install modules
run: npm ci
run: npm ci --legacy-peer-deps
- name: Lint
run: npm run lint
- name: Unused exports
Expand Down
351 changes: 83 additions & 268 deletions NOTICE.txt

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ You can see potential error outputs as a result of using the incorrect version b
Install the dependencies

```
npm install
npm install --legacy-peer-deps
```

Run the recorder app in dev mode.
Expand Down Expand Up @@ -179,7 +179,7 @@ Test new changes in the Recorder by updating Recorder's package.json. Update the

```bash
# run your install to update `package-lock.json` and install your target synthetics and playwright packages
npm install
npm install --legacy-peer-deps

# you can now run the Recorder and make sure that you can record and test journeys
npm run dev
Expand Down
2 changes: 1 addition & 1 deletion RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Be sure you have checked out the `main` branch and have pulled the latest change

```bash
# package-lock.json file should have no unstaged changes
npm install
npm install --legacy-peer-deps
```

#### Run tests
Expand Down
125 changes: 79 additions & 46 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"install:pw": "node scripts/install-pw.js",
"postinstall": "npm run install:pw && electron-builder install-app-deps && node dev-tools/dep-info.js && npm run prepare-demo-app --legacy-peer-deps",
"prepare-demo-app": "npm install --prefix demo-app && npm run build --prefix demo-app",
"prepare-demo-app": "npm install --legacy-peer-deps --prefix demo-app && npm run build --prefix demo-app",
"react:start": "react-scripts start",
"react:build": "react-scripts build",
"dev": "concurrently -k \"BROWSER=none npm run react:start\" \"npm run tsc-electron -- -w\" \"wait-on http://127.0.0.1:3000 && nodemon --exec electron build/electron/electron.js\"",
Expand Down Expand Up @@ -82,9 +82,10 @@
},
"dependencies": {
"@elastic/datemath": "^5.0.3",
"@elastic/eui": "^89.1.0",
"@elastic/eui": "^101.1.0",
"@elastic/synthetics": "=1.18.0",
"@emotion/cache": "^11.9.3",
"@emotion/css": "^11.13.5",
"@emotion/react": "^11.9.3",
"dotenv": "^16.0.3",
"electron-debug": "^3.2.0",
Expand All @@ -98,7 +99,7 @@
"react": "^17.0.1",
"react-dom": "^17.0.1",
"styled-components": "^6.1.0",
"typescript": "^4.5.3"
"typescript": "^5.8.2"
},
"browserslist": [
"last 1 version"
Expand Down
2 changes: 1 addition & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import { useEffect, useState } from 'react';
import { EuiCode, EuiEmptyPrompt, EuiGlobalToastList, EuiProvider } from '@elastic/eui';
import type { Steps } from '@elastic/synthetics';
import createCache from '@emotion/cache';
import '@elastic/eui/dist/eui_theme_light.css';
import '@elastic/eui/dist/eui_theme_borealis_light';
import { Title } from './components/Header/Title';
import { HeaderControls } from './components/Header/HeaderControls';
import { CommunicationContext } from './contexts/CommunicationContext';
Expand Down