Skip to content
This repository was archived by the owner on Oct 28, 2022. It is now read-only.

Commit efb4177

Browse files
committed
🔖 : rename
1 parent cb3a0e8 commit efb4177

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# vue-rx-next
1+
# vue-next-rx
22

33
<div align="center">
44
<img src="https://i.ibb.co/q5267TX/maxresdefault-2.jpg" width="25%" />
@@ -8,7 +8,7 @@
88

99
</br>
1010

11-
![](https://img.shields.io/github/license/NOPR9D/vue-rx-next)
11+
![](https://img.shields.io/github/license/NOPR9D/vue-next-rx)
1212
![](https://gitlab.com/nopr3d/vue-next-rx/badges/main/pipeline.svg)
1313

1414
<br>
@@ -26,12 +26,12 @@
2626
**`rxjs` is required as a peer dependency.**
2727

2828
```bash
29-
npm install vue @nopr3d/vue-rx-next rxjs --save
29+
npm install vue @nopr3d/vue-next-rx rxjs --save
3030
```
3131

3232
```js
3333
import Vue from "vue";
34-
import VueRx from "@nopr3d/vue-rx-next";
34+
import VueRx from "@nopr3d/vue-next-rx";
3535

3636
Vue.use(VueRx);
3737
```
@@ -40,14 +40,14 @@ Vue.use(VueRx);
4040

4141
When bundling via webpack, `dist/vue-next-rx.esm.js` is used by default. It imports the minimal amount of Rx operators and ensures small bundle sizes.
4242

43-
To use in a browser environment, use the UMD build `dist/vue-rx-next.js`. When in a browser environment, the UMD build assumes `window.rxjs` to be already present, so make sure to include `vue-rx-next.js` after Vue.js and RxJS. It also installs itself automatically if `window.Vue` is present.
43+
To use in a browser environment, use the UMD build `dist/vue-next-rx.js`. When in a browser environment, the UMD build assumes `window.rxjs` to be already present, so make sure to include `vue-next-rx.js` after Vue.js and RxJS. It also installs itself automatically if `window.Vue` is present.
4444

4545
Example:
4646

4747
```html
4848
<script src="https://unpkg.com/rxjs/bundles/rxjs.umd.js"></script>
4949
<script src="https://unpkg.com/vue@next"></script>
50-
<script src="../dist/vue-rx-next.js"></script>
50+
<script src="../dist/vue-next-rx.js"></script>
5151
```
5252

5353
<br />
@@ -124,7 +124,7 @@ or
124124
# Ref
125125
126126
```js
127-
import { ref } from "@nopr3d/vue-rx-next";
127+
import { ref } from "@nopr3d/vue-next-rx";
128128

129129
// use ref like an Rx Subject
130130
export default defineComponent({
@@ -159,7 +159,7 @@ export default defineComponent({
159159
# Watch
160160
161161
```js
162-
import { ref, watch } from "@nopr3d/vue-rx-next";
162+
import { ref, watch } from "@nopr3d/vue-next-rx";
163163

164164
export default defineComponent({
165165
name: "Home",
@@ -199,7 +199,7 @@ export default defineComponent({
199199
This is a prototype method added to instances. You can use it to create an observable from a Data. The emitted value is in the format of `{ newValue, oldValue }`:
200200
201201
```js
202-
import { ref } from "@nopr3d/vue-rx-next";
202+
import { ref } from "@nopr3d/vue-next-rx";
203203

204204
export default defineComponent({
205205
name: "Home",

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
{
22
"name": "@nopr3d/vue-next-rx",
3-
"version": "1.0.3",
3+
"version": "1.0.4",
44
"description": "RxJs for Vue 3",
55
"author": "Boucham Amine",
66
"license": "MIT",
77
"bugs": {
88
"url": "https://github.com/NOPR9D/vue-next-rx/issues"
99
},
1010
"homepage": "https://github.com/NOPR9D/vue-next-rx#readme",
11-
"main": "dist/vue-rx-next.js",
12-
"module": "dist/vue-rx-next.esm.js",
11+
"main": "dist/vue-next-rx.js",
12+
"module": "dist/vue-next-rx.esm.js",
1313
"sideEffects": false,
1414
"files": [
1515
"types/*.d.ts"

test/test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"use strict";
44

55
const { mount, config } = require("@vue/test-utils");
6-
const VueNextRx = require("../dist/vue-rx-next.js");
6+
const VueNextRx = require("../dist/vue-next-rx.js");
77
const { Observable } = require("rxjs");
88
const {
99
startWith,

0 commit comments

Comments
 (0)