Skip to content

Commit

Permalink
♻️ Refactor(app): change and init again app to monorepo
Browse files Browse the repository at this point in the history
  • Loading branch information
INeedJobToStartWork committed Jan 24, 2024
1 parent 8b7279e commit abba056
Show file tree
Hide file tree
Showing 58 changed files with 5,965 additions and 516 deletions.
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/[email protected]/schema.json",
"access": "restricted",
"baseBranch": "main",
"changelog": "@changesets/cli/changelog",
"commit": false,
"fixed": [],
"ignore": [],
"linked": [],
"updateInternalDependencies": "patch"
}
2 changes: 2 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ESLINT_USE_FLAT_CONFIG = true
# JITI_ALIAS = {alias: {"@": "./src/"}}
1 change: 1 addition & 0 deletions .env.template
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ESLINT_USE_FLAT_CONFIG = true
3 changes: 0 additions & 3 deletions .eslintrc.json

This file was deleted.

100 changes: 100 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
name: "🐞 Report a bug"
title: "🐞[BUG] - <TITLE_OF_ISSUE>"
description: Create new report!
labels: [bug]
body:
- type: markdown
attributes:
value: |
Thank you for taking the time to report a bug to FluiUI! 🙏
If you have a question about how to achieve something and are struggling, please post a question
inside of either of the following places:
- MyPlop's 💬[Discussion's tab](https://github.com/INeedJobToStartWork/MyPlop/discussions)
Before submitting a new bug/issue, please check the links below to see if there is a solution or question posted there already:
- MyPlop's [Issue's tab]()
- MyPlop's [closed issues tab]()
- MyPlop's [Discussions tab]()
Please fill in as much of the template below as you're able. If you don't know the answer to a question, that's okay, but please try to fill in as much as you can.
It'll help us to triage your issue as quickly as possible.
- type: input
id: description
attributes:
label: Issue Description
description: Please give a short description of the issue
placeholder: Description title
validations:
required: true
- type: input
id: MyPlop_version
attributes:
label: MyPlop Version
description: Which MyPlop version are you using?
placeholder: e.g. v0.5.0
validations:
required: true
- type: checkboxes
id: MyPlop_latest
attributes:
label: Tested on Latest Version
description: Check if this issue is reproducible with the latest version - it could be fixed.
options:
- label: "Yes"
- type: input
id: reproductionLink
attributes:
label: Reproduction
description: Please provide a link to a reproduction on Github, CodeSandbox or StackBlitz.
placeholder: |
e.g. https://github.com/ineedjobtostartwork/xxx
- type: textarea
id: reproductionProcess
attributes:
label: Process to Reproduce bug
description: Please provide steps to reproduce the bug.
placeholder: |
e.g.
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
- type: textarea
id: reproductionImages
attributes:
label: Photo/Images Showing Bug
description: |
If applicable, please provide screenshots or photos showing the bug.
More about github attachments limits: https://docs.github.com/en/github/writing-on-github/working-with-advanced-formatting/attaching-files.
- type: textarea
id: reproductionLogs
attributes:
label: Logs
description: If applicable, please provide logs showing the bug (if exists).
- type: textarea
id: expectedBehavior
attributes:
label: What we got - What we expected
description: What did you expect to happen? What happened instead?
- type: textarea
id: additionalContext
attributes:
label: Additional Context
description: What did you wanted to do? Please provide any additional information here.
- type: textarea
id: triedFix
attributes:
label: What did you try to fix it?
description: What did you try to fix it? Every information is useful.
- type: textarea
id: howSolved
attributes:
label: How did you solve it?
description: How did you solve it? It's okay if you didn't solve it yet.
- type: textarea
id: possibleSolution
attributes:
label: How problem can be solved?
description: If you have any idea, please share it with us.
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
blank_issues_enabled: true
contact_links:
- name: 🤔 Long question or ideas?
url: https://github.com/INeedJobToStartWork/MyPlop/discussions
about: Ask long-form questions and discuss ideas.
66 changes: 66 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
name: "✨Idea - Feature Request"
title: "✨[Idea] - <TITLE_OF_ISSUE>"
description: Share your ideas with us!
labels: [feature]
body:
- type: markdown
attributes:
value: |
Wow, good to see you there!
It's good to know you're creative ✨
Before submitting a new feature request, please check the links below to see if there somebody already requested it:
- MyPlop's [Idea's tab]()
- MyPlop's [closed ideas tab]()
- MyPlop's [Discussions tab]()
Please fill in as much of the template below as you're able. If you don't know the answer to a question, that's okay, but please try to fill in as much as you can.
- type: input
id: idea
attributes:
label: Idea ✨
description: Please give a short description of the feature
placeholder: e.g. I want to add cooldown to button
validations:
required: true

- type: input
id: work
attributes:
label: How it should work?
description: Give a description of how it should work
placeholder: |
e.g After clicking button, it should be disabled for X seconds
validations:
required: true

- type: input
id: solution
attributes:
label: What it gonna solve? Why we should ad it?
description: How it will help you and others? What kind of problems it will solve?.
placeholder: |
e.g It will help me and users to prevent api calls spamming and give a better user experience.
validations:
required: true

- type: input
id: implementation
attributes:
label: How it should be implemented?
description: What do you expect, how it should be implemented? Which props?
placeholder: |
validations:
required: true

- type: input
id: example
attributes:
label: Example of usage / I have seen it in other library
description: |
You can give a link to currently implemented feature in other library / give your own example.
(Images, videos, code snippets, etc.)
placeholder: |
e.g Similar feature is implemented in XXX lib.
Here is link: XXXX
75 changes: 75 additions & 0 deletions .github/ISSUE_TEMPLATE/gdocs_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
name: "📘 Docs issues"
title: "📘 [issue] - <TITLE_OF_ISSUE>"
description: What's wrong with our docs?
labels: [issue]
body:
- type: markdown
attributes:
value: |
Thank you for taking the time to report a bug to MyPlop! 🙏
This report section is for reporting issues with the documentation. If you have a question about how to achieve something and are struggling, please post a question
If you have a question about how to achieve something and are struggling, please post a question
inside of either of the following places:
- MyPlop's 💬[Discussion's tab](https://github.com/INeedJobToStartWork/MyPlop/discussions)
Before submitting a new bug/issue, please check the links below to see if there is a solution or question posted there already:
- MyPlop's [Issue's tab]()
- MyPlop's [closed issues tab]()
- MyPlop's [Discussions tab]()
Please fill in as much of the template below as you're able. If you don't know the answer to a question, that's okay, but please try to fill in as much as you can.
It'll help us to triage your issue as quickly as possible.
- type: input
id: page
attributes:
label: Related page
description: Which page/section is this issue related to?
placeholder: e.g ReadMe.md line 10 - section "Installation"
validations:
required: true

- type: dropdown
id: issue
attributes:
label: Kind of issue
description: What kind of issue it is?
multiple: true
options:
- "Unclear explanations"
- "Missing information"
- "Wrong information"
- "Other"

- type: textarea
id: description
attributes:
label: Issue Description
description: Please give a short description of the issue

- type: textarea
id: context
attributes:
label: Context
description: Why did you come to this page? What were you trying to do?
value: |
I was trying to..., i come to this page because...
- type: dropdown
id: rate
attributes:
label: Scale of problem
description: How annoying is this issue?
multiple: true
options:
- "1 - Not annoying"
- "2 - A little annoying"
- "3 - Annoying"
- "4 - Very annoying"
- "5 - Extremely annoying"
- "6 - Unbearable"
27 changes: 27 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: CI/CD

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

jobs:
Deploy:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 20

- name: Setup pnpm
uses: pnpm/[email protected]
- name: Install dependencies
run: pnpm install --no-frozen-lockfile
- name: Lint
run: pnpm lint
- name: Format
run: pnpm format
20 changes: 14 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,19 +1,25 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
# Visual Studio Code #
.vscode/
**/.vscode/
**/.vscode/*
**/.vscode/**

# dependencies
/node_modules
/.pnp
node_modules
.pnp
.pnp.js

# testing
/coverage
coverage

# next.js
/.next/
/out/
.next/
out/

# production
/build
build
lib

# misc
.DS_Store
Expand All @@ -37,3 +43,5 @@ next-env.d.ts

# turbo
.turbo
.gitignore
.vscode/settings.json
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

pnpm pre:husky
Loading

0 comments on commit abba056

Please sign in to comment.