@atlaspack/runtime-webextension 2.14.5-canary.20 → 2.14.5-canary.200
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,5 +1,211 @@
|
|
|
1
1
|
# @atlaspack/runtime-webextension
|
|
2
2
|
|
|
3
|
+
## 2.14.31
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#785](https://github.com/atlassian-labs/atlaspack/pull/785) [`0e7dd5e`](https://github.com/atlassian-labs/atlaspack/commit/0e7dd5ec6fbe05aa9e0bb5775a9d0975f206a922) Thanks [@matt-koko](https://github.com/matt-koko)! - We need to re-publish every package in Atlaspack with the corrected types field.
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`0e7dd5e`](https://github.com/atlassian-labs/atlaspack/commit/0e7dd5ec6fbe05aa9e0bb5775a9d0975f206a922)]:
|
|
10
|
+
- @atlaspack/plugin@2.14.31
|
|
11
|
+
- @atlaspack/types@2.15.21
|
|
12
|
+
- @atlaspack/utils@2.19.3
|
|
13
|
+
|
|
14
|
+
## 2.14.30
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- Updated dependencies []:
|
|
19
|
+
- @atlaspack/utils@2.19.2
|
|
20
|
+
- @atlaspack/plugin@2.14.30
|
|
21
|
+
- @atlaspack/types@2.15.20
|
|
22
|
+
|
|
23
|
+
## 2.14.29
|
|
24
|
+
|
|
25
|
+
### Patch Changes
|
|
26
|
+
|
|
27
|
+
- Updated dependencies []:
|
|
28
|
+
- @atlaspack/utils@2.19.1
|
|
29
|
+
- @atlaspack/plugin@2.14.29
|
|
30
|
+
- @atlaspack/types@2.15.19
|
|
31
|
+
|
|
32
|
+
## 2.14.28
|
|
33
|
+
|
|
34
|
+
### Patch Changes
|
|
35
|
+
|
|
36
|
+
- [#758](https://github.com/atlassian-labs/atlaspack/pull/758) [`c940954`](https://github.com/atlassian-labs/atlaspack/commit/c940954d27d657c3c93cd328dfb394778da46eab) Thanks [@marcins](https://github.com/marcins)! - Type fixes
|
|
37
|
+
|
|
38
|
+
- Updated dependencies [[`f0349a6`](https://github.com/atlassian-labs/atlaspack/commit/f0349a6b9b04755088f121095ca6301a2ada3767)]:
|
|
39
|
+
- @atlaspack/utils@2.19.0
|
|
40
|
+
- @atlaspack/plugin@2.14.28
|
|
41
|
+
- @atlaspack/types@2.15.18
|
|
42
|
+
|
|
43
|
+
## 2.14.27
|
|
44
|
+
|
|
45
|
+
### Patch Changes
|
|
46
|
+
|
|
47
|
+
- Updated dependencies []:
|
|
48
|
+
- @atlaspack/utils@2.18.4
|
|
49
|
+
- @atlaspack/plugin@2.14.27
|
|
50
|
+
|
|
51
|
+
## 2.14.26
|
|
52
|
+
|
|
53
|
+
### Patch Changes
|
|
54
|
+
|
|
55
|
+
- [#742](https://github.com/atlassian-labs/atlaspack/pull/742) [`ee040bb`](https://github.com/atlassian-labs/atlaspack/commit/ee040bb6428f29b57d892ddd8107e29077d08ffd) Thanks [@yamadapc](https://github.com/yamadapc)! - Internal changes and bug fixes to environmentDeduplication flag
|
|
56
|
+
|
|
57
|
+
- Updated dependencies [[`ee040bb`](https://github.com/atlassian-labs/atlaspack/commit/ee040bb6428f29b57d892ddd8107e29077d08ffd), [`889c65c`](https://github.com/atlassian-labs/atlaspack/commit/889c65cd25b811045e26a117e7404f694dde77a2)]:
|
|
58
|
+
- @atlaspack/plugin@2.14.26
|
|
59
|
+
- @atlaspack/utils@2.18.3
|
|
60
|
+
|
|
61
|
+
## 2.14.25
|
|
62
|
+
|
|
63
|
+
### Patch Changes
|
|
64
|
+
|
|
65
|
+
- Updated dependencies []:
|
|
66
|
+
- @atlaspack/utils@2.18.2
|
|
67
|
+
- @atlaspack/plugin@2.14.25
|
|
68
|
+
|
|
69
|
+
## 2.14.24
|
|
70
|
+
|
|
71
|
+
### Patch Changes
|
|
72
|
+
|
|
73
|
+
- Updated dependencies []:
|
|
74
|
+
- @atlaspack/utils@2.18.1
|
|
75
|
+
- @atlaspack/plugin@2.14.24
|
|
76
|
+
|
|
77
|
+
## 2.14.23
|
|
78
|
+
|
|
79
|
+
### Patch Changes
|
|
80
|
+
|
|
81
|
+
- Updated dependencies [[`23d561e`](https://github.com/atlassian-labs/atlaspack/commit/23d561e51e68b0c38fd1ff4e4fb173e5e7b01cf2)]:
|
|
82
|
+
- @atlaspack/utils@2.18.0
|
|
83
|
+
- @atlaspack/plugin@2.14.23
|
|
84
|
+
|
|
85
|
+
## 2.14.22
|
|
86
|
+
|
|
87
|
+
### Patch Changes
|
|
88
|
+
|
|
89
|
+
- [#720](https://github.com/atlassian-labs/atlaspack/pull/720) [`d2fd849`](https://github.com/atlassian-labs/atlaspack/commit/d2fd849770fe6305e9c694bd97b1bd905abd9d94) Thanks [@alshdavid](https://github.com/alshdavid)! - Migrate to TypeScript
|
|
90
|
+
|
|
91
|
+
- Updated dependencies [[`d2fd849`](https://github.com/atlassian-labs/atlaspack/commit/d2fd849770fe6305e9c694bd97b1bd905abd9d94)]:
|
|
92
|
+
- @atlaspack/plugin@2.14.22
|
|
93
|
+
- @atlaspack/utils@2.17.4
|
|
94
|
+
|
|
95
|
+
## 2.14.21
|
|
96
|
+
|
|
97
|
+
### Patch Changes
|
|
98
|
+
|
|
99
|
+
- Updated dependencies []:
|
|
100
|
+
- @atlaspack/utils@2.17.3
|
|
101
|
+
- @atlaspack/plugin@2.14.21
|
|
102
|
+
|
|
103
|
+
## 2.14.20
|
|
104
|
+
|
|
105
|
+
### Patch Changes
|
|
106
|
+
|
|
107
|
+
- [#702](https://github.com/atlassian-labs/atlaspack/pull/702) [`daaa768`](https://github.com/atlassian-labs/atlaspack/commit/daaa7688786772d7e3713b71c5bba6b89ec704aa) Thanks [@alshdavid](https://github.com/alshdavid)! - Fixes to Flow types
|
|
108
|
+
|
|
109
|
+
- Updated dependencies [[`daaa768`](https://github.com/atlassian-labs/atlaspack/commit/daaa7688786772d7e3713b71c5bba6b89ec704aa)]:
|
|
110
|
+
- @atlaspack/plugin@2.14.20
|
|
111
|
+
- @atlaspack/utils@2.17.2
|
|
112
|
+
|
|
113
|
+
## 2.14.19
|
|
114
|
+
|
|
115
|
+
### Patch Changes
|
|
116
|
+
|
|
117
|
+
- Updated dependencies []:
|
|
118
|
+
- @atlaspack/utils@2.17.1
|
|
119
|
+
- @atlaspack/plugin@2.14.19
|
|
120
|
+
|
|
121
|
+
## 2.14.18
|
|
122
|
+
|
|
123
|
+
### Patch Changes
|
|
124
|
+
|
|
125
|
+
- Updated dependencies [[`dbb4072`](https://github.com/atlassian-labs/atlaspack/commit/dbb40721ebeb45990a14ba04e6b44e7f836fb32d), [`de23e0c`](https://github.com/atlassian-labs/atlaspack/commit/de23e0ce49d5504fe3947ac26640a3d951087da3), [`18a57cf`](https://github.com/atlassian-labs/atlaspack/commit/18a57cf8a4789b2de5ad8e2676f317a26cc91417), [`a5ed1b4`](https://github.com/atlassian-labs/atlaspack/commit/a5ed1b414498560f393ff491af4da25b6e8dde56)]:
|
|
126
|
+
- @atlaspack/utils@2.17.0
|
|
127
|
+
- @atlaspack/plugin@2.14.18
|
|
128
|
+
|
|
129
|
+
## 2.14.17
|
|
130
|
+
|
|
131
|
+
### Patch Changes
|
|
132
|
+
|
|
133
|
+
- Updated dependencies []:
|
|
134
|
+
- @atlaspack/utils@2.16.1
|
|
135
|
+
- @atlaspack/plugin@2.14.17
|
|
136
|
+
|
|
137
|
+
## 2.14.16
|
|
138
|
+
|
|
139
|
+
### Patch Changes
|
|
140
|
+
|
|
141
|
+
- Updated dependencies [[`30ee2cf`](https://github.com/atlassian-labs/atlaspack/commit/30ee2cfcd34cf2646ded0eda13fdb80a2a5de529)]:
|
|
142
|
+
- @atlaspack/utils@2.16.0
|
|
143
|
+
- @atlaspack/plugin@2.14.16
|
|
144
|
+
|
|
145
|
+
## 2.14.15
|
|
146
|
+
|
|
147
|
+
### Patch Changes
|
|
148
|
+
|
|
149
|
+
- Updated dependencies []:
|
|
150
|
+
- @atlaspack/utils@2.15.3
|
|
151
|
+
- @atlaspack/plugin@2.14.15
|
|
152
|
+
|
|
153
|
+
## 2.14.14
|
|
154
|
+
|
|
155
|
+
### Patch Changes
|
|
156
|
+
|
|
157
|
+
- Updated dependencies []:
|
|
158
|
+
- @atlaspack/utils@2.15.2
|
|
159
|
+
- @atlaspack/plugin@2.14.14
|
|
160
|
+
|
|
161
|
+
## 2.14.13
|
|
162
|
+
|
|
163
|
+
### Patch Changes
|
|
164
|
+
|
|
165
|
+
- Updated dependencies []:
|
|
166
|
+
- @atlaspack/utils@2.15.1
|
|
167
|
+
- @atlaspack/plugin@2.14.13
|
|
168
|
+
|
|
169
|
+
## 2.14.12
|
|
170
|
+
|
|
171
|
+
### Patch Changes
|
|
172
|
+
|
|
173
|
+
- Updated dependencies [[`e39c6cf`](https://github.com/atlassian-labs/atlaspack/commit/e39c6cf05f7e95ce5420dbcea66f401b1cbd397c)]:
|
|
174
|
+
- @atlaspack/utils@2.15.0
|
|
175
|
+
- @atlaspack/plugin@2.14.12
|
|
176
|
+
|
|
177
|
+
## 2.14.11
|
|
178
|
+
|
|
179
|
+
### Patch Changes
|
|
180
|
+
|
|
181
|
+
- Updated dependencies []:
|
|
182
|
+
- @atlaspack/utils@2.14.11
|
|
183
|
+
- @atlaspack/plugin@2.14.11
|
|
184
|
+
|
|
185
|
+
## 2.14.10
|
|
186
|
+
|
|
187
|
+
### Patch Changes
|
|
188
|
+
|
|
189
|
+
- Updated dependencies []:
|
|
190
|
+
- @atlaspack/plugin@2.14.10
|
|
191
|
+
- @atlaspack/utils@2.14.10
|
|
192
|
+
|
|
193
|
+
## 2.14.9
|
|
194
|
+
|
|
195
|
+
### Patch Changes
|
|
196
|
+
|
|
197
|
+
- Updated dependencies []:
|
|
198
|
+
- @atlaspack/utils@2.14.9
|
|
199
|
+
- @atlaspack/plugin@2.14.9
|
|
200
|
+
|
|
201
|
+
## 2.14.8
|
|
202
|
+
|
|
203
|
+
### Patch Changes
|
|
204
|
+
|
|
205
|
+
- Updated dependencies []:
|
|
206
|
+
- @atlaspack/utils@2.14.8
|
|
207
|
+
- @atlaspack/plugin@2.14.8
|
|
208
|
+
|
|
3
209
|
## 2.14.7
|
|
4
210
|
|
|
5
211
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaspack/runtime-webextension",
|
|
3
|
-
"version": "2.14.5-canary.
|
|
3
|
+
"version": "2.14.5-canary.200+10ee3fa5b",
|
|
4
4
|
"license": "(MIT OR Apache-2.0)",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -9,16 +9,22 @@
|
|
|
9
9
|
"type": "git",
|
|
10
10
|
"url": "https://github.com/atlassian-labs/atlaspack.git"
|
|
11
11
|
},
|
|
12
|
-
"main": "lib/WebExtensionRuntime.js",
|
|
13
|
-
"source": "src/WebExtensionRuntime.
|
|
12
|
+
"main": "./lib/WebExtensionRuntime.js",
|
|
13
|
+
"source": "./src/WebExtensionRuntime.ts",
|
|
14
|
+
"types": "./lib/types/WebExtensionRuntime.d.ts",
|
|
14
15
|
"engines": {
|
|
15
16
|
"node": ">= 16.0.0"
|
|
16
17
|
},
|
|
17
18
|
"dependencies": {
|
|
18
|
-
"@atlaspack/plugin": "2.14.5-canary.
|
|
19
|
-
"@atlaspack/
|
|
19
|
+
"@atlaspack/plugin": "2.14.5-canary.200+10ee3fa5b",
|
|
20
|
+
"@atlaspack/types": "2.14.5-canary.200+10ee3fa5b",
|
|
21
|
+
"@atlaspack/utils": "2.14.5-canary.200+10ee3fa5b",
|
|
20
22
|
"nullthrows": "^1.1.1"
|
|
21
23
|
},
|
|
22
24
|
"type": "commonjs",
|
|
23
|
-
"
|
|
24
|
-
|
|
25
|
+
"scripts": {
|
|
26
|
+
"check-ts": "tsc --emitDeclarationOnly --rootDir src",
|
|
27
|
+
"build:lib": "gulp build --gulpfile ../../../gulpfile.js --cwd ."
|
|
28
|
+
},
|
|
29
|
+
"gitHead": "10ee3fa5b75a92acde8973673d9b3c5b6f3958e5"
|
|
30
|
+
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
// @flow strict-local
|
|
2
|
-
|
|
3
1
|
import {Runtime} from '@atlaspack/plugin';
|
|
4
2
|
import {replaceURLReferences} from '@atlaspack/utils';
|
|
3
|
+
import type {Dependency} from '@atlaspack/types';
|
|
5
4
|
import nullthrows from 'nullthrows';
|
|
6
5
|
import fs from 'fs';
|
|
7
6
|
import path from 'path';
|
|
@@ -11,7 +10,7 @@ const AUTORELOAD_BG = fs.readFileSync(
|
|
|
11
10
|
'utf8',
|
|
12
11
|
);
|
|
13
12
|
|
|
14
|
-
export default
|
|
13
|
+
export default new Runtime({
|
|
15
14
|
loadConfig({config}) {
|
|
16
15
|
config.invalidateOnBuild();
|
|
17
16
|
},
|
|
@@ -22,7 +21,7 @@ export default (new Runtime({
|
|
|
22
21
|
|
|
23
22
|
if (bundle.getMainEntry()?.meta.webextEntry === true) {
|
|
24
23
|
// Hack to bust packager cache when any descendants update
|
|
25
|
-
const descendants = [];
|
|
24
|
+
const descendants: Array<string> = [];
|
|
26
25
|
bundleGraph.traverseBundles((b) => {
|
|
27
26
|
descendants.push(b.id);
|
|
28
27
|
}, bundle);
|
|
@@ -40,7 +39,9 @@ export default (new Runtime({
|
|
|
40
39
|
if (!manifest || !entry || insertDep == null) return;
|
|
41
40
|
const insertBundle = bundleGraph.getReferencedBundle(
|
|
42
41
|
nullthrows(
|
|
43
|
-
entry
|
|
42
|
+
entry
|
|
43
|
+
?.getDependencies()
|
|
44
|
+
.find((dep: Dependency) => dep.id === insertDep),
|
|
44
45
|
),
|
|
45
46
|
nullthrows(manifest),
|
|
46
47
|
);
|
|
@@ -81,4 +82,4 @@ export default (new Runtime({
|
|
|
81
82
|
}
|
|
82
83
|
}
|
|
83
84
|
},
|
|
84
|
-
})
|
|
85
|
+
}) as Runtime<unknown>;
|
package/tsconfig.json
ADDED