From 8409c44d0d6ce2c2c98b23e91e67b0d46fb1da3d Mon Sep 17 00:00:00 2001 From: Alexander Minkin Date: Tue, 22 Aug 2023 15:49:03 +0300 Subject: [PATCH] fix(tests&meta): :white_check_mark: Make tests work and edit metadata --- .npmrc | 1 + package.json | 2 +- test/plugin.test.ts | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 .npmrc diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000..8dc2c0a --- /dev/null +++ b/.npmrc @@ -0,0 +1 @@ +registry=https://git.fetbuk.ru/api/packages/WerySkok/npm/ \ No newline at end of file diff --git a/package.json b/package.json index 7019a78..e757512 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "prettier-plugin-askama-template", "version": "1.0.0", "description": "prettier-plugin-jinja-template but with patches to work with Askama.", - "author": "David Odenwald", + "author": "Alexander Minkin", "license": "MIT", "repository": { "type": "git", diff --git a/test/plugin.test.ts b/test/plugin.test.ts index 1230c2a..a184dd5 100644 --- a/test/plugin.test.ts +++ b/test/plugin.test.ts @@ -5,7 +5,7 @@ import * as jinjaPlugin from "../src/index"; const prettify = (code: string, options: Options) => format(code, { - parser: "jinja-template", + parser: "askama-template", plugins: [jinjaPlugin], ...options, });