@devvit/build-pack 0.11.20-next-2025-07-24-23-23-50-38449c441.0 → 0.11.20-next-2025-07-25-00-00-20-b42f98f6e.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":"blocks.template.d.ts","sourceRoot":"","sources":["../../../src/esbuild/templatizer/blocks.template.tsx"],"names":[],"mappings":"AAEA,OAAO,EAEL,MAAM,EACN,KAAK,OAAO,EAKb,MAAM,oBAAoB,CAAC;AAK5B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AAmBtE,oFAAoF;AACpF,eAAO,MAAM,UAAU,EAAE;IAAE,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAA;CAAO,CAAC;AAiG7D,gBAAgB;AAChB,wBAAgB,kBAAkB,CAAC,UAAU,EAAE,UAAU,GAAG,IAAI,CA4D/D;AAwKD,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"blocks.template.d.ts","sourceRoot":"","sources":["../../../src/esbuild/templatizer/blocks.template.tsx"],"names":[],"mappings":"AAEA,OAAO,EAEL,MAAM,EACN,KAAK,OAAO,EAKb,MAAM,oBAAoB,CAAC;AAK5B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AAmBtE,oFAAoF;AACpF,eAAO,MAAM,UAAU,EAAE;IAAE,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAA;CAAO,CAAC;AA4F7D,gBAAgB;AAChB,wBAAgB,kBAAkB,CAAC,UAAU,EAAE,UAAU,GAAG,IAAI,CA4D/D;AAwKD,eAAe,MAAM,CAAC"}
@@ -28,16 +28,12 @@ function configurePermissions(permissions) {
28
28
  });
29
29
  }
30
30
  function configurePost(post) {
31
- let path = post.client.entry;
32
- if (post.client.entry.startsWith(post.client.dir)) {
33
- path = post.client.entry.slice(post.client.dir.length);
34
- path = path[0] === '/' ? path.slice(1) : path;
35
- }
31
+ // TODO: support post entrypoints beyond default.
32
+ const defaultEntrypoint = post.entrypoints.default;
36
33
  Devvit.addCustomPostType({
37
34
  name: '',
38
- render: () => renderModal(path),
39
- // TODO: no way to specify regular vs. tall right now. Move this to post config.
40
- height: 'tall',
35
+ render: () => renderModal(defaultEntrypoint.entry),
36
+ height: defaultEntrypoint.height,
41
37
  });
42
38
  }
43
39
  function configureMenuItems(menuItems) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devvit/build-pack",
3
- "version": "0.11.20-next-2025-07-24-23-23-50-38449c441.0",
3
+ "version": "0.11.20-next-2025-07-25-00-00-20-b42f98f6e.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.20-next-2025-07-24-23-23-50-38449c441.0",
27
- "@devvit/shared-types": "0.11.20-next-2025-07-24-23-23-50-38449c441.0",
26
+ "@devvit/protos": "0.11.20-next-2025-07-25-00-00-20-b42f98f6e.0",
27
+ "@devvit/shared-types": "0.11.20-next-2025-07-25-00-00-20-b42f98f6e.0",
28
28
  "esbuild": "0.23.0",
29
29
  "rxjs": "7.8.1",
30
30
  "tsv": "0.2.0",
@@ -35,12 +35,12 @@
35
35
  "@devvit/shared": "*"
36
36
  },
37
37
  "devDependencies": {
38
- "@devvit/public-api": "0.11.20-next-2025-07-24-23-23-50-38449c441.0",
39
- "@devvit/repo-tools": "0.11.20-next-2025-07-24-23-23-50-38449c441.0",
40
- "@devvit/scheduler": "0.11.20-next-2025-07-24-23-23-50-38449c441.0",
41
- "@devvit/server": "0.11.20-next-2025-07-24-23-23-50-38449c441.0",
42
- "@devvit/shared": "0.11.20-next-2025-07-24-23-23-50-38449c441.0",
43
- "@devvit/tsconfig": "0.11.20-next-2025-07-24-23-23-50-38449c441.0",
38
+ "@devvit/public-api": "0.11.20-next-2025-07-25-00-00-20-b42f98f6e.0",
39
+ "@devvit/repo-tools": "0.11.20-next-2025-07-25-00-00-20-b42f98f6e.0",
40
+ "@devvit/scheduler": "0.11.20-next-2025-07-25-00-00-20-b42f98f6e.0",
41
+ "@devvit/server": "0.11.20-next-2025-07-25-00-00-20-b42f98f6e.0",
42
+ "@devvit/shared": "0.11.20-next-2025-07-25-00-00-20-b42f98f6e.0",
43
+ "@devvit/tsconfig": "0.11.20-next-2025-07-25-00-00-20-b42f98f6e.0",
44
44
  "@types/tsv": "0.2.1",
45
45
  "eslint": "9.11.1",
46
46
  "vitest": "1.6.1"
@@ -49,5 +49,5 @@
49
49
  "directory": "dist"
50
50
  },
51
51
  "source": "./src/index.ts",
52
- "gitHead": "05fce77aa868d311c49ce29b7cb355807a02664b"
52
+ "gitHead": "8343dda7b00e1649f7864d562f442e26956f0c50"
53
53
  }