Skip to content

Commit

Permalink
Release v0.14.0 (#352)
Browse files Browse the repository at this point in the history
* Release v0.14.0

* fix(textlintrc) Added ignore flag

* fix(textlintrc) format
  • Loading branch information
9renpoto authored and shoota committed Mar 13, 2018
1 parent 4eed565 commit 571a8a9
Show file tree
Hide file tree
Showing 18 changed files with 781 additions and 83 deletions.
12 changes: 11 additions & 1 deletion .textlintrc.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
const config = require('@uncovertruth/textlint-config-en')
config.rules["incremental-headers"] = 1
config.rules['incremental-headers'] = 1

if (process.env.CI) {
config.rules['no-dead-link'] = Object.assign(
{},
config.rules['no-dead-link'],
{
ignore: ['https://www.wantedly.com/companies/uncovertruth/projects']
}
)
}
module.exports = config
26 changes: 26 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,29 @@
## v0.14.0 (2018-03-13)

#### :rocket: Enhancement

* Other
* [#328](https://github.com/userdive/agent.js/pull/328) nightwatch. ([@taka-sho](https://github.com/taka-sho))
* [#304](https://github.com/userdive/agent.js/pull/304) feat(docs) Added getting started. ([@9renpoto](https://github.com/9renpoto))
* `agent`
* [#325](https://github.com/userdive/agent.js/pull/325) build: update ui-event-observer requirement to ^2.0.0 in /packages/agent. ([@dependabot[bot]](https://github.com/apps/dependabot))

#### :bug: Bug Fix

* Other
* [#329](https://github.com/userdive/agent.js/pull/329) refactor(examples) use es2015. ([@9renpoto](https://github.com/9renpoto))
* `agent`, `linker`, `userdive`
* [#326](https://github.com/userdive/agent.js/pull/326) fix(packages/agent) fix core scope . ([@9renpoto](https://github.com/9renpoto))
* [#303](https://github.com/userdive/agent.js/pull/303) Fixed linker lifecycle. ([@9renpoto](https://github.com/9renpoto))

#### Committers: 5

* Keisuke Kan ([9renpoto](https://github.com/9renpoto))
* Shotaro Takahara ([taka-sho](https://github.com/taka-sho))
* [dependabot[bot]](https://github.com/apps/dependabot)
* [renovate[bot]](https://github.com/apps/renovate)
* [sae1116](https://github.com/sae1116)

## v0.13.0 (2018-03-01)

#### :rocket: Enhancement
Expand Down
674 changes: 674 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
[![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg)](https://github.com/prettier/prettier)
[![codebeat badge](https://codebeat.co/badges/248f31a1-c73e-45e4-b1e0-a6154c1baaca)](https://codebeat.co/projects/github-com-userdive-agent-js-master)
[![CodeFactor](https://www.codefactor.io/repository/github/userdive/agent.js/badge)](https://www.codefactor.io/repository/github/userdive/agent.js)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/007cedb2144843ebb45db871c04a0045)](https://www.codacy.com/app/develop_2/agent.js?utm_source=github.com&utm_medium=referral&utm_content=userdive/agent.js&utm_campaign=Badge_Grade)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/007cedb2144843ebb45db871c04a0045)](https://app.codacy.com/app/USERDIVE/agent.js/dashboard)
[![BCH compliance](https://bettercodehub.com/edge/badge/userdive/agent.js?branch=master)](https://bettercodehub.com/)
[![devDependencies Status](https://david-dm.org/userdive/agent.js/dev-status.svg)](https://david-dm.org/userdive/agent.js?type=dev)

> Official USERDIVE module for webpage analytics
## Packages

This repository is managed as monorepo.
This repository is a monorepo that we manage using [Lerna](https://github.com/lerna/lerna). That means that we actually publish [packages](./packages) to npm from the same codebase, including:

| Package | Version |
| -------------------------------------- | ----------------------------------------------------------------------------------------------------------------- |
Expand All @@ -29,4 +29,4 @@ PRs accepted. [join us](https://www.wantedly.com/companies/uncovertruth/projects

## License

This library is licensed under GPLv3. Full license text is available in [LICENSE](https://github.com/userdive/agent.js/blob/master/packages/agent/LICENSE)
GPLv3. Full license text is available in [LICENSE](./LICENSE)
4 changes: 2 additions & 2 deletions examples/with-angular/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "with-angular",
"version": "0.14.0-beta3",
"version": "0.14.0",
"dependencies": {
"@angular/common": "5.2.8",
"@angular/compiler": "5.2.8",
Expand All @@ -15,7 +15,7 @@
"reflect-metadata": "0.1.12",
"rxjs": "5.5.6",
"systemjs": "0.21.0",
"userdive": "^0.14.0-beta3",
"userdive": "^0.14.0",
"zone.js": "0.8.20"
},
"private": true,
Expand Down
4 changes: 2 additions & 2 deletions examples/with-angular1/package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "with-angular1",
"version": "0.14.0-beta3",
"version": "0.14.0",
"dependencies": {
"@types/angular": "1.6.43",
"@uirouter/angularjs": "1.0.15",
"angular": "1.6.9",
"userdive": "^0.14.0-beta3"
"userdive": "^0.14.0"
},
"private": true,
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions examples/with-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "with-react",
"version": "0.14.0-beta3",
"version": "0.14.0",
"dependencies": {
"@types/react": "16.0.40",
"@types/react-dom": "16.0.4",
Expand All @@ -9,7 +9,7 @@
"react": "16.2.0",
"react-dom": "16.2.0",
"react-router-dom": "4.2.2",
"userdive": "^0.14.0-beta3"
"userdive": "^0.14.0"
},
"private": true,
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions examples/with-vue/package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "with-vue",
"version": "0.14.0-beta3",
"version": "0.14.0",
"dependencies": {
"userdive": "^0.14.0-beta3",
"userdive": "^0.14.0",
"vue": "2.5.15",
"vue-router": "3.0.1"
},
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@
},
"npmClient": "yarn",
"useWorkspaces": true,
"version": "0.14.0-beta3"
"version": "0.14.0"
}
21 changes: 21 additions & 0 deletions lint-staged.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
module.exports = {
linters: {
'*.ts': ['prettier-eslint --write', 'tslint --fix', 'tslint', 'git add'],
'*.tsx': [
'prettier-eslint --eslint-config-path ./website/.eslintrc.json --write',
'tslint --fix -c ./examples/tslint.json',
'tslint -c ./examples/tslint.json',
'git add'
],
'*.js': [
'prettier-eslint --eslint-config-path ./website/.eslintrc.json --write',
'eslint ./website/.eslintrc.json',
'git add'
],
'*.pug': ['pug-lint'],
'package.json': ['fixpack', 'git add'],
'*.md': ['prettier --write', 'textlint', 'git add'],
'*.css': ['prettier --write', 'stylelint --fix', 'git add']
},
ignore: ['CHANGELOG.md']
}
37 changes: 1 addition & 36 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,42 +74,6 @@
"userdive"
],
"license": "GPL-3.0",
"lint-staged": {
"*.ts": [
"prettier-eslint --write",
"tslint --fix",
"tslint",
"git add"
],
"*.tsx": [
"prettier-eslint --eslint-config-path ./website/.eslintrc.json --write",
"tslint --fix -c ./examples/tslint.json",
"tslint -c ./examples/tslint.json",
"git add"
],
"website/**/*.js": [
"prettier-eslint --eslint-config-path ./website/.eslintrc.json --write",
"eslint ./website/.eslintrc.json",
"git add"
],
"*.pug": [
"pug-lint"
],
"package.json": [
"fixpack",
"git add"
],
"*.md": [
"prettier --write",
"textlint",
"git add"
],
"*.css": [
"prettier --write",
"stylelint --fix",
"git add"
]
},
"private": true,
"repository": {
"type": "git",
Expand All @@ -136,6 +100,7 @@
"lint:docs": "textlint docs",
"lint:examples": "tslint -c ./examples/tslint.json 'examples/**/*.ts{,x}'",
"lint:js": "eslint -c website/.eslintrc.json website",
"lint:packagemd": "textlint 'packages/*/*.md' README.md",
"lint:pug": "pug-lint examples/**/*.pug",
"lint:ts": "tslint 'packages/*/{src,test}/**/*.ts'",
"postbuild": "webpack --env=production && size-limit && find cdn -type f | grep -v js | xargs rm && cp robots.txt ./cdn",
Expand Down
36 changes: 18 additions & 18 deletions packages/agent/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
[![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg)](https://github.com/prettier/prettier)
[![codebeat badge](https://codebeat.co/badges/248f31a1-c73e-45e4-b1e0-a6154c1baaca)](https://codebeat.co/projects/github-com-userdive-agent-js-master)
[![CodeFactor](https://www.codefactor.io/repository/github/userdive/agent.js/badge)](https://www.codefactor.io/repository/github/userdive/agent.js)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/007cedb2144843ebb45db871c04a0045)](https://www.codacy.com/app/develop_2/agent.js?utm_source=github.com&utm_medium=referral&utm_content=userdive/agent.js&utm_campaign=Badge_Grade)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/007cedb2144843ebb45db871c04a0045)](https://app.codacy.com/app/USERDIVE/agent.js/dashboard)
[![BCH compliance](https://bettercodehub.com/edge/badge/userdive/agent.js?branch=master)](https://bettercodehub.com/)

[![Build Status](https://saucelabs.com/browser-matrix/userdive.svg)](https://saucelabs.com/open_sauce/user/userdive/builds)
Expand All @@ -17,10 +17,10 @@
## Table of Contents

* [Install](#install)
* [Usage](#usage)
* [Contribute](#contribute)
* [License](#license)
* [Install](#install)
* [Usage](#usage)
* [Contribute](#contribute)
* [License](#license)

## Install

Expand Down Expand Up @@ -50,15 +50,15 @@ import Agent from "@userdive/agent";
const agent = new Agent();
agent.create("projectId", "auto");
agent.send("pageview", {
dimension15: "My Custom Dimension",
metric18: 8000
dimension15: "My Custom Dimension",
metric18: 8000
});
```

```js
agent.set({
dimension15: "My Custom Dimension",
metric18: 8000
dimension15: "My Custom Dimension",
metric18: 8000
});

agent.set("dimension15", "My Custom Dimension");
Expand All @@ -68,14 +68,14 @@ agent.set("dimension15", "My Custom Dimension");

```js
class MyPlugin {
constructor(agent, opts) {
this.opts = opts || { msg: "hi" };
}

greeting(target) {
const name = target || "user";
console.log(this.opts.msg + ", " + name);
}
constructor(agent, opts) {
this.opts = opts || { msg: "hi" };
}

greeting(target) {
const name = target || "user";
console.log(this.opts.msg + ", " + name);
}
}
```

Expand All @@ -99,4 +99,4 @@ PRs accepted. [join us](https://www.wantedly.com/companies/uncovertruth/projects

## License

This library is licensed under GPLv3. Full license text is available in [LICENSE](https://github.com/userdive/agent.js/blob/master/LICENSE)
GPLv3. Full license text is available in [LICENSE](https://github.com/userdive/agent.js/blob/master/packages/linker/LICENSE)
4 changes: 2 additions & 2 deletions packages/agent/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@userdive/agent",
"description": "webpage tracking agent",
"version": "0.14.0-beta3",
"version": "0.14.0",
"author": "UNCOVER TRUTH Inc.",
"bugs": {
"url": "https://github.com/userdive/agent.js/issues"
Expand All @@ -17,7 +17,7 @@
"devDependencies": {
"@types/js-cookie": "2.1.0",
"@types/uuid": "3.4.3",
"userdive": "^0.14.0-beta3"
"userdive": "^0.14.0"
},
"engine": {
"node": "> 5"
Expand Down
14 changes: 7 additions & 7 deletions packages/linker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg)](https://github.com/prettier/prettier)
[![codebeat badge](https://codebeat.co/badges/248f31a1-c73e-45e4-b1e0-a6154c1baaca)](https://codebeat.co/projects/github-com-userdive-agent-js-master)
[![CodeFactor](https://www.codefactor.io/repository/github/userdive/agent.js/badge)](https://www.codefactor.io/repository/github/userdive/agent.js)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/007cedb2144843ebb45db871c04a0045)](https://www.codacy.com/app/develop_2/agent.js?utm_source=github.com&utm_medium=referral&utm_content=userdive/agent.js&utm_campaign=Badge_Grade)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/007cedb2144843ebb45db871c04a0045)](https://app.codacy.com/app/USERDIVE/agent.js/dashboard)
[![BCH compliance](https://bettercodehub.com/edge/badge/userdive/agent.js?branch=master)](https://bettercodehub.com/)

[![Build Status](https://saucelabs.com/browser-matrix/userdive.svg)](https://saucelabs.com/open_sauce/user/userdive/builds)
Expand All @@ -14,14 +14,14 @@
## Table of Contents

* [Install](#install)
* [Usage](#usage)
* [Contribute](#contribute)
* [License](#license)
* [Install](#install)
* [Usage](#usage)
* [Contribute](#contribute)
* [License](#license)

## Install

> TBA
npm install @userdive/linker

## Usage

Expand All @@ -33,4 +33,4 @@ PRs accepted. [join us](https://www.wantedly.com/companies/uncovertruth/projects

## License

This library is licensed under GPLv3. Full license text is available in [LICENSE](https://github.com/userdive/agent.js/blob/master/LICENSE)
GPLv3. Full license text is available in [LICENSE](https://github.com/userdive/agent.js/blob/master/packages/linker/LICENSE)
10 changes: 6 additions & 4 deletions packages/linker/package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "@userdive/linker",
"description": "webpage tracking agent linker plugin",
"version": "0.14.0-beta3",
"version": "0.14.0",
"author": "UNCOVER TRUTH Inc.",
"bugs": {
"url": "https://github.com/userdive/agent.js/issues"
},
"dependencies": {
"@userdive/agent": "^0.14.0-beta3",
"userdive": "^0.14.0-beta3"
"@userdive/agent": "^0.14.0",
"userdive": "^0.14.0"
},
"engine": {
"node": "> 5"
Expand All @@ -21,12 +21,14 @@
"userdive"
],
"license": "GPL-3.0",
"private": true,
"main": "lib/linker.js",
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/userdive/agent.js.git"
},
"publishConfig": {
"access": "public"
},
"scripts": {
"build": "tsc",
"pretest": "npm run build",
Expand Down
2 changes: 1 addition & 1 deletion packages/userdive/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ PRs accepted. [join us](https://www.wantedly.com/companies/uncovertruth/projects

## License

This library is licensed under GPLv3. Full license text is available in [LICENSE](https://github.com/userdive/userdive.js/blob/master/LICENSE)
GPLv3. Full license text is available in [LICENSE](https://github.com/userdive/agent.js/blob/master/packages/userdive/LICENSE)
2 changes: 1 addition & 1 deletion packages/userdive/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "userdive",
"description": "load @userdve/agent from cdn",
"version": "0.14.0-beta3",
"version": "0.14.0",
"author": "UNCOVER TRUTH Inc",
"bugs": {
"url": "https://github.com/userdive/agent.js/issues"
Expand Down
2 changes: 1 addition & 1 deletion website/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@userdive/developers",
"version": "0.14.0-beta3",
"version": "0.14.0",
"dependencies": {
"docusaurus": "1.0.7"
},
Expand Down

0 comments on commit 571a8a9

Please sign in to comment.