Skip to content

Commit

Permalink
Readme Updates & Build workflow (#54)
Browse files Browse the repository at this point in the history
* feat: Added Test Build workflow

* feat: Made nestjs available

* feat: Optimized and renamed workflow file

* feat: Updated version to 0.1.0
  • Loading branch information
chavda-bhavik authored Nov 10, 2022
1 parent 3c60cc7 commit 706f792
Show file tree
Hide file tree
Showing 12 changed files with 87 additions and 28 deletions.
50 changes: 50 additions & 0 deletions .github/workflows/test-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# This is a basic workflow to help you get started with Actions

name: Test Build is happening

# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
branches: [ "main" ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ "main", "next", "development" ]
schedule:
- cron: '25 2 * * 4'

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
environment: Development
if: "!contains(github.event.head_commit.message, 'build skip')"
# The type of runner that the job will run on
runs-on: ubuntu-latest
timeout-minutes: 80

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- name: Setup kernel for react native, increase watchers
run: echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
- uses: actions/setup-node@v2
with:
node-version: '16.15.1'

- name: Cache pnpm modules
uses: actions/cache@v2
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-
- name: Nestjs
run: npm i -g @nestjs/cli

- uses: pnpm/[email protected]
with:
version: 7.9.4
run_install: true
14 changes: 8 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,12 +109,14 @@ Follow these steps to setup the project locally,
- [x] Upload
- [x] Mapping
- [x] Review
- [ ] Processing data
- [ ] Web
- [ ] Upload Phase
- [ ] Mapping Phase
- [ ] Review Phase
- [ ] Confirm Phase
- [x] Processing data
- [x] Web
- [x] Upload Phase
- [x] Mapping Phase
- [x] Review Phase
- [x] Confirm Phase
- [] Infra
- [] Docker

<p align="right">(<a href="#readme-top">back to top</a>)</p>

Expand Down
6 changes: 3 additions & 3 deletions apps/api/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@impler/api",
"version": "1.0.0",
"version": "0.1.0",
"main": "index.js",
"author": "knovator",
"license": "MIT",
Expand All @@ -20,8 +20,8 @@
},
"dependencies": {
"@aws-sdk/client-s3": "^3.185.0",
"@impler/dal": "workspace:^1.0.0",
"@impler/shared": "workspace:^1.0.0",
"@impler/dal": "workspace:^0.1.0",
"@impler/shared": "workspace:^0.1.0",
"@nestjs/common": "^9.1.2",
"@nestjs/core": "^9.1.2",
"@nestjs/platform-express": "^9.1.2",
Expand Down
6 changes: 3 additions & 3 deletions apps/queue-manager/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@impler/queue-manager",
"version": "1.0.0",
"version": "0.1.0",
"main": "index.js",
"author": "knovator",
"license": "MIT",
Expand All @@ -18,8 +18,8 @@
"lint:fix": "pnpm lint -- --fix"
},
"dependencies": {
"@impler/dal": "workspace:^1.0.0",
"@impler/shared": "workspace:^1.0.0",
"@impler/dal": "workspace:^0.1.0",
"@impler/shared": "workspace:^0.1.0",
"axios": "^0.26.1",
"dotenv": "^16.0.2"
},
Expand Down
4 changes: 2 additions & 2 deletions apps/widget/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@impler/widget",
"version": "1.0.0",
"version": "0.1.0",
"private": true,
"scripts": {
"start": "cross-env PORT=3500 craco start",
Expand Down Expand Up @@ -36,7 +36,7 @@
"@craco/craco": "^6.4.5",
"@emotion/react": "^11.10.5",
"@impler/client": "workspace:^0.1.0",
"@impler/shared": "workspace:^1.0.0",
"@impler/shared": "workspace:^0.1.0",
"@mantine/core": "^5.6.3",
"@mantine/dropzone": "^5.6.3",
"@mantine/notifications": "5.6.3",
Expand Down
2 changes: 1 addition & 1 deletion libs/dal/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@impler/dal",
"version": "1.0.0",
"version": "0.1.0",
"description": "",
"private": true,
"main": "dist/index.js",
Expand Down
2 changes: 1 addition & 1 deletion libs/embed/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@impler/embed",
"version": "1.0.0",
"version": "0.1.0",
"private": true,
"description": "",
"keywords": [],
Expand Down
2 changes: 1 addition & 1 deletion libs/shared/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@impler/shared",
"version": "1.0.0",
"version": "0.1.0",
"description": "",
"private": true,
"main": "dist/index.js",
Expand Down
9 changes: 8 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "impler.io",
"version": "1.0.0",
"version": "0.1.0",
"description": "Open source infrastructure to import data easily",
"packageManager": "[email protected]",
"main": "",
Expand Down Expand Up @@ -40,6 +40,13 @@
"pre-commit": "lint-staged"
}
},
"workspaces": {
"packages": [
"apps/*",
"libs/*",
"packages/*"
]
},
"lint-staged": {
"apps/**/*.{ts,tsx,json}": [
"prettier --ignore-path ./.prettierignore --write",
Expand Down
2 changes: 1 addition & 1 deletion packages/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"dist"
],
"dependencies": {
"@impler/shared": "workspace:^1.0.0",
"@impler/shared": "workspace:^0.1.0",
"axios": "^0.26.1"
}
}
4 changes: 2 additions & 2 deletions packages/react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@impler/react",
"version": "1.0.0",
"version": "0.1.0",
"scripts": {
"lint": "eslint src",
"lint:fix": "pnpm lint --fix",
Expand Down Expand Up @@ -37,7 +37,7 @@
"typescript": "^4.8.3"
},
"dependencies": {
"@impler/shared": "workspace:^1.0.0",
"@impler/shared": "workspace:^0.1.0",
"styled-components": "^5.3.6"
}
}
14 changes: 7 additions & 7 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 706f792

Please sign in to comment.