bc-tools-dotnet

2.1.0 • Public • Published

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.

projectAliases( projectPath, aliases )

Vite plugin which creates symbolic links for project aliases returned by the resolveProjectAliases() function.

Readme

Keywords

Package Sidebar

Install

npm i bc-tools-dotnet

Weekly Downloads

1

Version

2.1.0

License

MIT

Unpacked Size

10.2 kB

Total Files

10

Last publish

Collaborators

  • mimecorg