mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 20:52:56 +01:00
add nix infra
This commit is contained in:
parent
4d7ea90dd9
commit
b95d19325b
4 changed files with 108 additions and 79 deletions
1
.envrc
Normal file
1
.envrc
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
use flake;
|
||||||
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -6,3 +6,4 @@
|
||||||
/test/smoke/parcel/.cache/**
|
/test/smoke/parcel/.cache/**
|
||||||
**/dist/
|
**/dist/
|
||||||
**/out/
|
**/out/
|
||||||
|
.direnv/
|
||||||
|
|
|
||||||
27
flake.nix
Normal file
27
flake.nix
Normal file
|
|
@ -0,0 +1,27 @@
|
||||||
|
{
|
||||||
|
inputs = {
|
||||||
|
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
|
||||||
|
};
|
||||||
|
outputs =
|
||||||
|
{ nixpkgs, ... }:
|
||||||
|
let
|
||||||
|
forAllSystems =
|
||||||
|
function:
|
||||||
|
nixpkgs.lib.genAttrs nixpkgs.lib.systems.flakeExposed (
|
||||||
|
system: function nixpkgs.legacyPackages.${system}
|
||||||
|
);
|
||||||
|
in
|
||||||
|
{
|
||||||
|
formatter = forAllSystems (pkgs: pkgs.alejandra);
|
||||||
|
devShells = forAllSystems (pkgs: {
|
||||||
|
default = pkgs.mkShell {
|
||||||
|
packages = with pkgs; [
|
||||||
|
bun
|
||||||
|
deno
|
||||||
|
nodejs
|
||||||
|
python3
|
||||||
|
];
|
||||||
|
};
|
||||||
|
});
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"name": "monaco-editor",
|
"name": "@effect/monaco-editor",
|
||||||
"version": "0.52.0",
|
"version": "0.52.0",
|
||||||
"vscodeRef": "493330cdc6475247184ea459c66776c3da12cd2d",
|
"vscodeRef": "493330cdc6475247184ea459c66776c3da12cd2d",
|
||||||
"private": true,
|
"private": true,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue