Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit d12e116

Browse files
authoredMar 14, 2022
fix issue with undefined variable; add CI build and eslint config (#62)
1 parent 0ed30bb commit d12e116

File tree

7 files changed

+4261
-844
lines changed

7 files changed

+4261
-844
lines changed
 

‎.autohidefiles

Whitespace-only changes.

‎.eslintrc

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"parserOptions": {
3+
"ecmaVersion": 2017
4+
},
5+
"env": {
6+
"es6": true,
7+
"node": true
8+
},
9+
"extends": "eslint:recommended",
10+
"rules": {
11+
"indent": ["error", 2]
12+
}
13+
}

‎.github/workflows/build.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Integration Tests
2+
3+
on:
4+
push:
5+
paths-ignore:
6+
- 'README.md'
7+
branches:
8+
- main
9+
pull_request:
10+
branches:
11+
- main
12+
13+
jobs:
14+
build-and-lint:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Checkout
18+
uses: actions/checkout@v2
19+
- name: Build and Lint
20+
run: |
21+
npm install
22+
npm run lint

‎README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
[![Integration Tests](https://github.com/localstack/aws-cdk-local/actions/workflows/build.yml/badge.svg)](https://github.com/localstack/aws-cdk-local/actions/workflows/build.yml)
2+
13
# AWS Cloud Development Kit (CDK) for LocalStack
24

35
This project provides a thin wrapper script `cdklocal` for using the [AWS CDK](https://github.com/aws/aws-cdk) library against local APIs provided by [LocalStack](https://github.com/localstack/localstack).
@@ -65,6 +67,7 @@ $ awslocal sns list-topics
6567

6668
## Change Log
6769

70+
* 2.15.0: Fix issue with undefined BUCKET_NAME_OUTPUT variable; add CI build and eslint config
6871
* 2.14.0: Add switches in patches to accommodate new esbuild packaging mechanism in CDK v2.14.0+
6972
* 1.65.7: Add switch that checks for asset existence before symlinking assets; fix parsing fetched template body for JSON/YAML formats; add missing dependency to "diff" package
7073
* 1.65.6: Create symlinks to Lambda assets to enable persistent code mounting of Lambdas on "cdklocal synth"

‎bin/cdklocal

Lines changed: 132 additions & 132 deletions
Large diffs are not rendered by default.

‎package-lock.json

Lines changed: 4084 additions & 711 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
{
22
"name": "aws-cdk-local",
33
"description": "CDK Toolkit for use with LocalStack",
4-
"version": "2.14.0",
4+
"version": "2.15.0",
55
"bin": {
66
"cdklocal": "bin/cdklocal"
77
},
8+
"scripts": {
9+
"lint": "eslint bin/cdklocal"
10+
},
811
"author": {
912
"name": "LocalStack",
1013
"organization": true
@@ -13,6 +16,9 @@
1316
"dependencies": {
1417
"diff": "^5.0.0"
1518
},
19+
"devDependencies": {
20+
"eslint": "^8.0.0"
21+
},
1622
"repository": {
1723
"url": "https://github.com/localstack/aws-cdk-local.git",
1824
"type": "git"

0 commit comments

Comments
 (0)
Please sign in to comment.