browser-extension-manager 1.0.2 → 1.0.3
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.
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
{
|
|
2
2
|
// Basic info
|
|
3
|
-
version: '1.0.0',
|
|
4
3
|
name: '__MSG_appName__',
|
|
5
4
|
description: '__MSG_appDescription__',
|
|
6
5
|
|
|
@@ -11,9 +10,9 @@
|
|
|
11
10
|
|
|
12
11
|
// Permissions
|
|
13
12
|
permissions: [
|
|
13
|
+
// 'activeTab',
|
|
14
14
|
// 'tabs',
|
|
15
15
|
// 'storage',
|
|
16
|
-
// 'activeTab',
|
|
17
16
|
// 'scripting',
|
|
18
17
|
],
|
|
19
18
|
host_permissions: [
|
|
@@ -58,6 +58,11 @@ async function compileManifest(outputDir) {
|
|
|
58
58
|
}
|
|
59
59
|
});
|
|
60
60
|
|
|
61
|
+
// Add package version to manifest
|
|
62
|
+
if (manifest.version !== project.version) {
|
|
63
|
+
manifest.version = project.version;
|
|
64
|
+
}
|
|
65
|
+
|
|
61
66
|
// Save as regular JSON
|
|
62
67
|
jetpack.write(outputPath, JSON.stringify(manifest, null, 2));
|
|
63
68
|
|