Commit graph

3706 commits

Author SHA1 Message Date
Claudia Meadows
e15602ba49 Drop Istanbul to kill install warnings 2024-09-25 21:05:54 -07:00
Claudia Meadows
27d94544a2
Clean up the pull request template
Signed-off-by: Claudia Meadows <contact@claudiameadows.dev>
2024-09-25 21:04:32 -07:00
James Forbes
cfa890f685 Release Artifacts for v2.2.5
[skip ci]
2024-09-26 13:51:53 +10:00
Claudia Meadows
f2cd99027b
Remove assets/ - it's been migrated to https://github.com/MithrilJS/docs already. 2024-09-25 20:44:11 -07:00
dependabot[bot]
e5f897f8a2 Bump the normal group across 1 directory with 2 updates
Bumps the normal group with 2 updates in the / directory: [chokidar](https://github.com/paulmillr/chokidar) and [eslint](https://github.com/eslint/eslint).


Updates `chokidar` from 3.2.1 to 4.0.1
- [Release notes](https://github.com/paulmillr/chokidar/releases)
- [Commits](https://github.com/paulmillr/chokidar/compare/3.2.1...4.0.1)

Updates `eslint` from 8.9.0 to 8.57.1
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.9.0...v8.57.1)

---
updated-dependencies:
- dependency-name: chokidar
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: normal
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: normal
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-25 19:25:21 -07:00
kfule
0b8dd459dd Always keep key in vnode.attrs if it exists
Because vnode.attrs is never null by commit f9e5163
2024-09-25 19:24:55 -07:00
kfule
a644d9f7ad Remove code when vnode.attrs is null
Because vnode.attrs is never null by commit f9e5163
2024-09-25 19:24:55 -07:00
Claudia Meadows
d093e1422b
Add an optional field in preparation for making it required 2024-09-24 23:18:28 -07:00
Claudia Meadows
542946fd74
Fix and clarify workflow logic, add branch versioning
- `pr.yml` should've been deleted a long time ago. Its functionality
  was already elsewhere, and that's since been folded into `test.yml`.
- I added automatic `release-v*` and `main-v*` versioning.
- Renamed `merge.yml` to `push-release.yml` and `push-main.yml` to
  `pr-create-release.yml` so it's clearer what they're actually
  listening to. I also modified their display names.
2024-09-24 22:16:20 -07:00
Claudia Meadows
08f5ccfeda
Merge test and main pre-release flow into a single file 2024-09-24 21:24:48 -07:00
Claudia Meadows
abd7f86888
next -> main 2024-09-24 20:59:33 -07:00
Claudia Meadows
33e1562fc1
Kick unused dependencies, rest of docs bits 2024-09-24 19:36:58 -07:00
Claudia Meadows
61ad84c1d9
main -> release 2024-09-24 19:25:23 -07:00
Claudia Meadows
806cb99ead
npm audit fix 2024-09-24 19:24:16 -07:00
Claudia Meadows
3fea28e24d
Drop the old changelog - it doesn't need to exist here anymore. 2024-09-24 19:24:08 -07:00
James Forbes
455cccb3b5 Release Artifacts for v2.2.4
[skip ci]
2024-09-25 12:03:41 +10:00
Claudia Meadows
30d84f99e4
Fix dependabot config error 2024-09-24 19:01:14 -07:00
Claudia Meadows
20dbbe816d
Migrate to unified testing workflow 2024-09-24 18:57:00 -07:00
Claudia Meadows
745dfb614a
Simplify the test flow, drop EOL'd Node version 2024-09-24 16:45:48 -07:00
Claudia Meadows
9d7cf4d474
Remove an unused workflow 2024-09-24 16:39:42 -07:00
Claudia Meadows
24b1ed5175
Remove last traces of docs 2024-09-24 16:39:24 -07:00
Claudia Meadows
a0aae8f846
Remove examples 2024-09-24 16:39:03 -07:00
Claudia Meadows
e000cd0803
De-master the repo 2024-09-24 16:37:04 -07:00
Claudia Meadows
d32d59413e
Drop the docs and re-point to https://github.com/MithrilJS/docs 2024-09-24 14:19:23 -07:00
Claudia Meadows
53a4c2f3b4
Update dependabot to batch everything 2024-09-24 12:54:21 -07:00
Claudia Meadows
36c503a9d7
Restore pr-release stuff, fix target branch 2024-09-23 05:33:27 -07:00
Claudia Meadows
a4bf63d899
Remove the binary attribute from the lockfiles
It's causing rebases to be absolute nightmares, and they are designed to be very easily patched as text files.
2024-09-23 04:58:02 -07:00
Claudia Meadows
b8f5a10022
Update _post-comment.yml
Passed the secret wrong.
2024-09-23 04:56:16 -07:00
dependabot[bot]
700b9f85a1
Bump lint-staged from 13.2.1 to 15.2.10
Bumps [lint-staged](https://github.com/lint-staged/lint-staged) from 13.2.1 to 15.2.10.
- [Release notes](https://github.com/lint-staged/lint-staged/releases)
- [Changelog](https://github.com/lint-staged/lint-staged/blob/master/CHANGELOG.md)
- [Commits](https://github.com/lint-staged/lint-staged/compare/v13.2.1...v15.2.10)

---
updated-dependencies:
- dependency-name: lint-staged
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-23 04:56:00 -07:00
dependabot[bot]
bf842cec3f
Bump rimraf from 3.0.2 to 6.0.1
Bumps [rimraf](https://github.com/isaacs/rimraf) from 3.0.2 to 6.0.1.
- [Changelog](https://github.com/isaacs/rimraf/blob/main/CHANGELOG.md)
- [Commits](https://github.com/isaacs/rimraf/compare/v3.0.2...v6.0.1)

---
updated-dependencies:
- dependency-name: rimraf
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-23 04:55:42 -07:00
dependabot[bot]
a4670fd092
Bump glob from 7.1.4 to 11.0.0
Bumps [glob](https://github.com/isaacs/node-glob) from 7.1.4 to 11.0.0.
- [Changelog](https://github.com/isaacs/node-glob/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/node-glob/compare/v7.1.4...v11.0.0)

---
updated-dependencies:
- dependency-name: glob
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-23 04:55:29 -07:00
Claudia Meadows
05caaaf8f1
Update _npm-task.yml 2024-09-23 04:55:20 -07:00
dependabot[bot]
ac4ff1b67e
Bump gh-pages from 5.0.0 to 6.1.1
Bumps [gh-pages](https://github.com/tschaub/gh-pages) from 5.0.0 to 6.1.1.
- [Release notes](https://github.com/tschaub/gh-pages/releases)
- [Changelog](https://github.com/tschaub/gh-pages/blob/main/changelog.md)
- [Commits](https://github.com/tschaub/gh-pages/compare/v5.0.0...v6.1.1)

---
updated-dependencies:
- dependency-name: gh-pages
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-23 04:55:16 -07:00
Claudia Meadows
84ca0d862d
Create dependabot.yml 2024-09-23 04:55:09 -07:00
Claudia Meadows
436634b1fe
Revise issue templates 2024-09-23 04:55:09 -07:00
Claudia Meadows
dcb992071f
Migrate to issue forms 2024-09-23 04:55:08 -07:00
Claudia Meadows
8673cd987d
Add support for jsDelivr CDN
Fixes #2883, but by using a special case.
2024-09-23 04:55:08 -07:00
Claudia Meadows
57c331c6b4
Fix GitHub actions to work a little better 2024-09-23 04:55:07 -07:00
Claudia Meadows
a4db1a1116
Migrate to maintained html-minifier fork 2024-09-23 04:54:51 -07:00
Claudia Meadows
3e3c8cf047
Update ospec 2024-09-23 04:54:25 -07:00
Claudia Meadows
8865d09457
Update README.md 2024-09-23 04:54:24 -07:00
Claudia Meadows
8505916ebc
Add code owners, add triage ping, fix workflows 2024-09-23 04:54:24 -07:00
Claudia Meadows
2a7f31acb8
Fix some outstanding bugs in the docs linter. 2024-09-23 04:54:23 -07:00
Claudia Meadows
593562ab44
Fix outstanding docs issues, so everything checks (again). 2024-09-23 04:54:23 -07:00
Claudia Meadows
5af0693fea
Fuse the command boilerplate into the relative subcommands 2024-09-23 04:54:22 -07:00
Claudia Meadows
0d095d1373
Rewrite docs linter
1. I want to set the stage to deal with #2898 properly.
2. `request` was deprecated years ago. Decided that it's better to just
   move to native Node.js APIs in its place.
3. `glob` was outdated, and it's easier to just toss it than to upgrade
   across a major version.
4. I switched to using Marked's "lexer" directly so I'm not fussing
   with the complexity of renderers. This of course necessitated a more
   complex file processor as its "lexer" is really an AST parser.

I also decided to go a few steps further:
- Drop the cache to simplify everything. I might reverse this later,
  but just caching URLs per-page should be enough to prevent the world
  from crashing down.
- Drop some more dependencies, so I don't have to come back to this
  later nearly as quickly.
- Upgrade to a more modern language version in the scripts.
- Update Marked. It was super outdated.
- Add line and column numbers to the warnings. That took quite a bit of
  work, thanks to a missing Marked feature plus a bug in Marked.
2024-09-23 04:54:17 -07:00
Claudia Meadows
3a633ce99c
Update vnodes.md 2024-09-23 04:54:06 -07:00
Claudia Meadows
1b0899b469
Migrate to Node 20, clean up workflows (#2902)
Tests still appear to fail per #2898. Unfortunately, I need actions/runner#2347 to ignore the test failures properly - I need them to be warnings, not hard errors.
2024-09-23 04:54:05 -07:00
Claudia Meadows
2b687a31ea
Tolerate docs failures
This way, pull requests are no longer blocked by https://github.com/MithrilJS/mithril.js/issues/2898
2024-09-23 04:54:05 -07:00
Claudia Meadows
5351b9b973
Delete .github/workflows/auto-merge.yml
It's not working, and we don't have enough dependencies to make the automation worth the maintenance effort. Between that and a vulnerability, I'm tossing this for now.
2024-09-23 04:54:04 -07:00