* feat: add ability to export a single environment * refactor: export environment without id * feat: introducing zod for checking json format for environment variables * refactor: new zod specific type for HoppEnvPair * feat: add ability to export single environment in team environment * refactor: moved zod as a dependency to devDependency * refactor: separated repeating logic to helper file * refactor: removed unnecessary to string operation * chore: rearranged smart item placement * refactor: introduced error type when a bulk environment export is used in cli * refactor: removed unnecssary type exports and updated logic and variable names across most files * refactor: better logic for type shapes * chore: bump hoppscotch-cli package version --------- Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com> |
||
|---|---|---|
| .. | ||
| assets | ||
| locales | ||
| public | ||
| src | ||
| .dockerignore | ||
| .gitignore | ||
| Caddyfile | ||
| Dockerfile | ||
| gql-codegen.yml | ||
| index.html | ||
| languages.json | ||
| package.json | ||
| prod_run.mjs | ||
| README.md | ||
| tsconfig.json | ||
| tsconfig.node.json | ||
| vite.config.ts | ||
| windi.config.ts | ||
Built with
Developing
- Update
.env.examplefile found in the root of repository with your own keys and rename it to.env.
Local development environment
- Clone this repo with git.
- Update
.env.examplefile found in the root ofhoppscotch-sh-admindirectory with your own keys and rename it to.env. - Install pnpm using npm by running
npm install -g pnpm. - Install dependencies by running
pnpm installwithin thehoppscotch-sh-admindirectory - It is assumed that the backend is running. Refer the Hoppscotch Backend
READMEto get the backend setup and running. - Start the development server with
pnpm run dev. - Open the development site by going to
http://localhost:3100in your browser.