Skip to content

Commit 02408b3

Browse files
committed
feat(qrcode): rename vue-qrcode package name, thanks to @xiaokaike
1 parent ea0111d commit 02408b3

File tree

7 files changed

+20
-53
lines changed

7 files changed

+20
-53
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,19 +40,19 @@
4040

4141
This repository is a monorepo managed by [Lerna][] what means we actually publish several packages to npm from same codebase, including:
4242

43-
| Package | Description | Version | Peer Dependencies | Dependencies |
44-
| ------------------------------------ | --------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------- |
45-
| [`vue-qrcode`](/packages/vue-qrcode) | 🤳 A Vue component for QR code generation with [qrcode][] | [![npm](https://img.shields.io/npm/v/@rxts/vue-qrcode.svg)](https://www.npmjs.com/package/@rxts/vue-qrcode) | [![David Peer](https://img.shields.io/david/peer/rx-ts/vue.svg?path=packages/vue-qrcode)](https://david-dm.org/rx-ts/vue?path=packages/vue-qrcode&type=peer) | [![David](https://img.shields.io/david/rx-ts/vue.svg?path=packages/vue-qrcode)](https://david-dm.org/rx-ts/vue?path=packages/vue-qrcode) |
46-
| [`vue-qrious`](/packages/vue-qrious) | 🤳 A Vue component for QR code generation with [qrious][] | [![npm](https://img.shields.io/npm/v/vue-qrious.svg)](https://www.npmjs.com/package/vue-qrious) | [![David Peer](https://img.shields.io/david/peer/rx-ts/vue.svg?path=packages/vue-qrious)](https://david-dm.org/rx-ts/vue?path=packages/vue-qrious&type=peer) | [![David](https://img.shields.io/david/rx-ts/vue.svg?path=packages/vue-qrious)](https://david-dm.org/rx-ts/vue?path=packages/vue-qrious) |
43+
| Package | Description | Version | Peer Dependencies | Dependencies |
44+
| ------------------------------------ | --------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------- |
45+
| [`vue-qrcode`](/packages/vue-qrcode) | 🤳 A Vue component for QR code generation with [qrcode][] | [![npm](https://img.shields.io/npm/v/vue-qrcode.svg)](https://www.npmjs.com/package/vue-qrcode) | [![David Peer](https://img.shields.io/david/peer/rx-ts/vue.svg?path=packages/vue-qrcode)](https://david-dm.org/rx-ts/vue?path=packages/vue-qrcode&type=peer) | [![David](https://img.shields.io/david/rx-ts/vue.svg?path=packages/vue-qrcode)](https://david-dm.org/rx-ts/vue?path=packages/vue-qrcode) |
46+
| [`vue-qrious`](/packages/vue-qrious) | 🤳 A Vue component for QR code generation with [qrious][] | [![npm](https://img.shields.io/npm/v/vue-qrious.svg)](https://www.npmjs.com/package/vue-qrious) | [![David Peer](https://img.shields.io/david/peer/rx-ts/vue.svg?path=packages/vue-qrious)](https://david-dm.org/rx-ts/vue?path=packages/vue-qrious&type=peer) | [![David](https://img.shields.io/david/rx-ts/vue.svg?path=packages/vue-qrious)](https://david-dm.org/rx-ts/vue?path=packages/vue-qrious) |
4747

4848
## Install
4949

5050
```sh
5151
# yarn
52-
yarn add @rxts/vue-qrcode vue-qrious
52+
yarn add vue-{qrcode,qrious}
5353

5454
# npm
55-
npm i @rxts/vue-qrcode vue-qrious
55+
npm i vue-{qrcode,qrious}
5656
```
5757

5858
## Changelog

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
"@babel/core": "^7.5.5",
3636
"@commitlint/cli": "^8.1.0",
3737
"@commitlint/config-conventional": "^8.1.0",
38-
"@rxts/vue-qrcode": "link:packages/vue-qrcode/src",
3938
"@types/classnames": "^2.2.9",
4039
"@types/lodash": "^4.14.138",
4140
"@types/node": "^12.7.4",
@@ -76,6 +75,7 @@
7675
"type-coverage": "^2.2.0",
7776
"typescript": "^3.6.2",
7877
"vue": "^2.6.10",
78+
"vue-qrcode": "link:packages/vue-qrcode/src",
7979
"vue-qrious": "link:packages/vue-qrious/src"
8080
},
8181
"alias": {

packages/vue-qrcode/CHANGELOG.md

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,24 +7,14 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
77

88
**Note:** Version bump only for package @rxts/vue-qrcode
99

10-
11-
12-
13-
1410
## [0.1.1](https://github.com/rx-ts/vue/compare/@rxts/vue-qrcode@0.1.0...@rxts/vue-qrcode@0.1.1) (2019-09-04)
1511

16-
1712
### Bug Fixes
1813

19-
* **qrcode:** example code, add keywords field in packages.json ([bc5fa40](https://github.com/rx-ts/vue/commit/bc5fa40))
20-
21-
22-
23-
14+
- **qrcode:** example code, add keywords field in packages.json ([bc5fa40](https://github.com/rx-ts/vue/commit/bc5fa40))
2415

2516
# 0.1.0 (2019-09-04)
2617

27-
2818
### Features
2919

30-
* add @rxts/qrcode package, improve documentation ([0cdcaa7](https://github.com/rx-ts/vue/commit/0cdcaa7))
20+
- add @rxts/vue-qrcode package, improve documentation ([0cdcaa7](https://github.com/rx-ts/vue/commit/0cdcaa7))

packages/vue-qrcode/docs/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1+
import Vue from 'vue'
12
import Qrcode, {
23
LEVELS,
34
MASK_PATTERNS,
45
MODES,
56
QRCodeSegment,
67
QRCodeValue,
78
TYPES,
8-
} from '@rxts/vue-qrcode'
9-
import Vue from 'vue'
9+
} from 'vue-qrcode'
1010

1111
const DEFAULT_TEXT = 'http://www.1stg.me'
1212

packages/vue-qrcode/package.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@rxts/vue-qrcode",
2+
"name": "vue-qrcode",
33
"version": "0.1.2",
44
"description": "🤳 A Vue component for QR code generation with `qrcode`",
55
"repository": "git@github.com:rx-ts/vue.git",
@@ -26,8 +26,5 @@
2626
"qrcode": "^1.0.0",
2727
"vue": "^2.0.0"
2828
},
29-
"publishConfig": {
30-
"access": "public"
31-
},
3229
"sideEffects": false
3330
}

packages/vue-qrious/CHANGELOG.md

Lines changed: 4 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -5,48 +5,28 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
55

66
## [1.4.1](https://github.com/rx-ts/vue/compare/vue-qrious@1.4.0...vue-qrious@1.4.1) (2019-09-04)
77

8-
98
### Bug Fixes
109

11-
* **qrcode:** example code, add keywords field in packages.json ([bc5fa40](https://github.com/rx-ts/vue/commit/bc5fa40))
12-
13-
14-
15-
10+
- **qrcode:** example code, add keywords field in packages.json ([bc5fa40](https://github.com/rx-ts/vue/commit/bc5fa40))
1611

1712
# [1.4.0](https://github.com/rx-ts/vue/compare/vue-qrious@1.3.2...vue-qrious@1.4.0) (2019-09-04)
1813

19-
2014
### Features
2115

22-
* add @rxts/qrcode package, improve documentation ([0cdcaa7](https://github.com/rx-ts/vue/commit/0cdcaa7))
23-
24-
25-
26-
16+
- add @rxts/vue-qrcode package, improve documentation ([0cdcaa7](https://github.com/rx-ts/vue/commit/0cdcaa7))
2717

2818
## [1.3.2](https://github.com/rx-ts/vue/compare/vue-qrious@1.3.1...vue-qrious@1.3.2) (2019-09-03)
2919

3020
**Note:** Version bump only for package vue-qrious
3121

32-
33-
34-
35-
3622
## [1.3.1](https://github.com/rx-ts/vue/compare/vue-qrious@1.3.0...vue-qrious@1.3.1) (2019-09-03)
3723

38-
3924
### Bug Fixes
4025

41-
* vue should be peer dependency of vue-qrious ([4e05f1e](https://github.com/rx-ts/vue/commit/4e05f1e))
42-
43-
44-
45-
26+
- vue should be peer dependency of vue-qrious ([4e05f1e](https://github.com/rx-ts/vue/commit/4e05f1e))
4627

4728
# 1.3.0 (2019-09-03)
4829

49-
5030
### Features
5131

52-
* refactor to typescript based codes, more output formats ([4ac0dc4](https://github.com/rx-ts/vue/commit/4ac0dc4))
32+
- refactor to typescript based codes, more output formats ([4ac0dc4](https://github.com/rx-ts/vue/commit/4ac0dc4))

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2277,10 +2277,6 @@
22772277
"@parcel/utils" "^1.11.0"
22782278
physical-cpu-count "^2.0.0"
22792279

2280-
"@rxts/vue-qrcode@link:packages/vue-qrcode/src":
2281-
version "0.0.0"
2282-
uid ""
2283-
22842280
"@samverschueren/stream-to-observable@^0.3.0":
22852281
version "0.3.0"
22862282
resolved "https://registry.yarnpkg.com/@samverschueren/stream-to-observable/-/stream-to-observable-0.3.0.tgz#ecdf48d532c58ea477acfcab80348424f8d0662f"
@@ -12581,6 +12577,10 @@ vue-eslint-parser@^5.0.0:
1258112577
esquery "^1.0.1"
1258212578
lodash "^4.17.11"
1258312579

12580+
"vue-qrcode@link:packages/vue-qrcode/src":
12581+
version "0.0.0"
12582+
uid ""
12583+
1258412584
"vue-qrious@link:packages/vue-qrious/src":
1258512585
version "0.0.0"
1258612586
uid ""

0 commit comments

Comments
 (0)