Commit Graph

13 Commits

Author SHA1 Message Date
dependabot[bot]
6899aca3d4 chore(deps-dev): bump tsdown from 0.15.12 to 0.16.0 (#20431)
* chore(deps-dev): bump tsdown from 0.15.12 to 0.16.0

Bumps [tsdown](https://github.com/rolldown/tsdown) from 0.15.12 to 0.16.0.
- [Release notes](https://github.com/rolldown/tsdown/releases)
- [Commits](https://github.com/rolldown/tsdown/compare/v0.15.12...v0.16.0)

---
updated-dependencies:
- dependency-name: tsdown
  dependency-version: 0.16.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix: update file extension from .js to .mjs

* fix: update start script to use .mjs file extension

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-06 01:30:32 +08:00
Tony
b1c74bd3e3 chore: add back minify docker again (#20304)
* Revert "chore: minify docker (#18914)"

This reverts commit e9013a2313.

* Reapply "chore: minify docker (#18914)"

This reverts commit b16a021f0c.

* fix(minify-docker): correct path to cross-env binary

* feat(minify-docker): use import.meta.dirname

* chore(deps): remove deprecated @types/imapflow dependency
2025-10-18 01:48:38 +08:00
Tony
dd96d12ebb revert: "chore: minify docker (#18914)" (#18931)
This reverts commit e9013a2313.
2025-04-24 02:18:02 +08:00
Tony
e9013a2313 chore: minify docker (#18914)
* chore: minify docker

* chore: bring back minify script
2025-04-23 02:42:25 +08:00
DIYgod
8536931e9d chore: fix npm start 2024-02-26 00:52:44 +08:00
Tony
6d901cb7dc style(eslint): add eslint-unicorn (#14257)
* style: add eslint-unicorn

* style: fix unicorn/no-useless-spread

* style: fix unicorn/no-useless-promise-resolve-reject

* style: fix unicorn/no-for-loop

* fix: codeql bad HTML filtering regexp

* fix: codeql incomplete replace

* fix: unicorn/no-abusive-eslint-disable

* style: fix unicorn/no-new-array

* style: fix unicorn/no-typeof-undefined

* style: fix unicorn/no-zero-fractions

* style: fix unicorn/no-empty-file

* style: fix unicorn/prefer-date-now

* revert: auto fix unicorn/prefer-switch on lib/v2/kuaidi100/utils.js

* style: fix unicorn/prefer-array-find

* style: fix unicorn/prefer-array-flat

* style: fix unicorn/prefer-array-flat-map

* style: fix unicorn/prefer-at

* style: fix unicorn/prefer-string-starts-ends-with

* style: fix unicorn/prefer-includes

* fix: codeql URL substring sanitization

* style: fix unicorn/prefer-optional-catch-binding

* style: fix unicorn/catch-error-name

* style: fix unicorn/escape-case

* style: fix unicorn/prefer-native-coercion-functions

* style: fix unicorn/prefer-regexp-test

* style: fix unicorn/require-array-join-separator

* style: fix unicorn/prefer-math-trunc

* style: fix unicorn/prefer-negative-index

* style: fix unicorn/prefer-dom-node-dataset

* style: fix unicorn/prefer-dom-node-text-content

* style: fix unicorn/prefer-query-selector

* style: fix unicorn/no-array-for-each

* style: fix unicorn/no-negated-condition

* style: fix unicorn/prefer-add-event-listener

* style: fix unicorn/import-style

* style: fix prefer-regex-literals

* style: disable unicorn/no-useless-switch-case

* style: disable unicorn/text-encoding-identifier-case

* style: fix unicorn/prefer-set-has

* style: fix unicorn/prefer-spread

* revert: auto fix on lib/routes/universities/ynnu/edu/base64.js

* style: fix unicorn/no-useless-undefined

* style: fix unicorn/no-array-push-push

* style: fix unicorn/no-useless-undefined again

* style: fix unicorn/no-lonely-if

* style: fix unicorn/prefer-reflect-apply

* style: fix unicorn/switch-case-braces

* style: fix unicorn/prefer-switch

* style: fix unicorn/prefer-array-some

* fix: deepscan UNUSED_VAR_ASSIGN

* style: fix unicorn/prefer-ternary

* fix: follow-up of unicorn/prefer-ternary

* revert: auto fix of unicorn/prefer-string-slice for substring()

* style: disable unicorn/prefer-string-slice

fix: auto fix slice over deprecated substr

* style: fix unicorn/throw-new-error

* style: fix unicorn/filename-case

* test: fix dateParser renaming

* style: fix unicorn/better-regex

* style: fix unicorn/prefer-string-replace-all

* fix(deps): add sanitize-html

* style: fix no-prototype-builtins

* style: fix unicorn/consistent-destructuring

* style: fix unicorn/consistent-function-scoping

* style: fix unicorn/prefer-regexp-test

* style: fix unicorn/prefer-logical-operator-over-ternary

* style: fix unicorn/no-array-callback-reference

* style: add prefer-object-has-own

* style: warn unicorn/no-empty-file

* style: fix unicorn/prefer-number-properties

* style: fix no-useless-undefined again

* style: fix unicorn/numeric-separators-style

* style: disable unicorn/no-array-callback-reference

false postive with cheerio
2024-01-18 20:43:40 +08:00
dependabot[bot]
ff57adb089 chore(deps-dev): bump @vercel/nft from 0.21.0 to 0.22.1 (#10675)
* chore(deps-dev): bump @vercel/nft from 0.21.0 to 0.22.1

Bumps [@vercel/nft](https://github.com/vercel/nft) from 0.21.0 to 0.22.1.
- [Release notes](https://github.com/vercel/nft/releases)
- [Commits](https://github.com/vercel/nft/compare/0.21.0...0.22.1)

---
updated-dependencies:
- dependency-name: "@vercel/nft"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Revert "docs: vercel workaround (#10665)"

This reverts commit f57e6230ac.

* fix: scrape settings

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-03 01:54:37 +08:00
dependabot[bot]
a768e4690f chore(deps): bump puppeteer from 16.2.0 to 17.0.0 (#10651)
* chore(deps): bump puppeteer from 16.2.0 to 17.0.0

Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 16.2.0 to 17.0.0.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/puppeteer/puppeteer/compare/v16.2.0...v17.0.0)

---
updated-dependencies:
- dependency-name: puppeteer
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: misc fix

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-01 02:24:18 +08:00
Tony
11ef5c4dba chore: rename now to vercel (#9791) 2022-05-20 19:27:08 +08:00
Rongrong
d8c00ec238 build(docker): optimize; add Chromium bundled ver (#9626)
* build(docker): optimize; add Chromium bundled ver

Signed-off-by: Rongrong <i@rong.moe>

* build(Dockerfile): fix redundant command and label

Signed-off-by: Rongrong <i@rong.moe>

* build(docker): only install prod deps to speed up

Signed-off-by: Rongrong <i@rong.moe>

* docs(install): minor fixes

Signed-off-by: Rongrong <i@rong.moe>

* build(Dockerfile): bump to `node:16-bullseye-slim`

Signed-off-by: Rongrong <i@rong.moe>

* build(Dockerfile): fix yarn registry mirror

Signed-off-by: Rongrong <i@rong.moe>

* build(Dockerfile): minimize dependencies

for Chromium-bundled version

Signed-off-by: Rongrong <i@rong.moe>
2022-04-28 20:40:21 +08:00
Chih-Hsuan Yen
1e8797008c fix: update minify-docker.js for newer @vercel/nft (#8628)
In commit ad1a09597f, @vercel/nft is
updated to 0.17.0, and in this version fileList from nft is a set
instead of an array [1].

[1] https://github.com/vercel/nft/pull/240
2021-12-01 10:29:03 +08:00
GitHub Action
9968dbfc96 style: auto format 2021-08-13 10:46:31 +00:00
NeverBehave
c0b638c860 fix(dockerfile): copy necessary file when building (#8008)
* fix(dockerfile): copy necessary file when building

*when even bother deleting file...

* no console
2021-08-13 03:44:39 -07:00