@duckduckgo/autoconsent 5.0.0 → 5.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ # v5.0.1 (Tue Jul 18 2023)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - Fix burpee rule matching and add new rule [#211](https://github.com/duckduckgo/autoconsent/pull/211) ([@sammacbeth](https://github.com/sammacbeth))
6
+ - Add July crawl data [#199](https://github.com/duckduckgo/autoconsent/pull/199) ([@sammacbeth](https://github.com/sammacbeth))
7
+ - Build with ESBuild [#204](https://github.com/duckduckgo/autoconsent/pull/204) ([@sammacbeth](https://github.com/sammacbeth))
8
+
9
+ #### Authors: 1
10
+
11
+ - Sam Macbeth ([@sammacbeth](https://github.com/sammacbeth))
12
+
13
+ ---
14
+
1
15
  # v5.0.0 (Thu Jul 13 2023)
2
16
 
3
17
  #### 💥 Breaking Change
package/build.sh ADDED
@@ -0,0 +1,28 @@
1
+ #!/bin/bash
2
+ set -ex
3
+
4
+ ESBUILD="node_modules/.bin/esbuild --bundle"
5
+
6
+ $ESBUILD --format=iife --target=chrome90 --minify playwright/content.ts --outfile=dist/autoconsent.playwright.js
7
+ $ESBUILD --format=esm lib/web.ts --outfile=dist/autoconsent.esm.js
8
+ $ESBUILD --format=cjs --platform=node lib/web.ts --outfile=dist/autoconsent.cjs.js
9
+
10
+ # Extension
11
+ $ESBUILD addon/background.ts --outfile=dist/addon-mv3/background.bundle.js
12
+ $ESBUILD addon/content.ts --outfile=dist/addon-mv3/content.bundle.js
13
+ $ESBUILD addon/popup.ts --outfile=dist/addon-mv3/popup.bundle.js
14
+ $ESBUILD addon/devtools/panel.ts --outfile=dist/addon-mv3/devtools/panel.js
15
+
16
+ ## Copy extension files into place
17
+ mkdir -p dist/addon-firefox
18
+ cp dist/addon-mv3/background.bundle.js dist/addon-firefox/background.bundle.js
19
+ cp dist/addon-mv3/content.bundle.js dist/addon-firefox/content.bundle.js
20
+ cp -r addon/icons dist/addon-mv3/
21
+ cp -r addon/icons dist/addon-firefox/
22
+ cp rules/rules.json dist/addon-mv3/
23
+ cp rules/rules.json dist/addon-firefox/
24
+ cp addon/popup.html dist/addon-mv3/
25
+ cp -r addon/devtools dist/addon-mv3/
26
+ cp addon/manifest.mv3.json dist/addon-mv3/manifest.json
27
+ cp addon/manifest.firefox.json dist/addon-firefox/manifest.json
28
+ cp node_modules/bulma/css/bulma.min.css dist/addon-mv3/devtools/