Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(vite-plugin): add plugin for vite #1726

Merged
merged 12 commits into from Apr 5, 2023
Merged

feat(vite-plugin): add plugin for vite #1726

merged 12 commits into from Apr 5, 2023

Conversation

bigopon
Copy link
Member

@bigopon bigopon commented Apr 5, 2023

Pull Request

📖 Description

In a previous PR #1651 , necessary work was prepared but the actual plugin was missing, this PR fixes that. Now the vite plugin can be imported via @aurelia/vite-plugin

By default, the plugin will enable convention and dev bundle aliasing for development, and no alias for production build.

@codecov
Copy link

codecov bot commented Apr 5, 2023

Codecov Report

Merging #1726 (ef62666) into master (f4af700) will increase coverage by 0.00%.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1726   +/-   ##
=======================================
  Coverage   88.01%   88.01%           
=======================================
  Files         243      243           
  Lines       22270    22272    +2     
  Branches     5039     5039           
=======================================
+ Hits        19601    19603    +2     
  Misses       2669     2669           
Impacted Files Coverage Δ
packages/kernel/src/di.ts 89.58% <ø> (ø)
packages/platform-browser/src/index.ts 91.66% <ø> (ø)
packages/router-lite/src/route.ts 98.70% <ø> (+<0.01%) ⬆️
...es/runtime-html/src/resources/attribute-pattern.ts 90.72% <ø> (ø)
...kages/runtime-html/src/resources/custom-element.ts 82.70% <ø> (ø)
packages/runtime-html/src/templating/controller.ts 88.43% <ø> (ø)
packages/runtime/src/observation/observable.ts 93.02% <ø> (ø)
...kages/runtime/src/observation/proxy-observation.ts 98.66% <ø> (+<0.01%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@bigopon bigopon merged commit 564e533 into master Apr 5, 2023
25 checks passed
@bigopon bigopon deleted the feat/vite branch April 5, 2023 05:31
@Sayan751
Copy link
Contributor

Sayan751 commented Apr 5, 2023

@bigopon don't we need docs for this?

@bigopon
Copy link
Member Author

bigopon commented Apr 6, 2023

@Sayan751 I did have doc for it, in the read me of the package. Added preliminary doc. Thanks.

AureliaEffect pushed a commit that referenced this pull request Apr 13, 2023
2.0.0-beta.4 (2023-04-13)

**Features:**

* **debounce-throttle:** flush via signals (#1739) ([af238a9](af238a9))
* **slotted:** add slotted decorator, slotchange bindable for au-slot (#1735) ([8cf87af](8cf87af))
* **router-lite:** extended support for ../ prefix, activeClass router configuration (#1733) ([bd18fde](bd18fde))
* **router-lite:** non-string support for fallback (#1730) ([59da952](59da952))
* **vite-plugin:** add vite plugin (#1726) ([564e533](564e533))
* **router-lite:** ce aliases as configured route (#1723) ([2b7f9fc](2b7f9fc))
* **router-lite:** transitionplan as nav opt ([7905d98](7905d98))

**Bug Fixes:**

* **repeat:** fix mismatchedLengthError on assigning an array with duplicate primitive values (#1737) ([cf60ac8](cf60ac8))
* **vite-plugin:** optionally resolve alias, add preliminary doc (#1731) ([3f37f8d](3f37f8d))
* **select:** insensitive multiple.bind order (#1727) ([c8d912f](c8d912f))
* **ci:** fix vite build in ci, upgrade chromedriver ([564e533](564e533))
* **proxy-observation:** prevent proxies from being wrapped in proxies again (#1716) ([7792e9c](7792e9c))

**Refactorings:**

* **children:** remove children observers from custom element def, make children deco as a hook (#1732) ([5bde983](5bde983))
* **all:** ignore dev message coverage ([5bde983](5bde983))
* **router-lite:** routable fallback ([59da952](59da952))
* **platform:** remove unnecessary properties on PLATFORM (#1722) ([7cd77ad](7cd77ad))
* **router-lite:** route definition configuration ([eba6d61](eba6d61))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants