Skip to content

Commit 3b642ae

Browse files
committed
Updated package json, readme, and github action
1 parent c467933 commit 3b642ae

File tree

3 files changed

+6
-9
lines changed

3 files changed

+6
-9
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,7 @@ jobs:
2222
- name: Install Dependencies
2323
run: npm ci
2424

25-
- name: Build package
26-
run: npm run build
27-
28-
- name: Publish to npm
25+
- name: Publish package
2926
run: npm publish
3027
env:
3128
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ To test the plugin, run `vite build` after including it in your `vite.config.ts`
4545

4646
To take it a step further, it is recommended to install the [capo.js extension](https://rviscomi.github.io/capo.js/user/extension/).
4747

48-
## 🧠 How It Works
48+
## How It Works
4949

5050
This plugin sorts `<head>` tags into the following order:
5151

@@ -61,7 +61,7 @@ This plugin sorts `<head>` tags into the following order:
6161
10. Prefetch and Prerender Hints (`<link rel="prefetch">`, `<link rel="dns-prefetch">`, and `<link rel="prerender">`)
6262
11. All other elements
6363

64-
## 💡 Example
64+
## Example
6565

6666
### Before
6767

@@ -98,6 +98,6 @@ This plugin sorts `<head>` tags into the following order:
9898

9999
MIT
100100

101-
## 🙏 Credits
101+
## Credits
102102

103103
This plugin is inspired by [capo.js](https://rviscomi.github.io/capo.js/) by [Rick Viscomi](https://twitter.com/rick_viscomi).

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vite-plugin-capo",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "A Vite plugin to reorder <head> elements based on capo.js best practices.",
55
"author": {
66
"email": "contact@hunter-simpson.dev",
@@ -11,7 +11,7 @@
1111
"homepage": "https://github.com/hsimpson270/vite-plugin-capo",
1212
"repository": {
1313
"type": "git",
14-
"url": "https://github.com/hsimpson270/vite-plugin-capo"
14+
"url": "git+https://github.com/hsimpson270/vite-plugin-capo.git"
1515
},
1616
"bugs": {
1717
"url": "https://github.com/hsimpson270/vite-plugin-capo/issues"

0 commit comments

Comments
 (0)