From 415d092c5fe9caa0612dd54cb6c73149c3729b2e Mon Sep 17 00:00:00 2001 From: Morgan Zolob Date: Mon, 26 Aug 2024 18:15:38 -0700 Subject: [PATCH] Stop deleting eslint config on clean --- .gitignore | 3 +-- package.json | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 9aea2f5..34d7a51 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,6 @@ node_modules __TEST_TMP__ -*.js -!eslint.config.js +generator.js *.tgz # Ignore eventyrhing in the prisma folder except the example diff --git a/package.json b/package.json index a15d868..2d21441 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "scripts": { "build": "tsc -p tsconfig.build.json", "postbuild": "node -e \"g='generator.js';f=require('fs');f.writeFileSync(g,'#!/usr/bin/env node\\n'+f.readFileSync(g))\"", - "clean": "rimraf --glob *.js **/__TEST_TMP__", + "clean": "rimraf --glob generator.js **/__TEST_TMP__", "generate": "prisma generate --schema=prisma/example.prisma", "lint": "prettier --check . && eslint . && echo 'Linting complete.'", "lint:fix": "prettier --write . && eslint . --fix && echo 'Linting complete.'",