Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia
TypeScript apiapi-clientapi-restapi-testingdeveloper-toolsgraphqlhttphttp-clientpwarestrest-apispatestingtesting-toolstoolsvuevuejswebsocket
ci: use latest workflow versions
Liyas Thomasdcbc2f114584
diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.jsonindex 5f21def62..451f32691 100644--- a/.devcontainer/devcontainer.json+++ b/.devcontainer/devcontainer.json@@ -1,9 +1,9 @@{- "name": "Hoppscotch",- "image": "mcr.microsoft.com/devcontainers/typescript-node:18",+ "name": "Hoppscotch",+ "image": "mcr.microsoft.com/devcontainers/typescript-node:18","forwardPorts": [3000],- "features": {- "ghcr.io/NicoVIII/devcontainer-features/pnpm:1": {}- },- "postCreateCommand": "cp .env.example .env && pnpm i"+ "features": {+ "ghcr.io/NicoVIII/devcontainer-features/pnpm:1": {}+ },+ "postCreateCommand": "mv .env.example .env && pnpm i"}diff --git a/.github/workflows/deploy-netlify.yml b/.github/workflows/deploy-netlify.ymlindex 3e0a0bb2a..9a8b70648 100644--- a/.github/workflows/deploy-netlify.yml+++ b/.github/workflows/deploy-netlify.yml@@ -16,7 +16,7 @@ jobs:run: mv .env.example .env- name: Setup and run pnpm install- uses: pnpm/[email protected]+ uses: pnpm/[email protected]with:version: 7run_install: truediff --git a/.github/workflows/deploy-preview-netlify.yml b/.github/workflows/deploy-preview-netlify.ymlindex cee82d7c0..6be28db1f 100644--- a/.github/workflows/deploy-preview-netlify.yml+++ b/.github/workflows/deploy-preview-netlify.yml@@ -14,7 +14,7 @@ jobs:uses: actions/checkout@v3- name: Setup and run pnpm install- uses: pnpm/[email protected]+ uses: pnpm/[email protected]env:VITE_BACKEND_GQL_URL: ${{ secrets.STAGING_BACKEND_GQL_URL }}with:diff --git a/.github/workflows/deploy-staging-netlify.yml b/.github/workflows/deploy-staging-netlify.ymlindex a7c4c26dd..0e1d875ae 100644--- a/.github/workflows/deploy-staging-netlify.yml+++ b/.github/workflows/deploy-staging-netlify.yml@@ -14,7 +14,7 @@ jobs:uses: actions/checkout@v3- name: Setup and run pnpm install- uses: pnpm/[email protected]+ uses: pnpm/[email protected]env:VITE_BACKEND_GQL_URL: ${{ secrets.STAGING_BACKEND_GQL_URL }}with:diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.ymlindex 41ff119d5..4a09c24e3 100644--- a/.github/workflows/tests.yml+++ b/.github/workflows/tests.yml@@ -22,7 +22,7 @@ jobs:run: mv .env.example .env- name: Setup and run pnpm install- uses: pnpm/[email protected]+ uses: pnpm/[email protected]with:version: 7run_install: truediff --git a/README.md b/README.mdindex 3b8958c94..ea412aa6b 100644--- a/README.md+++ b/README.md@@ -279,7 +279,7 @@ _Add-ons are developed and maintained under **[Hoppscotch Organization](https://## **Developing**-0. Update [`.env.example`](https://github.com/hoppscotch/hoppscotch/blob/main/.env.example) file found in the root of the repo with your own keys and rename it to `.env`.+0. Update [`.env.example`](https://github.com/hoppscotch/hoppscotch/blob/main/.env.example) file found in the root of repository with your own keys and rename it to `.env`._Sample keys only work with the [production build](https://hoppscotch.io)._@@ -315,7 +315,7 @@ docker run --rm --name hoppscotch -p 3000:3000 hoppscotch/hoppscotch:latest1. [Clone this repo](https://help.github.com/en/articles/cloning-a-repository) with git.2. Install pnpm using npm by running `npm install -g pnpm`.3. Install dependencies by running `pnpm install` within the directory that you cloned (probably `hoppscotch`).-4. Update [`.env.example`](https://github.com/hoppscotch/hoppscotch/blob/main/packages/hoppscotch-app/.env.example) file found in `packages/hoppscotch-app` with your own keys and rename it to `.env`.+4. Update [`.env.example`](https://github.com/hoppscotch/hoppscotch/blob/main/.env.example) file found in the root of repository with your own keys and rename it to `.env`.5. Build the release files with `pnpm run generate`.6. Find the built project in `packages/hoppscotch-app/dist`. Host these files on any [static hosting servers](https://www.pluralsight.com/blog/software-development/where-to-host-your-jamstack-site).diff --git a/packages/hoppscotch-common/src/components.d.ts b/packages/hoppscotch-common/src/components.d.tsindex 3ebc21203..40f5e9aa4 100644--- a/packages/hoppscotch-common/src/components.d.ts+++ b/packages/hoppscotch-common/src/components.d.ts@@ -98,6 +98,18 @@ declare module '@vue/runtime-core' {HttpTestResultReport: typeof import('./components/http/TestResultReport.vue')['default']HttpTests: typeof import('./components/http/Tests.vue')['default']HttpURLEncodedParams: typeof import('./components/http/URLEncodedParams.vue')['default']+ IconLucideArrowLeft: typeof import('~icons/lucide/arrow-left')['default']+ IconLucideCheckCircle: typeof import('~icons/lucide/check-circle')['default']+ IconLucideChevronRight: typeof import('~icons/lucide/chevron-right')['default']+ IconLucideGlobe: typeof import('~icons/lucide/globe')['default']+ IconLucideInbox: typeof import('~icons/lucide/inbox')['default']+ IconLucideInfo: typeof import('~icons/lucide/info')['default']+ IconLucideLayers: typeof import('~icons/lucide/layers')['default']+ IconLucideLoader: typeof import('~icons/lucide/loader')['default']+ IconLucideMinus: typeof import('~icons/lucide/minus')['default']+ IconLucideSearch: typeof import('~icons/lucide/search')['default']+ IconLucideUser: typeof import('~icons/lucide/user')['default']+ IconLucideUsers: typeof import('~icons/lucide/users')['default']LensesHeadersRenderer: typeof import('./components/lenses/HeadersRenderer.vue')['default']LensesHeadersRendererEntry: typeof import('./components/lenses/HeadersRendererEntry.vue')['default']LensesRenderersHTMLLensRenderer: typeof import('./components/lenses/renderers/HTMLLensRenderer.vue')['default']