@devvit/build-pack 0.11.19-next-2025-07-01-20-12-32-f1f8de350.0 → 0.11.19-next-2025-07-02-19-47-19-53796ec90.0
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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"templatizer.d.ts","sourceRoot":"","sources":["../../../src/esbuild/templatizer/templatizer.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"templatizer.d.ts","sourceRoot":"","sources":["../../../src/esbuild/templatizer/templatizer.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAE7D,gBAAgB;AAChB,wBAAgB,UAAU,CAAC,IAAI,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,CAOxF"}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import path from 'node:path';
|
|
2
|
-
const __dirname = new URL('.', import.meta.url).pathname;
|
|
3
2
|
/** @internal */
|
|
4
3
|
export function templatize(root, blocksEntry) {
|
|
5
4
|
// Import user code second so that it has precedence.
|
|
6
5
|
return `
|
|
7
|
-
import Devvit from '${
|
|
6
|
+
import Devvit from '${path.resolve(import.meta.dirname, 'blocks.template.js')}';
|
|
8
7
|
${blocksEntry ? `import '${path.resolve(root, blocksEntry)}';` : ''}
|
|
9
8
|
export default Devvit;
|
|
10
9
|
`.trim();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@devvit/build-pack",
|
|
3
|
-
"version": "0.11.19-next-2025-07-
|
|
3
|
+
"version": "0.11.19-next-2025-07-02-19-47-19-53796ec90.0",
|
|
4
4
|
"license": "BSD-3-Clause",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
},
|
|
24
24
|
"types": "./index.d.ts",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@devvit/protos": "0.11.19-next-2025-07-
|
|
27
|
-
"@devvit/shared-types": "0.11.19-next-2025-07-
|
|
26
|
+
"@devvit/protos": "0.11.19-next-2025-07-02-19-47-19-53796ec90.0",
|
|
27
|
+
"@devvit/shared-types": "0.11.19-next-2025-07-02-19-47-19-53796ec90.0",
|
|
28
28
|
"esbuild": "0.23.0",
|
|
29
29
|
"rxjs": "7.8.1",
|
|
30
30
|
"tsv": "0.2.0",
|
|
@@ -34,10 +34,10 @@
|
|
|
34
34
|
"@devvit/server": "*"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@devvit/public-api": "0.11.19-next-2025-07-
|
|
38
|
-
"@devvit/repo-tools": "0.11.19-next-2025-07-
|
|
39
|
-
"@devvit/server": "0.11.19-next-2025-07-
|
|
40
|
-
"@devvit/tsconfig": "0.11.19-next-2025-07-
|
|
37
|
+
"@devvit/public-api": "0.11.19-next-2025-07-02-19-47-19-53796ec90.0",
|
|
38
|
+
"@devvit/repo-tools": "0.11.19-next-2025-07-02-19-47-19-53796ec90.0",
|
|
39
|
+
"@devvit/server": "0.11.19-next-2025-07-02-19-47-19-53796ec90.0",
|
|
40
|
+
"@devvit/tsconfig": "0.11.19-next-2025-07-02-19-47-19-53796ec90.0",
|
|
41
41
|
"@types/tsv": "0.2.1",
|
|
42
42
|
"eslint": "9.11.1",
|
|
43
43
|
"vitest": "1.6.1"
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"directory": "dist"
|
|
47
47
|
},
|
|
48
48
|
"source": "./src/index.ts",
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "3f254687c8acc69f3c5670529ab4790fd910780e"
|
|
50
50
|
}
|