1 | # Changelog
|
2 |
|
3 | All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
4 |
|
5 | ### [2.1.1](https://github.com/nuxt/components/compare/v2.1.0...v2.1.1) (2021-02-17)
|
6 |
|
7 |
|
8 | ### Bug Fixes
|
9 |
|
10 | * **pkg:** change postinstall to prepare ([6742b4a](https://github.com/nuxt/components/commit/6742b4ac1fd734e6199ce82d4eaf6d40dbd8f4d3))
|
11 |
|
12 | ## [2.1.0](https://github.com/nuxt/components/compare/v2.0.0...v2.1.0) (2021-02-16)
|
13 |
|
14 |
|
15 | ### Features
|
16 |
|
17 | * allow disabling prefix by path using pathPrefix option ([#150](https://github.com/nuxt/components/issues/150)) ([2a2acdf](https://github.com/nuxt/components/commit/2a2acdf0826d360e7229e0e30b3c844a9c315283))
|
18 |
|
19 |
|
20 | ### Bug Fixes
|
21 |
|
22 | * ignore .d.ts files (resolves [#146](https://github.com/nuxt/components/issues/146)) ([1062abf](https://github.com/nuxt/components/commit/1062abf6264987bbdce6e23a61ce8780f8aab1ba))
|
23 | * improve scanner ([#149](https://github.com/nuxt/components/issues/149)) ([62e951c](https://github.com/nuxt/components/commit/62e951cb607336d957b120bd6fdc34ebe91aa089))
|
24 | * **scan:** avoid duplicate prefix ([#148](https://github.com/nuxt/components/issues/148)) ([276aa76](https://github.com/nuxt/components/commit/276aa7672c6c4b434c7eb03c6215c4501ef553ba))
|
25 |
|
26 | ## [2.0.0](https://github.com/nuxt/components/compare/v2.0.0-1...v2.0.0) (2021-02-15)
|
27 |
|
28 |
|
29 | ### Bug Fixes
|
30 |
|
31 | * register global components with lazy prefix ([ae7249f](https://github.com/nuxt/components/commit/ae7249fd8dcb54b3a4c4f6e231faadc64f32dd9a)), closes [#139](https://github.com/nuxt/components/issues/139)
|
32 |
|
33 | ## [2.0.0-1](https://github.com/nuxt/components/compare/v2.0.0-0...v2.0.0-1) (2021-02-13)
|
34 |
|
35 |
|
36 | ### Bug Fixes
|
37 |
|
38 | * allow components to be in multilevel nested folders ([#141](https://github.com/nuxt/components/issues/141)) ([9aa52f4](https://github.com/nuxt/components/commit/9aa52f458698ba058e073c59b46460e7d2a46028))
|
39 |
|
40 | ## [2.0.0-0](https://github.com/nuxt/components/compare/v1.2.6...v2.0.0-0) (2021-02-10)
|
41 |
|
42 |
|
43 | ### ⚠ BREAKING CHANGES
|
44 |
|
45 | * prefix components in nested dirs with full path (#81)
|
46 |
|
47 | ### Features
|
48 |
|
49 | * components always available globally (hybrid loader) ([#126](https://github.com/nuxt/components/issues/126)) ([7a855dc](https://github.com/nuxt/components/commit/7a855dcbfb151990e939f95abf6b70fa64ad672b))
|
50 | * included pattern to ignore mixins ([#136](https://github.com/nuxt/components/issues/136)) ([aa6da2f](https://github.com/nuxt/components/commit/aa6da2fcf895a62e389dc3df6d62b32c100ba7fb))
|
51 | * prefix components in nested dirs with full path ([#81](https://github.com/nuxt/components/issues/81)) ([84a5de7](https://github.com/nuxt/components/commit/84a5de7e68dbb0536e35b656a2b21626adffcfc9))
|
52 |
|
53 | ### [1.2.6](https://github.com/nuxt/components/compare/v1.2.5...v1.2.6) (2021-02-01)
|
54 |
|
55 |
|
56 | ### Bug Fixes
|
57 |
|
58 | * **ignore:** ignore typescript stories ([#135](https://github.com/nuxt/components/issues/135)) ([cf54c71](https://github.com/nuxt/components/commit/cf54c71f6efe5a1307772f88f174006f639cbea1))
|
59 |
|
60 | ### [1.2.5](https://github.com/nuxt/components/compare/v1.2.4...v1.2.5) (2021-01-13)
|
61 |
|
62 |
|
63 | ### Bug Fixes
|
64 |
|
65 | * **scan:** preserve original component name for webpack chunk ([82357b2](https://github.com/nuxt/components/commit/82357b20651fa792927e6c98bee713a8cf72c619))
|
66 |
|
67 | ### [1.2.4](https://github.com/nuxt/components/compare/v1.2.3...v1.2.4) (2021-01-12)
|
68 |
|
69 |
|
70 | ### Bug Fixes
|
71 |
|
72 | * **scan:** generate chunkName based on componentName and use upath ([1b5139a](https://github.com/nuxt/components/commit/1b5139a861712f800f34b1bfed73b59dfd49a404)), closes [nuxt/content#711](https://github.com/nuxt/content/issues/711)
|
73 | * **types:** fix generated types ([57d6eb5](https://github.com/nuxt/components/commit/57d6eb5f14a9083e755012107e5e8025f2e1fdd0))
|
74 |
|
75 | ### [1.2.3](https://github.com/nuxt/components/compare/v1.2.2...v1.2.3) (2021-01-06)
|
76 |
|
77 |
|
78 | ### Bug Fixes
|
79 |
|
80 | * transform to PascalCase only on first lower letter or name contains hyphens ([#129](https://github.com/nuxt/components/issues/129)) ([2c819e6](https://github.com/nuxt/components/commit/2c819e6776ed8142394fc823f8b992e70389e242))
|
81 |
|
82 | ### [1.2.2](https://github.com/nuxt/components/compare/v1.2.1...v1.2.2) (2020-12-07)
|
83 |
|
84 |
|
85 | ### Bug Fixes
|
86 |
|
87 | * convert const to var for ie compatibility ([eac269c](https://github.com/nuxt/components/commit/eac269c41905ed937793e2fe2a0432034241c0b8))
|
88 |
|
89 | ### [1.2.1](https://github.com/nuxt/components/compare/v1.2.0...v1.2.1) (2020-12-06)
|
90 |
|
91 |
|
92 | ### Bug Fixes
|
93 |
|
94 | * **module:** avoid adding global directory if manually added ([#120](https://github.com/nuxt/components/issues/120)) ([dad04f7](https://github.com/nuxt/components/commit/dad04f7e2971e04619c8369011efe753c048d8df))
|
95 | * don't use implicit dependencies ([#119](https://github.com/nuxt/components/issues/119)) ([ceaaaec](https://github.com/nuxt/components/commit/ceaaaec7e36e44aa0b1f097f17f9e66106d64e41))
|
96 | * ie compatibility (resolves [#109](https://github.com/nuxt/components/issues/109)) ([04bea9b](https://github.com/nuxt/components/commit/04bea9bc3e44533fc6c6128234a7c13eb3f704ce))
|
97 |
|
98 | ## [1.2.0](https://github.com/nuxt/components/compare/v1.1.1...v1.2.0) (2020-11-23)
|
99 |
|
100 |
|
101 | ### Features
|
102 |
|
103 | * add components/global/ directory ([#113](https://github.com/nuxt/components/issues/113)) ([dde86a7](https://github.com/nuxt/components/commit/dde86a7ba72425f771571e12373ffa261e880f53))
|
104 | * support overwriting components ([#96](https://github.com/nuxt/components/issues/96)) ([47a21e9](https://github.com/nuxt/components/commit/47a21e9a016c20022e4ec9c6ae3dac469a91a4a1))
|
105 |
|
106 | ### [1.1.1](https://github.com/nuxt/components/compare/v1.1.0...v1.1.1) (2020-10-22)
|
107 |
|
108 |
|
109 | ### Bug Fixes
|
110 |
|
111 | * **npm:** component may require wrong webpack version ([3fc657a](https://github.com/nuxt/components/commit/3fc657ab88fe5bfc832e9d0c8c0cd0afe4ee555b))
|
112 |
|
113 | ## [1.1.0](https://github.com/nuxt/components/compare/v1.0.7...v1.1.0) (2020-08-04)
|
114 |
|
115 |
|
116 | ### Features
|
117 |
|
118 | * ignore storybook stories ([#84](https://github.com/nuxt/components/issues/84)) ([b4d9e11](https://github.com/nuxt/components/commit/b4d9e113f2967507b2c827f57f4564273f96b6e9))
|
119 |
|
120 |
|
121 | ### Bug Fixes
|
122 |
|
123 | * invalid `webpackChunkName` for global exports ([3fc3709](https://github.com/nuxt/components/commit/3fc3709729310ea3e6d8a3005b8b951045903dfc))
|
124 |
|
125 | ### [1.0.7](https://github.com/nuxt/components/compare/v1.0.6...v1.0.7) (2020-07-05)
|
126 |
|
127 |
|
128 | ### Bug Fixes
|
129 |
|
130 | * disable loader for global dirs ([#70](https://github.com/nuxt/components/issues/70)) ([78baa92](https://github.com/nuxt/components/commit/78baa92880c3985e0382a35d5d9b67f7fb968e29)), closes [#18](https://github.com/nuxt/components/issues/18)
|
131 |
|
132 | ### [1.0.6](https://github.com/nuxt/components/compare/v1.0.5...v1.0.6) (2020-06-28)
|
133 |
|
134 |
|
135 | ### Bug Fixes
|
136 |
|
137 | * **types:** extend NuxtOptions and use 2.13 NuxtOptionsHooks ([dd9ec90](https://github.com/nuxt/components/commit/dd9ec90d20b472fe08f88480d84451f36371fc2e))
|
138 |
|
139 | ### [1.0.5](https://github.com/nuxt/components/compare/v1.0.4...v1.0.5) (2020-06-24)
|
140 |
|
141 |
|
142 | ### Bug Fixes
|
143 |
|
144 | * disable module if no components option provided ([#60](https://github.com/nuxt/components/issues/60)) ([8be7b26](https://github.com/nuxt/components/commit/8be7b261f0c05364ef441ef021f93fb39f24ec82))
|
145 |
|
146 | ### [1.0.4](https://github.com/nuxt/components/compare/v1.0.3...v1.0.4) (2020-06-23)
|
147 |
|
148 |
|
149 | ### Bug Fixes
|
150 |
|
151 | * ensure requireNuxtVersion skips when currentVersion is nullish ([bf7dbfa](https://github.com/nuxt/components/commit/bf7dbfadd81e261b69e7615cf2cd7a87200e2589))
|
152 |
|
153 | ### [1.0.3](https://github.com/nuxt/components/compare/v1.0.2...v1.0.3) (2020-06-19)
|
154 |
|
155 |
|
156 | ### Bug Fixes
|
157 |
|
158 | * **installComponents:** avoid function shorthand for IE support (fixes [#56](https://github.com/nuxt/components/issues/56)) ([201914b](https://github.com/nuxt/components/commit/201914bd71b4b4c7215e0da1d705984991a38b53))
|
159 |
|
160 | ### [1.0.2](https://github.com/nuxt/components/compare/v1.0.1...v1.0.2) (2020-06-19)
|
161 |
|
162 | ### [1.0.1](https://github.com/nuxt/components/compare/v1.0.0...v1.0.1) (2020-06-19)
|
163 |
|
164 |
|
165 | ### Bug Fixes
|
166 |
|
167 | * **plugin:** add missing wrapper ([9e42435](https://github.com/nuxt/components/commit/9e4243577c0da145f8ee5d17a9519b8fe0d70187))
|
168 |
|
169 | ## [1.0.0](https://github.com/nuxt/components/compare/v0.3.4...v1.0.0) (2020-06-18)
|
170 |
|
171 |
|
172 | ### Bug Fixes
|
173 |
|
174 | * add missing comma for multiple global components ([#54](https://github.com/nuxt/components/issues/54)) ([2822a44](https://github.com/nuxt/components/commit/2822a44dfd18483683320f11d4372f85bb4423b8))
|
175 |
|
176 | ### [0.3.5](https://github.com/nuxt/components/compare/v0.3.4...v0.3.5) (2020-06-18)
|
177 |
|
178 | ### [0.3.4](https://github.com/nuxt/components/compare/v0.3.3...v0.3.4) (2020-06-12)
|
179 |
|
180 |
|
181 | ### Features
|
182 |
|
183 | * support functional components ([#41](https://github.com/nuxt/components/issues/41)) ([5fe2de6](https://github.com/nuxt/components/commit/5fe2de6aa3cb54055e596657c5cffdf1e27f1c2b))
|
184 | * support global async components ([#43](https://github.com/nuxt/components/issues/43)) ([6dfef95](https://github.com/nuxt/components/commit/6dfef95fbc818e8047db698acba484944340d253))
|
185 |
|
186 |
|
187 | ### Bug Fixes
|
188 |
|
189 | * disable telemetry for example ([73fe953](https://github.com/nuxt/components/commit/73fe9537c0280344433878642f04a14401630204))
|
190 | * provide default value for versions ([16eb18a](https://github.com/nuxt/components/commit/16eb18ab4f30581518be56b30be5beb5c01ac473))
|
191 |
|
192 | ### [0.3.3](https://github.com/nuxt/components/compare/v0.3.2...v0.3.3) (2020-06-01)
|
193 |
|
194 |
|
195 | ### Bug Fixes
|
196 |
|
197 | * **build:** add loader entrypoint ([b2275bb](https://github.com/nuxt/components/commit/b2275bb4deb6f777609d5bb08be0bf4614bbc32d))
|
198 |
|
199 | ### [0.3.2](https://github.com/nuxt/components/compare/v0.3.1...v0.3.2) (2020-06-01)
|
200 |
|
201 |
|
202 | ### Features
|
203 |
|
204 | * support `dir.extensions` ([#32](https://github.com/nuxt/components/issues/32)) ([0b76ddd](https://github.com/nuxt/components/commit/0b76dddd5513ee9048c73142d8fbafb383d36f6f))
|
205 | * use globby ([#33](https://github.com/nuxt/components/issues/33)) ([cdac9b9](https://github.com/nuxt/components/commit/cdac9b9856fad581d3392042c307d3839288edb7))
|
206 |
|
207 |
|
208 | ### Bug Fixes
|
209 |
|
210 | * **scan:** support index.{ext} ([#30](https://github.com/nuxt/components/issues/30)) ([8fcf984](https://github.com/nuxt/components/commit/8fcf984487b7babef1b58e6a5fca172f8e96d5b4))
|
211 |
|
212 | ### [0.3.1](https://github.com/nuxt/components/compare/v0.3.0...v0.3.1) (2020-05-29)
|
213 |
|
214 |
|
215 | ### Features
|
216 |
|
217 | * components array and simplify usage ([#27](https://github.com/nuxt/components/issues/27)) ([6fc2ba0](https://github.com/nuxt/components/commit/6fc2ba0ec5b8d672cd722b60e014079904698458))
|
218 |
|
219 | ## [0.3.0](https://github.com/nuxt/components/compare/v0.2.5...v0.3.0) (2020-05-25)
|
220 |
|
221 |
|
222 | ### Features
|
223 |
|
224 | * add pug support ([#21](https://github.com/nuxt/components/issues/21)) ([52584dd](https://github.com/nuxt/components/commit/52584dda4ea949e307fbe7880bdc5322e147c453))
|
225 |
|
226 | ### [0.2.5](https://github.com/nuxt/components/compare/v0.2.4...v0.2.5) (2020-05-21)
|
227 |
|
228 |
|
229 | ### Bug Fixes
|
230 |
|
231 | * add missing `components:extend` hook call for initial build ([9a29c8b](https://github.com/nuxt/components/commit/9a29c8bdbe505f4a95cc0585817b37bdf92bbba8))
|
232 |
|
233 | ### [0.2.4](https://github.com/nuxt/components/compare/v0.2.3...v0.2.4) (2020-05-20)
|
234 |
|
235 |
|
236 | ### Features
|
237 |
|
238 | * `components:extend` hook ([462834f](https://github.com/nuxt/components/commit/462834f7cdd77fadad842367db9bceb7cdad6637))
|
239 | * auto generate components.json, global plugin for tests and vetur tags ([#14](https://github.com/nuxt/components/issues/14)) ([12d546d](https://github.com/nuxt/components/commit/12d546d3f98183626693f3b4c0c13aadef7afc93))
|
240 | * support `extendComponent` option for scan ([4baa840](https://github.com/nuxt/components/commit/4baa8405800e711bcf58c799f85e3954b0a3c741))
|
241 |
|
242 |
|
243 | ### Bug Fixes
|
244 |
|
245 | * don't override imports if extendComponent already provided ([01959b1](https://github.com/nuxt/components/commit/01959b16c554408fd78c1bf1c2248f8e806e0275))
|
246 | * properly resolve components dir name and warn about non existent dirs ([#12](https://github.com/nuxt/components/issues/12)) ([1ffea77](https://github.com/nuxt/components/commit/1ffea77fb3a800a4e14670d651a615c2862a6540))
|
247 |
|
248 | ### [0.2.3](https://github.com/nuxt/components/compare/v0.2.2...v0.2.3) (2020-05-18)
|
249 |
|
250 |
|
251 | ### Features
|
252 |
|
253 | * set chunk name for async components ([3cb6aaa](https://github.com/nuxt/components/commit/3cb6aaaec83d9641ebd85b22e6e4bad4607bc33b))
|
254 |
|
255 |
|
256 | ### Bug Fixes
|
257 |
|
258 | * remove moduleOptions to only use components key ([58c7e26](https://github.com/nuxt/components/commit/58c7e26f72576dfbbcaf790f332a73f73090936a))
|
259 |
|
260 | ### [0.2.2](https://github.com/nuxt/components/compare/v0.2.1...v0.2.2) (2020-05-17)
|
261 |
|
262 |
|
263 | ### Bug Fixes
|
264 |
|
265 | * **scan:** use unix paths for windows ([9b5e6c6](https://github.com/nuxt/components/commit/9b5e6c6ea6bdd38dd03156428dc9c917165b1b45))
|
266 |
|
267 | ### [0.2.1](https://github.com/nuxt/components/compare/v0.2.0...v0.2.1) (2020-05-13)
|
268 |
|
269 |
|
270 | ### Features
|
271 |
|
272 | * add components:dirs hook ([#6](https://github.com/nuxt/components/issues/6)) ([ed83955](https://github.com/nuxt/components/commit/ed8395569e81691147872d5d08aeec61ad3ea756))
|
273 |
|
274 | ## [0.2.0](https://github.com/nuxt/components/compare/v0.1.2...v0.2.0) (2020-04-30)
|
275 |
|
276 |
|
277 | ### Features
|
278 |
|
279 | * implements new specs ([#2](https://github.com/nuxt/components/issues/2)) ([f4e5972](https://github.com/nuxt/components/commit/f4e5972188cd14db226b93fca45b7a3f4e36cdc7))
|
280 | * throw error if nuxt version not supported ([757af3c](https://github.com/nuxt/components/commit/757af3c7f793d28cfdc22f91af0d0ebccbdde05d))
|
281 |
|
282 | ### [0.1.2](https://github.com/nuxt/components/compare/v0.1.1...v0.1.2) (2020-04-24)
|
283 |
|
284 |
|
285 | ### Bug Fixes
|
286 |
|
287 | * fix IE compatibility ([7fa2785](https://github.com/nuxt/components/commit/7fa278578b2bb018f26b31adda25f59860a310b8))
|
288 |
|
289 | ### [0.1.1](https://github.com/nuxt/components/compare/v0.1.0...v0.1.1) (2020-04-23)
|
290 |
|
291 |
|
292 | ### Bug Fixes
|
293 |
|
294 | * add webpack entry instead of using nuxt plugin ([eaa4013](https://github.com/nuxt/components/commit/eaa4013541cee918b00c37ea11c7fae9d754fa32))
|
295 |
|
296 | ## [0.1.0](https://github.com/nuxt/components/tree/v0.1.0) (2020-04-22)
|