-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into refactor-validation
- Loading branch information
Showing
32 changed files
with
4,224 additions
and
3,690 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -77,7 +77,7 @@ should "Squash and merge". | |
The project structure follows a monorepo approach, all officially maintained modules are in the same repo. We use [Lerna](https://github.com/lerna/lerna) to achieve the same. | ||
|
||
```sh | ||
$ git clone [email protected]:elastic/apm-agent-js-base.git && cd apm-agent-js-base | ||
$ git clone [email protected]:elastic/apm-agent-rum-js.git && cd apm-agent-rum-js | ||
$ npm install | ||
$ npm run bootstrap | ||
``` | ||
|
@@ -93,20 +93,20 @@ $ npm test | |
To run tests for a specific package: | ||
|
||
```sh | ||
$ SCOPE=elastic-apm-js-base npm test | ||
$ SCOPE=@elastic/apm-rum npm test | ||
``` | ||
|
||
To run unit/integration/end-to-end tests for packages: | ||
|
||
```sh | ||
// Unit tests | ||
$ npx lerna run --scope elastic-apm-js-base runUnitTests | ||
$ npx lerna run --scope @elastic/apm-rum runUnitTests | ||
|
||
// Integration tests | ||
$ npx lerna run --scope elastic-apm-js-base runNodeTests | ||
$ npx lerna run --scope @elastic/apm-rum runNodeTests | ||
|
||
// End to end tests | ||
$ npx lerna run --scope elastic-apm-js-base run-e2e | ||
$ npx lerna run --scope @elastic/apm-rum run-e2e | ||
``` | ||
|
||
### Linting | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.