Update to the latest async-neocities 4.0

BREAKING CHANGE: api_token action input is renamed to api_key, please update this

BREAKING CHANGE: added a required neocities_supporter action input to toggle unsupported file filtering

BREAKING CHANGE: addad a preview_before_deploy action input to toggle informational deploy plans prior to deploys

BREAKING CHANGE: completely rewrote the underlying library to provide better error handling and reporting

BREAKING CHANGE: Remove a bunch of real time stats and progress meters. Deploys were finishing in seconds and these were very complicated to maintain.
This commit is contained in:
Bret Comnes
2024-11-19 17:06:33 -08:00
parent f9a550fd47
commit 7b14798c89
13 changed files with 29175 additions and 11183 deletions

View File

@@ -8,25 +8,25 @@
},
"dependencies": {
"@actions/core": "1.11.1",
"async-neocities": "2.1.6",
"minimatch": "10.0.1",
"ms": "2.1.3",
"pony-cause": "^2.1.4",
"webassert": "3.0.2"
"async-neocities": "4.0.3",
"minimatch": "10.0.1"
},
"devDependencies": {
"@voxpelli/tsconfig": "^15.0.0",
"top-bun": "^10.0.0",
"auto-changelog": "^2.0.0",
"dependency-check": "^4.1.0",
"gh-release": "^7.0.0",
"npm-run-all2": "^7.0.1",
"standard": "^17.0.0",
"esbuild": "^0.24.0"
"npm-run-all2": "^7.0.0",
"neostandard": "^0.11.8",
"c8": "^10.0.0",
"esbuild": "~0.24.0",
"typescript": "~5.6.2"
},
"homepage": "https://github.com/bcomnes/deploy-to-neocities#readme",
"keywords": [],
"license": "MIT",
"main": "index.js",
"type": "module",
"private": true,
"repository": {
"type": "git",
@@ -34,23 +34,20 @@
},
"scripts": {
"build": "npm run clean && run-p build:*",
"build:action": "rm -rf dist && esbuild index.js --bundle --platform=node --target=node16 --sourcemap=external --outdir=dist",
"build:site": "tb --src . --dest public",
"build:action": "rm -rf dist && esbuild index.js --bundle --platform=node --sourcemap=external --outdir=dist --metafile=dist/meta.json --out-extension:.js=.cjs",
"build:site": "tb --src . --dest public --ignore dist,coverage",
"dist-pkg": "echo \"{ \\\"type\\\": \\\"commonjs\\\" }\" > dist/package.json",
"clean": "rm -rf public && mkdir -p public",
"release": "git push --follow-tags && gh-release -y",
"start": "npm run watch",
"test": "run-s test:*",
"test:deps": "dependency-check . --no-dev --no-peer",
"test:standard": "standard",
"test:lint": "eslint",
"test:tsc": "tsc",
"test:node": "c8 node --test",
"version": "run-s version:*",
"version:build": "npm run build:action && git add dist",
"version:changelog": "auto-changelog -p --template keepachangelog auto-changelog --breaking-pattern 'BREAKING CHANGE:' && git add CHANGELOG.md",
"watch": "npm run clean && run-p watch:*",
"watch:site": "npm run build:site -- -w"
},
"standard": {
"ignore": [
"dist"
]
}
}