Skip to content
This repository has been archived by the owner on Jun 29, 2022. It is now read-only.

Commit

Permalink
chore: trying to beat the build into shape
Browse files Browse the repository at this point in the history
  • Loading branch information
rix0rrr committed Jul 15, 2021
1 parent 028ed56 commit 6d5d575
Show file tree
Hide file tree
Showing 14 changed files with 10,728 additions and 15,162 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Build and test

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@master
with:
node-version: 10.0.0
registry-url: https://registry.npmjs.com/
- name: Install dependencies
run: |
npm install -g yarn
yarn install --frozen-lockfile
- name: Build
run: npx lerna run build
- name: Test
run: npx lerna run test
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
.DS_Store
experiment\ templates
experiment\ templates
*.js
*.d.ts
node_modules
12 changes: 5 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,11 @@ This tool generates a comprehensive list of modifications between two CloudForma
## How to run

```bash
yarn install # Installs Lerna
lerna bootstrap # Links packages together
cd packages/change-analysis-models
yarn build # Build the models
cd ../change-analysis
yarn build # Build the engine
yarn start scenario1 # Run Engine on scenario 1
yarn install --frozen-lockfile
npx lerna run build

cd packages/change-analysis
yarn start scenario1
```

## Repository Structure
Expand Down
5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,10 @@
"private": true,
"devDependencies": {
"lerna": "^4.0.0"
},
"workspaces": {
"packages": [
"packages/*"
]
}
}
4 changes: 1 addition & 3 deletions packages/change-analysis-models/.gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
*.js
!jest.config.js
!babel.config.js
*.d.ts
node_modules
out
out
3 changes: 1 addition & 2 deletions packages/change-analysis-models/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
"build": "npm run lint && npm run compile",
"compile": "npx tsc",
"lint": "eslint . --ext .ts",
"test": "jest",
"postinstall": "npm --prefix node_modules/fifinet run build && mv node_modules/fifinet/dist/* node_modules/fifinet"
"test": "jest"
},
"repository": {
"type": "git",
Expand Down
11 changes: 5 additions & 6 deletions packages/change-analysis-models/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"compilerOptions": {
"outDir": "out",
"target": "es2020",
"target": "es2018",
"module": "commonjs",
"lib": ["es2020"],
"lib": ["es2018"],
"declaration": true,
"strict": true,
"noImplicitAny": true,
Expand All @@ -17,8 +17,7 @@
"inlineSourceMap": true,
"inlineSources": true,
"experimentalDecorators": true,
"strictPropertyInitialization": false,
"typeRoots": ["./node_modules/@types"]
"strictPropertyInitialization": false
},
"exclude": ["test", "out"]
}
"exclude": ["out"]
}
Loading

0 comments on commit 6d5d575

Please sign in to comment.