Skip to content

Commit

Permalink
refactor: remove monorepo architecture
Browse files Browse the repository at this point in the history
  • Loading branch information
IhsenBouallegue committed Oct 31, 2023
1 parent 1e2fb44 commit ebea7ca
Show file tree
Hide file tree
Showing 199 changed files with 8,855 additions and 10,323 deletions.
14 changes: 7 additions & 7 deletions project-canvas/.env.example → .env.example
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# JIRA CLOUD CREDENTIALS
VITE_CLIENT_ID=
VITE_CLIENT_SECRET=
VITE_REDIRECT_URI=



# JIRA CLOUD CREDENTIALS
VITE_CLIENT_ID=
VITE_CLIENT_SECRET=
VITE_REDIRECT_URI=



83 changes: 43 additions & 40 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,40 +1,43 @@
**/node_modules
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

# Editor directories and files
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?

release
.vscode/.debug.env
package-lock.json
pnpm-lock.yaml
yarn.lock
dist-electron

# local env files
.env
.env.local
.env.development.local
.env.test.local
.env.production.local

# TS
*.tsbuildinfo
**/node_modules
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

# Editor directories and files
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?

release
.vscode/.debug.env
package-lock.json
pnpm-lock.yaml
yarn.lock
dist-electron

# local env files
.env
.env.local
.env.development.local
.env.test.local
.env.production.local

# TS
*.tsbuildinfo

.eslintrc.js
*.config.ts
1 change: 0 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ module.exports = {
parser: "@typescript-eslint/parser",
parserOptions: {
project: "./tsconfig.json",
tsconfigRootDir: __dirname,
},
env: { node: true, browser: true, es2021: true },
extends: ["plugin:react/recommended"],
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ jobs:
VITE_CLIENT_SECRET: ${{ secrets.VITE_CLIENT_SECRET }}
VITE_REDIRECT_URI: ${{ secrets.VITE_REDIRECT_URI }}

run: yarn canvas:build
run: yarn make
8 changes: 4 additions & 4 deletions .github/workflows/dynamic_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
run: yarn install --frozen-lockfile

- name: Run ProjectCanvas unit tests
run: yarn canvas:test
run: yarn test

e2e:
timeout-minutes: 60
Expand Down Expand Up @@ -54,20 +54,20 @@ jobs:
- run: npx playwright install --with-deps chromium

- name: Run e2e tests
run: xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- yarn canvas:e2e
run: xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- yarn e2e

- name: Upload Playwright report
uses: actions/upload-artifact@v3
if: always()
with:
name: playwright-report
path: project-canvas/playwright-report
path: playwright-report
retention-days: 30

- name: Upload Playwright screenshots
uses: actions/upload-artifact@v3
if: always()
with:
name: playwright-screenshots
path: project-canvas/e2e/screenshots
path: e2e/screenshots
retention-days: 30
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:

steps:
- name: Checkout git repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup node
uses: actions/setup-node@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/static_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,4 @@ jobs:
run: yarn install --frozen-lockfile

- name: Run ProjectCanvas TypeCheck
run: yarn --cwd project-canvas typecheck
run: yarn typecheck
16 changes: 9 additions & 7 deletions .lintstagedrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
{
"*.{js,jsx,ts,tsx}": [
"eslint --fix --max-warnings=0",
"prettier --write --list-different"
],
"*.{json,css,scss,md}": ["prettier --write --list-different"]
}
{
"*.{js,jsx,ts,tsx}": [
"eslint --fix --max-warnings=3",
"prettier --write --list-different"
],
"*.{json,css,scss,md}": [
"prettier --write --list-different"
]
}
22 changes: 11 additions & 11 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
Copyright 2023 MaibornWolff GmbH.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Copyright 2023 MaibornWolff GmbH.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
98 changes: 1 addition & 97 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,97 +1 @@
<h1 align="center">
<br>
<a href=""><img src="doc/logo/canvas_logo.svg" alt="Project Canvas Logo" width="200"></a>
<br>
Project Canvas
<br>
</h1>

<h4 align="center">A project management desktop app built with TypeScript, React, and Electron.</h4>

<p align="center">
<a href="#key-features">Key Features</a> •
<a href="#how-to-contribute">How To Contribute</a> •
<a href="#download">Download</a> •
<a href="#credits">Credits</a> •
<a href="#license">License</a>
</p>

![screenshot](./doc/Project%20Canvas%20Scrennshots.png)

## Key Features

- Project View to inspect and choose the project.
- Backlog View to assign issues and edit sprints
- Sprints creation and deletion
- Create Issue Dialog to create all form of issues
- Story Map to plan next sprints and overall project
- Dark/Light mode
- Cross platform Windows, macOS and Linux ready.

## How To Contribute

### Installation

To clone and run this application, you'll need [Git](https://git-scm.com) and [Node.js](https://nodejs.org/en/download/) (which comes with [npm](http://npmjs.com)) installed on your computer. Preferrably use the [yarn](https://yarnpkg.com/) package manager.
From your command line:

Clone the repository:

```bash
git clone https://github.com/maibornwolff/project-canvas
```

Cd into the folder:

```bash
cd ProjectCanvas
```

Install dependencies:

```bash
yarn install
```

### Usage

To start project canvas:

```bash
yarn canvas
```

To add a new package (**this is important as this is a monorepo**):

> `project` can be `project-canvas` or `project-extender`
```bash
yarn workspace <project> add <package>
```

## Download

Download Project Canvas from the [Releases](https://github.com/maibornwolff/ProjectCanvas/releases) section and start using it! As simple as that.

> Note: please keep in mind that you need to have an account by the Provider you choose to use, for example Jira Cloud or Jira Server.
## Credits

This software uses the following open source packages:

- [React](https://react.dev/)
- [Electron](http://electron.atom.io/)
- [Mantine UI](https://mantine.dev/)
- [Fastify](https://www.fastify.io/)
- [Jest](https://jestjs.io/)
- [React Testing Library](https://testing-library.com/)
- [Playwright](https://playwright.dev/)

## License

BSD-3-Clause

---

> [maibornwolff.de](https://www.maibornwolff.com) &nbsp;&middot;&nbsp;
> GitHub [@maibornwolff](https://github.com/maibornwolff)
# Project Canvas
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit ebea7ca

Please sign in to comment.