Skip to content

Commit e432af5

Browse files
committed
update infra + move to ESM
1 parent b6182a5 commit e432af5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

81 files changed

+689
-663
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## Unreleased
88

9+
## Changed
10+
11+
- Converted app to use ES Modules for the source code
12+
13+
## Fixed
14+
15+
- Prevent terms shorter than 3 characters from appearing in the sidebar--clicking on these produces an empty screen + they are not likely to refer to concrete topics.
16+
917
## [2.2.0] - 2025-02-17
1018

1119
### Added

infra.mts renamed to infra.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export default () => {
4040
paths: ["dist/docs/html"],
4141
});
4242

43-
saws.staticSite(ctx.prefix("demo"), {
43+
saws.staticSite(ctx.prefix("docs"), {
4444
bucket: docsBucket,
4545
domain: docsDnsName,
4646
adapter: {

jest.config.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
/** @type {import('ts-jest/dist/types').InitialOptionsTsJest} */
22
module.exports = {
33
globals: {
4-
LOG_LEVEL: 'info',
4+
LOG_LEVEL: "info",
55
DEV_MODE: false,
66
},
7-
moduleFileExtensions: ['js', 'json', 'ts'],
8-
rootDir: 'test',
9-
testEnvironment: 'node',
10-
testRegex: '.spec.ts$',
7+
moduleFileExtensions: ["js", "json", "ts"],
8+
rootDir: "test",
9+
testEnvironment: "node",
10+
testRegex: ".spec.ts$",
1111
transform: {
12-
'^.+\\.[tj]s$': 'ts-jest',
13-
'^.+\\.txt$': 'jest-text-transformer',
14-
}
12+
"^.+\\.[tj]s$": "ts-jest",
13+
"^.+\\.txt$": "jest-text-transformer",
14+
},
1515
};

package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"name": "egghead",
3+
"type": "module",
34
"version": "2.2.0",
45
"author": "cfeenstra67 <cameron.l.feenstra@gmail.com>",
56
"license": "MIT",
@@ -11,7 +12,7 @@
1112
"serve": "webpack serve --config-name dev --no-client-overlay",
1213
"serve-demo": "webpack serve --config-name demo --no-client-overlay",
1314
"ohm-generate": "ohm generateBundles --esm --withTypes src/**/*.ohm",
14-
"check": "pnpm biome check *.ts src test infra --write",
15+
"check": "pnpm biome check *.{js,ts} src test infra --write",
1516
"test": "jest"
1617
},
1718
"dependencies": {
@@ -28,7 +29,7 @@
2829
"@radix-ui/react-tabs": "^1.1.3",
2930
"@radix-ui/react-toast": "^1.2.6",
3031
"@radix-ui/react-tooltip": "^1.1.8",
31-
"@sqlite.org/sqlite-wasm": "3.48.0-build4",
32+
"@sqlite.org/sqlite-wasm": "3.50.1-build1",
3233
"@tanstack/react-query": "^5.66.0",
3334
"@ungap/event-target": "^0.2.3",
3435
"animate.css": "^4.1.1",
@@ -56,7 +57,7 @@
5657
"@ohm-js/cli": "^1.1.0",
5758
"@pulumi/aws": "^6.68.0",
5859
"@pulumi/pulumi": "^3.149.0",
59-
"@stackattack/aws": "0.1.0-dev.41",
60+
"@stackattack/aws": "0.1.0-dev.43",
6061
"@svgr/webpack": "^6.2.1",
6162
"@types/chrome": "^0.0.300",
6263
"@types/jest": "^28.1.5",
@@ -81,7 +82,7 @@
8182
"mime-types": "^2.1.35",
8283
"mini-css-extract-plugin": "^2.6.0",
8384
"ohm-js": "^16.3.4",
84-
"postcss": ">=8.4.31",
85+
"postcss": "^8.5.6",
8586
"postcss-loader": "^8.1.1",
8687
"postcss-preset-env": "^10.1.3",
8788
"prettier": "^2.6.2",

0 commit comments

Comments
 (0)