Skip to content

Commit cfb7e42

Browse files
committed
chore: repo setup
1 parent 76bcb72 commit cfb7e42

36 files changed

+6155
-4891
lines changed

Diff for: .eslintrc.cjs

+2-25
Original file line numberDiff line numberDiff line change
@@ -111,36 +111,13 @@ module.exports = defineConfig({
111111
}
112112
},
113113
{
114-
files: 'packages/vite/**/*.*',
115-
rules: {
116-
'node/no-restricted-require': [
117-
'error',
118-
Object.keys(
119-
require('./packages/vite/package.json').devDependencies
120-
).map((d) => ({
121-
name: d,
122-
message:
123-
`devDependencies can only be imported using ESM syntax so ` +
124-
`that they are included in the rollup bundle. If you are trying to ` +
125-
`lazy load a dependency, use (await import('dependency')).default instead.`
126-
}))
127-
]
128-
}
129-
},
130-
{
131-
files: ['packages/vite/src/node/**'],
132-
rules: {
133-
'no-console': ['error']
134-
}
135-
},
136-
{
137-
files: ['packages/vite/src/types/**', '*.spec.ts'],
114+
files: ['*.spec.ts'],
138115
rules: {
139116
'node/no-extraneous-import': 'off'
140117
}
141118
},
142119
{
143-
files: ['packages/create-vite/template-*/**', '**/build.config.ts'],
120+
files: ['**/build.config.ts'],
144121
rules: {
145122
'no-undef': 'off',
146123
'node/no-missing-import': 'off',

Diff for: .github/ISSUE_TEMPLATE/bug_report.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -79,11 +79,11 @@ body:
7979
required: true
8080
- label: Read the [docs](https://vitejs.dev/guide).
8181
required: true
82-
- label: Check that there isn't [already an issue](https://github.com/vitejs/vite/issues) that reports the same bug to avoid creating a duplicate.
82+
- label: Check that there isn't [already an issue](https://github.com/vitejs/vite-plugin-vue/issues) that reports the same bug to avoid creating a duplicate.
8383
required: true
8484
- label: Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to [vuejs/core](https://github.com/vuejs/core) instead.
8585
required: true
86-
- label: Check that this is a concrete bug. For Q&A open a [GitHub Discussion](https://github.com/vitejs/vite/discussions) or join our [Discord Chat Server](https://chat.vitejs.dev/).
86+
- label: Check that this is a concrete bug. For Q&A open a [GitHub Discussion](https://github.com/vitejs/vite-plugin-vue/discussions) or join our [Discord Chat Server](https://chat.vitejs.dev/).
8787
required: true
8888
- label: The provided reproduction is a [minimal reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) of the bug.
8989
required: true

Diff for: .github/ISSUE_TEMPLATE/config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ contact_links:
44
url: https://chat.vitejs.dev
55
about: Ask questions and discuss with other Vite users in real time.
66
- name: Questions & Discussions
7-
url: https://github.com/vitejs/vite/discussions
7+
url: https://github.com/vitejs/vite-plugin-vue/discussions
88
about: Use GitHub discussions for message-board style questions and discussions.

Diff for: .github/PULL_REQUEST_TEMPLATE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
### Before submitting the PR, please make sure you do the following
2121

2222
- [ ] Read the [Contributing Guidelines](https://github.com/vitejs/vite/blob/main/CONTRIBUTING.md).
23-
- [ ] Read the [Pull Request Guidelines](https://github.com/vitejs/vite/blob/main/CONTRIBUTING.md#pull-request-guidelines) and follow the [Commit Convention](https://github.com/vitejs/vite/blob/main/.github/commit-convention.md).
23+
- [ ] Read the [Pull Request Guidelines](https://github.com/vitejs/vite/blob/main/CONTRIBUTING.md#pull-request-guidelines) and follow the [Commit Convention](https://github.com/vitejs/vite-plugin-vue/blob/main/.github/commit-convention.md).
2424
- [ ] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
2525
- [ ] Provide a description in this PR that addresses **what** the PR is solving, or reference the issue that it solves (e.g. `fixes #123`).
2626
- [ ] Ideally, include relevant tests that fail without this PR but pass with it.

Diff for: .github/issue-workflow-dark.png

-269 KB
Binary file not shown.

0 commit comments

Comments
 (0)