Commit graph

68 commits

Author SHA1 Message Date
Matt Cowley
91c553a10f
Update dependencies (#462) 2024-01-23 20:19:02 +00:00
Matt Cowley
648d0b8233
Update to Node.js 20.9.0 (#453) 2023-11-07 16:12:46 +00:00
Nihal Maskey
dbc954e7f1
Add prettier and run prettier command via lint-staged (#448) 2023-10-16 15:22:16 +01:00
dependabot[bot]
c908a32448
Bump postcss from 8.4.27 to 8.4.31 (#445)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-09 22:17:24 +01:00
Matt Cowley
f378b7ce53
Update dependencies (#443) 2023-08-07 17:01:05 +01:00
Matt Cowley
4bf8e65ed4
Update to Node.js 18 (#442) 2023-07-28 15:39:42 +01:00
dependabot[bot]
15d6eea864
Bump stylelint from 15.6.0 to 15.10.1 (#438)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-10 21:06:49 +01:00
Matt Cowley
54a0e57a5e
Update dependencies (#427) 2023-04-27 17:03:06 +01:00
dependabot[bot]
d7cf4228a8
Bump webpack from 5.75.0 to 5.76.0 (#424)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-15 14:40:27 +00:00
Matt Cowley
895d448bcf
Update dependencies (#411)
* Update Node.js version

* Update do-vue + do-bulma (branch)

* Minor dependency updates

* Major dependency updates

* Fix lint-staged config

* Fix loader-utils 2.x vulnerability

* Update do-vue + do-bulma (master)
2022-11-28 13:11:30 +00:00
Amrit Timalsina
c026007a5d
Add Husky + lint-staged (#398)
* Add and setup husky

* Add lint-staged and configure with husky

* Remove eslint

* Remove prettier

* Remove typescript react/jsx and add vue extension

* Add stylelint calls

* Add eslintcache ignore

* Add eslint cache  in all eslint command

* Add config in stylelint

* Add cache option in remaining eslint scripts

* Remove cache option

Co-authored-by: Matt Cowley <me@mattcowley.co.uk>
2022-11-21 15:37:14 +00:00
Matt Cowley
400911d695
Dependency updates (#389)
* Update Node.js (and npm) to latest LTS

* Update dependencies to latest minor versions

* Fix vue-select styling

* Update jest to latest major version

* Switch to do-vue branch with fixed templating

* Switch back to do-vue master

* Update do-bulma to latest version
2022-10-04 19:30:03 +01:00
Matt Cowley
e95e615c18
Dependency updates (#374) 2022-07-20 21:34:17 +01:00
Matt Cowley
cd3785061e
Dependency updates (#373)
* Bump Node.js to 16.16.0

* Minor version dependency updates

* Major version dependency updates

* Resolve dependency vulnerability
2022-07-12 12:58:54 +01:00
Matt Cowley
ebca910786
Upgrade to Vue 3 (#331)
* Dependency updates

* Upgrade to Vue 3 (WIP)

* Fix reactivity of imported domains (the object gets replaced by a proxy)

* Cleaner access of proxy for domain imports

* Remove upgrade note about reactivity issue

* Fix locale switching

* Remove upgrade note about language issue

* Patch Vue 3 issues with pretty-checkbox-vue

* Remove upgrade note about checkbox issue

* Fix extra slot for checkboxes and radios

* Set checkmark as default for extra slot

* Use patched pretty-checkbox-vue from do-vue

* Fix removing domains

* Switch to main do-vue/do-bulma
2022-03-21 22:51:21 +00:00
dependabot[bot]
324fa44790
Bump prismjs from 1.26.0 to 1.27.0 (#335)
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: direct:production
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-28 23:22:35 +00:00
Matt Cowley
07b0714837
Suppress logging with NODE_ENV (#332) 2022-02-25 20:00:45 +00:00
Matt (IPv4) Cowley
23350f3a57
Swap out sass-lint with stylelint (#328)
* Swap out sass-lint

* Include standard SCSS rules for stylelint

* Fix stylelint violations

* Update Actions to use stylelint

Co-authored-by: Jake Gealer <jake@gealer.email>
2022-02-04 22:01:19 +00:00
Matt (IPv4) Cowley
387a47b014
Dependency updates + full ESM (#327)
* Dependency updates

* Fix eslint issues

* Switch to esm fully

* Fix Jest tests

* Update to node 16, force mini-css-extract-plugin to 1.x

* More dep updates

* Use correct NPM version in Actions

* Fix mini-css-extract-plugin version overrides

* Don't rely on Webpack for available languages
2022-02-04 21:10:20 +00:00
dependabot[bot]
26e907bd81
Bump node-fetch from 2.6.1 to 2.6.7 (#325)
Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.1 to 2.6.7.
- [Release notes](https://github.com/node-fetch/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/main/docs/CHANGELOG.md)
- [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.1...v2.6.7)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-24 13:53:50 +00:00
dependabot[bot]
a7d99f454c
Bump prismjs from 1.24.0 to 1.25.0 (#297)
Bumps [prismjs](https://github.com/PrismJS/prism) from 1.24.0 to 1.25.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.24.0...v1.25.0)

---
updated-dependencies:
- dependency-name: prismjs
  dependency-type: direct:production
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-27 18:38:32 +01:00
Matt (IPv4) Cowley
97f6430e99
Bump to Node.js 14 LTS (#293)
* Bump to Node.js 14 LTS

* Bump Node engine in package
2021-08-13 17:20:53 +01:00
Matt (IPv4) Cowley
ce74e4c226
Update and fix diffing logic (#289)
* Bump files-diff version to ensure HTML escaping works

* Pass full rendered file path into diff

* Cleaner naming, removing pointless method

* Remove console log
2021-07-27 10:49:51 +01:00
dependabot[bot]
07cc83ec14
Bump prismjs from 1.23.0 to 1.24.0 (#284)
Bumps [prismjs](https://github.com/PrismJS/prism) from 1.23.0 to 1.24.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.23.0...v1.24.0)

---
updated-dependencies:
- dependency-name: prismjs
  dependency-type: direct:production
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-02 15:48:29 +01:00
Matt (IPv4) Cowley
c261892de4
Ensure bundle analysis is always enabled (#267) 2021-05-18 16:39:41 +01:00
Matt (IPv4) Cowley
b05f301c21
Fix webpack dynamic imports (#266)
* Update all deps

* Update dynamic import injection
2021-05-18 16:33:25 +01:00
Matt (IPv4) Cowley
8155902f79
Dependency updates (#264)
* Assorted minor version updates

* Assorted major version updates
2021-05-13 15:30:04 +01:00
Matt (IPv4) Cowley
e49ec084ac
Dependency updates (#253)
* Bump do-vue

* Bump do-bulma

* Use https://github.com/do-community/sass-lint

* Uninstall sass-lint-auto-fix

* Assorted minor version updates

* Assorted major version updates
2021-04-20 21:51:12 +01:00
Matt (IPv4) Cowley
36d23555ac
Bump all deps (#251) 2021-04-12 20:37:50 +01:00
dependabot[bot]
a421bc602d
Bump prismjs from 1.22.0 to 1.23.0 (#236)
Bumps [prismjs](https://github.com/PrismJS/prism) from 1.22.0 to 1.23.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.22.0...v1.23.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-03 16:56:32 +00:00
Matt (IPv4) Cowley
479412888d
Set dynamic webpack import path (#208)
* Set dynamic webpack import path

* Cleanup
2021-01-05 15:29:13 +00:00
墨娘
d1bf984d0b
Add unit testing for browser language (#197)
* Add unit testing

* Update unit testing

* Update unit testing

* fix a big heap of formatting typo
2020-12-22 17:06:52 +00:00
Matt (IPv4) Cowley
de86df7fe4
Add script to verify integrity of language packs (#203)
* Add script to verify integrity of language packs

* Update workflows

* It'd help if we ran the right test
2020-12-21 15:22:07 +00:00
Matt (IPv4) Cowley
91db6ee322
Add build script for bundled DO Prism styles (#200)
* Only ignore root build/dist/dev directories

* Add build script for bundled DO Prism styles
2020-12-21 15:15:35 +00:00
Matt (IPv4) Cowley
4df47e4c5c
Update deps to fix diffing issues (#199) 2020-12-17 15:19:16 +00:00
Matt (IPv4) Cowley
ff88e2f322
Allow language selection (#191)
* Add dropdown for language

* Use vue-i18n to translate strings

* Tweak header styling

* Add Chinese languages in

* Typo

* Get language from browser (#193)

* adaptive system language

* Modify the adaptive system language

* Remove dead code

* Delete lang default values

* Move browser language detection to util

* Remove todos

* Fix global PHP dropdown

Co-authored-by: 墨娘 <61287199+moniang@users.noreply.github.com>
2020-12-11 16:54:12 +00:00
Matt (IPv4) Cowley
2b8fde7917
Bundle & code cleanup (#179)
* Use different YAML solution (391 KB -> 197 KB)

* Update all deps

* Code cleanup
2020-10-14 17:12:16 +01:00
Alex Howes
3aba7956ef
Syntax Highlighting for Docker and Yaml (#177)
* Implement dynamic component for docker and yaml prism components. Also removes chunk limit for lazy-loading.

* Fix eslint with babel-eslint and remove unusued LimitChunkCount plugin.
2020-10-14 15:49:53 +01:00
Alessandro Manno
02e72a7003
Added docker compose generator if docker is enabled (#175)
* Added docker compose generator if docker is enabled

* Fixed version to 3.3

* fixed name in to_yaml.js

* Apply suggestions from code review

Co-authored-by: Matt (IPv4) Cowley <me@mattcowley.co.uk>
2020-10-09 17:52:22 +01:00
Matt (IPv4) Cowley
958f67c802
Dedicated test workflow to run on PRs (#172) 2020-09-26 11:10:44 +01:00
Matt (IPv4) Cowley
104a718c05
Update deps (#164)
* Update deps

* Further dep updates
2020-09-07 21:00:36 +01:00
MattIPv4
7976e0a14e Update our deps 2020-07-17 16:21:21 +01:00
MattIPv4
a66db340f4 Use files-diff for diffing 2020-06-26 18:00:03 +01:00
MattIPv4
010da3fda6 Bump deps 2020-06-25 17:15:42 +01:00
MattIPv4
678682c093 Move to using memory-tar-create 2020-06-25 17:10:58 +01:00
MattIPv4
c193cabb0d Bump dependencies 2020-06-21 15:59:11 +01:00
MattIPv4
8b10ed3e05 Refactor diffing & track conf file renames in diff 2020-06-08 17:31:01 +01:00
MattIPv4
e8a5b2c6b5 Replace pako with gzip-js 2020-06-05 20:55:43 +01:00
MattIPv4
9cf727b8fa Remove deep-equal dep, do direct comparison 2020-06-05 17:26:50 +01:00
MattIPv4
5a934a37c5 Change hash + clipboard implementations 2020-06-05 17:04:00 +01:00