@devvit/shared-types
Advanced tools
Comparing version 0.8.8 to 0.8.9
import { Categories, categoriesFromJSON } from '@devvit/protos'; | ||
import * as path from 'path'; | ||
export const APP_CATEGORIES = Object.keys(Categories) | ||
@@ -8,4 +9,7 @@ .filter((k) => isNaN(Number(k))) | ||
export const ACTOR_SRC_PRIMARY_NAME = 'main'; | ||
export const ACTOR_SRC_PRIMARY_ENTRY_POINT = `${ACTOR_SRC_DIR}/${ACTOR_SRC_PRIMARY_NAME}.ts`; | ||
// NOTE: This is a workaround for the fact that path.join is not available in the browser | ||
export const ACTOR_SRC_PRIMARY_ENTRY_POINT = typeof path.join === 'function' | ||
? path.join(ACTOR_SRC_DIR, `${ACTOR_SRC_PRIMARY_NAME}.ts`) | ||
: `${ACTOR_SRC_DIR}/${ACTOR_SRC_PRIMARY_NAME}.ts`; | ||
export const ACTOR_SRC_PRIMARY_ENTRY_POINT_JSX = `${ACTOR_SRC_PRIMARY_ENTRY_POINT}x`; | ||
export const ACTORS_DIR_LEGACY = 'actors'; |
{ | ||
"name": "@devvit/shared-types", | ||
"version": "0.8.8", | ||
"version": "0.8.9", | ||
"license": "BSD-3-Clause", | ||
@@ -26,8 +26,8 @@ "repository": { | ||
"dependencies": { | ||
"@devvit/protos": "0.8.8" | ||
"@devvit/protos": "0.8.9" | ||
}, | ||
"devDependencies": { | ||
"@devvit/eslint-config": "0.8.8", | ||
"@devvit/repo-tools": "0.8.8", | ||
"@devvit/tsconfig": "0.8.8", | ||
"@devvit/eslint-config": "0.8.9", | ||
"@devvit/repo-tools": "0.8.9", | ||
"@devvit/tsconfig": "0.8.9", | ||
"eslint": "8.9.0", | ||
@@ -41,3 +41,3 @@ "typescript": "4.9.3", | ||
"source": "./src/index.ts", | ||
"gitHead": "495020478f831cb7235b2dbdb494a9cd67b59e14" | ||
"gitHead": "7251f6a0c79d1861fde01090169641dc33cc96f8" | ||
} |
Sorry, the diff of this file is not supported yet
37214
664
+ Added@devvit/protos@0.8.9(transitive)
- Removed@devvit/protos@0.8.8(transitive)
Updated@devvit/protos@0.8.9