From 6789f83715bed47710dce8d1de50c2e1b818029c Mon Sep 17 00:00:00 2001 From: Brian Jenkins Date: Wed, 11 Jan 2023 09:51:26 -0500 Subject: [PATCH] Fix `tree` --- .github/workflows/ci.yml | 22 ---------------------- README.md | 2 +- package.json | 2 +- tree.txt | 4 ---- 4 files changed, 2 insertions(+), 28 deletions(-) delete mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml deleted file mode 100644 index 42dba3e..0000000 --- a/.github/workflows/ci.yml +++ /dev/null @@ -1,22 +0,0 @@ -{ - "name": "ci", - "on": [ - "push" - ], - "jobs": { - "lint": { - "runs-on": "ubuntu-latest", - "steps": [ - { - "uses": "actions/checkout@v2" - }, - { - "run": "npm install eslint typescript @typescript-eslint/eslint-plugin @typescript-eslint/parser" - }, - { - "run": "npx eslint --ignore-pattern \"public/**/*\" --quiet \"**/*.ts\"" - } - ] - } - } -} diff --git a/README.md b/README.md index 73b438b..56bcbc0 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ npx brianjenkins94/serve 2. Create a `tree.txt`: ```bash - find . -type f -not -name ".*" -not -path "./.git/**" -not -path "./node_modules/**" > tree.txt + find . -type f -not -path "*/.*" -not -path "*/node_modules/**" > tree.txt ``` The files listed in `tree.txt` will be navigable through the file explorer. diff --git a/package.json b/package.json index 0d20f7e..a51bf8d 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "bin": "bootstrap", "scripts": { "serve": "nodemon --watch \"**/*.ts\" --exec ts-node server.ts", - "tree": "find . -type f -not -name \".*\" -not -path \"./.git/**\" -not -path \"./node_modules/**\" > tree.txt", + "tree": "find . -type f -not -path \"*/.*\" -not -path \"*/node_modules/**\" > tree.txt", "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { diff --git a/tree.txt b/tree.txt index 4ad311d..b8789ce 100644 --- a/tree.txt +++ b/tree.txt @@ -2,12 +2,8 @@ ./bootstrap ./LICENSE ./README.md -./package-lock.json ./package.json ./foo/bar/baz/test.txt ./tsconfig.json -./.vscode/settings.json -./.vscode/extensions.json -./.vscode/launch.json ./tree.txt ./server.ts