cordis 4.0.0-rc.6, plugin-loader, -include, -group, -timer, -hmr, -logger-console, cosmokit 1.8.1, schemastery 3.18.0 — copied from the cordis-workspace checkout, flattened under vendor/, original npm names, private: true. vendor/README.md is the manifest: upstream repos + commit SHAs, local-modification log, sync procedure. Local modification: hmr's locale YAML imports and .i18n() call removed (avoids a runtime YAML import hook we don't vendor).
17 lines
355 B
JavaScript
Executable File
17 lines
355 B
JavaScript
Executable File
#!/usr/bin/env node
|
|
|
|
import { Context } from 'cordis'
|
|
import { pathToFileURL } from 'node:url'
|
|
import Loader from '@cordisjs/plugin-loader'
|
|
|
|
const ctx = new Context()
|
|
ctx.baseUrl = pathToFileURL(process.cwd()).href + '/'
|
|
|
|
await ctx.plugin(Loader)
|
|
await ctx.loader.create({
|
|
name: '@cordisjs/plugin-include',
|
|
config: {
|
|
path: './cordis.yml',
|
|
},
|
|
})
|