Skip to content

Commit aa4bf33

Browse files
committed
Fix package json
1 parent 6a396dc commit aa4bf33

File tree

10 files changed

+58
-237
lines changed

10 files changed

+58
-237
lines changed
Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,32 @@
11
{
2-
"Name": "@segment/analytics.js-integration-adlearn-open-platform",
3-
"Description": "The Adlearn Open Platform analytics.js integration.",
4-
"Version": "2.0.0",
5-
"Keywords": [
2+
"name": "@segment/analytics.js-integration-adlearn-open-platform",
3+
"description": "The Adlearn Open Platform analytics.js integration.",
4+
"version": "2.0.0",
5+
"keywords": [
66
"analytics.js",
77
"analytics.js-integration",
88
"segment",
99
"adlearn"
1010
],
11-
"Main": "lib/index.js",
12-
"Scripts": {
11+
"main": "lib/index.js",
12+
"scripts": {
1313
"test": "make test"
1414
},
15-
"Author": "Segment \u003c[email protected]\u003e",
16-
"License": "SEE LICENSE IN LICENSE",
17-
"Homepage": "https://github.com/segmentio/analytics.js-integrations/blob/master/integrations/adlearn-open-platform#readme",
18-
"Bugs": {
19-
"URL": "https://github.com/segmentio/analytics.js-integrations/issues"
15+
"repository": {
16+
"type": "git",
17+
"url": "git+https://github.com/segmentio/analytics.js-integrations.git"
2018
},
21-
"Repository": {
22-
"Type": "git",
23-
"URL": "git+https://github.com/segmentio/analytics.js-integrations.git"
19+
"author": "Segment <[email protected]>",
20+
"license": "SEE LICENSE IN LICENSE",
21+
"bugs": {
22+
"url": "https://github.com/segmentio/analytics.js-integrations/issues"
2423
},
25-
"Dependencies": {
24+
"homepage": "https://github.com/segmentio/analytics.js-integrations/blob/master/integrations/adlearn-open-platform#readme",
25+
"dependencies": {
2626
"@ndhoule/each": "^2.0.1",
2727
"@segment/analytics.js-integration": "^2.0.1"
2828
},
29-
"DevDependencies": {
29+
"devDependencies": {
3030
"@segment/analytics.js-core": "^3.0.0",
3131
"@segment/analytics.js-integration-tester": "^3.1.0",
3232
"@segment/clear-env": "^1.0.0",
@@ -51,4 +51,4 @@
5151
"phantomjs-prebuilt": "^2.1.7",
5252
"watchify": "^3.7.0"
5353
}
54-
}
54+
}

integrations/adometry/.github/issue_template.md

Lines changed: 0 additions & 8 deletions
This file was deleted.

integrations/adometry/.github/pull_request_template.md

Lines changed: 0 additions & 8 deletions
This file was deleted.

integrations/adometry/README-OLD.md

Lines changed: 0 additions & 12 deletions
This file was deleted.

integrations/adometry/README.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
1+
# analytics.js-integration-adometry [![Build Status][ci-badge]][ci-link]
12

2-
# [MOVED] Analytics JS integration adometry
3+
Adometry integration for [Analytics.js][].
34

4-
**This repository has been moved to the open source [Analytics JS Integrations](https://github.com/segmentio/analytics.js-integrations).**
5+
## License
56

6-
If you want to fork, contribute, or open issues, please do it in the new repository. Existing issues/pull requests will be addressed in the new location.
7+
Released under the [MIT license](LICENSE).
78

8-
* [New location](https://github.com/segmentio/analytics.js-integrations/tree/master/integrations/adometry)
9-
* Last release for this repository: [none](n/a)
10-
* [Commit](https://github.com/segmentio/analytics.js-integrations/commit/e742996b7dc7accafb6159a90a042fa4b1fc7c38)
11-
* [Previous version of this README](README-OLD.md)
129

13-
Released under the [MIT license](LICENSE).
10+
[Analytics.js]: https://segment.com/docs/libraries/analytics.js/
11+
[ci-link]: https://ci.segment.com/gh/segment-integrations/analytics.js-integration-adometry
12+
[ci-badge]: https://ci.segment.com/gh/segment-integrations/analytics.js-integration-adometry.svg?style=svg&circle-token=07cc48c74696bfdcbd68d260037ab51a64cefdfd

integrations/adometry/karma.conf.ci.js

Lines changed: 0 additions & 101 deletions
This file was deleted.

integrations/adometry/karma.conf.js

Lines changed: 0 additions & 50 deletions
This file was deleted.

integrations/adometry/package.json

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
11
{
2-
"Name": "@segment/analytics.js-integration-adometry",
3-
"Description": "The Adometry analytics.js integration.",
4-
"Version": "2.0.0",
5-
"Keywords": [
2+
"name": "@segment/analytics.js-integration-adometry",
3+
"description": "The Adometry analytics.js integration.",
4+
"version": "2.0.0",
5+
"keywords": [
66
"analytics.js",
77
"analytics.js-integration",
88
"segment",
99
"adometry"
1010
],
11-
"Main": "lib/index.js",
12-
"Scripts": {
11+
"main": "lib/index.js",
12+
"scripts": {
1313
"test": "make test"
1414
},
15-
"Author": "Segment \u003c[email protected]\u003e",
16-
"License": "SEE LICENSE IN LICENSE",
17-
"Homepage": "https://github.com/segmentio/analytics.js-integrations/blob/master/integrations/adometry#readme",
18-
"Bugs": {
19-
"URL": "https://github.com/segmentio/analytics.js-integrations/issues"
15+
"repository": {
16+
"type": "git",
17+
"url": "git+https://github.com/segmentio/analytics.js-integrations.git"
2018
},
21-
"Repository": {
22-
"Type": "git",
23-
"URL": "git+https://github.com/segmentio/analytics.js-integrations.git"
19+
"author": "Segment <[email protected]>",
20+
"license": "SEE LICENSE IN LICENSE",
21+
"bugs": {
22+
"url": "https://github.com/segmentio/analytics.js-integrations/issues"
2423
},
25-
"Dependencies": {
24+
"homepage": "https://github.com/segmentio/analytics.js-integrations/blob/master/integrations/adometry#readme",
25+
"dependencies": {
2626
"@ndhoule/each": "^2.0.1",
2727
"@ndhoule/entries": "^2.0.0",
2828
"@ndhoule/extend": "^2.0.0",
@@ -31,7 +31,7 @@
3131
"@ndhoule/values": "^2.0.1",
3232
"@segment/analytics.js-integration": "^2.1.0"
3333
},
34-
"DevDependencies": {
34+
"devDependencies": {
3535
"@segment/analytics.js-core": "^3.0.0",
3636
"@segment/analytics.js-integration-tester": "^3.1.0",
3737
"@segment/clear-env": "^2.0.0",
@@ -58,4 +58,4 @@
5858
"proclaim": "^3.4.1",
5959
"watchify": "^3.7.0"
6060
}
61-
}
61+
}

operations/integration.go

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -18,33 +18,33 @@ type Integration struct {
1818

1919
// Package is the representation of package.json
2020
type Package struct {
21-
Name string
22-
Description string
23-
Version string
24-
Keywords []string
25-
Main string
26-
Scripts Scripts
27-
Author string
28-
License string
29-
Homepage string
30-
Bugs Bugs
31-
Repository Repository
32-
Dependencies Dependencies
33-
DevDependencies Dependencies
21+
Name string `json:"name"`
22+
Description string `json:"description"`
23+
Version string `json:"version"`
24+
Keywords []string `json:"keywords"`
25+
Main string `json:"main"`
26+
Scripts Scripts `json:"scripts"`
27+
Author string `json:"author"`
28+
License string `json:"license"`
29+
Homepage string `json:"homepage"`
30+
Bugs Bugs `json:"bugs"`
31+
Repository Repository `json:"repository"`
32+
Dependencies Dependencies `json:"dependencies"`
33+
DevDependencies Dependencies `json:"devDependencies"`
3434
}
3535

3636
// Bugs from package.json
3737
type Bugs struct {
38-
URL string
38+
URL string `json:"url"`
3939
}
4040

4141
// Dependencies is a map of package:version
4242
type Dependencies map[string]string
4343

4444
// Repository from package.json
4545
type Repository struct {
46-
Type string
47-
URL string
46+
Type string `json:"type"`
47+
URL string `json:"url"`
4848
}
4949

5050
// Scripts from package.json

operations/monorepo.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ var ignorePaths = map[string]bool{
2727
".eslintrc": true,
2828
".git": true,
2929
".gitignore": true,
30+
".github": true,
3031
"circle.yml": true,
3132
"karma.conf.ci.js": true,
3233
"karma.conf.js": true,

0 commit comments

Comments
 (0)