Skip to content

Commit c6dac78

Browse files
committed
feat!: renaming to vue telescope
1 parent d528f3b commit c6dac78

File tree

6 files changed

+18
-17
lines changed

6 files changed

+18
-17
lines changed

.github/ISSUE_TEMPLATE/BUG_REPORT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Before reporting a bug, please make sure that you have read through our document
1212

1313
### Version
1414

15-
vue-telemetry-analyzer: <!-- ex: v0.1.0 -->
15+
vue-telescope-analyzer: <!-- ex: v0.1.0 -->
1616

1717
### Reproduction Link
1818

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
blank_issues_enabled: false
22
contact_links:
3-
- name: Vue Telemetry on Twitter 🐦
4-
url: https://twitter.com/VueTelemetry
3+
- name: Vue Telescope on Twitter 🐦
4+
url: https://twitter.com/VueTelescope
55
about: Consider sharing the love or feedback on our Twitter

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
# Vue Telemetry Analyzer
1+
# Vue Telescope Analyzer
22

33
CLI to analyze a website and detect Vue and its ecosystem ✨
44

5-
This module is used by [vuetelemetry.com](https://vuetelemetry.com) to detect Vue and its ecosystem on a website.
5+
This module is used by [vuetelescope.com](https://vuetelescope.com) to detect Vue and its ecosystem on a website.
66

7-
You can help the community discover new Vue websites by using the [browser extension](https://github.com/nuxt-company/vue-telemetry-extensions) 💚
7+
You can help the community discover new Vue websites by using the [browser extension](https://github.com/nuxt-company/vue-telescope-extensions) 💚
88

99
## Installation
1010

1111
```bash
12-
npm install -g vue-telemetry-analyzer # Or yarn global add vue-telemetry-analyzer
12+
npm install -g vue-telescope-analyzer # Or yarn global add vue-telescope-analyzer
1313
```
1414

1515
## Usage
@@ -78,16 +78,16 @@ It will also detect the Nuxt modules used, refer to [detectors/nuxt.modules.json
7878

7979
## NPM module
8080

81-
You can use `vue-telemetry-analyzer` locally on your project:
81+
You can use `vue-telescope-analyzer` locally on your project:
8282

8383
```bash
84-
npm install vue-telemetry-analyzer # Or yarn add vue-telemetry-analyzer
84+
npm install vue-telescope-analyzer # Or yarn add vue-telescope-analyzer
8585
```
8686

8787
Then you can use the module in your project:
8888

8989
```js
90-
const analyze = require('vue-telemetry-analyzer')
90+
const analyze = require('vue-telescope-analyzer')
9191

9292
analyze('https://nuxtjs.org')
9393
.then(result => console.log(result))
@@ -116,7 +116,7 @@ Result:
116116
framework: {
117117
slug: 'nuxtjs',
118118
name: 'NuxtJS',
119-
imgPath: '/framework/nuxt.svg', // prefix with https://icons.vuetelemetry.com
119+
imgPath: '/framework/nuxt.svg', // prefix with https://icons.vuetelescope.com
120120
},
121121
// Vue plugins
122122
plugins: [

icons/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<p>See the list of icons <a href="https://github.com/nuxt-company/vue-telemetry-analyzer/tree/master/icons">here</a>.</p>
1+
<p>See the list of icons <a href="https://github.com/nuxt-company/vue-telescope-analyzer/tree/master/icons">here</a>.</p>

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2-
"name": "vue-telemetry-analyzer",
2+
"name": "vue-telescope-analyzer",
33
"version": "0.8.4",
44
"description": "",
55
"main": "src/index.js",
66
"bin": {
77
"vta": "bin/vta.js",
8-
"vue-telemetry-analyzer": "bin/vta.js"
8+
"vue-telescope-analyzer": "bin/vta.js"
99
},
1010
"scripts": {
1111
"test": "echo \"Error: no test specified\" && exit 1",
@@ -14,7 +14,8 @@
1414
"keywords": [
1515
"vue",
1616
"vue analyzer",
17-
"vue telemetry"
17+
"vue telemetry",
18+
"vue telescope"
1819
],
1920
"author": "NuxtJS Company",
2021
"license": "MIT",

src/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ async function analyze (originalUrl, options = {}) {
7474
}
7575
try {
7676
await page.setCacheEnabled(false) // disable cache for avoiding 304
77-
await page.setUserAgent('Vue-Telemetry')
77+
await page.setUserAgent('Vue-Telescope')
7878
await page.setViewport({
7979
width: 1680,
8080
height: 1260,
@@ -179,7 +179,7 @@ async function analyze (originalUrl, options = {}) {
179179
}
180180

181181
// Take screenshot
182-
const screenshotsDir = join(tmpdir(), 'vue-telemetry-analyzer')
182+
const screenshotsDir = join(tmpdir(), 'vue-telescope-analyzer')
183183
const filename = createHash('md5').update(originalUrl).digest('hex')
184184
infos.screenshot = join(screenshotsDir, `${filename}.jpg`)
185185
await makeDir(screenshotsDir)

0 commit comments

Comments
 (0)