0.2.60 • Published 1 year ago

@leanjs/aws v0.2.60

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year 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

1 year ago

0.2.52

1 year ago

0.2.51

2 years ago

0.2.50

2 years ago

0.2.59

1 year ago

0.2.58

1 year ago

0.2.57

1 year ago

0.2.56

1 year ago

0.2.55

1 year ago

0.2.54

1 year ago

0.2.53

1 year ago

0.2.49

2 years ago

0.2.48

2 years ago

0.2.41

2 years ago

0.2.40

2 years ago

0.2.47

2 years ago

0.2.46

2 years ago

0.2.45

2 years ago

0.2.44

2 years ago

0.2.43

2 years ago

0.2.42

2 years ago

0.2.39

2 years ago

0.2.38

2 years ago

0.2.37

2 years ago

0.2.36

2 years ago

0.2.35

2 years ago

0.2.27

2 years ago

0.2.26

2 years ago

0.2.25

2 years ago

0.2.24

2 years ago

0.2.23

2 years ago

0.2.22

2 years ago

0.2.21

2 years ago

0.2.20

2 years ago

0.2.19

2 years ago

0.2.18

2 years ago

0.2.30

2 years ago

0.2.34

2 years ago

0.2.33

2 years ago

0.2.32

2 years ago

0.2.31

2 years ago

0.2.29

2 years ago

0.2.28

2 years ago

0.2.17

2 years ago

0.2.16

2 years ago

0.2.15

2 years ago

0.2.14

2 years ago

0.2.13

2 years ago

0.2.12

2 years ago

0.2.11

2 years ago

0.2.10

2 years ago

0.2.9

2 years ago

0.2.8

2 years ago

0.2.7

2 years ago

0.2.6

2 years ago

0.2.5

2 years ago

0.2.4

2 years ago

0.2.3

2 years ago

0.2.0

2 years ago

0.1.1

2 years ago