sharkio-dev / sharkio

Sharkio is an API proxy for your development environments. It records all the requests that are sent to your API. It allows you to replay the requests easily. Generate types, documentation, test suites, And interact with your API using AI.
https://sharkio.dev/
MIT License
5 stars 1 forks source link

fix: issue #223 - rename the directories client and server #231

Closed Sushannt closed 1 year ago

Sushannt commented 1 year ago

Description

Renamed 'traffic-dashboard' and 'traffic-sniffer' directories to 'client' and 'server' respectively.

Related Issues or Pull Requests

issue #223

Proposed Changes

Along with renaming directories, I made changes to the following files. fyi: client means 'traffic-dashboard', server means 'traffic-sniffer'

"scripts" : {

  "dashboard": "cd ./client && npm run dev",
    "sniffer": "cd ./server && npm run dev",
    "build:dashboard": "cd ./client && npm run build",
    "build:sniffer": "cd ./server && npm run build",
    "format:dashboard": "cd ./client && npm run format",
    "format:sniffer": "cd ./server && npm run format",
    "build": "concurrently --kill-others \"cd ./server && npm run build\"  \"cd ./client && npm run build\"",
    "dev": "concurrently --kill-others \"cd ./server && npm run dev\"  \"cd ./client && npm run dev\"",
    "dev2": "concurrently --kill-others \"cd ./server && npm run dev\"  \"cd ./client && npm run dev2\"",
    "demo": "concurrently --kill-others \"nodemon dummy-server.js\" \"npm run dev\"",
    "format": "prettier -w . && git add .",
    "test:server": "cd ./server && npm test",
    "test:client": "cd ./client && npm test",
    "test": "concurrently \"npm run test:server\" \"npm run test:client\"",

},

"dependencies" : {

    "client": "file:client",
    "server": "file:server",

} "files": [

    "server",
    "client"

], "bundleDependencies": [

    "client",
    "server",

],

Screenshots (if applicable)

If the changes are visual in nature, please provide screenshots or GIFs that showcase the before and after effects.

How to Test

Outline the steps to test the changes made in this pull request. Provide as much detail as necessary so that reviewers can easily verify the changes.

Additional Notes

Include any other relevant information, context, or considerations related to this pull request.

Checklist

Please make sure you've done the following before submitting this pull request: