Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
113 commits
Select commit Hold shift + click to select a range
da2deae
changed package name to denote DAISY fork
danielweck Jan 19, 2021
bdcf58d
initial patching (scripts/axe-patch-is-aria-role-allowed.js scripts/a…
danielweck Jan 19, 2021
5830ea9
Mocha fast bail
danielweck Jan 19, 2021
8b3740d
semver is same as Axe Core but with DAISY addon suffix. Also added NP…
danielweck Jan 19, 2021
723b98a
semver is reflected in auto-generated doc
danielweck Jan 19, 2021
2e70235
added unit tests for implicit/explicit and DPUB role parsing
danielweck Jan 19, 2021
4ce706d
Scoped NPM package name, and files selection for NPM publish
danielweck Jan 19, 2021
1c9a0b2
NPM public publish
danielweck Jan 19, 2021
6590f7f
Merge branch 'v4.1.1_DAISY' into v4.1.2_DAISY
danielweck Feb 16, 2021
ea67596
rules MD
danielweck Feb 16, 2021
e04a57a
ignore epub:type
danielweck Feb 18, 2021
af3e209
Merge branch 'v4.1.2_DAISY' into v4.1.3_DAISY
danielweck Mar 10, 2021
161d97e
Unit tests require package.json version without canary or arbitrary e…
danielweck Mar 10, 2021
2a6ab7e
landmark-one-main now with page-no-duplicate-main in addition to page…
danielweck Mar 10, 2021
dae726f
doc: landmark-one-main now with page-no-duplicate-main in addition to…
danielweck Mar 10, 2021
2b5bb2d
intermediary commit (Axe hook seems to stash things in the working co…
danielweck Mar 10, 2021
6121f22
main element and div with role
danielweck Mar 10, 2021
10be613
added unit test for landmark-no-duplicate-main to pass content with n…
danielweck Mar 10, 2021
72707cf
matching-aria-role check port (untranslated)
danielweck Mar 10, 2021
45529c1
epub-type-has-matching-role pagebreak-label ported from Ace (translat…
danielweck Mar 10, 2021
5e5e6a7
working XHTML unit tests for EPUB in Axe! (port from Ace)
danielweck Mar 11, 2021
e460f1d
page-break label test (check)
danielweck Mar 11, 2021
da8e26c
Merge branch 'v4.1.3_DAISY' into v4.1.4_DAISY
danielweck Apr 6, 2021
908db3d
fixed semantic versioning handling (major.minor.patch-prerelease.buil…
danielweck Apr 6, 2021
9d64963
fixed dd, dt, dl, dfn lookup table
danielweck Apr 6, 2021
2565b38
re-instated DAISY mods
danielweck Apr 6, 2021
d61e3dd
DAISY landmark-one-main rule really is "has a unique main landmark ..…
danielweck Apr 6, 2021
e8e5645
get role type is super class role now (DAISY patch)
danielweck Apr 6, 2021
20748a7
super class role checks
danielweck Apr 6, 2021
3ce8040
owned roles fix for biblioentry and doc-endnote
danielweck Apr 6, 2021
4140347
DPUB ARIA 1.1 align https://w3c.github.io/dpub-aria/#changelog
danielweck Apr 7, 2021
05d0726
DPUB ARIA 1.1. deprecate doc-biblioentry and doc-endnote
danielweck Apr 7, 2021
c5005ba
further relaxation of doc-endnote and doc-biblioentry (deprecated in …
danielweck Apr 7, 2021
7673aaa
version bump and URL update
danielweck Apr 7, 2021
1a8dd7a
fixes landmark-unique (DPUB roles) https://github.com/daisy/ace/issue…
danielweck Apr 7, 2021
d159e51
version bump
danielweck Apr 7, 2021
09b6abe
Axe landmark unique fixes (weird DOM parser bug ignores some element …
danielweck Apr 7, 2021
a8d882a
added unit test for landmark unique (broken DOM parser it seems)
danielweck Apr 7, 2021
491abc8
final round of fixes for landmark unique (rule filter takes precedenc…
danielweck Apr 7, 2021
21375e0
version bump
danielweck Apr 7, 2021
f1eee5b
Merge branch 'v4.1.4_DAISY' into v4.2.3_DAISY
danielweck Jun 23, 2021
3c08e8c
added missing NPM publish files
danielweck Jun 23, 2021
6cf8250
removed unnecessary files
danielweck Jun 23, 2021
8144048
removed another useless file
danielweck Jun 23, 2021
205efb0
dpub roles were not taken into account for aria-label prohibited attr…
danielweck Jun 23, 2021
73d2cd9
version bump
danielweck Jun 23, 2021
9017f37
Merge branch 'v4.2.3_DAISY' into v4.3.3_DAISY
danielweck Aug 30, 2021
19dd52c
doc update (auto-gen)
danielweck Aug 30, 2021
6b68cb1
ChromeDriver version update (90 -> 92)
danielweck Aug 30, 2021
327b8c0
'null' origin fix, see https://github.com/daisy/ace/issues/358#issuec…
danielweck Sep 14, 2021
4b0dd53
version bump to 4.3.3-canary.2
danielweck Sep 14, 2021
4b536ef
Merge branch 'v4.3.3_DAISY' into v4.3.5_DAISY
danielweck Nov 4, 2021
16b88b9
auto-generated rules doc
danielweck Nov 4, 2021
aacc525
Firefox and Chrome tests pass
danielweck Nov 4, 2021
c7040a0
Merge branch 'v4.3.5_DAISY' into v4.4.0_BASE
danielweck Feb 2, 2022
d36c2e0
fixed Axe's upstream deprecation bug
danielweck Feb 2, 2022
a4eee12
Merge branch 'v4.4.0_DAISY' into v4.4.2_DAISY
danielweck May 19, 2022
c6c697e
fix: epub:type with deprecated ARIA role does not trigger matching ru…
danielweck Jul 7, 2022
69c06a5
Merge branch 'v4.4.2_DAISY' into v4.5.2_DAISY
danielweck Nov 28, 2022
48c3a7d
fix(ci): disabled prettifier GitHub Action workflow
danielweck Nov 28, 2022
c04fd23
fix(ci): second attempt to disable GitHub Action workflow job (YAML c…
danielweck Nov 28, 2022
a10e42d
fix(ci): GitHub Action disable?
danielweck Nov 28, 2022
4420008
chore(tests): fast fail / bail out on first error
danielweck Nov 28, 2022
89d5530
chore: attempt to rationalise doc-bibliography/entry and doc-endnote(s)
danielweck Nov 28, 2022
9e2e6b2
chore: remove console log
danielweck Nov 28, 2022
b71f957
Merge branch 'v4.5.2_DAISY' into v4.7.2_DAISY
danielweck Jun 2, 2023
29e5bcb
all tests pass (well, minus the removed color contrast stuff which fa…
danielweck Jun 2, 2023
9c9f850
ChromeDriver latest (114)ChromeDriver latest (114)
danielweck Jun 2, 2023
de68134
Merge branch 'v4.7.2_DAISY' into v4.9.1_DAISY
danielweck May 8, 2024
9789ea0
cleaned up code for better diff analysis (unit tests pass, Chrome tes…
danielweck May 8, 2024
2e8c7bc
fixed unit test
danielweck May 8, 2024
187d1b1
fixed further unit tests (no idea why there are false negatives / pos…
danielweck May 8, 2024
316db40
fixed Chrome headless vs. webdriver unit test discrepancies
danielweck May 9, 2024
46f60f0
fixed npm run test:chrome and npm run test (both work now, from fold…
danielweck May 9, 2024
c1b32a9
fix: added missing JA translation
danielweck Jun 25, 2024
05a6278
chore(release): version bump (added JA strings)
danielweck Jun 25, 2024
b6814c1
Merge branch 'v4.7.2_DAISY' into v4.9.1_DAISY
danielweck Jun 25, 2024
dcc4130
Merge branch 'v4.9.1_DAISY' into v4.10.0_DAISY
danielweck Aug 22, 2024
54e1d1a
pass tests
danielweck Aug 22, 2024
f1699a5
Merge branch 'v4.10.0_DAISY' into v4.10.1_DAISY
danielweck Oct 22, 2024
a4dd458
chore(lint): corrected Prettier warnings in XHTML files
danielweck Oct 22, 2024
c187ab4
fix(tests): Chrome pass, ChromeHeadless fails (colour contrast, as us…
danielweck Oct 22, 2024
1a5b4a8
fix(tests): Chrome and ChromeHeadless parity (colour contrast fixed) …
danielweck Oct 23, 2024
66be764
chore(tests): removed unused HEADLESS code (PS: Firefox fails at clie…
danielweck Oct 23, 2024
688d9a3
Merge branch 'v4.10.1_DAISY' into v4.10.2_DAISY
danielweck Nov 1, 2024
6655886
fix: disable failing Firefox tests
danielweck Nov 1, 2024
6ab141a
feat: added Flox/Nix development environment tooling dependencies (No…
danielweck Nov 26, 2024
3dbfd9e
fix: Flox/Nix base absolute path to resolve other PATHs cannot contai…
danielweck Nov 27, 2024
09bba5b
chore(dev): Flox/Nix config [skip ci]
danielweck Dec 3, 2024
2df1ca8
fix(l10n): incorrect desc VS description JSON property key, updated J…
danielweck Dec 5, 2024
a04a67f
fix: updated Chrome webdriver downloader method (via Puppeteer)
danielweck Dec 5, 2024
6af5d9c
chore(release): version bump
danielweck Dec 5, 2024
97fc9c7
Flox/Nix update (dev tooling)
danielweck Jan 21, 2025
4c95bff
fix: epub:type non-XML parsing fallback for pagebreak role
danielweck Feb 4, 2025
b7aa284
fix(lint): HTML formatting
danielweck Feb 4, 2025
ba9add0
fix: EPUB pagebreak in addition to title and ARIA-label allows ARIA-l…
danielweck Feb 4, 2025
500e216
chore(release): version bump
danielweck Feb 4, 2025
a8ab5a4
chore(dev): Flox/Nix lockfile update [skip ci]
danielweck Oct 7, 2025
6707995
Merge branch 'v4.10.2_DAISY' into v4.11.1_DAISY
danielweck Jan 9, 2026
168bde4
minor change to test commit hook
danielweck Jan 9, 2026
385c5b8
reinstated Husky manually (pre-commit hook)
danielweck Jan 9, 2026
439ee9a
chore(dev): Flox/Nix updates
danielweck Feb 12, 2026
623e532
chore(NPM): package updates, lockfile
danielweck Feb 12, 2026
8e97355
chore(doc): added test NPM commands
danielweck Feb 12, 2026
21474b0
chore(doc): Chrome driver paths
danielweck Feb 12, 2026
eb04d00
fix: fallback to CHROME_BIN in ChromeDriver hookup
danielweck Feb 12, 2026
ff953c8
fix: Chrome driver path (VM filesystem borked the diff in previous co…
danielweck Feb 12, 2026
4bbf077
chore(dev): example single-test command line
danielweck Feb 12, 2026
4811155
fix: Chrome driver path (VM filesystem borked the diff in previous co…
danielweck Feb 12, 2026
df49817
fix: color contrast tests woes
danielweck Feb 12, 2026
1028de3
fix: re-instate color contrast original unit test
danielweck Feb 12, 2026
a5df3f6
chore(doc): Google non-headless runner profile purge and zombie proce…
danielweck Feb 12, 2026
4eea567
chore(dev): comments
danielweck Feb 12, 2026
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
4 changes: 4 additions & 0 deletions .flox/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
run/
cache/
lib/
log/
4 changes: 4 additions & 0 deletions .flox/env.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"name": "axe-core-daisy",
"version": 1
}
157 changes: 157 additions & 0 deletions .flox/env/manifest.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,157 @@
{
"lockfile-version": 1,
"manifest": {
"version": 1,
"install": {
"nodejs_24": {
"pkg-path": "nodejs_24"
}
},
"vars": {
"CLICOLOR": "1",
"FLOX_DISABLE_METRICS": "true",
"FLX_VERBOSE": "${FLOX_VERBOSE:-}"
},
"hook": {
"on-activate": "[[ ! -z \"${FLX_VERBOSE}\" ]] && echo \"##################################################\";\n[[ ! -z \"${FLX_VERBOSE}\" ]] && echo \"########## FLOX ACTIVATE...\";\n\n# alias lss='ls -alshF --color=auto'\nlss () {\n command ls -alshF --color=auto \"$@\"\n}\n\n# PWD=$(pwd);\n# [[ ! -z \"${FLX_VERBOSE}\" ]] && echo \"-----> PWD: ${PWD}\";\n# unset PWD\n\n#FLOX_ENV_PROJECT\n#_FLOX_ENV_LOG_DIR\n#FLOX_CACHE_DIR=\"$(dirname ${FLOX_ENV_CACHE})\"\n#FLOX_CACHE_DIR=\"$(realpath ${FLOX_ENV_CACHE})\"\nFLOX_CACHE_DIR=\"${FLOX_ENV_CACHE}\"\n[[ ! -z \"${FLX_VERBOSE}\" ]] && echo \"-----> FLOX_CACHE_DIR: ${FLOX_CACHE_DIR}\";\n\nif [[ ! -z \"${FLX_VERBOSE}\" ]]; then\n\necho \"=====> NODE VERSION: $(node --version)\";\nWHICH_NODE=$(which node);\necho \".....> NODE WHICH: ${WHICH_NODE}\";\nlss \"${WHICH_NODE}\";\nunset WHICH_NODE\n\necho \"=====> NPM VERSION (init): $(npm --version)\";\nWHICH_NPM=$(which npm);\necho \".....> NPM WHICH: ${WHICH_NPM}\";\nlss \"${WHICH_NPM}\";\nunset WHICH_NPM\n\necho \"-----> NPM CONFIG PREFIX (init): $(npm config get prefix)\";\necho \"-----> NPM_CONFIG_PREFIX (init): ${NPM_CONFIG_PREFIX}\";\n\necho \"-----> NPM CONFIG CACHE (init): $(npm config get cache)\"\necho \"-----> NPM_CONFIG_CACHE (init): ${NPM_CONFIG_CACHE}\";\n\nfi\n\n# envName=\"${_FLOX_ACTIVE_ENVIRONMENTS##:*}\";\n#echo \"${envName}\";\n#export NPM_CONFIG_PREFIX=\"/tmp/${envName}-npm\";\n\nexport NPM_CONFIG_PREFIX=\"${FLOX_CACHE_DIR}/NPM_PREFIX\";\n#### rm -rf \"$NPM_CONFIG_PREFIX\";\nmkdir -p \"$NPM_CONFIG_PREFIX\";\nif [[ ! -z \"${FLX_VERBOSE}\" ]]; then\necho \"-----> NPM CONFIG PREFIX: $(npm config get prefix)\";\necho \"-----> NPM_CONFIG_PREFIX: ${NPM_CONFIG_PREFIX}\";\nlss \"$NPM_CONFIG_PREFIX\";\nlss \"$NPM_CONFIG_PREFIX/bin\";\nlss \"$NPM_CONFIG_PREFIX/lib\";\nlss \"$NPM_CONFIG_PREFIX/lib/node_modules\";\nfi\n\nexport NPM_CONFIG_CACHE=\"${FLOX_CACHE_DIR}/NPM_CACHE\";\n#### rm -rf \"$NPM_CONFIG_CACHE\";\nmkdir -p \"$NPM_CONFIG_CACHE\";\nif [[ ! -z \"${FLX_VERBOSE}\" ]]; then\necho \"-----> NPM CONFIG CACHE: $(npm config get cache)\"\necho \"-----> NPM_CONFIG_CACHE: ${NPM_CONFIG_CACHE}\";\nlss \"$NPM_CONFIG_CACHE\";\nfi\n\nunset FLOX_CACHE_DIR\n\n[[ ! -z \"${FLX_VERBOSE}\" ]] && echo \"-----> NODE_PATH (init): ${NODE_PATH}\";\nexport NODE_PATH=\"$NPM_CONFIG_PREFIX/lib/node_modules${NODE_PATH:+:$NODE_PATH}\";\n[[ ! -z \"${FLX_VERBOSE}\" ]] && echo \"-----> NODE_PATH: ${NODE_PATH}\";\n\nexport PATH=\"$NPM_CONFIG_PREFIX/bin:$PATH\";\n\nnpm install -g npm --foreground-scripts 1>/dev/null\nnpm install -g npm-check-updates --foreground-scripts 1>/dev/null\n"
},
"profile": {
"common": "[[ ! -z \"${FLX_VERBOSE}\" ]] && echo \"##################################################\";\n[[ ! -z \"${FLX_VERBOSE}\" ]] && echo \"########## FLOX PROFILE COMMON (${SHELL})...\";\n\nalias lss='ls -alshF --color=auto'\nalias flx='flox activate'\nalias flxx='FLOX_VERBOSE=1 flox activate'\n\n# PWD=$(pwd);\n# [[ ! -z \"${FLX_VERBOSE}\" ]] && echo \"-----> PWD: ${PWD}\";\n# unset PWD\n\nif [[ ! -z \"${FLX_VERBOSE}\" ]]; then\n\necho \"=====> NODE VERSION: $(node --version)\";\nWHICH_NODE=$(which node);\necho \".....> NODE WHICH: ${WHICH_NODE}\";\nlss \"${WHICH_NODE}\";\nunset WHICH_NODE\n\necho \"=====> NPM VERSION: $(npm --version)\";\nWHICH_NPM=$(which npm);\necho \".....> NPM WHICH: ${WHICH_NPM}\";\nlss \"${WHICH_NPM}\";\nunset WHICH_NPM\n\necho \"-----> NPM CONFIG PREFIX: $(npm config get prefix)\";\necho \"-----> NPM_CONFIG_PREFIX: ${NPM_CONFIG_PREFIX}\";\n\necho \"-----> NPM CONFIG CACHE: $(npm config get cache)\"\necho \"-----> NPM_CONFIG_CACHE: ${NPM_CONFIG_CACHE}\";\n\necho \"=====> NCU VERSION: $(ncu --version)\";\nWHICH_NCU=$(which ncu);\necho \".....> NCU WHICH: ${WHICH_NCU}\";\nlss \"${WHICH_NCU}\";\nunset WHICH_NCU\n\necho \"=====> GIT VERSION: $(git --version)\";\nWHICH_GIT=$(which git);\necho \".....> GIT WHICH: ${WHICH_GIT}\";\nlss \"${WHICH_GIT}\";\nunset WHICH_GIT\n\nENV=$(env);\necho \"-----> ENV: ${ENV}\";\necho \"||||||||||||||||||||||||||\";\n\necho \"-----> DEBUG: ${DEBUG}\";\n\necho \"-----> USER: ${USER}\";\necho \"-----> USERNAME: ${USERNAME}\";\n\necho \"-----> NODE_ENV: ${NODE_ENV}\";\n\ngit branch\ngit status\n\nfi\n"
},
"options": {
"systems": [
"aarch64-darwin",
"aarch64-linux",
"x86_64-darwin",
"x86_64-linux"
]
}
},
"packages": [
{
"attr_path": "nodejs_24",
"broken": false,
"derivation": "/nix/store/0jp24w00c62cysdikz38xrnmxwzv0q4r-nodejs-24.13.0.drv",
"description": "Event-driven I/O framework for the V8 JavaScript engine",
"install_id": "nodejs_24",
"license": "MIT",
"locked_url": "https://github.com/flox/nixpkgs?rev=d6c71932130818840fc8fe9509cf50be8c64634f",
"name": "nodejs-24.13.0",
"pname": "nodejs_24",
"rev": "d6c71932130818840fc8fe9509cf50be8c64634f",
"rev_count": 942779,
"rev_date": "2026-02-08T14:52:16Z",
"scrape_date": "2026-02-09T04:38:52.160996Z",
"stabilities": [
"unstable"
],
"unfree": false,
"version": "24.13.0",
"outputs_to_install": [
"out",
"out"
],
"outputs": {
"dev": "/nix/store/ywm49y8ncwny2nr0wvs6vmaxqjiqg523-nodejs-24.13.0-dev",
"libv8": "/nix/store/67xyvmmgkisc7mr16wbpyjq2fqyz44af-nodejs-24.13.0-libv8",
"out": "/nix/store/szvl8aalaplzshakdpyq8l5yq8q1bw66-nodejs-24.13.0"
},
"system": "aarch64-darwin",
"group": "toplevel",
"priority": 5
},
{
"attr_path": "nodejs_24",
"broken": false,
"derivation": "/nix/store/l64r4vxgdpi0jxp27mvr9sj2c2mq2cys-nodejs-24.13.0.drv",
"description": "Event-driven I/O framework for the V8 JavaScript engine",
"install_id": "nodejs_24",
"license": "MIT",
"locked_url": "https://github.com/flox/nixpkgs?rev=d6c71932130818840fc8fe9509cf50be8c64634f",
"name": "nodejs-24.13.0",
"pname": "nodejs_24",
"rev": "d6c71932130818840fc8fe9509cf50be8c64634f",
"rev_count": 942779,
"rev_date": "2026-02-08T14:52:16Z",
"scrape_date": "2026-02-09T05:11:13.043207Z",
"stabilities": [
"unstable"
],
"unfree": false,
"version": "24.13.0",
"outputs_to_install": [
"out"
],
"outputs": {
"dev": "/nix/store/qk4n3r5bvqzvpaq1qbpwwf47zg51wrhq-nodejs-24.13.0-dev",
"libv8": "/nix/store/rh9dg0mdq0hnp4cbdy4zdbmy6hnhxcfh-nodejs-24.13.0-libv8",
"out": "/nix/store/rpyb0275h916mxx8a0cm7yavm4qbr4j9-nodejs-24.13.0"
},
"system": "aarch64-linux",
"group": "toplevel",
"priority": 5
},
{
"attr_path": "nodejs_24",
"broken": false,
"derivation": "/nix/store/xgryfaiwfymf8ndij80ssly7q2kdq8y1-nodejs-24.13.0.drv",
"description": "Event-driven I/O framework for the V8 JavaScript engine",
"install_id": "nodejs_24",
"license": "MIT",
"locked_url": "https://github.com/flox/nixpkgs?rev=d6c71932130818840fc8fe9509cf50be8c64634f",
"name": "nodejs-24.13.0",
"pname": "nodejs_24",
"rev": "d6c71932130818840fc8fe9509cf50be8c64634f",
"rev_count": 942779,
"rev_date": "2026-02-08T14:52:16Z",
"scrape_date": "2026-02-09T05:44:37.508733Z",
"stabilities": [
"unstable"
],
"unfree": false,
"version": "24.13.0",
"outputs_to_install": [
"out"
],
"outputs": {
"dev": "/nix/store/rp55bch0hqxynmxnh7q5bs586kp0dib6-nodejs-24.13.0-dev",
"libv8": "/nix/store/dvl504xzwklpfjngdnn6kcpriklwsf6l-nodejs-24.13.0-libv8",
"out": "/nix/store/xhp1pnnq7hski7hwg36vw7kpxmg56khh-nodejs-24.13.0"
},
"system": "x86_64-darwin",
"group": "toplevel",
"priority": 5
},
{
"attr_path": "nodejs_24",
"broken": false,
"derivation": "/nix/store/qk40027pvikybl0lvr1wmia9n8ljf99c-nodejs-24.13.0.drv",
"description": "Event-driven I/O framework for the V8 JavaScript engine",
"install_id": "nodejs_24",
"license": "MIT",
"locked_url": "https://github.com/flox/nixpkgs?rev=d6c71932130818840fc8fe9509cf50be8c64634f",
"name": "nodejs-24.13.0",
"pname": "nodejs_24",
"rev": "d6c71932130818840fc8fe9509cf50be8c64634f",
"rev_count": 942779,
"rev_date": "2026-02-08T14:52:16Z",
"scrape_date": "2026-02-09T06:20:55.567820Z",
"stabilities": [
"unstable"
],
"unfree": false,
"version": "24.13.0",
"outputs_to_install": [
"out"
],
"outputs": {
"dev": "/nix/store/hc7fav9y6ai53nqbbpjxprwnkakl1w2d-nodejs-24.13.0-dev",
"libv8": "/nix/store/z7m56hl4rzdrfhnnkwig0ibzs1qz1x5d-nodejs-24.13.0-libv8",
"out": "/nix/store/9cyx2v23dip6p9q98384k9v06c96qskb-nodejs-24.13.0"
},
"system": "x86_64-linux",
"group": "toplevel",
"priority": 5
}
]
}
200 changes: 200 additions & 0 deletions .flox/env/manifest.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,200 @@
# flox config --set-bool set_prompt false
# ==> .zshrc
# Warp-ify Flox subshell prompt:
# function git_branch_name()
# {
# branch=$({ git symbolic-ref -q HEAD || git name-rev --name-only --no-undefined --always HEAD; } 2>/dev/null | sed 's/refs\/heads\///')
# if [[ $branch == "" ]];
# then
# :
# else
# #echo "[$branch]"
# echo '('$branch') '
# fi
# }
#
# function flox_prompt()
# {
# FLX_ENVS="${FLOX_PROMPT_ENVIRONMENTS:-}"
# if [[ -z "${FLX_ENVS}" ]];
# then
# :
# else
# echo 'FLX ['$FLX_ENVS'] '
# fi
# }
# setopt prompt_subst
# autoload -U colors && colors
# export PS1='%{$fg[red]%}$(flox_prompt)%{$reset_color%}%n@%m %{$fg[green]%}%~%{$reset_color%} %{$fg[magenta]%}$(git_branch_name)%{$reset_color%}%# '
# PROMPT="${PROMPT}"$'\n'
# printf '\eP$f{"hook": "SourcedRcFileForWarp", "value": { "shell": "zsh" }}\x9c'

version = 1

[install]
nodejs_24.pkg-path = "nodejs_24"

[vars]
FLOX_DISABLE_METRICS="true"
CLICOLOR="1"

#set -euo pipefail (set -u in particular ==> undefined vars early exit)
# FLX_VERBOSE becomes fallback when FLOX_VERBOSE is empty or unset
FLX_VERBOSE="${FLOX_VERBOSE:-}"
# FLX_VERBOSE becomes fallback only when FLOX_VERBOSE is unset, not empty
# FLX_VERBOSE="${FLOX_VERBOSE-}"

# if [[ ! -v FLX_VERBOSE ]]; then
# # unset
# elif [[ -z "${FLX_VERBOSE}" ]]; then
# # empty
# else
# neither unset nor empty
# fi

[hook]
on-activate = '''
[[ ! -z "${FLX_VERBOSE}" ]] && echo "##################################################";
[[ ! -z "${FLX_VERBOSE}" ]] && echo "########## FLOX ACTIVATE...";

# alias lss='ls -alshF --color=auto'
lss () {
command ls -alshF --color=auto "$@"
}

# PWD=$(pwd);
# [[ ! -z "${FLX_VERBOSE}" ]] && echo "-----> PWD: ${PWD}";
# unset PWD

#FLOX_ENV_PROJECT
#_FLOX_ENV_LOG_DIR
#FLOX_CACHE_DIR="$(dirname ${FLOX_ENV_CACHE})"
#FLOX_CACHE_DIR="$(realpath ${FLOX_ENV_CACHE})"
FLOX_CACHE_DIR="${FLOX_ENV_CACHE}"
[[ ! -z "${FLX_VERBOSE}" ]] && echo "-----> FLOX_CACHE_DIR: ${FLOX_CACHE_DIR}";

if [[ ! -z "${FLX_VERBOSE}" ]]; then

echo "=====> NODE VERSION: $(node --version)";
WHICH_NODE=$(which node);
echo ".....> NODE WHICH: ${WHICH_NODE}";
lss "${WHICH_NODE}";
unset WHICH_NODE

echo "=====> NPM VERSION (init): $(npm --version)";
WHICH_NPM=$(which npm);
echo ".....> NPM WHICH: ${WHICH_NPM}";
lss "${WHICH_NPM}";
unset WHICH_NPM

echo "-----> NPM CONFIG PREFIX (init): $(npm config get prefix)";
echo "-----> NPM_CONFIG_PREFIX (init): ${NPM_CONFIG_PREFIX}";

echo "-----> NPM CONFIG CACHE (init): $(npm config get cache)"
echo "-----> NPM_CONFIG_CACHE (init): ${NPM_CONFIG_CACHE}";

fi

# envName="${_FLOX_ACTIVE_ENVIRONMENTS##:*}";
#echo "${envName}";
#export NPM_CONFIG_PREFIX="/tmp/${envName}-npm";

export NPM_CONFIG_PREFIX="${FLOX_CACHE_DIR}/NPM_PREFIX";
#### rm -rf "$NPM_CONFIG_PREFIX";
mkdir -p "$NPM_CONFIG_PREFIX";
if [[ ! -z "${FLX_VERBOSE}" ]]; then
echo "-----> NPM CONFIG PREFIX: $(npm config get prefix)";
echo "-----> NPM_CONFIG_PREFIX: ${NPM_CONFIG_PREFIX}";
lss "$NPM_CONFIG_PREFIX";
lss "$NPM_CONFIG_PREFIX/bin";
lss "$NPM_CONFIG_PREFIX/lib";
lss "$NPM_CONFIG_PREFIX/lib/node_modules";
fi

export NPM_CONFIG_CACHE="${FLOX_CACHE_DIR}/NPM_CACHE";
#### rm -rf "$NPM_CONFIG_CACHE";
mkdir -p "$NPM_CONFIG_CACHE";
if [[ ! -z "${FLX_VERBOSE}" ]]; then
echo "-----> NPM CONFIG CACHE: $(npm config get cache)"
echo "-----> NPM_CONFIG_CACHE: ${NPM_CONFIG_CACHE}";
lss "$NPM_CONFIG_CACHE";
fi

unset FLOX_CACHE_DIR

[[ ! -z "${FLX_VERBOSE}" ]] && echo "-----> NODE_PATH (init): ${NODE_PATH}";
export NODE_PATH="$NPM_CONFIG_PREFIX/lib/node_modules${NODE_PATH:+:$NODE_PATH}";
[[ ! -z "${FLX_VERBOSE}" ]] && echo "-----> NODE_PATH: ${NODE_PATH}";

export PATH="$NPM_CONFIG_PREFIX/bin:$PATH";

npm install -g npm --foreground-scripts 1>/dev/null
npm install -g npm-check-updates --foreground-scripts 1>/dev/null
'''

[profile]
common = '''
[[ ! -z "${FLX_VERBOSE}" ]] && echo "##################################################";
[[ ! -z "${FLX_VERBOSE}" ]] && echo "########## FLOX PROFILE COMMON (${SHELL})...";

alias lss='ls -alshF --color=auto'
alias flx='flox activate'
alias flxx='FLOX_VERBOSE=1 flox activate'

# PWD=$(pwd);
# [[ ! -z "${FLX_VERBOSE}" ]] && echo "-----> PWD: ${PWD}";
# unset PWD

if [[ ! -z "${FLX_VERBOSE}" ]]; then

echo "=====> NODE VERSION: $(node --version)";
WHICH_NODE=$(which node);
echo ".....> NODE WHICH: ${WHICH_NODE}";
lss "${WHICH_NODE}";
unset WHICH_NODE

echo "=====> NPM VERSION: $(npm --version)";
WHICH_NPM=$(which npm);
echo ".....> NPM WHICH: ${WHICH_NPM}";
lss "${WHICH_NPM}";
unset WHICH_NPM

echo "-----> NPM CONFIG PREFIX: $(npm config get prefix)";
echo "-----> NPM_CONFIG_PREFIX: ${NPM_CONFIG_PREFIX}";

echo "-----> NPM CONFIG CACHE: $(npm config get cache)"
echo "-----> NPM_CONFIG_CACHE: ${NPM_CONFIG_CACHE}";

echo "=====> NCU VERSION: $(ncu --version)";
WHICH_NCU=$(which ncu);
echo ".....> NCU WHICH: ${WHICH_NCU}";
lss "${WHICH_NCU}";
unset WHICH_NCU

echo "=====> GIT VERSION: $(git --version)";
WHICH_GIT=$(which git);
echo ".....> GIT WHICH: ${WHICH_GIT}";
lss "${WHICH_GIT}";
unset WHICH_GIT

ENV=$(env);
echo "-----> ENV: ${ENV}";
echo "||||||||||||||||||||||||||";

echo "-----> DEBUG: ${DEBUG}";

echo "-----> USER: ${USER}";
echo "-----> USERNAME: ${USERNAME}";

echo "-----> NODE_ENV: ${NODE_ENV}";

git branch
git status

fi
'''

[services]

[options]
systems = ["aarch64-darwin", "aarch64-linux", "x86_64-darwin", "x86_64-linux"]
2 changes: 1 addition & 1 deletion .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
# This conditional prevents running the job on PRs from forks; won't
# have permissions to commit changes, so the job would fail if it ran.
# PRs from forks will instead rely on failing the fmt_check job in test.yml
if: github.event.pull_request.head.repo.full_name == github.repository
if: ${{ false }} # github.event.pull_request.head.repo.full_name == github.repository
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/semantic-pr-title.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:

jobs:
semantic-pr-title:
if: ${{ false }}
runs-on: ubuntu-latest
steps:
- uses: dequelabs/semantic-pr-title@v1
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,12 @@ typings/axe-core/axe-core-tests.js

# doc
doc/rule-descriptions.*.md

.history

.flox/run
.flox/cache
.flox/lib
.flox/log
.flox/NPM_PREFIX
.flox/NPM_CACHE
Loading
Loading