when-am-i / CI
CI passed: a6030ee47f7b
✓ test · test · passed · 29s
fw-runner truenas: test (test) in node:lts
Unable to find image 'node:lts' locally
lts: Pulling from library/node
8a051559ff62: Already exists
55f3510f14ae: Already exists
e0959ba39613: Already exists
8145ffc7a2f0: Already exists
7567531c24b0: Pulling fs layer
d58525be645b: Pulling fs layer
c7f205271b29: Pulling fs layer
96c812eb334e: Pulling fs layer
96c812eb334e: Waiting
7567531c24b0: Verifying Checksum
7567531c24b0: Download complete
7567531c24b0: Pull complete
c7f205271b29: Verifying Checksum
c7f205271b29: Download complete
96c812eb334e: Verifying Checksum
96c812eb334e: Download complete
d58525be645b: Verifying Checksum
d58525be645b: Download complete
d58525be645b: Pull complete
c7f205271b29: Pull complete
96c812eb334e: Pull complete
Digest: sha256:6449e19d8184d84062525b6a7524def03146c2cb04a7f08b076680d0e8e4240a
Status: Downloaded newer image for node:lts
$ npm ci
> when-am-i@0.1.0 postinstall
> npm run copy:leaflet-icons
> when-am-i@0.1.0 copy:leaflet-icons
> mkdir -p public && cp node_modules/leaflet/dist/images/marker-icon.png public/ && cp node_modules/leaflet/dist/images/marker-icon-2x.png public/ && cp node_modules/leaflet/dist/images/marker-shadow.png public/
added 208 packages, and audited 209 packages in 7s
53 packages are looking for funding
run `npm fund` for details
12 vulnerabilities (1 low, 4 moderate, 7 high)
To address issues that do not require attention, run:
npm audit fix
To address all issues (including breaking changes), run:
npm audit fix --force
Run `npm audit` for details.
npm warn install-scripts 2 packages have install scripts not yet covered by allowScripts:
npm warn install-scripts esbuild@0.21.5 (postinstall: node install.js)
npm warn install-scripts esbuild@0.28.1 (postinstall: node install.js)
npm warn install-scripts
npm warn install-scripts Run `npm install-scripts ls` to review, or `npm install-scripts approve <pkg>` to allow.
$ npm run validate:data
> when-am-i@0.1.0 validate:data
> tsx scripts/validate-data.mts
✅ aztec.json
✅ china.json
✅ colonial-america.json
✅ ethiopia.json
✅ india.json
✅ iran.json
✅ japan.json
✅ judea.json
✅ korea.json
✅ maori.json
✅ massachusett.json
✅ maya.json
✅ north-korea.json
✅ north-sentinel-island.json
✅ oregon-country.json
✅ ottoman.json
✅ revolutionary-france.json
✅ russian-america.json
✅ thailand.json
✅ vietnam.json
✨ All 20 calendar file(s) valid.
$ npm run lint
> when-am-i@0.1.0 lint
> eslint .
$ npm run typecheck
> when-am-i@0.1.0 typecheck
> tsc --noEmit
$ npm test
> when-am-i@0.1.0 test
> vitest run
3:02:37 PM [vite] warning: `esbuild` option was specified by "vite:react-babel" plugin. This option is deprecated, please use `oxc` instead.
3:02:37 PM [vite] warning: `optimizeDeps.esbuildOptions` option was specified by "vite:react-babel" plugin. This option is deprecated, please use `optimizeDeps.rolldownOptions` instead.
Both esbuild and oxc options were set. oxc options will be used and esbuild options will be ignored. The following esbuild options were set: `{ jsx: 'automatic', jsxImportSource: undefined }`
RUN v4.1.9 /builds/when-am-i
✓ src/utils/calendars.test.ts (30 tests) 30ms
✓ src/utils/calendarColor.test.ts (12 tests) 12ms
✓ src/utils/resolve.test.ts (12 tests) 20ms
✓ src/utils/shuffle.test.ts (6 tests) 8ms
✓ src/utils/calendarConflicts.test.ts (7 tests) 7ms
✓ src/utils/timelineBands.test.ts (9 tests) 10ms
✓ src/utils/geo.test.ts (7 tests) 7ms
✓ src/utils/historicalDate.test.ts (11 tests) 16ms
✓ src/utils/yearScale.test.ts (9 tests) 19ms
✓ src/data/index.test.ts (8 tests) 31ms
✓ src/utils/urlState.test.ts (9 tests) 8ms
✓ src/utils/julianDay.test.ts (8 tests) 9ms
✓ src/utils/eras.test.ts (5 tests) 7ms
✓ src/utils/dateRange.test.ts (3 tests) 5ms
✓ src/utils/lanes.test.ts (3 tests) 6ms
✓ src/utils/nearestCity.test.ts (5 tests) 8ms
Test Files 16 passed (16)
Tests 144 passed (144)
Start at 15:02:37
Duration 1.77s (transform 803ms, setup 0ms, import 1.54s, tests 205ms, environment 3ms)
$ npm run gen:badges -- --check
> when-am-i@0.1.0 gen:badges
> tsx scripts/gen-badges.mts --check
✅ README badges already up to date
✓ create-pages · deploy · passed · 13s
fw-runner truenas: create-pages (deploy) in node:lts $ npm ci > when-am-i@0.1.0 postinstall > npm run copy:leaflet-icons > when-am-i@0.1.0 copy:leaflet-icons > mkdir -p public && cp node_modules/leaflet/dist/images/marker-icon.png public/ && cp node_modules/leaflet/dist/images/marker-icon-2x.png public/ && cp node_modules/leaflet/dist/images/marker-shadow.png public/ added 208 packages, and audited 209 packages in 8s 53 packages are looking for funding run `npm fund` for details 12 vulnerabilities (1 low, 4 moderate, 7 high) To address issues that do not require attention, run: npm audit fix To address all issues (including breaking changes), run: npm audit fix --force Run `npm audit` for details. npm warn install-scripts 2 packages have install scripts not yet covered by allowScripts: npm warn install-scripts esbuild@0.21.5 (postinstall: node install.js) npm warn install-scripts esbuild@0.28.1 (postinstall: node install.js) npm warn install-scripts npm warn install-scripts Run `npm install-scripts ls` to review, or `npm install-scripts approve <pkg>` to allow. $ npm run build > when-am-i@0.1.0 prebuild > npm run validate:data > when-am-i@0.1.0 validate:data > tsx scripts/validate-data.mts ✅ aztec.json ✅ china.json ✅ colonial-america.json ✅ ethiopia.json ✅ india.json ✅ iran.json ✅ japan.json ✅ judea.json ✅ korea.json ✅ maori.json ✅ massachusett.json ✅ maya.json ✅ north-korea.json ✅ north-sentinel-island.json ✅ oregon-country.json ✅ ottoman.json ✅ revolutionary-france.json ✅ russian-america.json ✅ thailand.json ✅ vietnam.json ✨ All 20 calendar file(s) valid. > when-am-i@0.1.0 build > vite build vite v5.4.21 building for production... transforming... ✓ 120 modules transformed. rendering chunks... computing gzip size... dist/index.html 0.48 kB │ gzip: 0.31 kB dist/assets/calendar-D2NfI8Go.png 7.24 kB dist/assets/index-C5DrX3wN.css 21.82 kB │ gzip: 6.91 kB dist/assets/index-B-W4czLX.js 956.49 kB │ gzip: 329.98 kB (!) Some chunks are larger than 500 kB after minification. Consider: - Using dynamic import() to code-split the application - Use build.rollupOptions.output.manualChunks to improve chunking: https://rollupjs.org/configuration-options/#output-manualchunks - Adjust chunk size limit for this warning via build.chunkSizeWarningLimit. ✓ built in 3.08s