0.2.60 • Published 2 years ago

@leanjs/aws v0.2.60

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@leanjs/aws

Installation

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

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:

 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
0.2.60

2 years ago

0.2.52

3 years ago

0.2.51

3 years ago

0.2.50

3 years ago

0.2.59

3 years ago

0.2.58

3 years ago

0.2.57

3 years ago

0.2.56

3 years ago

0.2.55

3 years ago

0.2.54

3 years ago

0.2.53

3 years ago

0.2.49

3 years ago

0.2.48

3 years ago

0.2.41

3 years ago

0.2.40

3 years ago

0.2.47

3 years ago

0.2.46

3 years ago

0.2.45

3 years ago

0.2.44

3 years ago

0.2.43

3 years ago

0.2.42

3 years ago

0.2.39

3 years ago

0.2.38

3 years ago

0.2.37

3 years ago

0.2.36

3 years ago

0.2.35

3 years ago

0.2.27

3 years ago

0.2.26

3 years ago

0.2.25

3 years ago

0.2.24

3 years ago

0.2.23

3 years ago

0.2.22

3 years ago

0.2.21

3 years ago

0.2.20

3 years ago

0.2.19

3 years ago

0.2.18

3 years ago

0.2.30

3 years ago

0.2.34

3 years ago

0.2.33

3 years ago

0.2.32

3 years ago

0.2.31

3 years ago

0.2.29

3 years ago

0.2.28

3 years ago

0.2.17

3 years ago

0.2.16

3 years ago

0.2.15

3 years ago

0.2.14

3 years ago

0.2.13

3 years ago

0.2.12

3 years ago

0.2.11

3 years ago

0.2.10

3 years ago

0.2.9

3 years ago

0.2.8

3 years ago

0.2.7

3 years ago

0.2.6

3 years ago

0.2.5

3 years ago

0.2.4

3 years ago

0.2.3

3 years ago

0.2.0

3 years ago

0.1.1

3 years ago