The old hash worked for me locally but not on another machine when pulled from GH (reproduced locally too with --rebuild). The issue was that having *specific* detached git state makes composer produce different metadata in vendor/composer/installed.php (and other files). Being detached *from a branch* does not seem to have an effect, but being detached *from a commit* does. Therefore, the vendor/ metadata was highly affected by local git/jujutsu state. |
||
|---|---|---|
| .github/ISSUE_TEMPLATE | ||
| listeners | ||
| source | ||
| .gitignore | ||
| bootstrap.php | ||
| build.sh | ||
| composer.json | ||
| composer.lock | ||
| config.php | ||
| config.production.php | ||
| config.staging.php | ||
| flake.lock | ||
| flake.nix | ||
| LICENSE.txt | ||
| navigation.php | ||
| netlify.toml | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| staging.sh | ||
| tailwind.config.js | ||
| webpack.mix.js | ||
stancl/tenancy docs
For the main repository, see stancl/tenancy.
Dev
You can use npm run watch, npm run dev, and npm run production.
Nix
A lot of the dependencies in this repo are pretty legacy software by now, so to make building easier and more reproducible in the long term, we use Nix to wrap the build process.
Devshell: nix develop
Run (dev, watcher): nix run
Run (prod build into build_production): nix run .#production
Build (reproducible via Nix, result symlinked from store): nix build
Build (same as above, but using localhost:8000 as the base URL, prod non-legacy build): nix build .#local
Build (same as #local but only including /docs and /assets): nix build .#minimalLocal
Legacy builds assume it's the v3 site on the tenancyforlaravel.com domain. Non-legacy builds do not and as such remove some root level links on the frontend (in other words non-legacy builds support minimal builds.)