Skip to content

Commit

Permalink
feat: update repo core utils
Browse files Browse the repository at this point in the history
  • Loading branch information
hugocxl committed Dec 15, 2023
1 parent eb0494b commit 1a5f96c
Show file tree
Hide file tree
Showing 22 changed files with 1,767 additions and 317 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",
"changelog": "@changesets/cli/changelog",
"commit": true,
"fixed": [],
"linked": [],
"access": "restricted",
"baseBranch": "master",
"updateInternalDependencies": "patch",
"ignore": []
}
57 changes: 48 additions & 9 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,50 @@
dist
node_modules
# Logs
logs
*.log

# Runtime data
pids
*.pid
*.seed

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage
.next

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# node-waf configuration
.lock-wscript

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release
.eslintcache

# Dependency directory
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git
node_modules

# OSX
.DS_Store

# flow-typed
flow-typed/npm/*
!flow-typed/npm/module_vx.x.x.js

# App packaged
release
build
pnpm-lock.yaml
*.d.ts
*.js
*.md
*.css
*.cjs
public

.idea
npm-debug.log.*
__snapshots__

# Package.json
package.json

.travis.yml
# Created by .ignore support plugin (hsz.mobi)
72 changes: 72 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
name: 'Bug Report'
description: 'File a bug report'
body:
- type: 'markdown'
attributes:
value: |
Thanks for creating an issue 😄!
Please search open/closed issues before submitting. Someone
might have asked the same thing before 😉!
We're all volunteers here, so help us help you by taking the time to
accurately fill out this template. ❤️
- type: 'textarea'
id: 'description'
attributes:
label: 'Description'
description: 'A brief description of the issue.'
placeholder: |
When I ____, I expected ____ to happen but ____ happened instead.
validations:
required: true
- type: 'input'
id: 'reproduction'
attributes:
label: 'Link to Reproduction'
description: |
A link to a Stackblitz reproduction which demonstrates the bug
placeholder: 'https://stackblitz.com/edit/vitejs-vite-lfwyue?file=src%2FApp.tsx&terminal=dev'
validations:
required: true
- type: 'textarea'
id: 'steps'
attributes:
label: 'Steps to reproduce'
description: |
Explain how to cause the issue in the provided reproduction.
value: |
1. Go to '...'
2. Click on '...'
3. Scroll down to '...'
4. See error
- type: 'input'
id: 'version'
attributes:
label: 'Version'
description: 'The version of @hugocxl/react-to-image you use.'
placeholder: 'x.x.x'
validations:
required: true
- type: 'input'
id: 'browser'
attributes:
label: 'Browser'
description: 'The browser(s) this issue occurred with.'
placeholder: 'Google Chrome 93'
- type: 'checkboxes'
id: 'operating-system'
attributes:
label: 'Operating System'
description: 'The operating system(s) this issue occurred with.'
options:
- label: 'macOS'
- label: 'Windows'
- label: 'Linux'
- type: 'textarea'
id: 'additional-information'
attributes:
label: 'Additional Information'
description: |
Use this section to provide any additional information you might have
like screenshots, notes, or links to ideas.
30 changes: 30 additions & 0 deletions .github/ISSUE_TEMPLATE/documentation_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: 'Documentation Request'
description: 'Request for documentation to be added/altered'
labels: ['needs triage', 'Topic: Documentation 📚']
body:
- type: 'markdown'
attributes:
value: |
Thanks for filing a documentation request!
If you have an idea for a new documentation topic, noticed that
something is not properly documented, or feel that something is
incorrect with the current documentation, you're in the right place!
- type: 'input'
id: 'subject'
attributes:
label: 'Subject'
description:
'What is the subject (component, function, topic) of this request?'
placeholder: 'Presets'
validations:
required: true
- type: 'textarea'
id: 'description'
attributes:
label: 'Description'
description:
"What about the subject's documentation should be added or changed?"
placeholder: 'Add a usage example of RadioGroup in action'
validations:
required: true
52 changes: 52 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: 'Feature Request'
description: 'Request a feature or enhancement'
labels: ['needs triage']
body:
- type: 'markdown'
attributes:
value: |
Thanks for filing an issue 😄!
Please search open/closed issues before submitting. Someone
might have asked the same thing before 😉!
- type: 'textarea'
id: 'description'
attributes:
label: 'Description'
description: 'Please describe your request in one or two sentences.'
validations:
required: true
- type: 'textarea'
id: 'justification'
attributes:
label: 'Problem Statement/Justification'
description: |
Please provide valid reason(s) why this should be added to Chakra UI
If this feature is related to a problem you've noticed, mention it as
well.
validations:
required: true
- type: 'textarea'
id: 'proposed-solution'
attributes:
label: 'Proposed Solution or API'
description: |
Please provide code snippets, gists, or links to the ideal
design or API.
validations:
required: true
- type: 'textarea'
id: 'alternatives'
attributes:
label: 'Alternatives'
description: |
What alternative solutions have you considered before making this
request?
- type: 'textarea'
id: 'additional-information'
attributes:
label: 'Additional Information'
description: |
What resources (links, screenshots, etc.) do you have to assist this
effort?
27 changes: 27 additions & 0 deletions .github/composite-actions/install/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: 'Install'
description: 'Sets up Node.js and runs install'

runs:
using: composite
steps:
- name: Setup PNPM
uses: pnpm/action-setup@master
with:
version: 8

- name: Setup Node.js
uses: actions/setup-node@main
with:
node-version: 18
registry-url: https://registry.npmjs.org/
cache: 'pnpm'

- name: Setup Git Configuration
shell: bash
run: |
git config --global user.email "[email protected]"
git config --global user.name "hugocxl"
- name: Install dependencies
shell: bash
run: pnpm i --no-frozen-lockfile
6 changes: 0 additions & 6 deletions .github/dependabot.yml

This file was deleted.

28 changes: 28 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<!---
Thanks for creating a Pull Request 💖!
Please read the following before submitting:
- PRs that adds new external dependencies might take a while to review.
- Keep your PR as small as possible.
- Limit your PR to one type (docs, feature, refactoring, ci, or bugfix)
-->

Closes # <!-- Github issue # here -->

## 📝 Description

> Add a brief description
## ⛳️ Current behavior (updates)

> Please describe the current behavior that you are modifying
## 🚀 New behavior

> Please describe the behavior or changes this PR adds
## 💣 Is this a breaking change (Yes/No)

<!-- If Yes, please describe the impact and migration path for existing Panda users. -->

## 📝 Additional Information
35 changes: 0 additions & 35 deletions .github/workflows/automerge.yml

This file was deleted.

38 changes: 0 additions & 38 deletions .github/workflows/codeql.yml

This file was deleted.

Loading

0 comments on commit 1a5f96c

Please sign in to comment.