Repository navigation
fix: start without BUILD.json, leaner images, Vuetify 4 typography, dev worker API key - #41
Merged
Merged
Conversation
…s, wider .dockerignore
With --edit "" commitlint read the default COMMIT_EDITMSG, so on a merge (MERGE_MSG) it checked the previous commit message instead.
It reports the Vuetify 4 deprecations, as the text-caption class of the previous commit.
Node type stripping rejects non-erasable syntax (enums, parameter properties, namespaces): tsc now reports it before the runtime does.
The worker writes imported datasets to data-fair with dataFairAPIKey. In development it was empty unless a key created by hand in a local data-fair was put in a gitignored local-development file, so imports failed on a fresh checkout, a worktree or CI. - worker/config/development.mjs: fixed dev key - tests/support/data-fair.ts: upsert its sha512 hash in data-fair's settings (adminMode, asAccount, datasets scope), as processings does - tests/state-setup.ts: seed it at each test run (idempotent)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Small fixes found while working on the dev environment pilot, independent of it.
NODE_ENV=production, so an image built locally crashed at startup. A missing file now gives{ version: 'unknown (built without CI)' }.apk upgradepicks up the Alpine security fixes released after the base image..dockerignore:node_modulesonly matched the root folder, soCOPY api api,COPY worker workerandADD /ui uisent the local workspacenode_modulesinto the build, merged with the installed ones.**/node_modulesfixes that.ui/distandui/dtsare rebuilt in the image, and.git,.env,dev/logs,test-resultsandplaywright-reportare not used by any step.BUILD.jsonis still copied.text-body-smallinstead oftext-caption.text-captionhas no style in Vuetify 4 (two hints in the publication actions).flat/recommended-v4. It reports the Vuetify 4 deprecations (it flags the twotext-captionabove on the current master).erasableSyntaxOnlyin the root tsconfig. Node type stripping rejects non-erasable syntax; tsc now reports it first."$1"). With--edit ""commitlint read the default COMMIT_EDITMSG, so on a merge it checked the previous commit message.dataFairAPIKey, which was empty in development unless a key made by hand was put in a gitignored file. The dev config now has a fixed key, and the test setup upserts its hash in data-fair's settings (idempotent). Checked on a dev env: called the way the worker does, the key creates a dataset as another account (201), a wrong key gets 401.Checks: lint, type check, unit tests 30 passed (on a fresh
npm ci). Not run here: the api/e2e suites and the Docker builds (left to CI).