UNPKG

@storm-stack/core

Version:

A build toolkit and runtime used by Storm Software in TypeScript applications

1 lines 1.61 kB
{"version":3,"sources":["../../src/lib/deepkit/resolve-reflections.ts"],"names":["getReflectionsPath","context","joinPaths","dataPath"],"mappings":";;;;;AA2BO,SAASA,mBAAmBC,OAAAA,EAAgB;AACjD,EAAA,OAAOC,mBAAAA,CAAUD,OAAAA,CAAQE,QAAAA,EAAU,aAAA,CAAA;AACrC;AAFgBH,wBAAAA,CAAAA,kBAAAA,EAAAA,oBAAAA,CAAAA","file":"chunk-YQSXKLN2.cjs","sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Storm Stack\n\n This code was released as part of the Storm Stack project. Storm Stack\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/storm-stack.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/storm-stack\n Documentation: https://docs.stormsoftware.com/projects/storm-stack\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { joinPaths } from \"@stryke/path/join-paths\";\nimport type { Context } from \"../../types/context\";\n\n/**\n * Returns the path to the reflections artifact directory.\n *\n * @param context - The context object containing the environment paths.\n * @returns The path to the reflections artifact directory.\n */\nexport function getReflectionsPath(context: Context): string {\n return joinPaths(context.dataPath, \"reflections\");\n}\n"]}