diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2020-09-30 22:05:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-30 22:05:47 +0200 |
commit | 93794988827b94a5489a744c77a47035086aa3d9 (patch) | |
tree | c299219d500cd4adb2444e987b0519fa42899da1 /test | |
parent | 73d4c562ec062c560c27e7582d89a5ce716b855b (diff) | |
download | kronika-93794988827b94a5489a744c77a47035086aa3d9.tar.gz kronika-93794988827b94a5489a744c77a47035086aa3d9.zip |
Kronikarz 2.2.0 (#22)
* Update kronikarz * Add ignore paths
Diffstat (limited to 'test')
-rw-r--r-- | test/.envrc | 1 | ||||
-rw-r--r-- | test/default.nix | 9 | ||||
-rw-r--r-- | test/package.json | 4 |
3 files changed, 12 insertions, 2 deletions
diff --git a/test/.envrc b/test/.envrc new file mode 100644 index 0000000..1d953f4 --- /dev/null +++ b/test/.envrc @@ -0,0 +1 @@ +use nix diff --git a/test/default.nix b/test/default.nix new file mode 100644 index 0000000..65e3443 --- /dev/null +++ b/test/default.nix @@ -0,0 +1,9 @@ +let + pkgs = import <nixpkgs> { }; +in + with pkgs; + mkShell { + buildInputs = [ + nodejs + ]; + } diff --git a/test/package.json b/test/package.json index 85edd14..acebb34 100644 --- a/test/package.json +++ b/test/package.json @@ -5,10 +5,10 @@ "main": "check.js", "dependencies": { "esm": "^3.2.25", - "kronikarz": "^2.0.0" + "kronikarz": "^2.2.0" }, "scripts": { - "build": "mkdir -p ../static/api && touch ../static/api/posts.json && node -r esm build.js && cp _headers ../static && cp -r ../wpisy ../static/files", + "build": "mkdir -p ../static/api && touch ../static/api/posts.json && sed -i '/type\": \"module/d' node_modules/@gerhobbelt/markdown-it-html5-media/package.json && node -r esm build.js && cp _headers ../static && cp -r ../wpisy ../static/files", "test": "./validator.sh" }, "keywords": [], |