Commit Graph
1621 Commits
Author SHA1 Message Date
John Hildenbiddle 3f2dd467cf Change emoji data from default to named export 2022-03-04 13:58:27 -06:00
John Hildenbiddle d52b476a38 Switch “npm ci” instead of “npm i” for stability 2022-03-04 13:49:08 -06:00
John Hildenbiddle 7ba8513636 Replace rollup’s uglify plugin with terser 2022-03-04 13:36:02 -06:00
John Hildenbiddle 05c797481b Merge branch 'develop' into feat-native-emoji 2022-03-04 12:27:58 -06:00
dependabot[bot] fd883e62de chore: bump prismjs in /packages/docsify-server-renderer (#1760)
Bumps [prismjs](https://github.com/PrismJS/prism) from 1.26.0 to 1.27.0.
- [Release notes](https://github.com/PrismJS/prism/releases)
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PrismJS/prism/compare/v1.26.0...v1.27.0)

---
updated-dependencies:
- dependency-name: prismjs
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-03 08:19:09 +08:00
dependabot[bot] a00cfbb676 chore: bump follow-redirects from 1.14.7 to 1.14.9 (#1757)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.7 to 1.14.9.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.7...v1.14.9)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-25 20:03:53 +08:00
Snyk bot 2dc5b12b71 fix: package.json & package-lock.json to reduce vulnerabilities (#1756)
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-PRISMJS-2404333
2022-02-24 09:42:42 +08:00
John Hildenbiddle 7c15fd7dc4 Kick GitHub Workflow 2022-02-06 00:08:45 -06:00
John Hildenbiddle e9d57222ad Fix rendering of native multi-character emoji 2022-02-05 18:18:52 -06:00
John Hildenbiddle 53d5fb5438 Update native emoji font-stack 2022-02-05 18:18:18 -06:00
John Hildenbiddle 8b587b8df3 Fix ci/codesandbox error 2022-02-05 16:06:25 -06:00
Koy Zhuang 2079441fd0 Merge branch 'develop' into feat-native-emoji 2022-02-05 17:25:05 +08:00
John Hildenbiddleand沈唁 fa6df6d584 fix: Legacy bugs (styles, site plugin error, and dev server error) (#1743)
* Add try/catch w/ error message to plugin calls

* Update lifecycle.js

* Update lifecycle.js

* Fix docsify-plugin-carbon error

* Fix ESLint errors

* Simplify conditional JS loading

* Fix styles in legacy browser w/o CSS var support

* Fix gitignore paths

* Fix BrowserSync IE error

* Fix search field presentation in IE11

- Removed fixed height and allow element to size naturally via font-size and padding
- Remove default "x" rendered on IE input fields

* Revert "Update lifecycle.js"

This reverts commit 2a58be69eb.

* Revert "Update lifecycle.js"

This reverts commit 67c5410b04.

* Revert "Add try/catch w/ error message to plugin calls"

This reverts commit 631e924878.

* Fix docsify-plugin-carbon error & ESLint errors

Co-authored-by: 沈唁 <52o@qq52o.cn>
2022-02-05 03:21:50 -06:00
John Hildenbiddle 260992cc24 Update docs test snapshot 2022-02-05 01:44:20 -06:00
John Hildenbiddle b7a3b6737e Update emoji test snapshot 2022-02-05 01:32:30 -06:00
John Hildenbiddle 208049bffd Adjust and match size of native and image emoji 2022-02-05 01:23:23 -06:00
John Hildenbiddle 8c10b5f37e Fix rendering of GitHub emoji without unicode 2022-02-05 01:13:08 -06:00
John Hildenbiddle e1e8d22d14 Create build:emoji task
- Auto-generate emoji data from GitHub API
- Auto-generate emoji markdown for website
- Add emoji page to navigation
2022-02-05 00:26:22 -06:00
John Hildenbiddle 39bf5224de Fix ESLint issues 2022-02-04 18:02:35 -06:00
John Hildenbiddle baf8044778 Add Emoji plugin deprecation notice 2022-02-04 18:02:22 -06:00
John Hildenbiddle 39d52040f8 Add nativeEmoji and update noEmoji details 2022-02-04 17:43:17 -06:00
John Hildenbiddle d03aa4f6bb Fix parsing emoji in HTML comments and script tags 2022-02-04 17:23:01 -06:00
John Hildenbiddle b8c227f07e Set nativeEmoji to false by default (non-breaking) 2022-02-04 02:12:28 -06:00
John Hildenbiddle 8252f3a18b Fix emoji image alt attribute 2022-02-04 02:12:00 -06:00
John Hildenbiddle 1fa45e5776 Remove console.log statement 2022-02-04 02:11:38 -06:00
John Hildenbiddle db1e94e44c Add emoji tests 2022-02-04 01:11:12 -06:00
John Hildenbiddle e7d627a74e Deprecate emoji plugin 2022-02-04 01:10:38 -06:00
John Hildenbiddle 936d566954 Render native emoji with image fallback
Fix #779
2022-02-04 01:10:09 -06:00
沈唁 8aee0744ec chore: sync emojis (#1745) 2022-02-04 11:53:26 +08:00
John Hildenbiddle 301b516961 fix: Coverpage when content > viewport height (#1744)
* fix: .gitignore paths
* fix: Coverpage when content > viewport height

fix #381
2022-02-03 16:03:34 -06:00
沈唁 18cd18ce04 docs: update readme (#1740) 2022-02-02 17:50:20 +08:00
dependabot[bot] f5b5282377 chore: bump node-fetch in /packages/docsify-server-renderer (#1738)
Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.6 to 2.6.7.
- [Release notes](https://github.com/node-fetch/node-fetch/releases)
- [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.6...v2.6.7)

---
updated-dependencies:
- dependency-name: node-fetch
  dependency-type: direct:production
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-01 17:41:44 +08:00
John Hildenbiddle c49c39a4a2 refactor: Update test environments and lint configuration (#1736)
* Update test environments and lint configuration

Update Jest (unit + integration) and Playwright (e2e) test environments. Includes stability improvements for e2e tests using newer, more stable methods per the Playwright docs.

- Update Jest 26 => 27
- Update Jest-related libs (babel parser)
- Update Playwright 1.8 => Playwright Test 1.18
- Update GitHub CI (action versions, job parallelization, and matrices)
- Update ESLint 5 => 8
- Update ESLint-related libs (parser, prettier, Jest, Playwright)
- Fix test failures on M1-based Macs
- Fix e2e stability issues by replacing PW $ method calls
- Fix ESLint errors
- Fix incorrect CI flag on Jest runs (-ci => --ci)
- Refactor e2e test runner from Jest to Playwright Test
- Refactor e2e test files for Playwright Test
- Refactor fix-lint script name to lint:fix for consistency
- Refactor npm scripts order for readability
- Remove unnecessary configs and libs
- Remove example image snapshots
2022-01-30 21:40:21 -06:00
Joe Pea b58941e88b Merge pull request #1734 from docsifyjs/mark-ssr-as-experimental
docs: mention that SSR is experimental and incomplete, …
2022-01-26 08:59:54 -08:00
Joe Pea 47cb36e74d mention that SSR is experimental and incomplete, prevent people from using it thinking it is ready for prime time 2022-01-23 19:43:46 -08:00
Joe Pea e0bead3bd6 Merge pull request #1725 from docsifyjs/update-license
Update LICENSE
2022-01-23 00:04:04 -08:00
Joe Pea 799c0a4936 Update LICENSE 2022-01-16 19:52:18 -08:00
ChoKaPeek 719dcbea5c fix: correctly fix missing +1, -1 (#1722) 2022-01-14 17:56:28 +08:00
Snyk bot c1227b22cb fix: packages/docsify-server-renderer/package.json & packages/docsify-server-renderer/package-lock.json to reduce vulnerabilities (#1715)
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-DOCSIFY-1090577
2022-01-13 15:46:55 +08:00
i544693 e424a9d225 chore: update test snapshots. 2022-01-06 17:12:13 +08:00
i544693 e80238d4fc chore: add changelog 4.12.2 v4.12.2 2022-01-06 16:55:27 +08:00
i544693 e405120e08 [build] 4.12.2 2022-01-06 16:55:22 +08:00
Joe Pea c90c6a4b74 style: allow devs to test both build and tests at the same time (#1707)
The docker:rebuild script rebuilds the docker image from scratch including the Docsify build, while the new one rebuilds only Docsify code and makes local re-testing faster.
2022-01-04 15:54:37 +08:00
Joe Pea 5cac06dd9c Merge pull request #1688 from docsifyjs/docker-local
test: for making test steady in docker locally.
2022-01-03 22:18:48 -08:00
Joe Pea aa91d9e475 Merge branch 'develop' into docker-local 2022-01-03 22:10:09 -08:00
Snyk bot 40e77490c6 fix: upgrade debug from 4.3.2 to 4.3.3 (#1692)
Snyk has created this PR to upgrade debug from 4.3.2 to 4.3.3.

See this package in npm:
https://www.npmjs.com/package/debug

See this project in Snyk:
https://app.snyk.io/org/anikethsaha/project/6efe7e04-4e52-497e-8ad5-570733cc577a?utm_source=github&utm_medium=referral&page=upgrade-pr
2021-12-21 15:29:04 +08:00
Koy 6fbff47761 Merge branch 'develop' into docker-local 2021-12-10 17:57:19 +08:00
i544693 c454335918 update: commands. 2021-12-10 16:41:41 +08:00
Joe Pea 47cd3b683b Merge pull request #1683 from iNuanfeng/develop
Fix: Theme preview in Mobile Chrome, Safari
2021-12-09 20:07:45 -08:00
暖风 33999774f1 Merge branch 'develop' into develop 2021-12-10 10:02:50 +08:00