switch to yarn

This commit is contained in:
Daniel Olsen 2020-07-20 02:12:17 +02:00
parent c40cf7be38
commit 1a4245b158
4 changed files with 1171 additions and 1225 deletions

1221
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,14 +1,15 @@
{ {
"name": "vugg", "name": "matrix-wug",
"version": "1.1.0", "version": "2.4.3",
"description": "Language bot for matrix", "description": "Language bot for matrix",
"main": "index.js", "main": "index.js",
"bin": "build/index.js",
"scripts": { "scripts": {
"build": "tsc", "build": "tsc",
"start": "node build/index.js" "start": "node build/index.js"
}, },
"author": "Daniel", "author": "Daniel",
"license": "ISC", "license": "AGPL3",
"dependencies": { "dependencies": {
"matrix-bot-sdk": "^0.3.2", "matrix-bot-sdk": "^0.3.2",
"@types/js-yaml": "^3.12.1", "@types/js-yaml": "^3.12.1",

View File

@ -1,7 +1,7 @@
with import <nixpkgs> {}; with import <nixpkgs> {};
stdenv.mkDerivation { stdenv.mkDerivation {
name = "node"; name = "node";
buildInputs = [ nodejs-10_x ]; buildInputs = [ nodejs-10_x yarn ];
shellHook = '' shellHook = ''
export PATH="$PWD/node_modules/.bin/:$PATH" export PATH="$PWD/node_modules/.bin/:$PATH"
''; '';

1166
yarn.lock Normal file

File diff suppressed because it is too large Load Diff