unleash-server 4.22.0-beta.72 → 4.22.0-beta.73
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/frontend/README.md +2 -2
- package/package.json +4 -2
package/frontend/README.md
CHANGED
|
@@ -8,7 +8,7 @@ First, start the unleash-api backend on port 4242.
|
|
|
8
8
|
Then, start the frontend dev server:
|
|
9
9
|
|
|
10
10
|
```
|
|
11
|
-
cd
|
|
11
|
+
cd ./frontend
|
|
12
12
|
yarn install
|
|
13
13
|
yarn run start
|
|
14
14
|
```
|
|
@@ -18,7 +18,7 @@ yarn run start
|
|
|
18
18
|
Alternatively, instead of running unleash-api on localhost, you can use a remote instance:
|
|
19
19
|
|
|
20
20
|
```
|
|
21
|
-
cd
|
|
21
|
+
cd ./frontend
|
|
22
22
|
yarn install
|
|
23
23
|
yarn run start:sandbox
|
|
24
24
|
```
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "unleash-server",
|
|
3
3
|
"description": "Unleash is an enterprise ready feature toggles service. It provides different strategies for handling feature toggles.",
|
|
4
|
-
"version": "4.22.0-beta.
|
|
4
|
+
"version": "4.22.0-beta.73",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"unleash",
|
|
7
7
|
"feature toggle",
|
|
@@ -38,13 +38,15 @@
|
|
|
38
38
|
"build:watch": "tsc -w --strictNullChecks false",
|
|
39
39
|
"prebuild": "yarn run clean",
|
|
40
40
|
"build": "yarn run copy-templates && tsc --pretty --strictNullChecks false",
|
|
41
|
-
"
|
|
41
|
+
"build:frontend": "yarn --cwd ./frontend",
|
|
42
|
+
"prepare": "node scripts/husky-install && yarn run build",
|
|
42
43
|
"test": "NODE_ENV=test PORT=4243 jest",
|
|
43
44
|
"test:unit": "NODE_ENV=test PORT=4243 jest --testPathIgnorePatterns=src/test/e2e --testPathIgnorePatterns=dist",
|
|
44
45
|
"test:docker": "./scripts/docker-postgres.sh",
|
|
45
46
|
"test:docker:cleanup": "docker rm -f unleash-postgres",
|
|
46
47
|
"test:watch": "yarn test --watch",
|
|
47
48
|
"test:coverage": "NODE_ENV=test PORT=4243 jest --coverage --testLocationInResults --outputFile=\"coverage/report.json\" --forceExit --testTimeout=10000",
|
|
49
|
+
"pretest:coverage:jest": "yarn build:frontend",
|
|
48
50
|
"test:coverage:jest": "NODE_ENV=test PORT=4243 jest --silent --ci --json --coverage --testLocationInResults --outputFile=\"report.json\" --forceExit --testTimeout=10000",
|
|
49
51
|
"seed:setup": "ts-node src/test/e2e/seed/segment.seed.ts",
|
|
50
52
|
"seed:serve": "UNLEASH_DATABASE_NAME=unleash_test UNLEASH_DATABASE_SCHEMA=seed yarn run start:dev",
|