Skip to content

Commit

Permalink
Merge pull request #65 from aligent/feature/DO-1284-mono-repo-init
Browse files Browse the repository at this point in the history
Mono repo init
  • Loading branch information
TheOrangePuff authored May 5, 2022
2 parents ec567c7 + d0c804c commit 5ff164d
Show file tree
Hide file tree
Showing 144 changed files with 89,576 additions and 0 deletions.
50 changes: 50 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
version: 2
updates:
- package-ecosystem: "npm"
directory: "/packages/basic-auth"
schedule:
interval: "weekly"
- package-ecosystem: "npm"
directory: "/packages/cloudfront-security-headers"
schedule:
interval: "weekly"
#- package-ecosystem: "npm"
# directory: "/packages/cloudwatch-rds-alert"
# schedule:
# interval: "weekly"
- package-ecosystem: "npm"
directory: "/packages/eventbridge-iam"
schedule:
interval: "weekly"
#- package-ecosystem: "npm"
# directory: "/packages/geoip-redirect"
# schedule:
# interval: "weekly"
- package-ecosystem: "npm"
directory: "/packages/pipeline-stack"
schedule:
interval: "weekly"
- package-ecosystem: "npm"
directory: "/packages/prerender-proxy"
schedule:
interval: "weekly"
- package-ecosystem: "npm"
directory: "/packages/rabbitmq"
schedule:
interval: "weekly"
- package-ecosystem: "npm"
directory: "/packages/serverless-deploy-iam"
schedule:
interval: "weekly"
- package-ecosystem: "npm"
directory: "/packages/stack-deploy-iam"
schedule:
interval: "weekly"
- package-ecosystem: "npm"
directory: "/packages/static-hosting"
schedule:
interval: "weekly"
- package-ecosystem: "npm"
directory: "/packages/waf"
schedule:
interval: "weekly"
18 changes: 18 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Build

on: [pull_request]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.event.release.target_commitish }}
- name: Use Node.js 16
uses: actions/setup-node@v1
with:
node-version: 16
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm run build
30 changes: 30 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Publish to NPM

on:
release:
types: [published]

jobs:
build-and-publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.event.release.target_commitish }}
- name: Use Node.js 16
uses: actions/setup-node@v1
with:
node-version: 16
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: git config --global user.name "Automated NPM Release"
- run: git config --global user.email "[email protected]"
- run: npm version ${{ github.event.release.tag_name }} --allow-same-version
- run: npm run build
- run: npm test
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- run: git push
env:
github-token: ${{ secrets.GITHUB_TOKEN }}
58 changes: 58 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
# These are some examples of commonly ignored file patterns.
# You should customize this list as applicable to your project.
# Learn more about .gitignore:
# https://www.atlassian.com/git/tutorials/saving-changes/gitignore

# Node artifact files
node_modules/
dist/

# Compiled Java class files
*.class

# Compiled Python bytecode
*.py[cod]

# Log files
*.log

# Package files
*.jar

# Maven
target/
dist/

# JetBrains IDE
.idea/

# Unit test reports
TEST*.xml

# Generated by MacOS
.DS_Store

# Generated by Windows
Thumbs.db

# Applications
*.app
*.exe
*.war

# Large media files
*.mp4
*.tiff
*.avi
*.flv
*.mov
*.wmv

!jest.config.js

# CDK asset staging directory
.cdk.staging
cdk.out

*.d.ts
*.js
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
16.2.0
Loading

0 comments on commit 5ff164d

Please sign in to comment.