Skip to content

Commit

Permalink
porting from gitlab
Browse files Browse the repository at this point in the history
  • Loading branch information
orzklv committed Aug 3, 2024
0 parents commit cadc2df
Show file tree
Hide file tree
Showing 170 changed files with 20,276 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
module.exports = {
root: true,
settings: {
next: {
rootDir: ["apps/*/"],
},
},
};
39 changes: 39 additions & 0 deletions .github/workflows/shell.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Test [Shell Scripts]

on: [push, pull_request]

jobs:
test:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]

runs-on: ${{ matrix.os }}

defaults:
run:
working-directory: ./apps/web/public/install

steps:
- name: Checkout
uses: actions/checkout@v3

- name: lint
if: matrix.os == 'macOS-latest'
run: |
brew install shfmt shellcheck
shfmt -d .
shellcheck -s sh *.sh
- name: tests shell
shell: bash
run: chmod a+x install_test.sh install.sh && ./install_test.sh

- name: tests powershell
if: matrix.os == 'windows-latest'
shell: powershell
run: ./install_test.ps1

- name: tests powershell core
if: matrix.os == 'windows-latest'
shell: pwsh
run: ./install_test.ps1
28 changes: 28 additions & 0 deletions .github/workflows/turbo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Test [Turborepo]

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@646cdf48217256a3d0b80361c5a50727664284f2
with:
version: 6.10.0
- uses: actions/setup-node@v3
with:
node-version: '16'
cache: 'pnpm'

- name: Install dependencies
run: pnpm install

- name: Lint
run: pnpm lint

- name: Format
run: pnpm format:check

- name: Builds
run: pnpm build
33 changes: 33 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
node_modules
.pnp
.pnp.js

# testing
coverage

# next.js
.next/
out/
build

# misc
.DS_Store
*.pem

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.pnpm-debug.log*

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

# turbo
.turbo
4 changes: 4 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
node_modules
.next
.turbo
.dist
3 changes: 3 additions & 0 deletions apps/api/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": ["next/core-web-vitals", "prettier"]
}
40 changes: 40 additions & 0 deletions apps/api/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# next.js
/.next/
/out/

# production
/build

# misc
.DS_Store
*.pem

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.pnpm-debug.log*

# local env files
.env*.local

# vercel
.vercel

# typescript
*.tsbuildinfo
next-env.d.ts

# editors
.idea
.vscode
6 changes: 6 additions & 0 deletions apps/api/.prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
node_modules
.next
.idea
pnpm-lock.yaml
public
.git
Loading

0 comments on commit cadc2df

Please sign in to comment.