mirror of
https://github.com/bcomnes/deploy-to-neocities.git
synced 2026-01-16 22:56:28 +00:00
Switch to esbuild
This commit is contained in:
parent
a9b4f04af1
commit
f417d42694
2
.github/workflows/neocities.yml
vendored
2
.github/workflows/neocities.yml
vendored
@ -8,7 +8,7 @@ on:
|
|||||||
|
|
||||||
env:
|
env:
|
||||||
FORCE_COLOR: 2
|
FORCE_COLOR: 2
|
||||||
node_version: lts/*
|
node_version: 16
|
||||||
|
|
||||||
concurrency: # prevent concurrent deploys doing starnge things
|
concurrency: # prevent concurrent deploys doing starnge things
|
||||||
group: deploy-to-neocities
|
group: deploy-to-neocities
|
||||||
|
|||||||
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@ -8,7 +8,7 @@ on:
|
|||||||
required: true
|
required: true
|
||||||
|
|
||||||
env:
|
env:
|
||||||
node_version: lts/*
|
node_version: 16
|
||||||
FORCE_COLOR: 2
|
FORCE_COLOR: 2
|
||||||
|
|
||||||
concurrency: # prevent concurrent releases
|
concurrency: # prevent concurrent releases
|
||||||
|
|||||||
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@ -12,7 +12,7 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest]
|
os: [ubuntu-latest]
|
||||||
node: [lts/*]
|
node: [16]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|||||||
38824
dist/index.js
vendored
38824
dist/index.js
vendored
File diff suppressed because one or more lines are too long
8
dist/index.js.map
vendored
8
dist/index.js.map
vendored
File diff suppressed because one or more lines are too long
1
dist/sourcemap-register.js
vendored
1
dist/sourcemap-register.js
vendored
File diff suppressed because one or more lines are too long
10
package.json
10
package.json
@ -8,22 +8,22 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@actions/core": "1.10.0",
|
"@actions/core": "1.10.0",
|
||||||
"async-neocities": "2.1.4",
|
"async-neocities": "2.1.5",
|
||||||
"minimatch": "5.1.2",
|
"minimatch": "6.1.3",
|
||||||
"ms": "2.1.3",
|
"ms": "2.1.3",
|
||||||
"pony-cause": "^2.1.4",
|
"pony-cause": "^2.1.4",
|
||||||
"webassert": "3.0.2"
|
"webassert": "3.0.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@siteup/cli": "^2.0.0",
|
"@siteup/cli": "^2.0.0",
|
||||||
"@vercel/ncc": "^0.36.0",
|
|
||||||
"auto-changelog": "^2.0.0",
|
"auto-changelog": "^2.0.0",
|
||||||
"browser-sync": "^2.27.7",
|
"browser-sync": "^2.27.7",
|
||||||
"dependency-check": "^4.1.0",
|
"dependency-check": "^4.1.0",
|
||||||
"gh-release": "^7.0.0",
|
"gh-release": "^7.0.0",
|
||||||
"mkdirp": "^2.1.1",
|
"mkdirp": "^2.1.1",
|
||||||
"npm-run-all2": "^6.0.0",
|
"npm-run-all2": "^6.0.0",
|
||||||
"standard": "^17.0.0"
|
"standard": "^17.0.0",
|
||||||
|
"esbuild": "^0.17.2"
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/bcomnes/deploy-to-neocities#readme",
|
"homepage": "https://github.com/bcomnes/deploy-to-neocities#readme",
|
||||||
"keywords": [],
|
"keywords": [],
|
||||||
@ -36,7 +36,7 @@
|
|||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "npm run clean && run-p build:*",
|
"build": "npm run clean && run-p build:*",
|
||||||
"build:action": "rm -rf dist && ncc build index.js -o dist -s",
|
"build:action": "rm -rf dist && esbuild index.js --bundle --platform=node --target=node16 --sourcemap=external --outdir=dist",
|
||||||
"build:site": "siteup --src . --dest public",
|
"build:site": "siteup --src . --dest public",
|
||||||
"clean": "rimraf public && mkdirp public",
|
"clean": "rimraf public && mkdirp public",
|
||||||
"release": "git push --follow-tags && gh-release -y",
|
"release": "git push --follow-tags && gh-release -y",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user