@fortawesome/vue-fontawesome 3.0.0-1 → 3.0.0-5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9,7 +9,7 @@ jobs:
9
9
 
10
10
  strategy:
11
11
  matrix:
12
- node-version: [8.x, 10.x, 12.x]
12
+ node-version: [8.x, 10.x, 12.x, 14.x]
13
13
 
14
14
  steps:
15
15
  - uses: actions/checkout@v1
package/.tool-versions CHANGED
@@ -1,2 +1,2 @@
1
- nodejs 10.16.2
1
+ nodejs 14.16.1
2
2
  python 3.7.5
package/CHANGELOG.md CHANGED
@@ -5,6 +5,38 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
5
5
 
6
6
  ---
7
7
 
8
+ ## [3.0.0-5](https://github.com/FortAwesome/vue-fontawesome/releases/tag/3.0.0-5) - 2021-10-18
9
+
10
+ ### Fixed
11
+
12
+ * Include 1.3.0-beta versions in peer dependencies
13
+
14
+ ---
15
+
16
+ ## [3.0.0-4](https://github.com/FortAwesome/vue-fontawesome/releases/tag/3.0.0-4) - 2021-05-23
17
+
18
+ ### Fixed
19
+
20
+ * Fix reactivity #297
21
+
22
+ ---
23
+
24
+ ## [3.0.0-3](https://github.com/FortAwesome/vue-fontawesome/releases/tag/3.0.0-3) - 2020-12-09
25
+
26
+ ### Fixed
27
+
28
+ * Allow for non-RC releases of Vue 3
29
+
30
+ ---
31
+
32
+ ## [3.0.0-2](https://github.com/FortAwesome/vue-fontawesome/releases/tag/3.0.0-2) - 2020-10-09
33
+
34
+ ### Fixed
35
+
36
+ * Make Vue as an external dependency #258 #260
37
+
38
+ ---
39
+
8
40
  ## [3.0.0-1](https://github.com/FortAwesome/vue-fontawesome/releases/tag/3.0.0-1) - 2020-09-01
9
41
 
10
42
  ### Added
package/DEVELOPMENT.md CHANGED
@@ -19,9 +19,28 @@ test | Execute unit tests
19
19
  1. Update `README.md` and `package.json`; adding any contributors
20
20
  1. Update the `CHANGELOG.md`
21
21
  1. `npm publish --tag prerelease`
22
- 1. `npm pack`
23
- 1. `CLOUDSMITH_API_KEY=API_TOKEN cloudsmith upload npm --npm-dist-tag prerelease fortawesome/fontawesome-pro ./fortawesome-vue-fontawesome-VERSION.tgz`
22
+ 1. `npm publish --tag prerelease --registry https://npm.fontawesome.com`
24
23
  1. `git add .`
25
24
  1. `git commit -a -m 'Release VERSION'`
26
25
  1. `git push`
27
26
  1. Create a [new release](https://github.com/FortAwesome/vue-fontawesome/releases/new) with CHANGELOG details
27
+
28
+ ## Authenticating with the npm.fontawesome.com registry
29
+
30
+ Contributors with authorization to publish to npm.fontawesome.com will receive an invite
31
+ from a Font Awesome project owner.
32
+
33
+ 1. Respond to the invite in your email
34
+ 1. Let the owner know when you've setup your account
35
+ 1. Owner will add you to the team
36
+
37
+ You can then run:
38
+
39
+ ```
40
+ npm login --registry https://npm.fontawesome.com
41
+ ```
42
+
43
+ - The username is the "slug" for your Cloudsmith account. For example mine is "rob-madole".
44
+ - Enter the password that you setup just a few minutes ago.
45
+ - It says the your email is PUBLIC. Pretty sure that's false since the auth is through Cloudsmith.
46
+ - This doesn't overwrite your standard login, just adds to your `~/.npmrc`
package/README.md CHANGED
@@ -21,7 +21,6 @@
21
21
  <!-- toc -->
22
22
 
23
23
  - [Introduction](#introduction)
24
- * [CodeSandbox Starter Sample 🚀](#codesandbox-starter-sample-%F0%9F%9A%80)
25
24
  * [Upgrading Font Awesome?](#upgrading-font-awesome)
26
25
  * [Get started](#get-started)
27
26
  * [Learn about our new SVG implementation](#learn-about-our-new-svg-implementation)
@@ -69,10 +68,6 @@
69
68
 
70
69
  Hey there! We're glad you're here...
71
70
 
72
- ### CodeSandbox Starter Sample 🚀
73
-
74
- Here's a [CodeSandbox Starter Sample](https://codesandbox.io/s/github/FortAwesome/vue-fontawesome/tree/master/examples/vue-cli-webpack) on how to display Solid, Regular, and Brand icons [using the Icon Library](https://github.com/FortAwesome/vue-fontawesome#usage).
75
-
76
71
  ### Upgrading Font Awesome?
77
72
 
78
73
  If you've used Font Awesome in the past (version 4 or older) there are some
@@ -109,17 +104,15 @@ $ yarn add @fortawesome/fontawesome-svg-core
109
104
  $ yarn add @fortawesome/free-solid-svg-icons
110
105
  ```
111
106
 
112
- **Using Vue 2.x**
107
+ **Install this Vue component**
113
108
 
114
109
  ```
115
- $ npm i --save @fortawesome/vue-fontawesome@2
110
+ $ npm i --save @fortawesome/vue-fontawesome@prerelease
116
111
  ```
117
112
 
118
- **Using Vue 3.x**
113
+ The `prerelease` tag is compatible with Vue 3 but not Vue 2.
119
114
 
120
- ```
121
- $ npm i --save @fortawesome/vue-fontawesome@3
122
- ```
115
+ If you are still using Vue 2.x you can [read about usage here](https://github.com/FortAwesome/vue-fontawesome/tree/2.x).
123
116
 
124
117
  ## Add more styles or Pro icons
125
118
 
@@ -148,27 +141,23 @@ $ npm i --save @fortawesome/pro-duotone-svg-icons
148
141
 
149
142
  The following examples are based on a project configured with [vue-cli](https://github.com/vuejs/vue-cli).
150
143
 
144
+ **Registering the component**
145
+
151
146
  `src/main.js`
152
147
 
153
148
  ```javascript
154
- import Vue from 'vue'
155
- import App from './App'
149
+ import { createApp } from 'vue'
150
+ import App from './App.vue'
156
151
  import { library } from '@fortawesome/fontawesome-svg-core'
157
152
  import { faUserSecret } from '@fortawesome/free-solid-svg-icons'
158
153
  import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'
159
154
 
160
155
  library.add(faUserSecret)
161
156
 
162
- Vue.component('font-awesome-icon', FontAwesomeIcon)
163
-
164
- Vue.config.productionTip = false
165
157
 
166
- /* eslint-disable no-new */
167
- new Vue({
168
- el: '#app',
169
- components: { App },
170
- template: '<App/>'
171
- })
158
+ createApp(App)
159
+ .component('font-awesome-icon', FontAwesomeIcon)
160
+ .mount('#app')
172
161
  ```
173
162
 
174
163
  `src/App.vue`
@@ -846,16 +835,18 @@ The following contributors have either hepled to start this project, have contri
846
835
  code, are actively maintaining it (including documentation), or in other ways
847
836
  being awesome contributors to this project. **We'd like to take a moment to recognize them.**
848
837
 
849
- | | Name | GitHub |
850
- | :--------------------------------------------------------: | -------------- | ---------------------------------------------------- |
851
- | <img src="https://github.com/SirLamer.png?size=72" /> | SirLamer | [@SirLamer](https://github.com/SirLamer) |
852
- | <img src="https://github.com/meteorlxy.png?size=72" /> | Liu Xinyu | [@meteorlxy](https://github.com/meteorlxy) |
853
- | <img src="https://github.com/schulz3000.png?size=72" /> | Xaver Schulz | [@schulz3000](https://github.com/schulz3000) |
854
- | <img src="https://github.com/ihmels.png?size=72" /> | Yannick Ihmels | [@ihmels](https://github.com/ihmels) |
855
- | <img src="https://github.com/btaens.png?size=72" /> | btaens | [@btaens](https://github.com/btaens) |
856
- | <img src="https://github.com/david-driscoll.png?size=72" /> | David Driscoll | [@david-driscoll](https://github.com/david-driscoll) |
857
- | <img src="https://github.com/tyranteon.png?size=72" /> | Tyranteon | [@tyranteon](https://github.com/tyranteon) |
858
- | <img src="https://github.com/rigma.png?size=72" /> | Romain Failla | [@rigma](https://github.com/rigma) |
838
+ | | Name | GitHub |
839
+ | :----------------------------------------------------------: | --------------- | ------------------------------------------------------ |
840
+ | <img src="https://github.com/SirLamer.png?size=72" /> | SirLamer | [@SirLamer](https://github.com/SirLamer) |
841
+ | <img src="https://github.com/meteorlxy.png?size=72" /> | Liu Xinyu | [@meteorlxy](https://github.com/meteorlxy) |
842
+ | <img src="https://github.com/schulz3000.png?size=72" /> | Xaver Schulz | [@schulz3000](https://github.com/schulz3000) |
843
+ | <img src="https://github.com/ihmels.png?size=72" /> | Yannick Ihmels | [@ihmels](https://github.com/ihmels) |
844
+ | <img src="https://github.com/btaens.png?size=72" /> | btaens | [@btaens](https://github.com/btaens) |
845
+ | <img src="https://github.com/david-driscoll.png?size=72" /> | David Driscoll | [@david-driscoll](https://github.com/david-driscoll) |
846
+ | <img src="https://github.com/tyranteon.png?size=72" /> | Tyranteon | [@tyranteon](https://github.com/tyranteon) |
847
+ | <img src="https://github.com/rigma.png?size=72" /> | Romain Failla | [@rigma](https://github.com/rigma) |
848
+ | <img src="https://github.com/viniciuslrangel.png?size=72" /> | Vinicius Rangel | [@viniciuslrangel](https://github.com/viniciuslrangel) |
849
+ | <img src="https://github.com/otijhuis.png?size=72" /> | Okke Tijhuis | [@otijhuis](https://github.com/otijhuis) |
859
850
 
860
851
  If we've missed someone (which is quite likely) submit a Pull Request to us and we'll get it resolved.
861
852