Skip to content

Commit a08e45e

Browse files
author
Robert Austin
authored
[Resolver] generator uses setup_node_env (#76422) (#76940)
# Conflicts: # x-pack/plugins/security_solution/package.json
1 parent b6d317e commit a08e45e

File tree

4 files changed

+8
-11
lines changed

4 files changed

+8
-11
lines changed

x-pack/plugins/security_solution/scripts/endpoint/README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@ The default behavior is to create 1 endpoint with 1 alert and a moderate number
55
A seed value can be provided as a string for the random number generator for repeatable behavior, useful for demos etc.
66
Use the `-d` option if you want to delete and remake the indices, otherwise it will add documents to existing indices.
77

8-
The sample data generator script depends on ts-node, install with npm:
9-
10-
`npm install -g ts-node`
11-
128
Example command sequence to get ES and kibana running with sample data after installing ts-node:
139

1410
`yarn es snapshot` -> starts ES

x-pack/plugins/security_solution/scripts/endpoint/cli_tsconfig.json

Lines changed: 0 additions & 7 deletions
This file was deleted.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/*
2+
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
3+
* or more contributor license agreements. Licensed under the Elastic License;
4+
* you may not use this file except in compliance with the Elastic License.
5+
*/
6+
7+
require('../../../../../src/setup_node_env');
8+
require('./resolver_generator_script');

0 commit comments

Comments
 (0)