Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@wraith13/vscel

wraith13131BSL-1.00.0.54TypeScript support: included

Common libraries for Visual Studio Code Extension

vscode, vsce, extension

readme

vscel

Common libraries for Visual Studio Code Extension

How to use

import vscel from "vscel";
import packageJson from "../package.json";
import localeEn from "../package.nls.json";
import localeJa from "../package.nls.ja.json";
const locale = vscel.locale.make(localeEn, { "ja": localeJa });
const configRoot = vscel.config.makeRoot(packageJson);

console.log(locale.string("Hello, world!"));

Reference

...

How to build

requires: Node.js, TypeScript Compiler

tsc -P . or tsc -P . -w

In VS Code

You can use automatic build. Run Tasks: Allow Automatic Tasks in Folder command from command palette ( Mac: <kbd>F1</kbd> or <kbd>Shift</kbd>+<kbd>Command</kbd>+<kbd>P</kbd>, Windows and Linux: <kbd>F1</kbd> or <kbd>Shift</kbd>+<kbd>Ctrl</kbd>+<kbd>P</kbd>), and restart VS Code.

License

Boost Software License