Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

v-github-activity

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

v-github-activity - npm Package Compare versions

Comparing version 0.0.1 to 0.1.0

CHANGELOG.md

31

package.json
{
"name": "v-github-activity",
"version": "0.0.1",
"main": "src/index.js",
"version": "0.1.0",
"description": "Componente Vue para mostrar la actividad reciente de github",

@@ -18,3 +17,6 @@ "author": "amaury.tobiasqr@gmail.com",

],
"module": "src/index.js",
"main": "dist/v-github-activity.ssr.js",
"module": "dist/v-github-activity.esm.js",
"browser": "dist/v-github-activity.min,js",
"unpkg": "dist/v-github-activity.min,js",
"files": [

@@ -30,11 +32,12 @@ "dist/*",

"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"serve": "vue serve src/components/GithubFeed.vue",
"lint": "vue-cli-service lint",
"test:unit": "vue-cli-service test:unit"
"test": "vue-cli-service test:unit",
"build": "cross-env NODE_ENV=production rollup --config build/rollup.config.js",
"build:ssr": "cross-env NODE_ENV=production rollup --config build/rollup.config.js --format cjs",
"build:es": "cross-env NODE_ENV=production rollup --config build/rollup.config.js --format es",
"build:unpkg": "cross-env NODE_ENV=production rollup --config build/rollup.config.js --format iife",
"prepare": "npm run build"
},
"dependencies": {
"axios": "^0.19.0",
"vue-octicon": "^2.1.1"
},
"dependencies": {},
"devDependencies": {

@@ -49,6 +52,14 @@ "@vue/cli-plugin-babel": "^3.10.0",

"chai": "^4.2.0",
"cross-env": "^5.2.0",
"eslint": "^6.1.0",
"eslint-plugin-prettier": "^3.1.0",
"eslint-plugin-vue": "^5.2.3",
"minimist": "^1.2.0",
"prettier": "^1.18.2",
"rollup": "^1.19.3",
"rollup-plugin-buble": "^0.19.8",
"rollup-plugin-commonjs": "^10.0.2",
"rollup-plugin-replace": "^2.2.0",
"rollup-plugin-terser": "^5.1.1",
"rollup-plugin-vue": "^5.0.1",
"vue": "^2.6.10",

@@ -55,0 +66,0 @@ "vue-template-compiler": "^2.6.10"

# v-github-activity
## Project setup
```
npm install
```
### Beta release v0.1.0
### Compiles and hot-reloads for development
```
npm run serve
```
## TO DO
### Compiles and minifies for production
```
npm run build
```
- ~~Build module using `Rollup`~~
- ~~Replace `axios` using `fetch`~~
- Add SGV icons
- Unit testing
### Run your tests
```
npm run test
```
## CHANGELOG
### Lints and fixes files
```
npm run lint
```
#### v0.1.0
### Run your unit tests
```
npm run test:unit
```
- 🎇 Added CHANGELOG
- 🎇 Added LICENSE
- 🎇 Update README
- 🎇 Profile and events request using `fetch()`
- ❌ Removido `axios`
- ❌ Removido `vue-octicons`
- 🔮 Module build using `Rollup`
### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).
#### v0.0.1
- 🎇 Creación del modulo npm.

@@ -1,7 +0,41 @@

import component from './components/GithubFeed.vue'
import GithubFeed from './components/GithubFeed.vue'
import PushEvent from './components/events/PushEvent.vue'
import PullRequestEvent from './components/events/PullRequestEvent.vue'
import CreateEvent from './components/events/CreateEvent.vue'
import DeleteEvent from './components/events/DeleteEvent.vue'
import WatchEvent from './components/events/WatchEvent.vue'
import IssuesEvent from './components/events/IssuesEvent.vue'
import IssueCommentEvent from './components/events/IssueCommentEvent.vue'
import ForkEvent from './components/events/ForkEvent.vue'
import CommitCommentEvent from './components/events/CommitCommentEvent.vue'
import PublicEvent from './components/events/PublicEvent.vue'
const install = function install(Vue) {
Vue.component('github-feed', component)
export function install(Vue) {
Vue.component('github-feed', GithubFeed)
Vue.component('push-event', PushEvent)
Vue.component('pull-request-event', PullRequestEvent)
Vue.component('create-event', CreateEvent)
Vue.component('watch-event', WatchEvent)
Vue.component('delete-event', DeleteEvent)
Vue.component('issues-event', IssuesEvent)
Vue.component('issue-comment-event', IssueCommentEvent)
Vue.component('commit-comment-event', CommitCommentEvent)
Vue.component('fork-event', ForkEvent)
Vue.component('public-event', PublicEvent)
}
export {
GithubFeed,
PushEvent,
PullRequestEvent,
CreateEvent,
WatchEvent,
DeleteEvent,
IssuesEvent,
IssueCommentEvent,
ForkEvent,
CommitCommentEvent,
PublicEvent
}
const plugin = {

@@ -11,2 +45,4 @@ install

export default plugin
let GlobalVue = null

@@ -21,5 +57,1 @@ if (typeof window !== 'undefined') {

}
component.install = install
export default component
'use strict'
import axios from 'axios'
const client = axios.create({
baseURL: 'https://api.github.com/users/'
})
export default {
user: login => {
return client.get(login)
return fetch(`https://api.github.com/users/${login}`)
.then(res => res.json())
.then(response => response)
.catch(e => e)
},
events: login => {
return client.get(login + '/events')
return fetch(`https://api.github.com/users/${login}/events`)
.then(res => res.json())
.then(response => response)
.catch(e => e)
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc