open-index/open-npm huggingface dataset:
npm package: @leanjs/aws
Description: LeanJS utilities for AWS
Author: Alex Lobera
Latest version: 0.2.60

# @leanjs/aws

## Installation

If your apps are in a monorepo (recommended) execute the following command at the root of your repository:

```sh
yarn add -D -W @leanjs/aws @leanjs/cli && yarn add -W @leanjs/core
```

then in the `package.json` of each composable app add the following `devDependency`:

```
"devDependencies": {
  "@leanjs/cli": "*"
}
```

If you don't use a monorepo, run the following command in each repository of each composable app instead of the above:

```sh
 yarn add -D @leanjs/aws @leanjs/cli && yarn add @leanjs/core
```

## Basic usage

If you deploy all your micro-frontends to the same cloud provider and use a monorepo, you can add the following in your `lean.config.js` file:

```
module.exports = {
  // ... some other config
  command: {
    deploy: {
      use: "@leanjs/aws",
    },
  },
};
```

Then in each micro-app `package.json` in your monorepo you can add the following script:

```
  "scripts": {
      "deploy": "lean deploy"
  }

```

Alternatively, you can specify the cloud provider package that you want to `use` when running the `deploy` command:

```
  "scripts": {
      "deploy": "lean deploy --use @leanjs/aws"
  }
```

## CI/CD

You must define the following environment variables in your CI/CD:

- `AWS_ACCESS_KEY_ID`, required
- `AWS_SECRET_ACCESS_KEY`, required
- `AWS_S3_BUCKET`, required
- `AWS_REGION`, required
npm package: @leanjs/vue-router
Description: Lean micro-apps for Vue Router
Author: Alex Lobera
Latest version: 0.7.8

# @leanjs/vue-router

## Installation

If your Vue Router app is in a monorepo (recommended) execute the following command at the root of your repository:

```sh
yarn add -W @leanjs/vue-router @leanjs/core vue-router@4 vue@3
```

then in the `package.json` of your Vue Router app add the following `peerDependencies`:

```
"peerDependencies": {
  "@leanjs/core": "*",
  "@leanjs/vue-router": "*",
  "vue-router": "*",
  "vue": "*"
}
```

If your Vue Router app is not in a monorepo, then run the following command instead of the above:

```sh
yarn add @leanjs/vue-router @leanjs/core vue-router@4 vue@3
```

## Composable app

Create small Vue Router apps that can be composed with other apps.

### `createApp`

Arguments:

- `App: Component` - required
- `options: { appName: string }` - required. You have to specify the name of your composable app.

Create a file called `index.ts|js` in the `src` directory where your composable app is.

```
my-monorepo/
├─ apps/
├─ composable-apps/
│  ├─ vue-router-app-1/
│  │  ├─ package.json
│  │  ├─ src/
│  │  │  ├─ VueRouterApp1.vue
│  │  │  ├─ index.ts 👈
├─ package.json
```

:::info

Read the recommended setup in our [getting started page](../../docs/getting-started#recommended-setup) if you want to create a similar monorepo structure

:::

Call `createApp` with the root component of your Vue Router app:

```ts
import { createApp } from "@leanjs/vue-router";

import VueRouterApp1 from "./VueRouterApp1.vue";

// 👇  you have to `export default createApp(`
export default createApp(VueApp, {
  appName: "VueRouterApp1",
});
```

Hello world example of the `VueRouterApp1` imported above

```vue
<!-- my-monorepo/composable-apps/vue-router-app-1/src/VueRouterApp1.tsx -->

<template>
  <h1>Hello composable Vue Router app</h1>
</template>
```

Create a file called `selfHosted.ts|js` in the `src` directory where your composable app is, for example:

```
my-monorepo/
├─ apps/
├─ composable-apps/
│  ├─ vue-router-app-1/
│  │  ├─ package.json
│  │  ├─ src/
│  │  │  ├─ VueRouterApp1.vue
│  │  │  ├─ index.ts
│  │  │  ├─ selfHosted.ts 👈
├─ package.json
```

Export a `createRuntime` function from the `selfHosted.ts|js` file. This is the runtime that will be used when the app runs in isolation, meaning without a host.

```ts
// my-monorepo/composable-apps/vue-router-app-1/src/selfHosted.ts

export { createRuntime } from "@my-org/runtime-react";
```

:::info

Read [@leanjs/core](../core/README.md#basic-usage) if you have not already created your own `createRuntime` function

:::
npm package: @leanjs/webpack-react
Description: Default Webpack configuration for LeanJS React micro-apps
Author: Alex Lobera
Latest version: 0.2.46

# @leanjs/webpack-react

## Installation

`yarn add -D @leanjs/webpack-react`

It exports a default Webpack config for React that you can use.

## Usage

```js
const { createReactWebpackConfig } = require("@leanjs/webpack-react");

const config = createReactWebpackConfig();
```
npm package: @leanjs/webpack-vue
Description: Default Webpack configuration for LeanJS Vue micro-apps.
Author: Alex Lobera
Latest version: 0.4.2

# @leanjs/webpack-vue

# Installation

`yarn add -D @leanjs/webpack-vue`

It exports a default Webpack config for Vue that you can use.

## Usage

```js
const { createVueWebpackConfig } = require("@leanjs/webpack-vue");

const config = createVueWebpackConfig();
```
npm package: @leankylin-sheet/core
Description: LeankylinSheet is a drop-in javascript spreadsheet library that provides rich features like Excel and Google Sheets
Latest version: 5.1.1

# @leankylin-sheet/core

LeankylinSheet is a drop-in javascript spreadsheet library that provides rich features like Excel and Google Sheets

See our repo [leankylin-sheet](http://114.55.85.79:19999/leankylin-front/leankylin-sheet) for more information.

## Install

Using npm:

```bash
$ npm install --save  @leankylin-sheet/core
```

or using yarn:

```bash
$ yarn add @leankylin-sheet/core
```
npm package: @leankylin-sheet/react
Description: LeankylinSheet is a drop-in javascript spreadsheet library that provides rich features like Excel and Google Sheets
Latest version: 5.1.1

# @leankylin-sheet/react

LeankylinSheet is a drop-in javascript spreadsheet library that provides rich features like Excel and Google Sheets

See our repo [leankylin-sheet](http://114.55.85.79:19999/leankylin-front/leankylin-sheet) for more information.

## Install

Using npm:

```bash
$ npm install --save  @leankylin-sheet/react
```

or using yarn:

```bash
$ yarn add @leankylin-sheet/react
```