@atlaspack/packager-raw-url 2.14.5-canary.137 → 2.14.5-canary.139
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
package/lib/RawUrlPackager.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaspack/packager-raw-url",
|
|
3
|
-
"version": "2.14.5-canary.
|
|
3
|
+
"version": "2.14.5-canary.139+d2fd84977",
|
|
4
4
|
"license": "(MIT OR Apache-2.0)",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -9,15 +9,19 @@
|
|
|
9
9
|
"type": "git",
|
|
10
10
|
"url": "https://github.com/atlassian-labs/atlaspack.git"
|
|
11
11
|
},
|
|
12
|
-
"main": "lib/RawUrlPackager.js",
|
|
13
|
-
"source": "src/RawUrlPackager.
|
|
12
|
+
"main": "./lib/RawUrlPackager.js",
|
|
13
|
+
"source": "./src/RawUrlPackager.ts",
|
|
14
|
+
"types": "./lib/RawUrlPackager.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/utils": "2.14.5-canary.
|
|
19
|
+
"@atlaspack/plugin": "2.14.5-canary.139+d2fd84977",
|
|
20
|
+
"@atlaspack/utils": "2.14.5-canary.139+d2fd84977"
|
|
20
21
|
},
|
|
21
22
|
"type": "commonjs",
|
|
22
|
-
"
|
|
23
|
-
|
|
23
|
+
"scripts": {
|
|
24
|
+
"check-ts": "tsc --emitDeclarationOnly --rootDir src"
|
|
25
|
+
},
|
|
26
|
+
"gitHead": "d2fd849770fe6305e9c694bd97b1bd905abd9d94"
|
|
27
|
+
}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
// @flow strict-local
|
|
2
|
-
|
|
3
1
|
import assert from 'assert';
|
|
4
2
|
import {Packager} from '@atlaspack/plugin';
|
|
5
3
|
import {replaceURLReferences} from '@atlaspack/utils';
|
|
6
4
|
|
|
7
|
-
export default
|
|
5
|
+
export default new Packager({
|
|
8
6
|
async package({bundle, bundleGraph}) {
|
|
9
|
-
|
|
7
|
+
// @ts-expect-error TS2552
|
|
8
|
+
let assets: Array<Asset> = [];
|
|
10
9
|
bundle.traverseAssets((asset) => {
|
|
11
10
|
assets.push(asset);
|
|
12
11
|
});
|
|
@@ -21,4 +20,4 @@ export default (new Packager({
|
|
|
21
20
|
});
|
|
22
21
|
return {contents};
|
|
23
22
|
},
|
|
24
|
-
})
|
|
23
|
+
}) as Packager<unknown, unknown>;
|
package/tsconfig.json
ADDED