Skip to content

Commit 1a5f96c

Browse files
committed
feat: update repo core utils
1 parent eb0494b commit 1a5f96c

22 files changed

+1767
-317
lines changed

.changeset/README.md

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Changesets
2+
3+
Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
4+
with multi-package repos, or single-package repos to help you version and publish your code. You can
5+
find the full documentation for it [in our repository](https://github.com/changesets/changesets)
6+
7+
We have a quick list of common questions to get you started engaging with this project in
8+
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)

.changeset/config.json

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
3+
"changelog": "@changesets/cli/changelog",
4+
"commit": true,
5+
"fixed": [],
6+
"linked": [],
7+
"access": "restricted",
8+
"baseBranch": "master",
9+
"updateInternalDependencies": "patch",
10+
"ignore": []
11+
}

.eslintignore

+48-9
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,50 @@
1-
dist
2-
node_modules
1+
# Logs
2+
logs
3+
*.log
4+
5+
# Runtime data
6+
pids
7+
*.pid
8+
*.seed
9+
10+
# Directory for instrumented libs generated by jscoverage/JSCover
11+
lib-cov
12+
13+
# Coverage directory used by tools like istanbul
314
coverage
4-
.next
15+
16+
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
17+
.grunt
18+
19+
# node-waf configuration
20+
.lock-wscript
21+
22+
# Compiled binary addons (http://nodejs.org/api/addons.html)
23+
build/Release
24+
.eslintcache
25+
26+
# Dependency directory
27+
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git
28+
node_modules
29+
30+
# OSX
31+
.DS_Store
32+
33+
# flow-typed
34+
flow-typed/npm/*
35+
!flow-typed/npm/module_vx.x.x.js
36+
37+
# App packaged
38+
release
539
build
6-
pnpm-lock.yaml
7-
*.d.ts
8-
*.js
9-
*.md
10-
*.css
11-
*.cjs
40+
public
41+
42+
.idea
43+
npm-debug.log.*
44+
__snapshots__
45+
46+
# Package.json
47+
package.json
48+
49+
.travis.yml
50+
# Created by .ignore support plugin (hsz.mobi)

.github/ISSUE_TEMPLATE/bug_report.yml

+72
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
name: 'Bug Report'
2+
description: 'File a bug report'
3+
body:
4+
- type: 'markdown'
5+
attributes:
6+
value: |
7+
Thanks for creating an issue 😄!
8+
9+
Please search open/closed issues before submitting. Someone
10+
might have asked the same thing before 😉!
11+
12+
We're all volunteers here, so help us help you by taking the time to
13+
accurately fill out this template. ❤️
14+
- type: 'textarea'
15+
id: 'description'
16+
attributes:
17+
label: 'Description'
18+
description: 'A brief description of the issue.'
19+
placeholder: |
20+
When I ____, I expected ____ to happen but ____ happened instead.
21+
validations:
22+
required: true
23+
- type: 'input'
24+
id: 'reproduction'
25+
attributes:
26+
label: 'Link to Reproduction'
27+
description: |
28+
A link to a Stackblitz reproduction which demonstrates the bug
29+
placeholder: 'https://stackblitz.com/edit/vitejs-vite-lfwyue?file=src%2FApp.tsx&terminal=dev'
30+
validations:
31+
required: true
32+
- type: 'textarea'
33+
id: 'steps'
34+
attributes:
35+
label: 'Steps to reproduce'
36+
description: |
37+
Explain how to cause the issue in the provided reproduction.
38+
value: |
39+
1. Go to '...'
40+
2. Click on '...'
41+
3. Scroll down to '...'
42+
4. See error
43+
- type: 'input'
44+
id: 'version'
45+
attributes:
46+
label: 'Version'
47+
description: 'The version of @hugocxl/react-to-image you use.'
48+
placeholder: 'x.x.x'
49+
validations:
50+
required: true
51+
- type: 'input'
52+
id: 'browser'
53+
attributes:
54+
label: 'Browser'
55+
description: 'The browser(s) this issue occurred with.'
56+
placeholder: 'Google Chrome 93'
57+
- type: 'checkboxes'
58+
id: 'operating-system'
59+
attributes:
60+
label: 'Operating System'
61+
description: 'The operating system(s) this issue occurred with.'
62+
options:
63+
- label: 'macOS'
64+
- label: 'Windows'
65+
- label: 'Linux'
66+
- type: 'textarea'
67+
id: 'additional-information'
68+
attributes:
69+
label: 'Additional Information'
70+
description: |
71+
Use this section to provide any additional information you might have
72+
like screenshots, notes, or links to ideas.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: 'Documentation Request'
2+
description: 'Request for documentation to be added/altered'
3+
labels: ['needs triage', 'Topic: Documentation 📚']
4+
body:
5+
- type: 'markdown'
6+
attributes:
7+
value: |
8+
Thanks for filing a documentation request!
9+
10+
If you have an idea for a new documentation topic, noticed that
11+
something is not properly documented, or feel that something is
12+
incorrect with the current documentation, you're in the right place!
13+
- type: 'input'
14+
id: 'subject'
15+
attributes:
16+
label: 'Subject'
17+
description:
18+
'What is the subject (component, function, topic) of this request?'
19+
placeholder: 'Presets'
20+
validations:
21+
required: true
22+
- type: 'textarea'
23+
id: 'description'
24+
attributes:
25+
label: 'Description'
26+
description:
27+
"What about the subject's documentation should be added or changed?"
28+
placeholder: 'Add a usage example of RadioGroup in action'
29+
validations:
30+
required: true
+52
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
name: 'Feature Request'
2+
description: 'Request a feature or enhancement'
3+
labels: ['needs triage']
4+
body:
5+
- type: 'markdown'
6+
attributes:
7+
value: |
8+
Thanks for filing an issue 😄!
9+
10+
Please search open/closed issues before submitting. Someone
11+
might have asked the same thing before 😉!
12+
- type: 'textarea'
13+
id: 'description'
14+
attributes:
15+
label: 'Description'
16+
description: 'Please describe your request in one or two sentences.'
17+
validations:
18+
required: true
19+
- type: 'textarea'
20+
id: 'justification'
21+
attributes:
22+
label: 'Problem Statement/Justification'
23+
description: |
24+
Please provide valid reason(s) why this should be added to Chakra UI
25+
26+
If this feature is related to a problem you've noticed, mention it as
27+
well.
28+
validations:
29+
required: true
30+
- type: 'textarea'
31+
id: 'proposed-solution'
32+
attributes:
33+
label: 'Proposed Solution or API'
34+
description: |
35+
Please provide code snippets, gists, or links to the ideal
36+
design or API.
37+
validations:
38+
required: true
39+
- type: 'textarea'
40+
id: 'alternatives'
41+
attributes:
42+
label: 'Alternatives'
43+
description: |
44+
What alternative solutions have you considered before making this
45+
request?
46+
- type: 'textarea'
47+
id: 'additional-information'
48+
attributes:
49+
label: 'Additional Information'
50+
description: |
51+
What resources (links, screenshots, etc.) do you have to assist this
52+
effort?
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: 'Install'
2+
description: 'Sets up Node.js and runs install'
3+
4+
runs:
5+
using: composite
6+
steps:
7+
- name: Setup PNPM
8+
uses: pnpm/action-setup@master
9+
with:
10+
version: 8
11+
12+
- name: Setup Node.js
13+
uses: actions/setup-node@main
14+
with:
15+
node-version: 18
16+
registry-url: https://registry.npmjs.org/
17+
cache: 'pnpm'
18+
19+
- name: Setup Git Configuration
20+
shell: bash
21+
run: |
22+
git config --global user.email "[email protected]"
23+
git config --global user.name "hugocxl"
24+
25+
- name: Install dependencies
26+
shell: bash
27+
run: pnpm i --no-frozen-lockfile

.github/dependabot.yml

-6
This file was deleted.

.github/pull_request_template.md

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<!---
2+
Thanks for creating a Pull Request 💖!
3+
4+
Please read the following before submitting:
5+
- PRs that adds new external dependencies might take a while to review.
6+
- Keep your PR as small as possible.
7+
- Limit your PR to one type (docs, feature, refactoring, ci, or bugfix)
8+
-->
9+
10+
Closes # <!-- Github issue # here -->
11+
12+
## 📝 Description
13+
14+
> Add a brief description
15+
16+
## ⛳️ Current behavior (updates)
17+
18+
> Please describe the current behavior that you are modifying
19+
20+
## 🚀 New behavior
21+
22+
> Please describe the behavior or changes this PR adds
23+
24+
## 💣 Is this a breaking change (Yes/No)
25+
26+
<!-- If Yes, please describe the impact and migration path for existing Panda users. -->
27+
28+
## 📝 Additional Information

.github/workflows/automerge.yml

-35
This file was deleted.

.github/workflows/codeql.yml

-38
This file was deleted.

0 commit comments

Comments
 (0)