Skip to content

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.

fix: rename http-api to http-client

Andras Bacsai2eb9781776c4
diff --git a/.github/workflows/http-api.yml b/.github/workflows/http-client.yml
similarity index 60%
rename from .github/workflows/http-api.yml
rename to .github/workflows/http-client.yml
index 5bd515415c..f47cb1aedd 100644
--- a/.github/workflows/http-api.yml
+++ b/.github/workflows/http-client.yml
@@ -1,9 +1,9 @@
-name: HTTP API Publish
+name: HTTP Client Publish
on:
push:
paths:
- - "packages/http-api/**/*"
- - ".github/workflows/http-api.yml"
+ - "packages/http-client/**/*"
+ - ".github/workflows/http-client.yml"
- ".github/actions/publish/action.yaml"
jobs:
publish:
@@ -12,5 +12,5 @@ jobs:
- uses: actions/checkout@v3
- uses: ./.github/actions/publish
with:
- package: "./packages/http-api/package.json"
+ package: "./packages/http-client/package.json"
token: ${{ secrets.NPM_TOKEN }}
diff --git a/packages/http-api/LICENSE b/packages/http-client/LICENSE
similarity index 100%
rename from packages/http-api/LICENSE
rename to packages/http-client/LICENSE
diff --git a/packages/http-client/README.md b/packages/http-client/README.md
new file mode 100644
index 0000000000..23f15ec25c
--- /dev/null
+++ b/packages/http-client/README.md
@@ -0,0 +1 @@
+# Webstudio HTTP Client
diff --git a/packages/http-api/package.json b/packages/http-client/package.json
similarity index 85%
rename from packages/http-api/package.json
rename to packages/http-client/package.json
index 23a3f6eeab..f5785a95b6 100644
--- a/packages/http-api/package.json
+++ b/packages/http-client/package.json
@@ -1,7 +1,7 @@
{
- "name": "@webstudio-is/http-api",
- "version": "0.0.2",
- "description": "Webstudio HTTP API",
+ "name": "@webstudio-is/http-client",
+ "version": "0.0.1",
+ "description": "Webstudio HTTP Client",
"author": "Webstudio <[email protected]>",
"homepage": "https://webstudio.is",
"scripts": {
@@ -28,5 +28,5 @@
"!*.test.*"
],
"license": "MIT",
- "private": false
+ "private": true
}
diff --git a/packages/http-api/src/index.d.ts b/packages/http-client/src/index.d.ts
similarity index 100%
rename from packages/http-api/src/index.d.ts
rename to packages/http-client/src/index.d.ts
diff --git a/packages/http-api/src/index.ts b/packages/http-client/src/index.ts
similarity index 100%
rename from packages/http-api/src/index.ts
rename to packages/http-client/src/index.ts
diff --git a/packages/http-api/tsconfig.json b/packages/http-client/tsconfig.json
similarity index 100%
rename from packages/http-api/tsconfig.json
rename to packages/http-client/tsconfig.json