* Adds hadolint as pre-commit
* Addresses all hadolint comments
* Hadolint docker works when entrypoint explicitly provided
* Use noninteractive apt-get frontend and clean after install
* build(circleci): filters for pre-commit should be same as for test-server
* remove cache prefix as not currently necessary due to pre-commit-config.yaml changing
* build(circleci): enable remote docker for pre-commit
* build(circleci): use speckle pre-commit runner with built-in hadolint
* build(server): dockerfile RUN statements are consolidated
Each RUN statement in a Dockerfile creates a new layer. Hadolint rule DL3059 suggests they should
be consolidated.
* build(server): dockerfile RUN statements are consolidated
Each RUN statement in a Dockerfile creates a new layer. Hadolint rule DL3059 suggests they should
be consolidated.
* Improve husky bash script to catch errors
* Integrates pre-commit with husky
* pre-commit should now be run by husky on every commit
* pre-commit which requires additional installed dependencies is moved to separate file
* Update README for revised developer instructions
* Updates pre-commit yarn script
* refactor(pre-commit): make everyone happy with loosly integrating husky and pre-commit scripts
* chore(clean up pre-commit configs): clean some more pre-commit mess
* chore(pre-commit): run pre-commit in ci too
* fix(husky pre-commit): fix ci build husky invocation, the script is not commited to git
* fix(circleci config): install yarn packages for linting in pre-commit
* fix(pre-commit): fix shellcheck disable comment placement
* fix(pre-commit): add shellcheck ignore
* fix(pre-commit husyk): fix shellcheck ignore version
Co-authored-by: Iain Sproat <68657+iainsproat@users.noreply.github.com>
* Adds hadolint as pre-commit step
* Addresses all hadolint comments
* Use noninteractive apt-get frontend and clean after install
* dockerfile RUN statements are consolidated to prevent additional layers
* installed packages have pinned versions
* build(circleci): use speckle pre-commit runner with built-in hadolint
* Integrate pre-commit with husky bash script for git pre-commit hooks
* catches errors in bash
* if pre-commit is installed, it is run
* if optional additional binaries are installed, further pre-commit steps are run
* Update README with revised developer instructions
* Adds a pre-commit yarn script
* Add CircleCI job to run pre-commit on every commit
* Install pre-commit on cimg/python:node image
* caches installed packages and pre-commit hooks
* build(circleci): validate circleci configurations via yarn
* yarn first go
* fix frontend build cache loader
* yarn workspaces built server Docker
* build(yarn): add workspaces plugin config
* chore(package defs): clean package*.json -s
* chore(gitignore): ignore yarn error log
* build(yarn): update yarn lock
* build(preview-service webpack): add extra resolved path to preview service webpack config
because of yarn package hoisting, there are no package level node_modules folder anymore.
* build(docker): update dockerignore with yarn specific configs
* build(docker): update Dockerfiles for yarn workspaces utilization
* ci(circleci): update server test job to yarn
* ci(circle): disable cache restore
* ci(circleci): trying the node orb yarn-run
* ci(circleci): yarn-run again
* ci(circleci): disable node orb
* ci(circleci): change base node image for tests
* ci(circleci): add yarn cache
* ci(circleci): remove node install step
* ci(circleci): add server specific cache archives
* ci(circleci): test build and publish
* ci(circleci): change npm auth method to suit yarn
* ci(circleci): trying new builder image
* ci(circleci): another base image, maybe this works
* ci(circleci): force a specific docker engine version
* ci(circleci): add yarn version plugin and its changes
* ci(circleci): cleanup and remove temp branch config
* chore(package defs): moving from npm run to yarn
* explicitly specifying webpack4 as a frontend dep
* chore(package defs): replace npm with yarn everywhere
* docs(root readme): update with some yarn specific docs
* chore(root workspace): update dev scripts and package lock
* ci(circleci): enable package publish step with yarn
Co-authored-by: Fabians <fabis94@live.com>