2.0.0 • Published 3 months ago

bc-tools-dotnet v2.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

Bulletcode .NET tools

A collection of tools for .NET projects created by Bulletcode.

Commands

bc-switch projects [CONFIG]

Switch package references to project references and add projects to the solution. The path of a configuration file relative to the project root can be specified, by default it's switch.config.js.

bc-switch packages [CONFIG]

Switch project references to package references and remove projects from the solution.

Configuration

switch.config.js

This file contains the prefix of the packages to switch and the relative path of the folder containing their source code:

export default {
  prefix: 'Bulletcode',
  targetPath: '../bc-dotnet',
};

API

makeDotNetProjects( config )

Return a list projects based on the given configuration.

resolveProjectAliases( projectPath, aliases )

Create aliases for projects based on package references or project references.

spawnProcess( command, args, options = {} )

Spawn a child process and return a Promise which resolves when the process completes.

cssCharset()

Vite plugin which prepends @charset "UTF-8"; to CSS files if necessary.

2.0.0

3 months ago

1.0.0

3 months ago