Skip to content
This repository was archived by the owner on Jan 6, 2026. It is now read-only.
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions index.html → glimmer-vm/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

<body>
<script type="module">
import "qunit/qunit/qunit.js";
import { runTests } from "@glimmer-workspace/integration-tests";
await runTests(
import.meta.glob("./packages/{@glimmer,@glimmer-workspace}/*/test/**/*-test.ts"),
Expand Down
File renamed without changes.
8 changes: 4 additions & 4 deletions package.json → glimmer-vm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"@glimmer-workspace/eslint-plugin": "workspace:*",
"@glimmer-workspace/integration-tests": "workspace:*",
"@glimmer-workspace/repo-metadata": "workspace:*",
"@glimmer/env": "0.1.7",
"@glimmer/env": "workspace:*",
"@rollup/plugin-sucrase": "^5.0.2",
"@rollup/plugin-terser": "^0.4.4",
"@tsconfig/strictest": "^2.0.5",
Expand Down Expand Up @@ -135,13 +135,13 @@
},
"overrides": {
"@glimmer/syntax": "workspace:*",
"@oclif/plugin-warn-if-update-available": "^3.1.42",
"@rollup/pluginutils": "^5.0.2",
"@types/node": "$@types/node",
"typescript": "$typescript",
"@oclif/plugin-warn-if-update-available": "^3.1.42",
"d3-color": "^3.1.0",
"esbuild": "^0.25.0",
"got": "^11.8.5"
"got": "^11.8.5",
"typescript": "$typescript"
},
"peerDependencyRules": {
"allowAny": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
import type { Expand } from '@glimmer/interfaces';
import type { Runner } from 'js-reporters';
import { debug } from '@glimmer/validator';
import { autoRegister } from 'js-reporters';
import { default as QUnit } from 'qunit';

const SMOKE_TEST_FILE = './packages/@glimmer-workspace/integration-tests/test/smoke-test.ts';

Expand Down Expand Up @@ -31,7 +29,7 @@ export async function bootQunit(
}

export async function setupQunit() {
const qunitLib: QUnit = await import('qunit');
const qunitLib: QUnit = QUnit;
await import('qunit/qunit/qunit.css');

const testing = Testing.withConfig(
Expand Down Expand Up @@ -72,10 +70,11 @@ export async function setupQunit() {
}
);

const runner = autoRegister();

testing.begin(() => {
if (testing.config.ci) {
// @ts-expect-error TODO: js-reporters not available
const runner = autoRegister();

// @ts-expect-error add reporters.tap to the types

const tap = qunitLib.reporters.tap as {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import type { IteratorDelegate } from '@glimmer/reference';
import type { TestBase } from 'qunit';
import setGlobalContext from '@glimmer/global-context';
import { consumeTag, dirtyTagFor, tagFor } from '@glimmer/validator';
import QUnit from 'qunit';

import { scheduleDidDestroy, scheduleWillDestroy } from './base-env';
import { NativeIteratorDelegate } from './modes/env';
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// TODO: lets point everybody who uses this directly at @glimmer/tracking
export { tracked } from '@glimmer/tracking';
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"@glimmer/reference": "workspace:*",
"@glimmer/runtime": "workspace:*",
"@glimmer/syntax": "workspace:*",
"@glimmer/tracking": "workspace:*",
"@glimmer/util": "workspace:*",
"@glimmer/validator": "workspace:*",
"@glimmer/vm": "workspace:*",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,13 @@ interface Crypto {
}

export const defaultId: TemplateIdFn = (() => {
/* prettier-ignore */
const req = (
// @ts-expect-error using node API here, but only here
typeof module === 'object' && typeof module.require === 'function'
? // eslint-disable-next-line @typescript-eslint/unbound-method
? // @ts-expect-error using node API here, but only here
module.require
: globalThis.require
: (globalThis as any).require
) as typeof require | undefined;

if (req) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,6 @@
"@glimmer/wire-format": "workspace:*"
},
"devDependencies": {
"@glimmer-workspace/build-support": "workspace:*",
"@glimmer-workspace/env": "workspace:*",
"@glimmer/constants": "workspace:*",
"@glimmer/debug": "workspace:*",
"@glimmer/debug-util": "workspace:*",
Expand Down
Loading