Skip to content

Commit f492ef2

Browse files
committed
Added publish section to examples
1 parent f16db3f commit f492ef2

File tree

5 files changed

+30
-15
lines changed

5 files changed

+30
-15
lines changed

example/browser/package.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,15 @@
77
"type": "module",
88
"author": "Exceptionless",
99
"license": "Apache-2.0",
10-
"dependencies": {
11-
"@exceptionless/browser": "2.0.0-dev"
12-
},
1310
"scripts": {
1411
"build": "",
1512
"watch": "",
1613
"test": ""
14+
},
15+
"publishConfig": {
16+
"access": "restricted"
17+
},
18+
"dependencies": {
19+
"@exceptionless/browser": "2.0.0-dev"
1720
}
1821
}

example/express/package.json

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,18 @@
77
"type": "module",
88
"author": "Exceptionless",
99
"license": "Apache-2.0",
10-
"dependencies": {
11-
"express": "4.16.4",
12-
"@exceptionless/node": "2.0.0-dev"
13-
},
1410
"scripts": {
1511
"build": "",
1612
"watch": "",
1713
"test": "",
1814
"dev": "nodemon app.js",
1915
"start": "node app.js"
16+
},
17+
"publishConfig": {
18+
"access": "restricted"
19+
},
20+
"dependencies": {
21+
"express": "4.16.4",
22+
"@exceptionless/node": "2.0.0-dev"
2023
}
2124
}

example/react/package.json

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,6 @@
88
"@testing-library/user-event": "^13.1.3",
99
"react-scripts": "4.0.3"
1010
},
11-
"dependencies": {
12-
"@exceptionless/react": "2.0.0-dev",
13-
"react": "^17.0.2",
14-
"react-dom": "^17.0.2",
15-
"web-vitals": "^1.0.1"
16-
},
1711
"scripts": {
1812
"start": "react-scripts start",
1913
"build": "react-scripts build",
@@ -38,5 +32,14 @@
3832
"last 1 firefox version",
3933
"last 1 safari version"
4034
]
35+
},
36+
"dependencies": {
37+
"@exceptionless/react": "2.0.0-dev",
38+
"react": "^17.0.2",
39+
"react-dom": "^17.0.2",
40+
"web-vitals": "^1.0.1"
41+
},
42+
"publishConfig": {
43+
"access": "restricted"
4144
}
4245
}

example/vue/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,8 @@
1717
"@vitejs/plugin-vue": "^1.2.2",
1818
"@vue/compiler-sfc": "^3.0.5",
1919
"vite": "^2.2.3"
20+
},
21+
"publishConfig": {
22+
"access": "restricted"
2023
}
2124
}

packages/vue/package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,11 @@
3434
"watch": "tsc -p tsconfig.json -w --preserveWatchOutput",
3535
"test": ""
3636
},
37+
"sideEffects": false,
38+
"publishConfig": {
39+
"access": "public"
40+
},
3741
"dependencies": {
3842
"@exceptionless/browser": "2.0.0-dev"
39-
},
40-
"sideEffects": false
43+
}
4144
}

0 commit comments

Comments
 (0)