rename bin dir to dist

This commit is contained in:
silverwind 2024-03-09 05:44:12 +01:00
parent d602afb2cd
commit 40046206d7
Signed by untrusted user: silverwind
GPG Key ID: 2E62B41C93869443
6 changed files with 7 additions and 6 deletions

@ -2,4 +2,4 @@ root: true
extends: silverwind extends: silverwind
ignorePatterns: ignorePatterns:
- /bin/ - /dist/

2
.gitignore vendored

@ -1,5 +1,5 @@
/.vscode /.vscode
/bin /dist
/node_modules /node_modules
/npm-debug.log* /npm-debug.log*
/yarn-error.log /yarn-error.log

@ -1 +1,2 @@
fixtures fixtures
dist

@ -1,5 +1,5 @@
SRC := updates.js SRC := updates.js
DST := bin/updates.js DST := dist/updates.js
node_modules: package-lock.json node_modules: package-lock.json
npm install --no-save npm install --no-save

2
package-lock.json generated

@ -9,7 +9,7 @@
"version": "15.3.1", "version": "15.3.1",
"license": "BSD-2-Clause", "license": "BSD-2-Clause",
"bin": { "bin": {
"updates": "bin/updates.js" "updates": "dist/updates.js"
}, },
"devDependencies": { "devDependencies": {
"@iarna/toml": "2.2.5", "@iarna/toml": "2.2.5",

@ -5,13 +5,13 @@
"author": "silverwind", "author": "silverwind",
"repository": "silverwind/updates", "repository": "silverwind/updates",
"license": "BSD-2-Clause", "license": "BSD-2-Clause",
"bin": "bin/updates.js", "bin": "dist/updates.js",
"type": "module", "type": "module",
"engines": { "engines": {
"node": ">=18" "node": ">=18"
}, },
"files": [ "files": [
"bin/updates.js" "dist/updates.js"
], ],
"devDependencies": { "devDependencies": {
"@iarna/toml": "2.2.5", "@iarna/toml": "2.2.5",