Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 1.1.0 #21

Merged
merged 182 commits into from
Dec 2, 2024
Merged
Changes from 1 commit
Commits
Show all changes
182 commits
Select commit Hold shift + click to select a range
fe2b929
refactor: move untested code into testable class
carbontwelve Apr 29, 2024
d59a624
chore: tidy
carbontwelve Apr 29, 2024
2700ef3
docs: document use of eleventy.extensionmap
carbontwelve Apr 29, 2024
876c048
docs: document use of eleventy.after
carbontwelve Apr 29, 2024
0da22f2
chore: update ava version
carbontwelve Apr 29, 2024
cbc7429
docs: set 11ty compatibility
carbontwelve Apr 29, 2024
a0c3b7d
docs: document compileTemplate function
carbontwelve Apr 29, 2024
ecf7c97
chore: wrap invocation of computeBacklinks in closure to preserve "th…
carbontwelve Apr 29, 2024
aac72c1
feat: improve test coverage through programmatic use of 11ty
carbontwelve Apr 29, 2024
3d124ad
chore: test on Linux, Windows and MacOS
carbontwelve Apr 29, 2024
4cc8bcd
Merge pull request #20 from photogabble/feature/improve-testing
carbontwelve Apr 29, 2024
05bfab1
chore: update checkout and setup-node action functions
carbontwelve Apr 29, 2024
cde1f11
chore: update node version reference
carbontwelve Apr 29, 2024
ab82560
chore: drop support for Node v14
carbontwelve Apr 29, 2024
915c668
chore: add test with node 20
carbontwelve Apr 29, 2024
3fe4ba2
chore: publish using node 20
carbontwelve Apr 29, 2024
1824b9c
chore: set ava config
carbontwelve Apr 29, 2024
5393b35
chore: split normalize into helpers.js and use to pass tests on windows
carbontwelve Apr 29, 2024
3ca5083
chore: add isArray check
carbontwelve Apr 30, 2024
d623964
chore: normalize by stripping newlines
carbontwelve Apr 30, 2024
378f069
chore: add test fixture for programmatic 11ty
carbontwelve Apr 30, 2024
f4f5c6e
feat: add html link parser...
carbontwelve Apr 30, 2024
3828cc9
refactor: outboundLinks is computed instead of backlinks...
carbontwelve Apr 30, 2024
4a987cd
chore: update test to be aware of new fixture structure...
carbontwelve Apr 30, 2024
6406f6e
Merge pull request #22 from photogabble/patch/enhanced-testing
carbontwelve Apr 30, 2024
bad3660
chore: fix paths on windows
carbontwelve Apr 30, 2024
ef1eb07
chore: normalise fixture paths for windows
carbontwelve May 1, 2024
26da3f3
chore: add debug output for Github Actions
carbontwelve May 1, 2024
a70b758
chore: swap arguments for ava.is. First argument is expected, second …
carbontwelve May 1, 2024
0c2b32f
chore: export Interlinker class directly
carbontwelve May 1, 2024
3860d62
chore: update types to include LinkMeta and PageDirectoryService
carbontwelve May 1, 2024
a097474
doc: document type usage
carbontwelve May 1, 2024
60f02e4
refactor: page lookup into service
carbontwelve May 1, 2024
87a339d
refactor: wikilink parser to use page lookup service for href and title
carbontwelve May 1, 2024
d599e8e
doc: add todo items for 1.1.0
carbontwelve May 1, 2024
c312533
refactor: update markdown parse and render to use wikilink cache for …
carbontwelve May 1, 2024
85c046e
refactor: update tests to be aware of changed functionality
carbontwelve May 1, 2024
f8e1c7c
chore: npm update
carbontwelve May 1, 2024
5df55e8
refactor: remove linkMapCache and deadWikiLinks arguments from wikili…
carbontwelve May 1, 2024
b09e11a
doc: add reference to oleeskild/digitalgarden
carbontwelve May 1, 2024
b762c59
chore: links href is already set
carbontwelve May 1, 2024
ac4e45a
refactor: use unableToLocateEmbedFn when embed content not found
carbontwelve May 1, 2024
7d541b5
chore: get 100% test coverage on find-page.js
carbontwelve May 1, 2024
716b5f5
chore: add test that inline rule correctly displays anchor links
carbontwelve May 1, 2024
7d20e2c
doc: reference created issues for todo items
carbontwelve May 1, 2024
7874dee
chore: add sinon dev-dependency for spying on console log
carbontwelve May 1, 2024
ae44b1a
feat(#23): add detailed bad link report
carbontwelve May 1, 2024
6499b07
Merge pull request #26 from photogabble/patch/v1.1.0/#23
carbontwelve May 1, 2024
aaee9fc
feat: v1.1.0-rc1 next release
carbontwelve May 2, 2024
00749b7
chore: add reference to PR
carbontwelve May 2, 2024
0d6a7e2
chore: add link to next release branch
carbontwelve May 2, 2024
f2eaaec
chore: add failing test for #27
carbontwelve May 2, 2024
ca1a630
refactor: change how global data is assigned
carbontwelve May 2, 2024
ec4fee2
bugfix: use inputPath instead of fileSlug so we dont exclude root index
carbontwelve May 2, 2024
822619c
chore: remove unused import
carbontwelve May 2, 2024
8451616
doc: add todo for #13
carbontwelve May 2, 2024
7434e8a
doc: add todo for aliases
carbontwelve May 2, 2024
87ff7f3
chore: remove unused function
carbontwelve May 2, 2024
43f1f67
refactor: test to have root index to test fix in ec4fee2e
carbontwelve May 2, 2024
07af0e0
bugfix(#27): pass page object to compileTemplate
carbontwelve May 2, 2024
4509d5d
Merge pull request #29 from photogabble/patch/v1.1.0/#27
carbontwelve May 2, 2024
d55e8cb
doc: document bugfixes
carbontwelve May 2, 2024
b6dd777
chore: add failing test for #28
carbontwelve May 2, 2024
36736b2
bugfix(#28) dont parse page links if excluded from collections
carbontwelve May 2, 2024
ce56d0e
doc(#28) Pages Excluded from Collections
carbontwelve May 2, 2024
3b11b5b
Merge pull request #30 from photogabble/patch/v1.1.0/#28
carbontwelve May 2, 2024
c5da43c
chore: update changelog
carbontwelve May 2, 2024
14af35a
feat: v1.1.0-rc2 next release
carbontwelve May 2, 2024
de3195d
chore: added breaking test for #31
carbontwelve May 2, 2024
86e9864
doc: document how wikilink parser works
carbontwelve May 3, 2024
d4ef479
doc: add todo item
carbontwelve May 3, 2024
ea979aa
chore: test for anchor links
carbontwelve May 3, 2024
50b0f0b
feat: allow escaping of # in page reference
carbontwelve May 3, 2024
8146215
doc: add info on Linking to fragment identifiers
carbontwelve May 3, 2024
41b7e68
Merge pull request #32 from photogabble/patch/v1.1.0/#31
carbontwelve May 3, 2024
90b6af2
bugfix(#31): only compile embeds if link exists
carbontwelve May 3, 2024
04d83de
Merge pull request #35 from photogabble/patch/v1.1.0/#31
carbontwelve May 3, 2024
b4ab575
doc(#35): update CHANGELOG.md
carbontwelve May 3, 2024
0c052e5
bugfix(#37): broken dead-links lookup due to typo
carbontwelve May 3, 2024
933b0bc
doc(#37): update CHANGELOG.md
carbontwelve May 3, 2024
e603481
Merge pull request #38 from photogabble/patch/v1.1.0/#37
carbontwelve May 3, 2024
a1676db
chore: add breaking test for #39
carbontwelve May 3, 2024
ebb8263
chore: install entities and update markdown-it
carbontwelve May 3, 2024
c8a1cac
bugfix(#39): encode html entities in link title
carbontwelve May 3, 2024
399b55f
doc(#39): update CHANGELOG.md
carbontwelve May 3, 2024
1b1e4cb
Merge pull request #40 from photogabble/patch/v1.1.0/#39
carbontwelve May 3, 2024
608c0a1
feat: v1.1.0-rc3 next release
carbontwelve May 3, 2024
10ea08e
chore: add breaking test for #41
carbontwelve May 3, 2024
477e212
feat: update findByLink to return lookup meta
carbontwelve May 4, 2024
3d1d74e
chore: modify test so alias is not equal to slug
carbontwelve May 4, 2024
f46e8d5
bugfix(#41): use alias as link text if lookup source
carbontwelve May 4, 2024
787a379
doc(#41): update CHANGELOG.md
carbontwelve May 4, 2024
24175a6
Merge pull request #42 from photogabble/patch/v1.1.0/#41
carbontwelve May 4, 2024
a8d876b
chore: remove TODO completed by #41
carbontwelve May 4, 2024
9530323
refactor: remove need to slugify for file matching.
carbontwelve May 4, 2024
0216401
chore: added failing test for #13
carbontwelve May 4, 2024
c173f77
bugfix: backlinks should be unique
carbontwelve May 4, 2024
4f52063
feat(#13) add wikilink page lookup by relative or absolute path
carbontwelve May 4, 2024
c344e55
chore: remove dead code
carbontwelve May 4, 2024
542b11e
doc(#13): document linking to files by path
carbontwelve May 4, 2024
081a012
doc(#13): update CHANGELOG.md
carbontwelve May 4, 2024
d22e8a3
Merge pull request #44 from photogabble/patch/v1.1.0/#13
carbontwelve May 4, 2024
b73de92
chore: add passing test for #43
carbontwelve May 4, 2024
8480291
doc: add todo items
carbontwelve May 5, 2024
52c9fce
feat(#19): implement custom resolving functions
carbontwelve May 8, 2024
0264591
chore: remove dead code
carbontwelve May 8, 2024
39c5d70
doc: document types
carbontwelve May 8, 2024
9a4aca9
chore: fix typo
carbontwelve May 8, 2024
a70a513
chore: run resolving fn before mutating backlinks
carbontwelve May 8, 2024
6e8ba59
doc(#19): document custom resolving functions
carbontwelve May 8, 2024
3a790af
Merge pull request #47 from photogabble/patch/v1.1.0/#19
carbontwelve May 8, 2024
459d1bd
doc(#19): update CHANGELOG.md
carbontwelve May 8, 2024
5c8f04c
refactor: re-order page lookup logic so title > slug
carbontwelve May 8, 2024
5000a77
bugfix: when escaping # or :, make sure to remove the escape from wik…
carbontwelve May 8, 2024
87aac8e
refactor: remove internal dependency upon slugify
carbontwelve May 8, 2024
edafe71
Merge pull request #48 from photogabble/patch/v1.1.0/remove-slugify
carbontwelve May 8, 2024
2eac79e
doc: update CHANGELOG.md
carbontwelve May 8, 2024
c0f8f7a
feat(#45): make dead link report visibility configurable
carbontwelve May 8, 2024
a4c80d5
bugfix: don't add link to dead links if custom resolving fn in use...
carbontwelve May 8, 2024
586a0a0
chore: remove now unused compiledEmbeds
carbontwelve May 8, 2024
e237992
chore: remove completed todo items
carbontwelve May 8, 2024
81a0439
chore: remove reference to slugifyFn
carbontwelve May 8, 2024
5cdf0de
chore: tidy, remove dead code
carbontwelve May 8, 2024
5f68271
feat: write .dead-links.json if configured to do so
carbontwelve May 9, 2024
92fcf72
doc(#45): document dead link report functionality
carbontwelve May 9, 2024
26d33bb
Merge branch 'v1.1.0' into patch/v1.1.0/#45
carbontwelve May 9, 2024
f234d33
doc(#45): update CHANGELOG.md
carbontwelve May 9, 2024
d11e2ed
Merge pull request #49 from photogabble/patch/v1.1.0/#45
carbontwelve May 9, 2024
e6ddb86
feat(#24): clear internal state before each 11ty build
carbontwelve May 10, 2024
aac0cf8
doc(#24): update CHANGELOG.md
carbontwelve May 10, 2024
ecf8f18
Merge pull request #51 from photogabble/patch/v1.1.0/#24
carbontwelve May 10, 2024
eb019a3
feat(#50): when lookup fn not found, only error if page also not found
carbontwelve May 10, 2024
a6f643b
dov(#50): update CHANGELOG.md
carbontwelve May 10, 2024
78d122a
Merge pull request #52 from photogabble/patch/v1.1.0/#50
carbontwelve May 10, 2024
c3bc059
chore: tidy
carbontwelve May 10, 2024
e8074a8
feat: v1.1.0-rc4 next release
carbontwelve May 10, 2024
3a75e6b
bugfix(#54): update regex to not match on new line
carbontwelve May 10, 2024
aa999e6
Merge pull request #55 from photogabble/patch/v1.1.0/#54
carbontwelve May 10, 2024
5a5288d
doc(#54): update CHANGELOG.md
carbontwelve May 10, 2024
086cf4b
chore: add additional wikilink regex test
carbontwelve May 11, 2024
56cd3d7
bugfix(#33): stop EleventyRenderPlugin crashing in --watch mode
carbontwelve May 11, 2024
a86b35e
doc(#33): update CHANGELOG.md
carbontwelve May 11, 2024
7c7a619
Merge pull request #56 from photogabble/patch/v1.1.0/#33
carbontwelve May 11, 2024
5a8e936
doc(#25): add stubUrl to options type
carbontwelve May 11, 2024
da908fc
chore(#25): add failing tests for new functionality
carbontwelve May 11, 2024
8306e0f
chore(#25): /stubs -> /stubs/
carbontwelve May 11, 2024
4f9b2ac
feat(#25): make stub post destination configurable
carbontwelve Oct 25, 2024
c18851a
Merge pull request #59 from photogabble/patch/v1.1.0/#25
carbontwelve Oct 25, 2024
a116cab
chore: drop support for node 16.x, add test coverage for node 21.x
carbontwelve Oct 25, 2024
505eee5
refactor(#57): CommonJS -> ESM
carbontwelve Oct 25, 2024
0795363
bugfix(#57): use async template.read() to obtain page content...
carbontwelve Oct 25, 2024
99f901d
doc: tag todo for #36
carbontwelve Oct 25, 2024
5167ecd
refactor(#57): CommonJS -> ESM
carbontwelve Oct 25, 2024
0de402d
Merge pull request #60 from photogabble/patch/v1.1.0/#57
carbontwelve Oct 25, 2024
c0ec3c4
chore: update deprecated actions
carbontwelve Oct 25, 2024
ff2bee3
feat: v1.1.0-rc5 next release
carbontwelve Oct 25, 2024
b092297
chore: add .npmignore
carbontwelve Oct 25, 2024
5d8e5e6
feat(#62): aliases can be either string or array
carbontwelve Oct 27, 2024
e9aed09
docs(#62): document change to aliases lookup
carbontwelve Oct 27, 2024
4417e12
Merge pull request #63 from photogabble/patch/v1.1.0/#62
carbontwelve Nov 6, 2024
d7e319a
chore: ignore built cjs file
carbontwelve Nov 6, 2024
f3dc0a5
feat(#53): add test for markdown parser ignoring wikilink within code…
carbontwelve Nov 7, 2024
f22cb1b
TDD(#53): add failing test for feature
carbontwelve Nov 7, 2024
4fec5db
chore(#53): require jsdom
carbontwelve Nov 7, 2024
81589a0
chore(#53): fix typo
carbontwelve Nov 7, 2024
4254a18
bugfix: correct expected and actual values
carbontwelve Nov 7, 2024
939e151
feat(#53): use JSDOM to parse internal anchor tags
carbontwelve Nov 7, 2024
3f81a6a
Merge pull request #64 from photogabble/patch/v1.1.0/#53
carbontwelve Nov 7, 2024
81b224f
bugfix(#65): fix test, it now fails correctly...
carbontwelve Nov 28, 2024
cf6ae9f
docs: add todo for #65
carbontwelve Nov 28, 2024
feb6ccc
chore: add test for #66...
carbontwelve Nov 29, 2024
52e773f
chore: wrap in <figure> just to be sure
carbontwelve Nov 29, 2024
190ac5b
feat(#66): correctly compile embed templates
carbontwelve Nov 29, 2024
ee16917
Merge pull request #67 from photogabble/patch/v1.1.0/#66
carbontwelve Nov 29, 2024
f3865f9
Merge branch 'v1.1.0' into patch/v1.1.0/#65
carbontwelve Nov 29, 2024
5ab740a
chore(TTD): update test to fail until bug is fixed
carbontwelve Nov 29, 2024
6f219c3
refactor(#65): add install fn for consistency
carbontwelve Dec 2, 2024
5a3d9a7
chore(#65): remove <p> wrapping embeds, tests now fail
carbontwelve Dec 2, 2024
204a0fd
feat(#65): add wiki link embed block rule
carbontwelve Dec 2, 2024
6b61fae
chore(#53): additional test for parsing outside of code blocks
carbontwelve Dec 2, 2024
c5d9fe0
Merge pull request #68 from photogabble/patch/v1.1.0/#65
carbontwelve Dec 2, 2024
adcbeb5
chore: add test for hash in page title
carbontwelve Dec 2, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
doc(#19): update CHANGELOG.md
carbontwelve committed May 8, 2024
commit 459d1bd64df18f96a58a32cc6e641727464c74db
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

- Add support for custom rendering functions (#47)
- Add support for referencing files by path (#44)
- Bugfix use alias as link text if it's the lookup source (#42)
- Bugfix HTML encode link titles (#40)