-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate to ES Module structure/runtime - Node 20, Vite, Vitest, Storybook 8 #272
Commits on Mar 7, 2024
-
- update lerna and node, add eslint esm preset
- update typescript and ts-node config - file path and extension changes - migrate away from styled-icons/boxicons due to typing issue with esm - update flatgeobuf, remove old workarounds - add skipLibCheck to resolve flatgeobuf internal import error - update turf to v7 prerelease, migrate to exporting latest geojson types, tighten up geometry generics - ignore rbush type import errors - switch from ts-node to tsx for prepare script - migrating use of __dirname to new method
Configuration menu - View commit details
-
Copy full SHA for 6b05e34 - Browse repository at this point
Copy the full SHA 6b05e34View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e840a7 - Browse repository at this point
Copy the full SHA 8e840a7View commit details
Commits on Mar 13, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 1e5b15d - Browse repository at this point
Copy the full SHA 1e5b15dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e2faad - Browse repository at this point
Copy the full SHA 4e2faadView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f79454 - Browse repository at this point
Copy the full SHA 4f79454View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1732fe8 - Browse repository at this point
Copy the full SHA 1732fe8View commit details -
Configuration menu - View commit details
-
Copy full SHA for bd13d38 - Browse repository at this point
Copy the full SHA bd13d38View commit details -
clean up import of CJS dependencies that don't have a true default im…
…port. Migrate use of require in some places, enough to get init working.
Configuration menu - View commit details
-
Copy full SHA for 34d7010 - Browse repository at this point
Copy the full SHA 34d7010View commit details -
Configuration menu - View commit details
-
Copy full SHA for 399b10f - Browse repository at this point
Copy the full SHA 399b10fView commit details
Commits on Mar 14, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 001c32d - Browse repository at this point
Copy the full SHA 001c32dView commit details
Commits on Apr 2, 2024
-
Switch from Jest to Vitest (#273)
* start switch to vitest * drop jest stuff, other dirname and import dep fixes, reset lerna.json * use default-import to use and extend rbush * add vitest dep formally, add vitest-setup loading jest-dom * Migrate more tests, make them runnable standalone in vscode debug with direct import * update geoblaze, update overlap output changes related to turf area. skip many remaining tests * fix prepare * comment out and skip tests with jest mocks * initial migrate of scripts to vitest, skipping failing precalc datasource tests * stub vitest project runner * clean up vitest config type error, and punt on browser test mock error and bump vi* versions * skip remaining failing tests, add back test commit gate * try making vitest regular dependency * update runner to config project vitest * merge cli options * fix vitest cli command * switch to TEST_ROOT env var * shift jsdom dep for project use * fix TEST_ROOT * simplify test commands, tune test config * update vitest comments * add data server back to test command * vitest comments * drop ts-node for tsx * add testing of base and template packages, skipping most. Migrate remaining commands to vitest. Migrate to turf 7 in projects
Configuration menu - View commit details
-
Copy full SHA for 00362ec - Browse repository at this point
Copy the full SHA 00362ecView commit details
Commits on Apr 5, 2024
-
fix type error, upgrade node-fetch, fix launcher paths, VectorDatasou…
…rce not fetching properly?
Configuration menu - View commit details
-
Copy full SHA for cf2e533 - Browse repository at this point
Copy the full SHA cf2e533View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2391c0a - Browse repository at this point
Copy the full SHA 2391c0aView commit details
Commits on Apr 8, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 49028a5 - Browse repository at this point
Copy the full SHA 49028a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for d9a3223 - Browse repository at this point
Copy the full SHA d9a3223View commit details -
update fetch polyfill and upgrade again to latest flatgeobuf. subdivi…
…ded datasource fetch also resolved.
Configuration menu - View commit details
-
Copy full SHA for a9b5561 - Browse repository at this point
Copy the full SHA a9b5561View commit details -
Configuration menu - View commit details
-
Copy full SHA for a69708a - Browse repository at this point
Copy the full SHA a69708aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c202b1 - Browse repository at this point
Copy the full SHA 8c202b1View commit details
Commits on Apr 14, 2024
-
* convert function builder to esbuild * fix other function output dir, cleanup negative zero in cleanCoords * add buildClient using esbuild with html plugin, refactor App to receive lazy loaded report clients, fix loose client-ui exports * add esbuild polyfill, address esbuild strict module import - pare down projectClient import paths, switch client away from using top-level gp lib import, shift top-level indexes to prevent pollution of node code in ui code, guard use of process env var * Switch to generating ReportApp.tsx in .build-web with lazy load of report clients * on build copy language assets to .build-web
Configuration menu - View commit details
-
Copy full SHA for 0d10019 - Browse repository at this point
Copy the full SHA 0d10019View commit details
Commits on Apr 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 6b745bf - Browse repository at this point
Copy the full SHA 6b745bfView commit details
Commits on Apr 17, 2024
-
AWS - deploy pure ESM code for Lambda and client, on node 20 (#279)
* upgrade aws-cdk-lib and aws-sdk, add package.json to build to get esm enabled in lambda, move esbuild dep to top of monorepo, add node 20 runtime * update data scripts to work in monorepo * fix precalc script env * build - create isolated mini package per function with own entry point. Add type assertion to language json import
Configuration menu - View commit details
-
Copy full SHA for 68fd2f8 - Browse repository at this point
Copy the full SHA 68fd2f8View commit details
Commits on Apr 18, 2024
-
upgrade zx, refactor translation install and extract to use scripts c…
…larify build script
Configuration menu - View commit details
-
Copy full SHA for 79370fc - Browse repository at this point
Copy the full SHA 79370fcView commit details -
add missing esbuild plugins add missing babel plugin for translation …
…extract, add client polyfill globals process true
Configuration menu - View commit details
-
Copy full SHA for 92f6bcb - Browse repository at this point
Copy the full SHA 92f6bcbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 233223f - Browse repository at this point
Copy the full SHA 233223fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 881eff6 - Browse repository at this point
Copy the full SHA 881eff6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0f86ee5 - Browse repository at this point
Copy the full SHA 0f86ee5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3cbf0ff - Browse repository at this point
Copy the full SHA 3cbf0ffView commit details -
Configuration menu - View commit details
-
Copy full SHA for a82413c - Browse repository at this point
Copy the full SHA a82413cView commit details
Commits on Apr 19, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 6086b9e - Browse repository at this point
Copy the full SHA 6086b9eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1124c3c - Browse repository at this point
Copy the full SHA 1124c3cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 48ff6e6 - Browse repository at this point
Copy the full SHA 48ff6e6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3b0d5c7 - Browse repository at this point
Copy the full SHA 3b0d5c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for a8eae6e - Browse repository at this point
Copy the full SHA a8eae6eView commit details -
add cloufront access to client bucket to be able to access client fil…
…es in directories. Fix dynamic import of translations in browser client
Configuration menu - View commit details
-
Copy full SHA for 43673c4 - Browse repository at this point
Copy the full SHA 43673c4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6e78970 - Browse repository at this point
Copy the full SHA 6e78970View commit details -
Configuration menu - View commit details
-
Copy full SHA for dd550c8 - Browse repository at this point
Copy the full SHA dd550c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 144bbbf - Browse repository at this point
Copy the full SHA 144bbbfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 62bc5bc - Browse repository at this point
Copy the full SHA 62bc5bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for ee804e7 - Browse repository at this point
Copy the full SHA ee804e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 778f3be - Browse repository at this point
Copy the full SHA 778f3beView commit details
Commits on Apr 22, 2024
-
Configuration menu - View commit details
-
Copy full SHA for cb7503a - Browse repository at this point
Copy the full SHA cb7503aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 414afdb - Browse repository at this point
Copy the full SHA 414afdbView commit details
Commits on Apr 23, 2024
-
replace use of esbuild-plugin-html which doesn't support entry point …
…outside of current directory
Configuration menu - View commit details
-
Copy full SHA for 2a337a8 - Browse repository at this point
Copy the full SHA 2a337a8View commit details
Commits on Apr 25, 2024
-
Configuration menu - View commit details
-
Copy full SHA for ef6ce5e - Browse repository at this point
Copy the full SHA ef6ce5eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 631d985 - Browse repository at this point
Copy the full SHA 631d985View commit details -
fully switch from assert to with import syntax, esbuild still convert…
…s to older assert syntax but should change at some point
Configuration menu - View commit details
-
Copy full SHA for 6577438 - Browse repository at this point
Copy the full SHA 6577438View commit details
Commits on Apr 26, 2024
-
Configuration menu - View commit details
-
Copy full SHA for dd819c9 - Browse repository at this point
Copy the full SHA dd819c9View commit details -
- polygon-clipping upgrade resulted in additional vertice in some clip results slightly changing value (<.04 sq meters). - Update base translations. Fix translations extract with babel import assertion plugin.
Configuration menu - View commit details
-
Copy full SHA for feec025 - Browse repository at this point
Copy the full SHA feec025View commit details -
Configuration menu - View commit details
-
Copy full SHA for 25ba9b8 - Browse repository at this point
Copy the full SHA 25ba9b8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 735b82f - Browse repository at this point
Copy the full SHA 735b82fView commit details
Commits on Apr 28, 2024
-
migrate to new styled-components .attrs() to define caller-defined at…
…tributes to pass to components
Configuration menu - View commit details
-
Copy full SHA for d9d4076 - Browse repository at this point
Copy the full SHA d9d4076View commit details -
Configuration menu - View commit details
-
Copy full SHA for b0cd88e - Browse repository at this point
Copy the full SHA b0cd88eView commit details
Commits on May 14, 2024
-
Vite for client dev, build, storybook (#282)
* switch to transient prop for duration ProgressBar * start conversion to Vite for client build, still need to fix import attributes and add dev server * Migrate start:client to Vite, language dynamic import not working or keeping with:json import assertion * Migrate gp lib to storybook 8 using Vite, missing project storybook still * drop babel from gp vite config, causing require error * add back storybook to build docs * migrate from start-storybook to just storybook * refactor report stories to use code generator with story-cache * add story-cache to base project gitignore * change report-stories to example-stories. Migrate templates to use them. reports required to use named export * migrate create:report to node 20 patterns. Fix classColumn type error * glob delete story caches on startup, add vite types using d.ts file for asset import * switch to Vite glob loader for language modules * no need to copy language modules into build-web anymore * add vite to base-project * export pathUtils, simplify tsconfig * Drop unused TranslatorSync component * shift storybook to dependencies for project user * Change story folder structure * Add turf/helpers to base-project since common project use * add all to dependencies to try and solve storybook start error * export datasource helpers, remove unused vitest workspace, update min node and npm in package.json * Make project storybook+vite independent of gp version * make styled-components props transient, drop unused main from base-project package.json * vite configure web worker * remove vite worker config since web worker not being used * fix story sort order * fix blank-project functions * attempt fix to favicon install command * add storybook install script for migraters. Add initial Migrating docs * add back default export to report clients require for React.lazy load
Configuration menu - View commit details
-
Copy full SHA for 569c2c8 - Browse repository at this point
Copy the full SHA 569c2c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for bdb4a99 - Browse repository at this point
Copy the full SHA bdb4a99View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c6bb19 - Browse repository at this point
Copy the full SHA 7c6bb19View commit details