From f8b28caefba70e426fab16535c81fd21269468da Mon Sep 17 00:00:00 2001 From: NullVoxPopuli <199018+NullVoxPopuli@users.noreply.github.com> Date: Fri, 27 Oct 2023 11:51:01 -0400 Subject: [PATCH 1/2] declare type=module --- packages/@glimmer/compiler/package.json | 1 + packages/@glimmer/debug/package.json | 1 + packages/@glimmer/destroyable/package.json | 1 + packages/@glimmer/dom-change-list/package.json | 1 + packages/@glimmer/encoder/package.json | 3 ++- packages/@glimmer/global-context/package.json | 3 ++- packages/@glimmer/interfaces/package.json | 1 + packages/@glimmer/local-debug-flags/package.json | 1 + packages/@glimmer/manager/package.json | 1 + packages/@glimmer/node/package.json | 1 + packages/@glimmer/opcode-compiler/package.json | 1 + packages/@glimmer/owner/package.json | 1 + packages/@glimmer/program/package.json | 1 + packages/@glimmer/reference/package.json | 1 + packages/@glimmer/runtime/package.json | 1 + packages/@glimmer/syntax/package.json | 1 + packages/@glimmer/util/package.json | 1 + packages/@glimmer/validator/package.json | 1 + packages/@glimmer/vm-babel-plugins/package.json | 3 ++- packages/@glimmer/vm/package.json | 3 ++- packages/@glimmer/wire-format/package.json | 1 + 21 files changed, 25 insertions(+), 4 deletions(-) diff --git a/packages/@glimmer/compiler/package.json b/packages/@glimmer/compiler/package.json index 4bde3b40d4..3c9a8441ba 100644 --- a/packages/@glimmer/compiler/package.json +++ b/packages/@glimmer/compiler/package.json @@ -1,5 +1,6 @@ { "name": "@glimmer/compiler", + "type": "module", "version": "0.85.3", "repository": "https://github.com/glimmerjs/glimmer-vm/tree/master/packages/@glimmer/compiler", "exports": { diff --git a/packages/@glimmer/debug/package.json b/packages/@glimmer/debug/package.json index adf007594c..a6ede0c73f 100644 --- a/packages/@glimmer/debug/package.json +++ b/packages/@glimmer/debug/package.json @@ -1,5 +1,6 @@ { "name": "@glimmer/debug", + "type": "module", "version": "0.85.3", "repository": "https://github.com/glimmerjs/glimmer-vm/tree/master/packages/@glimmer/debug", "main": "index.ts", diff --git a/packages/@glimmer/destroyable/package.json b/packages/@glimmer/destroyable/package.json index f21a0458f0..7dcdc4cf58 100644 --- a/packages/@glimmer/destroyable/package.json +++ b/packages/@glimmer/destroyable/package.json @@ -1,5 +1,6 @@ { "name": "@glimmer/destroyable", + "type": "module", "version": "0.85.3", "repository": "https://github.com/glimmerjs/glimmer-vm/tree/master/packages/@glimmer/destroyable", "description": "Utilities for creating and managing a destroyable hierarchy of objects", diff --git a/packages/@glimmer/dom-change-list/package.json b/packages/@glimmer/dom-change-list/package.json index 76797b5ff6..01a62b1d4b 100644 --- a/packages/@glimmer/dom-change-list/package.json +++ b/packages/@glimmer/dom-change-list/package.json @@ -1,5 +1,6 @@ { "name": "@glimmer/dom-change-list", + "type": "module", "version": "0.85.3", "repository": "https://github.com/glimmerjs/glimmer-vm/tree/master/packages/@glimmer/dom-change-list", "main": "index.ts", diff --git a/packages/@glimmer/encoder/package.json b/packages/@glimmer/encoder/package.json index 9083c23853..92fd4b93a5 100644 --- a/packages/@glimmer/encoder/package.json +++ b/packages/@glimmer/encoder/package.json @@ -1,5 +1,6 @@ { "name": "@glimmer/encoder", + "type": "module", "version": "0.85.3", "repository": "https://github.com/glimmerjs/glimmer-vm/tree/master/packages/@glimmer/encoder", "main": "index.ts", @@ -26,4 +27,4 @@ "devDependencies": { "@glimmer-workspace/build-support": "workspace:^" } -} \ No newline at end of file +} diff --git a/packages/@glimmer/global-context/package.json b/packages/@glimmer/global-context/package.json index 087576a198..b8698484f3 100644 --- a/packages/@glimmer/global-context/package.json +++ b/packages/@glimmer/global-context/package.json @@ -1,5 +1,6 @@ { "name": "@glimmer/global-context", + "type": "module", "version": "0.85.3", "repository": "https://github.com/glimmerjs/glimmer-vm/tree/master/packages/@glimmer/global-context", "main": "index.ts", @@ -22,4 +23,4 @@ "devDependencies": { "@glimmer-workspace/build-support": "workspace:^" } -} \ No newline at end of file +} diff --git a/packages/@glimmer/interfaces/package.json b/packages/@glimmer/interfaces/package.json index 5458c2d17e..392ce4d890 100644 --- a/packages/@glimmer/interfaces/package.json +++ b/packages/@glimmer/interfaces/package.json @@ -1,5 +1,6 @@ { "name": "@glimmer/interfaces", + "type": "module", "version": "0.85.3", "repository": "https://github.com/glimmerjs/glimmer-vm/tree/master/packages/@glimmer/interfaces", "types": "index.ts", diff --git a/packages/@glimmer/local-debug-flags/package.json b/packages/@glimmer/local-debug-flags/package.json index 96f9d7e6ad..d00e0fbee3 100644 --- a/packages/@glimmer/local-debug-flags/package.json +++ b/packages/@glimmer/local-debug-flags/package.json @@ -1,5 +1,6 @@ { "name": "@glimmer/local-debug-flags", + "type": "module", "version": "0.85.3", "repository": { "type": "git", diff --git a/packages/@glimmer/manager/package.json b/packages/@glimmer/manager/package.json index cc25033939..c2e700c142 100644 --- a/packages/@glimmer/manager/package.json +++ b/packages/@glimmer/manager/package.json @@ -1,5 +1,6 @@ { "name": "@glimmer/manager", + "type": "module", "version": "0.85.3", "repository": "https://github.com/glimmerjs/glimmer-vm/tree/master/packages/@glimmer/program", "dependencies": { diff --git a/packages/@glimmer/node/package.json b/packages/@glimmer/node/package.json index d705214184..7ac14e43d0 100644 --- a/packages/@glimmer/node/package.json +++ b/packages/@glimmer/node/package.json @@ -1,5 +1,6 @@ { "name": "@glimmer/node", + "type": "module", "version": "0.85.3", "repository": "https://github.com/glimmerjs/glimmer-vm/tree/master/packages/@glimmer/node", "dependencies": { diff --git a/packages/@glimmer/opcode-compiler/package.json b/packages/@glimmer/opcode-compiler/package.json index 347a7d3ef9..6237c018ab 100644 --- a/packages/@glimmer/opcode-compiler/package.json +++ b/packages/@glimmer/opcode-compiler/package.json @@ -1,5 +1,6 @@ { "name": "@glimmer/opcode-compiler", + "type": "module", "version": "0.85.3", "repository": "https://github.com/glimmerjs/glimmer-vm/tree/master/packages/@glimmer/opcode-compiler", "dependencies": { diff --git a/packages/@glimmer/owner/package.json b/packages/@glimmer/owner/package.json index 94fc32f491..00acd919f9 100644 --- a/packages/@glimmer/owner/package.json +++ b/packages/@glimmer/owner/package.json @@ -1,5 +1,6 @@ { "name": "@glimmer/owner", + "type": "module", "version": "0.85.3", "repository": "https://github.com/glimmerjs/glimmer-vm/tree/master/packages/@glimmer/owner", "description": "Implementation for the owner in Glimmer apps", diff --git a/packages/@glimmer/program/package.json b/packages/@glimmer/program/package.json index 5f0c241a9a..fc0d0f1727 100644 --- a/packages/@glimmer/program/package.json +++ b/packages/@glimmer/program/package.json @@ -1,5 +1,6 @@ { "name": "@glimmer/program", + "type": "module", "version": "0.85.3", "repository": "https://github.com/glimmerjs/glimmer-vm/tree/master/packages/@glimmer/program", "dependencies": { diff --git a/packages/@glimmer/reference/package.json b/packages/@glimmer/reference/package.json index da4242933e..e487f4feab 100644 --- a/packages/@glimmer/reference/package.json +++ b/packages/@glimmer/reference/package.json @@ -1,5 +1,6 @@ { "name": "@glimmer/reference", + "type": "module", "version": "0.85.3", "description": "Objects used to track values and their dirtiness in Glimmer", "license": "MIT", diff --git a/packages/@glimmer/runtime/package.json b/packages/@glimmer/runtime/package.json index fff50177b0..e3cda8b2f9 100644 --- a/packages/@glimmer/runtime/package.json +++ b/packages/@glimmer/runtime/package.json @@ -1,5 +1,6 @@ { "name": "@glimmer/runtime", + "type": "module", "version": "0.85.3", "description": "Minimal runtime needed to render Glimmer templates", "repository": "https://github.com/glimmerjs/glimmer-vm/tree/master/packages/@glimmer/runtime", diff --git a/packages/@glimmer/syntax/package.json b/packages/@glimmer/syntax/package.json index 15d0b8f043..b2508c65f5 100644 --- a/packages/@glimmer/syntax/package.json +++ b/packages/@glimmer/syntax/package.json @@ -1,5 +1,6 @@ { "name": "@glimmer/syntax", + "type": "module", "version": "0.85.3", "repository": "https://github.com/glimmerjs/glimmer-vm/tree/master/packages/@glimmer/syntax", "dependencies": { diff --git a/packages/@glimmer/util/package.json b/packages/@glimmer/util/package.json index 0df1c48df7..b98ac2093d 100644 --- a/packages/@glimmer/util/package.json +++ b/packages/@glimmer/util/package.json @@ -1,5 +1,6 @@ { "name": "@glimmer/util", + "type": "module", "version": "0.85.3", "description": "Common utilities used in Glimmer", "repository": "https://github.com/tildeio/glimmer/tree/master/packages/@glimmer/util", diff --git a/packages/@glimmer/validator/package.json b/packages/@glimmer/validator/package.json index 351784ea25..d8abf63dc4 100644 --- a/packages/@glimmer/validator/package.json +++ b/packages/@glimmer/validator/package.json @@ -1,5 +1,6 @@ { "name": "@glimmer/validator", + "type": "module", "version": "0.85.3", "description": "Objects used to track values and their dirtiness in Glimmer", "license": "MIT", diff --git a/packages/@glimmer/vm-babel-plugins/package.json b/packages/@glimmer/vm-babel-plugins/package.json index fa1ee62582..a67177910b 100644 --- a/packages/@glimmer/vm-babel-plugins/package.json +++ b/packages/@glimmer/vm-babel-plugins/package.json @@ -1,5 +1,6 @@ { "name": "@glimmer/vm-babel-plugins", + "type": "module", "version": "0.85.3", "description": "Compiles out VM assertion and deprecation utilities and debug tooling based on environment", "repository": "https://github.com/glimmerjs/glimmer.js", @@ -35,4 +36,4 @@ "default": "./dist/index.js" } } -} \ No newline at end of file +} diff --git a/packages/@glimmer/vm/package.json b/packages/@glimmer/vm/package.json index 9a01d12f3e..7053ea3e9a 100644 --- a/packages/@glimmer/vm/package.json +++ b/packages/@glimmer/vm/package.json @@ -1,6 +1,7 @@ { "name": "@glimmer/vm", "version": "0.85.3", + "type": "module", "repository": "https://github.com/glimmerjs/glimmer-vm/tree/master/packages/@glimmer/vm", "dependencies": { "@glimmer/util": "workspace:^", @@ -26,4 +27,4 @@ "devDependencies": { "@glimmer-workspace/build-support": "workspace:^" } -} \ No newline at end of file +} diff --git a/packages/@glimmer/wire-format/package.json b/packages/@glimmer/wire-format/package.json index 322ec68bd9..0b9c3e2a83 100644 --- a/packages/@glimmer/wire-format/package.json +++ b/packages/@glimmer/wire-format/package.json @@ -1,5 +1,6 @@ { "name": "@glimmer/wire-format", + "type": "module", "version": "0.85.3", "description": "", "repository": "https://github.com/glimmerjs/glimmer-vm/tree/master/packages/@glimmer/wire-format", From 6ec95507cc501c65d7727ce712e23f03786a2b60 Mon Sep 17 00:00:00 2001 From: NullVoxPopuli <199018+NullVoxPopuli@users.noreply.github.com> Date: Fri, 27 Oct 2023 12:09:20 -0400 Subject: [PATCH 2/2] vm-babel-plugins is cjs --- packages/@glimmer/vm-babel-plugins/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/@glimmer/vm-babel-plugins/package.json b/packages/@glimmer/vm-babel-plugins/package.json index a67177910b..c2dca6da98 100644 --- a/packages/@glimmer/vm-babel-plugins/package.json +++ b/packages/@glimmer/vm-babel-plugins/package.json @@ -1,6 +1,6 @@ { "name": "@glimmer/vm-babel-plugins", - "type": "module", + "type": "commonjs", "version": "0.85.3", "description": "Compiles out VM assertion and deprecation utilities and debug tooling based on environment", "repository": "https://github.com/glimmerjs/glimmer.js",