chore: import upstream snapshot with attribution
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
import path from "path"
|
||||
import { fileURLToPath } from "url"
|
||||
|
||||
const pluginDir = path.dirname(fileURLToPath(import.meta.url))
|
||||
const skillsDir = path.resolve(pluginDir, "../../skills")
|
||||
|
||||
export const CompoundEngineeringPlugin = async () => ({
|
||||
config: async (config) => {
|
||||
config.skills = config.skills || {}
|
||||
config.skills.paths = config.skills.paths || []
|
||||
if (!config.skills.paths.includes(skillsDir)) {
|
||||
config.skills.paths.push(skillsDir)
|
||||
}
|
||||
},
|
||||
})
|
||||
|
||||
export default CompoundEngineeringPlugin
|
||||
Reference in New Issue
Block a user