Skip to content

Commit 964ccd9

Browse files
committed
chore: merge
2 parents f0ab651 + 8e58730 commit 964ccd9

File tree

6 files changed

+635
-13
lines changed

6 files changed

+635
-13
lines changed

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
shamefully-hoist=true
22
strict-peer-dependencies=false
3+
registry=https://registry.npmmirror.com

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,23 +10,23 @@
1010

1111
## 📦 Install
1212

13-
Install `nuxt-es-tookit` as development dependency:
13+
Install `nuxt-es-toolkit` as development dependency:
1414

1515
```bash
16-
npm i nuxt-es-tookit -D
16+
npm i nuxt-es-toolkit -D
1717
```
1818

1919
Add it to the `modules` section of your `nuxt.config`:
2020

2121
```ts
2222
export default defineNuxtConfig({
23-
modules: ["nuxt-es-tookit"],
23+
modules: ["nuxt-es-toolkit"],
2424
});
2525
```
2626

2727
## 🚀 Example
2828

29-
Use any [es-tookit](https://es-toolkit.slash.page/intro.html) methods in your Nuxt application, they will be auto-imported!
29+
Use any [es-toolkit](https://es-toolkit.slash.page/intro.html) methods in your Nuxt application, they will be auto-imported!
3030

3131
```html
3232
<script setup>
@@ -89,8 +89,8 @@ const capitalize = useCapitalize('hello')
8989

9090
```ts
9191
export default defineNuxtConfig({
92-
modules: ["nuxt-es-tookit"],
93-
'es-tookit': {
92+
modules: ["nuxt-es-toolkit"],
93+
'es-toolkit': {
9494
prefix: 'use',
9595
prefixSkip: 'is',
9696
upperAfterPrefix: true,
@@ -102,7 +102,7 @@ export default defineNuxtConfig({
102102
```
103103

104104
## Acknowledgement
105-
The development of `nuxt-es-tookit` was made possible thanks to the inspiration and code base from [nuxt-lodash](https://github.com/cipami/nuxt-lodash).
105+
The development of `nuxt-es-toolkit` was made possible thanks to the inspiration and code base from [nuxt-lodash](https://github.com/cipami/nuxt-lodash).
106106

107107
## 📄 License
108108

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@
2929
"lint": "eslint .",
3030
"test": "vitest run",
3131
"test:watch": "vitest watch",
32-
"test:types": "vue-tsc --noEmit && cd playground && vue-tsc --noEmit"
32+
"test:types": "vue-tsc --noEmit && cd playground && vue-tsc --noEmit",
33+
"publish": "npm publish"
3334
},
3435
"dependencies": {
3536
"@nuxt/kit": "^3.12.4",

playground/app.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ const fish = [
2727
},
2828
]
2929
30-
const ra = {
31-
Mode: 'god',
32-
Power: 'sun',
33-
}
30+
// const ra = {
31+
// Mode: 'god',
32+
// Power: 'sun',
33+
// }
3434
3535
const array = [1, 2, 3, 4, 5, 6]
3636
// array

0 commit comments

Comments
 (0)