Skip to content

Commit

Permalink
Merge pull request #133 from noaignite/next
Browse files Browse the repository at this point in the history
New monorepo setup made with turborepo
  • Loading branch information
maeertin authored Aug 8, 2024
2 parents d73e02a + 2ffdb4d commit 7bca11f
Show file tree
Hide file tree
Showing 199 changed files with 8,646 additions and 21,657 deletions.
25 changes: 0 additions & 25 deletions .browserslistrc

This file was deleted.

8 changes: 8 additions & 0 deletions .changeset/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Changesets

Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
with multi-package repos, or single-package repos to help you version and publish your code. You can
find the full documentation for it [in our repository](https://github.com/changesets/changesets)

We have a quick list of common questions to get you started engaging with this project in
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
11 changes: 11 additions & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"$schema": "https://unpkg.com/@changesets/config@3.0.0/schema.json",
"changelog": "@changesets/cli/changelog",
"commit": true,
"fixed": [],
"linked": [],
"access": "restricted",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": []
}
3 changes: 0 additions & 3 deletions .czrc

This file was deleted.

19 changes: 0 additions & 19 deletions .editorconfig

This file was deleted.

8 changes: 0 additions & 8 deletions .eslintignore

This file was deleted.

33 changes: 0 additions & 33 deletions .eslintrc.js

This file was deleted.

22 changes: 22 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: CI
on:
push:
branches:
- '**'
pull_request:
branches:
- '**'

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v3
with:
node-version: 20.x
cache: 'pnpm'

- run: pnpm install --frozen-lockfile
- run: pnpm run ci:test
28 changes: 28 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Publish
on:
push:
branches:
- 'main'

concurrency: ${{ github.workflow }}-${{ github.ref }}

jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v3
with:
node-version: 20.x
cache: 'pnpm'

- run: pnpm install --frozen-lockfile
- name: Create Release Pull Request or Publish
id: changesets
uses: changesets/action@v1
with:
publish: pnpm run ci:release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
57 changes: 40 additions & 17 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,20 +1,43 @@
# The best pattern people should follow is ignoring the editors' files in their
# global .gitignore configuration file.
# However, in order to prevent issues. We also ignore editors' files here.
.idea
.vscode
.vercel

*.log
.DS_STORE
/docs/.storybook-static
/.eslintcache
/.cache
/.env
/coverage
/tmp
build
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
node_modules
package-lock.json
.pnp
.pnp.js

# testing
coverage

# next.js
.next/
out/
build
.swc/

# storybook
storybook-static

# misc
.DS_Store
*.pem

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

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

# turbo
.turbo

# packages
/packages/*/docs
dist/

# typescript
tsconfig.tsbuildinfo
4 changes: 0 additions & 4 deletions .husky/commit-msg

This file was deleted.

4 changes: 0 additions & 4 deletions .husky/pre-commit

This file was deleted.

6 changes: 0 additions & 6 deletions .husky/prepare-commit-msg

This file was deleted.

1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
link-workspace-packages=true
1 change: 0 additions & 1 deletion .nvmrc

This file was deleted.

24 changes: 14 additions & 10 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
*.md
/.browserslistrc
/.git
/coverage
/docs/.storybook-static
/tmp
build
node_modules
yarn.lock
.next/
.turbo/
dist/
node_modules/
target/
compiled/
public/
storybook-static/

/packages/*/docs
.env*
.env.provision.production
.env.provision.stage
package-lock.json
pnpm-lock.yaml
next-env.d.ts
6 changes: 0 additions & 6 deletions .prettierrc

This file was deleted.

16 changes: 0 additions & 16 deletions .versionrc

This file was deleted.

7 changes: 7 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"eslint.workingDirectories": [
{
"mode": "auto"
}
]
}
Loading

0 comments on commit 7bca11f

Please sign in to comment.