@yugabytedb/perf-advisor-ui 1.0.164 → 1.0.165

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/README.md CHANGED
@@ -58,14 +58,13 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
58
58
 
59
59
  # Build and Publish UI
60
60
 
61
- ### `npm run changelog`
62
-
63
- 1. Updates version in package.json
64
- 2. Generates a section for adding notes in CHANGELOG file for latest version
61
+ Bump `version` in `package.json` by hand and append a section to the end of `CHANGELOG.md`
62
+ — it is ordered oldest-first. There is no changelog generator; commit titles here are
63
+ `[PLAT-nnnnn] ...` rather than conventional commits, so nothing can derive the entries.
65
64
 
66
65
  ### `npm run release`
67
66
 
68
- 1. Builds the app for production to the `dist` folder.\
69
- a. It correctly bundles React in production mode and optimizes the build for the best performance.
70
- b. The build is minified and the filenames include the hashes.\
71
- 2. Publishes the version to NPM registry using Yugabyte credentials.
67
+ 1. Runs `npm ci`, then publishes to the NPM registry using Yugabyte credentials.
68
+ 2. Publishing is gated by the `prepublishOnly` hook, which runs `typecheck`, `lint` and the
69
+ production build first, so a broken tree cannot be published. The same gate applies to a
70
+ bare `npm publish`.
@@ -4,7 +4,8 @@ interface BindVariablesSectionProps {
4
4
  universeUuid: string;
5
5
  apiUrl: string;
6
6
  appName: AppName;
7
- gflagEnabled: boolean;
7
+ bindVariablesSupported: boolean;
8
+ bindVariablesEnabled: boolean;
8
9
  }
9
- export declare const BindVariablesSection: ({ bindVariables, universeUuid, apiUrl, appName, gflagEnabled }: BindVariablesSectionProps) => JSX.Element;
10
+ export declare const BindVariablesSection: ({ bindVariables, universeUuid, apiUrl, appName, bindVariablesSupported, bindVariablesEnabled }: BindVariablesSectionProps) => JSX.Element;
10
11
  export {};