Skip to content

Commit 2cec6b5

Browse files
Paul Boocockpaulboocock
Paul Boocock
authored andcommitted
Rename @snowplow/browser-core to @snowplow/browser-tracker-core (close snowplow#901)
1 parent 8a9531f commit 2cec6b5

File tree

95 files changed

+1220
-467
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

95 files changed

+1220
-467
lines changed

banner.js

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import license from 'rollup-plugin-license';
2+
3+
const bannerContent = `<%= pkg.description %> v<%= pkg.version %> (<%= pkg.homepage %>)
4+
Copyright 2021 Snowplow Analytics Ltd, 2010 Anthon Pang
5+
Licensed under <%= pkg.license %>`;
6+
7+
export const banner = () =>
8+
license({
9+
sourcemap: true,
10+
banner: {
11+
content: bannerContent,
12+
commentStyle: 'ignored',
13+
},
14+
});

common/config/rush/browser-approved-packages.json

+17-5
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"packages": [
55
{
66
"name": "@ampproject/rollup-plugin-closure-compiler",
7-
"allowedCategories": [ "trackers" ]
7+
"allowedCategories": [ "libraries", "trackers" ]
88
},
99
{
1010
"name": "@babel/core",
@@ -32,15 +32,15 @@
3232
},
3333
{
3434
"name": "@rollup/plugin-commonjs",
35-
"allowedCategories": [ "trackers" ]
35+
"allowedCategories": [ "libraries", "plugins", "trackers" ]
3636
},
3737
{
3838
"name": "@rollup/plugin-json",
3939
"allowedCategories": [ "trackers" ]
4040
},
4141
{
4242
"name": "@rollup/plugin-node-resolve",
43-
"allowedCategories": [ "trackers" ]
43+
"allowedCategories": [ "libraries", "plugins", "trackers" ]
4444
},
4545
{
4646
"name": "@snowplow/browser-core",
@@ -138,6 +138,10 @@
138138
"name": "@snowplow/browser-tracker",
139139
"allowedCategories": [ "trackers" ]
140140
},
141+
{
142+
"name": "@snowplow/browser-tracker-core",
143+
"allowedCategories": [ "plugins", "trackers" ]
144+
},
141145
{
142146
"name": "@snowplow/plugin-core",
143147
"allowedCategories": [ "libraries", "plugins" ]
@@ -222,6 +226,10 @@
222226
"name": "@wdio/sync",
223227
"allowedCategories": [ "trackers" ]
224228
},
229+
{
230+
"name": "@wessberg/browserslist-generator",
231+
"allowedCategories": [ "libraries", "plugins", "trackers" ]
232+
},
225233
{
226234
"name": "@wessberg/rollup-plugin-ts",
227235
"allowedCategories": [ "libraries", "plugins", "trackers" ]
@@ -316,19 +324,23 @@
316324
},
317325
{
318326
"name": "rollup-plugin-cleanup",
319-
"allowedCategories": [ "trackers" ]
327+
"allowedCategories": [ "libraries", "plugins", "trackers" ]
320328
},
321329
{
322330
"name": "rollup-plugin-filesize",
323331
"allowedCategories": [ "trackers" ]
324332
},
333+
{
334+
"name": "rollup-plugin-license",
335+
"allowedCategories": [ "libraries", "plugins", "trackers" ]
336+
},
325337
{
326338
"name": "rollup-plugin-sizes",
327339
"allowedCategories": [ "trackers" ]
328340
},
329341
{
330342
"name": "rollup-plugin-terser",
331-
"allowedCategories": [ "trackers" ]
343+
"allowedCategories": [ "libraries", "plugins", "trackers" ]
332344
},
333345
{
334346
"name": "saucelabs",

0 commit comments

Comments
 (0)