Skip to content

Commit 37182ee

Browse files
committed
init
1 parent 01f70e0 commit 37182ee

File tree

1,416 files changed

+150595
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,416 files changed

+150595
-0
lines changed

.editorconfig

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
root = true
2+
3+
[*]
4+
indent_style = space
5+
indent_size = 2
6+
tab_width = 4
7+
end_of_line = lf
8+
charset = utf-8
9+
trim_trailing_whitespace = true
10+
insert_final_newline = true
11+
12+
[*.md]
13+
trim_trailing_whitespace = false
14+
15+
[*.js]
16+
quote_type = single
17+
18+
[{*.c,*.cc,*.h,*.hh,*.cpp,*.hpp,*.m,*.mm,*.mpp,*.js,*.java,*.go,*.rs,*.php,*.ng,*.jsx,*.ts,*.d,*.cs,*.swift}]
19+
curly_bracket_next_line = false
20+
spaces_around_operators = true
21+
spaces_around_brackets = outside
22+
# close enough to 1TB
23+
indent_brace_style = K&R

.gitignore

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2+
3+
# dependencies
4+
node_modules
5+
.pnp
6+
.pnp.js
7+
8+
# testing
9+
coverage
10+
11+
# next.js
12+
.next
13+
out
14+
15+
# production
16+
build
17+
dist
18+
19+
# misc
20+
.DS_Store
21+
*.pem
22+
.idea
23+
24+
# debug
25+
npm-debug.log*
26+
yarn-debug.log*
27+
yarn-error.log*
28+
29+
# local env files
30+
.env
31+
.env.local
32+
.env.development.local
33+
.env.test.local
34+
.env.production.local
35+
36+
# vercel
37+
.vercel
38+
39+
# Turborepo
40+
.turbo

.prettierignore

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Every package defines its prettier config
2+
node_modules
3+
dist
4+
.next
5+
public

.prettierrc

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"semi": false,
3+
"singleQuote": true,
4+
"tabWidth": 2,
5+
"useTabs": false
6+
}

.vscode/extensions.json

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"recommendations": [
3+
"esbenp.prettier-vscode",
4+
"csstools.postcss",
5+
"bradlc.vscode-tailwindcss",
6+
"ms-vscode.vscode-typescript-next"
7+
]
8+
}

.vscode/settings.json

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"editor.defaultFormatter": "esbenp.prettier-vscode",
3+
"editor.formatOnSave": true
4+
}

ISSUE_TEMPLATE/1.core_bug_report.yml

+55
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
name: Core package Bug Report
2+
description: Create a bug report for the Next.js commerce core package
3+
labels: 'template: core bug'
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: Thanks for taking the time to file a bug report! Please fill out this form as completely as possible.
8+
- type: checkboxes
9+
attributes:
10+
label: Verify latest commit
11+
description: `main` is the latest version of Next.js Commerce.
12+
options:
13+
- label: I verified that the issue exists on `main`
14+
required: true
15+
- type: textarea
16+
attributes:
17+
label: Provide environment information
18+
description: Please run `npx --no-install next info` in the root directory of your project and paste the results.
19+
validations:
20+
required: true
21+
- type: input
22+
attributes:
23+
label: What browser are you using? (if relevant)
24+
description: 'Please specify the exact version. For example: Chrome 100.0.4878.0'
25+
- type: input
26+
attributes:
27+
label: How are you deploying your application? (if relevant)
28+
description: 'For example: next start, next export, Vercel, Other platform'
29+
- type: textarea
30+
attributes:
31+
label: Describe the Bug
32+
description: A clear and concise description of what the bug is.
33+
validations:
34+
required: true
35+
- type: textarea
36+
attributes:
37+
label: Expected Behavior
38+
description: A clear and concise description of what you expected to happen.
39+
validations:
40+
required: true
41+
- type: textarea
42+
attributes:
43+
label: To Reproduce
44+
description: Steps to reproduce the behavior, please provide a clear code snippets that always reproduces the issue or a GitHub repository. Screenshots can be provided in the issue body below.
45+
validations:
46+
required: true
47+
- type: markdown
48+
attributes:
49+
value: Before posting the issue go through the steps you've written down to make sure the steps provided are detailed and clear.
50+
- type: markdown
51+
attributes:
52+
value: Contributors should be able to follow the steps provided in order to reproduce the bug.
53+
- type: markdown
54+
attributes:
55+
value: These steps are used to add integration tests to ensure the same issue does not happen again. Thanks in advance!
+59
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
name: Provider package Bug Report
2+
description: Create a bug report for the Next.js commerce core package
3+
labels: 'template: provider bug'
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: Thanks for taking the time to file a bug report! Please fill out this form as completely as possible.
8+
- type: checkboxes
9+
attributes:
10+
label: Verify latest commit
11+
description: `main` is the latest version of Next.js Commerce.
12+
options:
13+
- label: I verified that the issue exists on `main`
14+
required: true
15+
- type: textarea
16+
attributes:
17+
label: Provide environment information
18+
description: Please run `npx --no-install next info` in the root directory of your project and paste the results.
19+
validations:
20+
required: true
21+
- type: input
22+
attributes:
23+
label: What Provider are you using?
24+
description: 'Please specify the provider package name. For example: `bigcommerce`'
25+
- type: input
26+
attributes:
27+
label: What browser are you using? (if relevant)
28+
description: 'Please specify the exact version. For example: Chrome 100.0.4878.0'
29+
- type: input
30+
attributes:
31+
label: How are you deploying your application? (if relevant)
32+
description: 'For example: next start, next export, Vercel, Other platform'
33+
- type: textarea
34+
attributes:
35+
label: Describe the Bug
36+
description: A clear and concise description of what the bug is.
37+
validations:
38+
required: true
39+
- type: textarea
40+
attributes:
41+
label: Expected Behavior
42+
description: A clear and concise description of what you expected to happen.
43+
validations:
44+
required: true
45+
- type: textarea
46+
attributes:
47+
label: To Reproduce
48+
description: Steps to reproduce the behavior, please provide a clear code snippets that always reproduces the issue or a GitHub repository. Screenshots can be provided in the issue body below.
49+
validations:
50+
required: true
51+
- type: markdown
52+
attributes:
53+
value: Before posting the issue go through the steps you've written down to make sure the steps provided are detailed and clear.
54+
- type: markdown
55+
attributes:
56+
value: Contributors should be able to follow the steps provided in order to reproduce the bug.
57+
- type: markdown
58+
attributes:
59+
value: These steps are used to add integration tests to ensure the same issue does not happen again. Thanks in advance!

ISSUE_TEMPLATE/3.feature_request.yml

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Feature Request
2+
description: Create a feature request for the Next.js core
3+
labels: 'template: story'
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: Thanks for taking the time to file a feature request! Please fill out this form as completely as possible.
8+
- type: markdown
9+
attributes:
10+
value: 'Feature requests will be converted to the GitHub Discussions "Ideas" section.'
11+
- type: textarea
12+
attributes:
13+
label: Describe the feature you'd like to request
14+
description: A clear and concise description of what you want and what your use case is.
15+
validations:
16+
required: true
17+
- type: textarea
18+
attributes:
19+
label: Describe the solution you'd like
20+
description: A clear and concise description of what you want to happen.
21+
validations:
22+
required: true
23+
- type: textarea
24+
attributes:
25+
label: Describe alternatives you've considered
26+
description: A clear and concise description of any alternative solutions or features you've considered.
27+
validations:
28+
required: true

ISSUE_TEMPLATE/4.docs_request.yml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: 'Docs Request for an Update or Improvement'
2+
description: A request to update or improve Next.js Commerce documentation
3+
title: 'Docs: '
4+
labels:
5+
- 'template: documentation'
6+
body:
7+
- type: textarea
8+
attributes:
9+
label: What is the improvement or update you wish to see?
10+
description: 'Example: I would like to see more examples of how to use hooks.'
11+
validations:
12+
required: true
13+
- type: textarea
14+
attributes:
15+
label: Is there any context that might help us understand?
16+
description: A clear description of any added context that might help us understand.
17+
validations:
18+
required: true

ISSUE_TEMPLATE/config.yml

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: Ask a question
4+
url: https://github.com/vercel/commerce/discussions
5+
about: Ask questions and discuss with other community members

0 commit comments

Comments
 (0)