open-index/open-npm huggingface dataset:
npm package: @hubroeducation/mup-aws-beanstalk
Description: Deploy apps to AWS Elastic Beanstalk using Meteor Up
Author: zodern
Latest version: 0.7.4

# @hubroeducation/mup-aws-beanstalk Fork

As we have not received any reply for our forks and issues in the main repository, we have published a fork to add in our extensions and updates

- Updated dependencies
- Add ability to include extra files into instances
- Support for custom ebextensions config files (by @s7dhansh, https://github.com/zodern/mup-aws-beanstalk/pull/72)
- Support for different deployment policies
- Fixes for hangups on SSL
- Disable HTTP requests

### Extra feautres

#### Custom files
```
// Add to mup config

additionalFiles: [
  {
    //Adds "mylog.log" to the logs that are tailed and exported in elastic beanstalk
    filepath: "/opt/elasticbeanstalk/tasks/taillogs.d/mylog.conf",
    content: [
      "/var/log/mylog.log*"
    ]
  },
]
```

#### Set deployment policy


```
// add to mup config

"deploymentPolicy": "Rolling"
```


#### Disable incoming HTTP requests


```
// add to mup config

"disableIncomingRequests": true
```



## mup-aws-beanstalk

Plugin for Meteor Up to deploy using AWS Beanstalk.

Features:
- Load balancing with support for sticky sessions and web sockets
- Autoscaling
- Meteor settings.json
- Zero downtime deploys
- Automatically uses the correct node version

[Getting Started Guide](./docs/getting-started.md)

[Documentation](./docs/index.md)
npm package: @hubspire/cache-directive
Description: A hubspire package for apollo graphql server caching using directives.
Author: Anoop Benzier
Latest version: 2.0.0

# Cache Directive

A cache directive package for apollo graphql server for cache setting and cache invalidation. This package will help you to manage query caching.

## Installation

Cache Directive Package requires [Node.js](https://nodejs.org/) v16+ to run.

Install the dependencies and devDependencies and start the server.

```sh
cd cache-directive
npm i
npm run build
```

#### How to implement ?

```sh
import { CacheContext } from "@hubspire/cache-directive";

export interface MyContext {
  cacheContext: CacheContext;
  ... // other context fields
}
```

```sh
import { CacheService, responseCachePlugin, cacheDirectiveTransformer } from "@hubspire/cache-directive";
import { makeExecutableSchema } from '@graphql-tools/schema';

const cacheService = await CacheService.start({
    cache_prefix: "cache_prefix",
    redis_host: String(process.env.REDIS_HOST),
    redis_port: Number(process.env.REDIS_PORT),
  });

const server = new ApolloServer<MyContext>({
  schema: cacheDirectiveTransformer(makeExecutableSchema({
    typeDefs,
    resolvers
  })),
  plugins: [
      responseCachePlugin<MyContext>()
  ],
  context: async ({ req }) => ({
    cacheContext: {
        cache: cacheService,
        sessionId: req?.headers?.authorization?.split(" ")[1] || null,
    },
  }),
});

```

```sh
directive @cacheSet(
  type: String!
  identifier: String!
  maxAge: Int = 900 # apply 900 seconds as the efault expire time for cache
) on FIELD_DEFINITION

input CachePurgeInput {
  types: [String!]!
  identifier: String
}
directive @cachePurge(payloads: [CachePurgeInput!]!) on FIELD_DEFINITION
```

## License

MIT

**Free Software, Hell Yeah!**
npm package: @hubspire/hubspire-cli
Description: A command line cli developed by hubspire for npm workspace.
Author: Anoop Benzier
Latest version: 3.3.8

# Hubspire CLI

This CLI tool, built with Node.js, enables the generation of an NPM-based workspace. With this workspace, you can create Apollo GraphQL server-based applications, Node.js libraries, and serverless applications. The CLI also provides CRUD generation capabilities, allowing you to generate GraphQL queries and mutations with MongoDB as the data source. Its primary objective is to simplify the process of building a microservice architecture using Apollo GraphQL federation techniques. The below diagram shows the architecture of our microservice.

![Image description](architecture.png)

## Installation

Hubspire CLI requires [Node.js](https://nodejs.org/) v16+ to run.

Install the dependencies and devDependencies and start the CLI.

```sh
cd hubspire-cli
npm i
npm run publish:local
```

#### Available commands

For npm workspace generation:

```sh
hsc create:workspace <workspace-name>
```

For application generation in NPM workspace:

```sh
hsc create:app <app-name> --type apollo
hsc create:app <app-name> --type subgraph
hsc create:app <app-name> --type serverless
hsc create:app <app-name> --type gateway
hsc create:app <app-name> --type express
```

For library generation in NPM workspace:

```sh
hsc create:lib <lib-name>
```

For CRUD generation in apollo graphql server application:

```sh
hsc create:crud <app-name> --entity <module-name>
```

For relationship generation in apollo graphql server application:

```sh
hsc create:relation <app-name> --entity <module-name>
```

For generating entire workspace using db design as json format:

```sh
hsc generate <json-file-path>
```

For seeding your mongoDB data for your docker mongo image

```sh
hsc seed:data <mongo-cluster-url> --mode export
hsc seed:data <mongo-cluster-url> --mode import
```

## License

MIT

**Free Software, Hell Yeah!**
npm package: @hubspot/app-functions-dev-server
Description: A tool for testing HubSpot private app functions locally
Latest version: 0.11.2

# @hubspot/app-functions-dev-server

> **Deprecated:** This package has been merged into [`@hubspot/ui-extensions-dev-server`](https://www.npmjs.com/package/@hubspot/ui-extensions-dev-server). Please use that package instead.

This package is no longer actively maintained. Existing versions will remain available for older CLI versions that depend on them, but no new features or fixes will be published here.
npm package: @hubspot/calling-extensions-sdk
Description: A JavaScript SDK for integrating calling apps into HubSpot.
Latest version: 0.9.7

## Overview

[![calling-extensions-sdk on npm](https://img.shields.io/npm/v/@hubspot/calling-extensions-sdk.svg?style=flat-square)](http://npmjs.com/@hubspot/calling-extensions-sdk)

The Calling Extensions SDK allows apps to provide a custom calling option to HubSpot users directly from a record in the CRM.

A calling extension consists of three main components:

- The Calling Extensions SDK, a JavaScript SDK that enables communication between your app and HubSpot.
- The calling settings endpoints, which are used to set the calling settings for your app. Each HubSpot account that connects to your app will use these settings.
- The calling iframe, which is where your app appears to HubSpot users and is configured using the calling settings endpoints.

## Getting Started

1. Create an app from your [app developer account](https://developers.hubspot.com/docs/getting-started/account-types#developer-accounts), and create a [developer test account](https://developers.hubspot.com/beta-docs/getting-started/account-types#developer-test-accounts) to test your app.
1. [Install the Calling Extensions SDK](https://developers.hubspot.com/docs/api-reference/crm-calling-extensions-v3/calling-sdk#install-the-calling-extensions-sdk-on-your-calling-app) on your calling app. Alternatively, you can [run the demos](https://developers.hubspot.com/docs/api-reference/crm-calling-extensions-v3/calling-sdk#run-the-demo-calling-app) if you'd like to see the SDK in action first.
1. Learn how to [use the Calling Extensions SDK](https://developers.hubspot.com/docs/api-reference/crm-calling-extensions-v3/calling-sdk#using-the-calling-extensions-sdk).
1. View the [available calling events](https://developers.hubspot.com/docs/api-reference/crm-calling-extensions-v3/calling-sdk#events).
1. [Test your app](https://developers.hubspot.com/docs/api-reference/crm-calling-extensions-v3/calling-sdk#test-your-app).
1. [Get your app ready for production](https://developers.hubspot.com/docs/api-reference/crm-calling-extensions-v3/calling-sdk#get-your-app-ready-for-production).
1. [Publish your app to the HubSpot marketplace](https://developers.hubspot.com/docs/api-reference/crm-calling-extensions-v3/calling-sdk#publish-your-calling-app-to-the-hubspot-marketplace).

## Getting Help

1. [Review the FAQs](https://developers.hubspot.com/docs/api-reference/crm-calling-extensions-v3/calling-sdk#calling-sdk-%7C-frequently-asked-questions).
1. Learn how to [get help with HubSpot](https://knowledge.hubspot.com/help-and-resources/get-help-with-hubspot?_gl=1*7nomik*_gcl_au*OTQ3MjgyMDk4LjE3MzA4MzkyOTE.*_ga*MjA4MzEyMjM0Mi4xNzMwODM5Mjkx*_ga_LXTM6CQ0XK*MTczMTQyOTg1Mi40LjEuMTczMTQzMDQ1My42MC4wLjA.&_ga=2.181003488.658339848.1731429852-2083122342.1730839291).