-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
579 changed files
with
29,088 additions
and
4,776 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--- | ||
'vite-plugin-entry-shaking': minor | ||
--- | ||
|
||
### Features | ||
|
||
- Refined logger and added some websocket messages to extend debugging/benchmarking abilities | ||
- Added an experimental debugger application | ||
- Added an example generator CLI for easier repros | ||
- Added support for wilcard imports analysis (fixes #34) | ||
- Added support for target's default export (this limitation was not known/documented and found with | ||
updated tests) | ||
- Added glob patterns support for "targets" option (thanks | ||
[moushicheng](https://github.com/moushicheng)) | ||
|
||
### Chore | ||
|
||
- Created some kind of logo, please don't hate I'm not a designer | ||
- Revamped examples with a simple webapp that one can use to test and debug this plugin against | ||
use-cases | ||
- Reworked tests to get even more coverage and confidence | ||
- Made names more consistent with options and docs (especially entry -> target) | ||
- Updated dependencies | ||
|
||
### Fixes | ||
|
||
- Fixed an issue when re-exporting aliased entity (fixes #28, thanks | ||
[fdc-viktor-luft](https://github.com/fdc-viktor-luft) for reporting & investigating) | ||
- Fixed an issue with multiline imports/exports (fixes #35, thanks | ||
[mx-bernhard](https://github.com/mx-bernhard) for reporting & contributing) | ||
- Fixed an issue where if a target was default exporting something, importing that default export | ||
would probably result in error. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,11 @@ | ||
{ | ||
"extends": ["@yungezeit/base", "prettier"], | ||
"ignorePatterns": ["README.md"] | ||
"ignorePatterns": [ | ||
"README.md", | ||
"RESOURCES.md", | ||
"_template_", | ||
"scripts", | ||
"examples/syntaxes/src/data", | ||
".github" | ||
] | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
name: Bug report | ||
description: >- | ||
Create a report to help us improve | ||
title: '[Bug]: ' | ||
labels: | ||
- bug | ||
body: | ||
- type: checkboxes | ||
id: target | ||
attributes: | ||
label: What does the bug relate to? | ||
options: | ||
- label: Plugin's core | ||
- label: Debugger | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: description | ||
attributes: | ||
label: Describe the bug | ||
description: A clear and concise description of what the bug is | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: reproduce | ||
attributes: | ||
label: To Reproduce | ||
description: Steps to reproduce the behavior | ||
placeholder: >- | ||
1. Go to '...' 2. Click on '....' 3. Scroll down to '....' 4. See error | ||
validations: | ||
required: true | ||
- type: input | ||
id: vite-version | ||
attributes: | ||
label: Vite version | ||
placeholder: '5.1.0' | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: context | ||
attributes: | ||
label: Additional context | ||
description: Add any other context about the problem here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
blank_issues_enabled: false |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: Feature request | ||
description: >- | ||
Suggest an idea for this project | ||
title: '[Feature request]: ' | ||
labels: | ||
- feature request | ||
body: | ||
- type: checkboxes | ||
id: target | ||
attributes: | ||
label: What does the feature request relate to? | ||
options: | ||
- label: Plugin's core | ||
- label: Debugger | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: why | ||
attributes: | ||
label: Is your feature request related to a problem? | ||
description: A clear and concise description of what the problem is | ||
placeholder: Ex. I'm always frustrated when [...] | ||
- type: textarea | ||
id: what | ||
attributes: | ||
label: Describe the solution you'd like | ||
description: A clear and concise description of what you want to happen. | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: alternatives | ||
attributes: | ||
label: Describe alternatives you've considered | ||
description: | ||
A clear and concise description of any alternative solutions or features you've considered. | ||
- type: textarea | ||
id: context | ||
attributes: | ||
label: Additional context | ||
description: Add any other context about the problem here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,29 @@ | ||
# Logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
pnpm-debug.log* | ||
lerna-debug.log* | ||
|
||
node_modules | ||
dev-dist | ||
dist | ||
dist-ssr | ||
*.local | ||
|
||
# Tests | ||
coverage | ||
*.log | ||
|
||
# Editor directories and files | ||
.vscode/* | ||
!.vscode/extensions.json | ||
.idea | ||
.DS_Store | ||
*.suo | ||
*.ntvs* | ||
*.njsproj | ||
*.sln | ||
*.sw? | ||
|
||
*storybook.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
/examples/* | ||
/packages/core/tests/__mocks__ | ||
/packages/core/tests/cases |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
{ | ||
"recommendations": ["dbaeumer.vscode-eslint", "esbenp.prettier-vscode"] | ||
"recommendations": [ | ||
"dbaeumer.vscode-eslint", | ||
"esbenp.prettier-vscode", | ||
// Only needed if you're working on the example wrapper app. | ||
"Vue.volar", | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,16 @@ | ||
{ | ||
// DX. | ||
"editor.codeActionsOnSave": { | ||
"source.fixAll.eslint": true | ||
"source.fixAll.eslint": "explicit", | ||
"source.fixAll.stylelint": "explicit" | ||
}, | ||
"eslint.validate": ["javascript", "javascriptreact", "yaml", "json", "jsonc", "json5"] | ||
// ESLint. | ||
"eslint.validate": ["javascript", "javascriptreact", "yaml", "json", "jsonc", "json5"], | ||
"html.format.wrapAttributes": "force-expand-multiline", | ||
// Stylelint. | ||
"css.validate": false, | ||
"less.validate": false, | ||
"scss.validate": false, | ||
"stylelint.enable": true, | ||
"stylelint.validate": ["css", "scss", "postcss", "vue"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.