diff --git a/benchmark/benchmarks/krausest/package.json b/benchmark/benchmarks/krausest/package.json index 4ea9828c5c..6f424af911 100644 --- a/benchmark/benchmarks/krausest/package.json +++ b/benchmark/benchmarks/krausest/package.json @@ -1,10 +1,11 @@ { "private": true, "name": "@glimmer-workspace/krausest", + "type": "module", "scripts": { + "start": "vite --mode production", "test:lint": "eslint .", - "test:types": "tsc --noEmit -p ../../tsconfig.json", - "start": "vite --mode production" + "test:types": "tsc --noEmit -p ../../tsconfig.json" }, "dependencies": { "@glimmer-workspace/benchmark-env": "workspace:^", @@ -24,6 +25,5 @@ }, "config": { "tsconfig": "../../tsconfig.json" - }, - "type": "module" -} \ No newline at end of file + } +} diff --git a/package.json b/package.json index d67e933741..be0259eb95 100644 --- a/package.json +++ b/package.json @@ -175,4 +175,4 @@ "node": "20.9.0", "pnpm": "8.6.12" } -} \ No newline at end of file +} diff --git a/packages/@glimmer/compiler/package.json b/packages/@glimmer/compiler/package.json index 21ea99cddd..83115d3fbe 100644 --- a/packages/@glimmer/compiler/package.json +++ b/packages/@glimmer/compiler/package.json @@ -55,4 +55,4 @@ "engines": { "node": ">= 16.0.0" } -} \ No newline at end of file +} diff --git a/packages/@glimmer/debug/package.json b/packages/@glimmer/debug/package.json index fc44596147..6fdaacf565 100644 --- a/packages/@glimmer/debug/package.json +++ b/packages/@glimmer/debug/package.json @@ -47,4 +47,4 @@ "toml": "^3.0.0", "typescript": "*" } -} \ No newline at end of file +} diff --git a/packages/@glimmer/destroyable/package.json b/packages/@glimmer/destroyable/package.json index 5c332e0c66..3c4aca0547 100644 --- a/packages/@glimmer/destroyable/package.json +++ b/packages/@glimmer/destroyable/package.json @@ -44,4 +44,4 @@ "rollup": "^4.5.1", "typescript": "*" } -} \ No newline at end of file +} diff --git a/packages/@glimmer/encoder/package.json b/packages/@glimmer/encoder/package.json index 9ffa1977e1..4bb404e7c5 100644 --- a/packages/@glimmer/encoder/package.json +++ b/packages/@glimmer/encoder/package.json @@ -42,4 +42,4 @@ "rollup": "^4.5.1", "typescript": "*" } -} \ No newline at end of file +} diff --git a/packages/@glimmer/global-context/package.json b/packages/@glimmer/global-context/package.json index 5c5b604649..0b27e0886c 100644 --- a/packages/@glimmer/global-context/package.json +++ b/packages/@glimmer/global-context/package.json @@ -38,4 +38,4 @@ "rollup": "^4.5.1", "typescript": "*" } -} \ No newline at end of file +} diff --git a/packages/@glimmer/interfaces/package.json b/packages/@glimmer/interfaces/package.json index 437b9058e4..56d9fa01dc 100644 --- a/packages/@glimmer/interfaces/package.json +++ b/packages/@glimmer/interfaces/package.json @@ -3,6 +3,7 @@ "version": "0.86.0", "repository": "https://github.com/glimmerjs/glimmer-vm/tree/main/packages/@glimmer/interfaces", "type": "module", + "main": "index.d.ts", "types": "index.d.ts", "exports": { "types": "./index.d.ts", @@ -29,6 +30,5 @@ "publint": "^0.2.5", "rollup": "^4.5.1", "typescript": "*" - }, - "main": "index.d.ts" -} \ No newline at end of file + } +} diff --git a/packages/@glimmer/local-debug-flags/package.json b/packages/@glimmer/local-debug-flags/package.json index 3531a91588..9ca8ba35ea 100644 --- a/packages/@glimmer/local-debug-flags/package.json +++ b/packages/@glimmer/local-debug-flags/package.json @@ -18,4 +18,4 @@ "devDependencies": { "eslint": "^8.52.0" } -} \ No newline at end of file +} diff --git a/packages/@glimmer/manager/package.json b/packages/@glimmer/manager/package.json index a7053d98a9..e29c0070dd 100644 --- a/packages/@glimmer/manager/package.json +++ b/packages/@glimmer/manager/package.json @@ -50,4 +50,4 @@ "rollup": "^4.5.1", "typescript": "*" } -} \ No newline at end of file +} diff --git a/packages/@glimmer/node/package.json b/packages/@glimmer/node/package.json index 85429591d3..4ab14ba93c 100644 --- a/packages/@glimmer/node/package.json +++ b/packages/@glimmer/node/package.json @@ -46,4 +46,4 @@ "rollup": "^4.5.1", "typescript": "*" } -} \ No newline at end of file +} diff --git a/packages/@glimmer/opcode-compiler/package.json b/packages/@glimmer/opcode-compiler/package.json index 8b35f4cb53..00b4394413 100644 --- a/packages/@glimmer/opcode-compiler/package.json +++ b/packages/@glimmer/opcode-compiler/package.json @@ -51,4 +51,4 @@ "rollup": "^4.5.1", "typescript": "*" } -} \ No newline at end of file +} diff --git a/packages/@glimmer/owner/package.json b/packages/@glimmer/owner/package.json index 1491ba9df6..bc82114325 100644 --- a/packages/@glimmer/owner/package.json +++ b/packages/@glimmer/owner/package.json @@ -44,4 +44,4 @@ "rollup": "^4.5.1", "typescript": "*" } -} \ No newline at end of file +} diff --git a/packages/@glimmer/program/package.json b/packages/@glimmer/program/package.json index 8abdf8e117..900865aa34 100644 --- a/packages/@glimmer/program/package.json +++ b/packages/@glimmer/program/package.json @@ -49,4 +49,4 @@ "rollup": "^4.5.1", "typescript": "*" } -} \ No newline at end of file +} diff --git a/packages/@glimmer/reference/package.json b/packages/@glimmer/reference/package.json index 9743f952df..ff7e121a36 100644 --- a/packages/@glimmer/reference/package.json +++ b/packages/@glimmer/reference/package.json @@ -52,4 +52,4 @@ "rollup": "^4.5.1", "typescript": "*" } -} \ No newline at end of file +} diff --git a/packages/@glimmer/runtime/package.json b/packages/@glimmer/runtime/package.json index 61ec1bdd1b..2658d47ce6 100644 --- a/packages/@glimmer/runtime/package.json +++ b/packages/@glimmer/runtime/package.json @@ -56,4 +56,4 @@ "rollup": "^4.5.1", "typescript": "*" } -} \ No newline at end of file +} diff --git a/packages/@glimmer/syntax/package.json b/packages/@glimmer/syntax/package.json index 24f591ed98..24d9ea09b2 100644 --- a/packages/@glimmer/syntax/package.json +++ b/packages/@glimmer/syntax/package.json @@ -47,4 +47,4 @@ "rollup": "^4.5.1", "typescript": "*" } -} \ No newline at end of file +} diff --git a/packages/@glimmer/util/package.json b/packages/@glimmer/util/package.json index 1fba8dadd6..92552c0a46 100644 --- a/packages/@glimmer/util/package.json +++ b/packages/@glimmer/util/package.json @@ -7,6 +7,12 @@ "type": "module", "main": "lib/index.ts", "types": "lib/index.ts", + "exports": { + ".": { + "types": "./lib/index.ts", + "default": "./lib/index.ts" + } + }, "publishConfig": { "access": "public", "types": "dist/dev/index.d.ts", @@ -45,11 +51,5 @@ "publint": "^0.2.5", "rollup": "^4.5.1", "typescript": "*" - }, - "exports": { - ".": { - "types": "./lib/index.ts", - "default": "./lib/index.ts" - } } -} \ No newline at end of file +} diff --git a/packages/@glimmer/validator/package.json b/packages/@glimmer/validator/package.json index de18bad354..729d78855f 100644 --- a/packages/@glimmer/validator/package.json +++ b/packages/@glimmer/validator/package.json @@ -51,4 +51,4 @@ "rollup": "^4.5.1", "typescript": "*" } -} \ No newline at end of file +} diff --git a/packages/@glimmer/vm-babel-plugins/package.json b/packages/@glimmer/vm-babel-plugins/package.json index b4e0df852d..00cac37f57 100644 --- a/packages/@glimmer/vm-babel-plugins/package.json +++ b/packages/@glimmer/vm-babel-plugins/package.json @@ -50,4 +50,4 @@ "engines": { "node": ">=16" } -} \ No newline at end of file +} diff --git a/packages/@glimmer/vm/package.json b/packages/@glimmer/vm/package.json index 6fe493d9f2..ea1128c456 100644 --- a/packages/@glimmer/vm/package.json +++ b/packages/@glimmer/vm/package.json @@ -42,4 +42,4 @@ "rollup": "^4.5.1", "typescript": "*" } -} \ No newline at end of file +} diff --git a/packages/@glimmer/wire-format/package.json b/packages/@glimmer/wire-format/package.json index 847de29532..d1c0024db0 100644 --- a/packages/@glimmer/wire-format/package.json +++ b/packages/@glimmer/wire-format/package.json @@ -44,4 +44,4 @@ "rollup": "^4.5.1", "typescript": "*" } -} \ No newline at end of file +}