ember-repl 7.3.5 → 8.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"file":"Compiled.d.ts","sourceRoot":"","sources":["../../src/compile/Compiled.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC/C,OAAO,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAEhD,wBAAgB,QAAQ,CAAC,YAAY,EAAE,KAAK,GAAG,CAAC,MAAM,KAAK,CAAC,GAAG,YAAY,CAAC;AAC5E,wBAAgB,QAAQ,CACtB,YAAY,EAAE,KAAK,GAAG,CAAC,MAAM,KAAK,CAAC,EACnC,MAAM,CAAC,EAAE,MAAM,EACf,MAAM,CAAC,EAAE,MAAM,GACd,YAAY,CAAC;AAChB,wBAAgB,QAAQ,CAAC,YAAY,EAAE,KAAK,GAAG,CAAC,MAAM,KAAK,CAAC,EAAE,MAAM,EAAE,MAAM,MAAM,GAAG,YAAY,CAAC;AAClG,wBAAgB,QAAQ,CACtB,YAAY,EAAE,KAAK,GAAG,CAAC,MAAM,KAAK,CAAC,EACnC,MAAM,EAAE,MAAM,MAAM,EACpB,MAAM,EAAE,MAAM,MAAM,GACnB,YAAY,CAAC"}
1
+ {"version":3,"file":"Compiled.d.ts","sourceRoot":"","sources":["../../src/compile/Compiled.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC/C,OAAO,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAEhD,wBAAgB,QAAQ,CAAC,YAAY,EAAE,KAAK,GAAG,CAAC,MAAM,KAAK,CAAC,GAAG,YAAY,CAAC;AAC5E,wBAAgB,QAAQ,CACtB,YAAY,EAAE,KAAK,GAAG,CAAC,MAAM,KAAK,CAAC,EACnC,MAAM,CA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Ae7F"}
1
+ {"version":3,"file":"compile.d.ts","sourceRoot":"","sources":["../../src/compile/compile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAqC,MAAM,YAAY,CAAC;AAG7E,OAAO,KAAK,eAAe,MAAM,yBAAyB,CAAC;AAC3D,OAAO,KAAK,EAAiB,MAAM,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAC/D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,eAAO,MAAM,KAAK,4BAAmC,CAAC;AAEtD,UAAU,OAAO;IACf,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,aAAa,CAAC,EAAE,OAAO,EAAE,CAAC;IAC1B,aAAa,CAAC,EAAE,OAAO,EAAE,CAAC;IAC1B,SAAS,CAAC,EAAE,CAAC,SAAS,EAAE,aAAa,KAAK,OAAO,CAAC,OAAO,CAAC,GAAG,OAAO,CAAC;IACrE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,OAAO,CAAC,OAAO,CAAC,GAAG,OAAO,CAAC;IACxD,cAAc,CAAC,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,GAAG,OAAO,CAAC;CACnD;AAED,wBAAgB,OAAO,CACrB,OAAO,EAAE,eAAe,EACxB,IAAI,EAAE,KAAK,EACX,OAAO,EAAE,OAAO,GACf,YAAY,CAed"}
@@ -1 +1 @@
1
- {"version":3,"file":"known-modules.d.ts","sourceRoot":"","sources":["../../src/services/known-modules.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAqIrD;;;GAGG;AACH,eAAO,MAAM,OAAO,GAAI,cAAc,SAAS,KAAG,SAMhD,CAAC"}
1
+ {"version":3,"file":"known-modules.d.ts","sourceRoot":"","sources":["../../src/services/known-modules.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAgIrD;;;GAGG;AACH,eAAO,MAAM,OAAO,GAAI,cAAc,SAAS,KAAG,SAMhD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Compiled.js","sources":["../../src/compile/Compiled.ts"],"sourcesContent":["import { resource, resourceFactory } from 'ember-resources';\n\nimport { getCompiler } from '../services/compiler.ts';\nimport { compile } from './compile.ts';\n\nimport type { CompileState } from './state.ts';\nimport type { Format, Input } from './types.ts';\n\nexport function Compiled(markdownText: Input | (() => Input)): CompileState;\nexport function Compiled(\n markdownText: Input | (() => Input),\n format?: Format,\n flavor?: string\n): CompileState;\nexport function Compiled(markdownText: Input | (() => Input), format: () => Format): CompileState;\nexport function Compiled(\n markdownText: Input | (() => Input),\n format: () => Format,\n flavor: () => string\n): CompileState;\n\n/**\n * By default, this compiles to `glimdown`. A Markdown format which\n * extracts `live` tagged code snippets and compiles them to components.\n */\nexport function Compiled(\n markdownText: Input | (() => Input),\n maybeFormat?: Format | (() => Format),\n maybeFlavor?: string | (() => string)\n): CompileState {\n return resource(({ owner }) => {\n const input = typeof markdownText === 'function' ? markdownText() : markdownText;\n const format = typeof maybeFormat === 'function' ? maybeFormat() : maybeFormat || 'glimdown';\n const flavor = typeof maybeFlavor === 'function' ? maybeFlavor() : maybeFlavor;\n\n const compiler = getCompiler(owner);\n\n return compile(compiler, input, {\n format,\n flavor,\n });\n });\n}\n\nresourceFactory(Compiled);\n"],"names":["Compiled","markdownText","maybeFormat","maybeFlavor","resource","owner","input","format","flavor","compiler","getCompiler","compile","resourceFactory"],"mappings":";;;;AAqBA;AACA;AACA;AACA;AACO,SAASA,QAAQA,CACtBC,YAAmC,EACnCC,WAAqC,EACrCC,WAAqC,EACvB;EACd,OAAOC,QAAQ,CAAC,CAAC;AAAEC,IAAAA;AAAM,GAAC,KAAK;IAC7B,MAAMC,KAAK,GAAG,OAAOL,YAAY,KAAK,UAAU,GAAGA,YAAY,EAAE,GAAGA,YAAY;AAChF,IAAA,MAAMM,MAAM,GAAG,OAAOL,WAAW,KAAK,UAAU,GAAGA,WAAW,EAAE,GAAGA,WAAW,IAAI,UAAU;IAC5F,MAAMM,MAAM,GAAG,OAAOL,WAAW,KAAK,UAAU,GAAGA,WAAW,EAAE,GAAGA,WAAW;AAE9E,IAAA,MAAMM,QAAQ,GAAGC,WAAW,CAACL,KAAK,CAAC;AAEnC,IAAA,OAAOM,OAAO,CAACF,QAAQ,EAAEH,KAAK,EAAE;MAC9BC,MAAM;AACNC,MAAAA;AACF,KAAC,CAAC;AACJ,EAAA,CAAC,CAAC;AACJ;AAEAI,eAAe,CAACZ,QAAQ,CAAC;;;;"}
1
+ {"version":3,"file":"Compiled.js","sources":["../../src/compile/Compiled.ts"],"sourcesContent":["import { resource, resourceFactory } from 'ember-resources';\n\nimport { getCompiler } from '../services/compiler.ts';\nimport { compile } from './compile.ts';\n\nimport type { CompileState } from './state.ts';\nimport type { Format, Input } from './types.ts';\n\nexport function Compiled(markdownText: Input | (() => Input)): CompileState;\nexport function Compiled(\n markdownText: Input | (() => Input),\n format?: Format,\n flavor?: string\n): CompileState;\nexport function Compiled(\n markdownText: Input | (() => Input),\n format: () => Format\n): CompileState;\nexport function Compiled(\n markdownText: Input | (() => Input),\n format: () => Format,\n flavor: () => string\n): CompileState;\n\n/**\n * By default, this compiles to `glimdown`. A Markdown format which\n * extracts `live` tagged code snippets and compiles them to components.\n */\nexport function Compiled(\n markdownText: Input | (() => Input),\n maybeFormat?: Format | (() => Format),\n maybeFlavor?: string | (() => string)\n): CompileState {\n return resource(({ owner }) => {\n const input =\n typeof markdownText === 'function' ? markdownText() : markdownText;\n const format =\n typeof maybeFormat === 'function'\n ? maybeFormat()\n : maybeFormat || 'glimdown';\n const flavor =\n typeof maybeFlavor === 'function' ? maybeFlavor() : maybeFlavor;\n\n const compiler = getCompiler(owner);\n\n return compile(compiler, input, {\n format,\n flavor,\n });\n });\n}\n\nresourceFactory(Compiled);\n"],"names":["Compiled","markdownText","maybeFormat","maybeFlavor","resource","owner","input","format","flavor","compiler","getCompiler","compile","resourceFactory"],"mappings":";;;;AAwBA;AACA;AACA;AACA;AACO,SAASA,QAAQA,CACtBC,YAAmC,EACnCC,WAAqC,EACrCC,WAAqC,EACvB;EACd,OAAOC,QAAQ,CAAC,CAAC;AAAEC,IAAAA;AAAM,GAAC,KAAK;IAC7B,MAAMC,KAAK,GACT,OAAOL,YAAY,KAAK,UAAU,GAAGA,YAAY,EAAE,GAAGA,YAAY;AACpE,IAAA,MAAMM,MAAM,GACV,OAAOL,WAAW,KAAK,UAAU,GAC7BA,WAAW,EAAE,GACbA,WAAW,IAAI,UAAU;IAC/B,MAAMM,MAAM,GACV,OAAOL,WAAW,KAAK,UAAU,GAAGA,WAAW,EAAE,GAAGA,WAAW;AAEjE,IAAA,MAAMM,QAAQ,GAAGC,WAAW,CAACL,KAAK,CAAC;AAEnC,IAAA,OAAOM,OAAO,CAACF,QAAQ,EAAEH,KAAK,EAAE;MAC9BC,MAAM;AACNC,MAAAA;AACF,KAAC,CAAC;AACJ,EAAA,CAAC,CAAC;AACJ;AAEAI,eAAe,CAACZ,QAAQ,CAAC;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"compile.js","sources":["../../src/compile/compile.ts"],"sourcesContent":["import { CompileState, MissingTextState, REJECT, RESOLVE } from './state.ts';\nimport { nameFor } from './utils.ts';\n\nimport type CompilerService from '../services/compiler.ts';\nimport type { CompileResult, Format, Input } from './types.ts';\nimport type { ComponentLike } from '@glint/template';\n\nexport const CACHE = new Map<string, ComponentLike>();\n\ninterface Options {\n format: Format;\n flavor?: string;\n remarkPlugins?: unknown[];\n rehypePlugins?: unknown[];\n onSuccess?: (component: ComponentLike) => Promise<unknown> | unknown;\n onError?: (error: string) => Promise<unknown> | unknown;\n onCompileStart?: () => Promise<unknown> | unknown;\n}\n\nexport function compile(service: CompilerService, text: Input, options: Options): CompileState {\n const data = { format: options.format };\n\n if (!text) {\n return new MissingTextState(data);\n }\n\n const id = nameFor(`${options.format}:${text}`);\n\n const state = new CompileState(data);\n\n // Fills the cache as well\n runTheCompiler({ service, text, options, state, id });\n\n return state;\n}\n\nasync function runTheCompiler({\n service,\n text,\n options,\n state,\n id,\n}: {\n service: CompilerService;\n text: string;\n options: Options;\n state: CompileState;\n id: string;\n}) {\n await options?.onCompileStart?.();\n await Promise.resolve();\n\n if (!text) {\n state[REJECT](new Error('No Input Document yet'));\n await options?.onError?.('No Input Document yet');\n\n return;\n }\n\n let result: CompileResult;\n\n // TODO: just use compile, eliminate all this branching\n if (options.format === 'glimdown') {\n result = await service.compile('gmd', text, options as any);\n } else if (options.format === 'gjs') {\n result = await service.compileGJS(text);\n } else if (options.format === 'hbs') {\n result = await service.compileHBS(text, options as any);\n } else {\n result = await service.compile(\n options.format,\n text,\n options as unknown as Record<string, unknown>\n );\n }\n\n if (result.error) {\n state[REJECT](result.error);\n await options?.onError?.(state.reason || 'Unknown Error');\n\n return;\n }\n\n CACHE.set(id, result.component as ComponentLike);\n\n state[RESOLVE](result.component as ComponentLike);\n\n await options?.onSuccess?.(result.component as ComponentLike);\n}\n"],"names":["CACHE","Map","compile","service","text","options","data","format","MissingTextState","id","nameFor","state","CompileState","runTheCompiler","onCompileStart","Promise","resolve","REJECT","Error","onError","result","compileGJS","compileHBS","error","reason","set","component","RESOLVE","onSuccess"],"mappings":";;;MAOaA,KAAK,GAAG,IAAIC,GAAG;AAYrB,SAASC,OAAOA,CAACC,OAAwB,EAAEC,IAAW,EAAEC,OAAgB,EAAgB;AAC7F,EAAA,MAAMC,IAAI,GAAG;IAAEC,MAAM,EAAEF,OAAO,CAACE;GAAQ;EAEvC,IAAI,CAACH,IAAI,EAAE;AACT,IAAA,OAAO,IAAII,gBAAgB,CAACF,IAAI,CAAC;AACnC,EAAA;EAEA,MAAMG,EAAE,GAAGC,OAAO,CAAC,CAAA,EAAGL,OAAO,CAACE,MAAM,CAAA,CAAA,EAAIH,IAAI,CAAA,CAAE,CAAC;AAE/C,EAAA,MAAMO,KAA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AAAA,KAAK,CAACM,MAAM,CAAC,CAACG,MAAM,CAACG,KAAK,CAAC;IAC3B,MAAMlB,OAAO,EAAEc,OAAO,GAAGR,KAAK,CAACa,MAAM,IAAI,eAAe,CAAC;AAEzD,IAAA;AACF,EAAA;EAEAxB,KAAK,CAACyB,GAAG,CAAChB,EAAE,EAAEW,MAAM,CAACM,SAA0B,CAAC;AAEhDf,EAAAA,KAAK,CAACgB,OAAO,CAAC,CAACP,MAAM,CAACM,SAA0B,CAAC;AAEjD,EAAA,MAAMrB,OAAO,EAAEuB,SAAS,GAAGR,MAAM,CAACM,SAA0B,CAAC;AAC/D;;;;"}
1
+ {"version":3,"file":"compile.js","sources":["../../src/compile/compile.ts"],"sourcesContent":["import { CompileState, MissingTextState, REJECT, RESOLVE } from './state.ts';\nimport { nameFor } from './utils.ts';\n\nimport type CompilerService from '../services/compiler.ts';\nimport type { CompileResult, Format, Input } from './types.ts';\nimport type { ComponentLike } from '@glint/template';\n\nexport const CACHE = new Map<string, ComponentLike>();\n\ninterface Options {\n format: Format;\n flavor?: string;\n remarkPlugins?: unknown[];\n rehypePlugins?: unknown[];\n onSuccess?: (component: ComponentLike) => Promise<unknown> | unknown;\n onError?: (error: string) => Promise<unknown> | unknown;\n onCompileStart?: () => Promise<unknown> | unknown;\n}\n\nexport function compile(\n service: CompilerService,\n text: Input,\n options: Options\n): CompileState {\n const data = { format: options.format };\n\n if (!text) {\n return new MissingTextState(data);\n }\n\n const id = nameFor(`${options.format}:${text}`);\n\n const state = new CompileState(data);\n\n // Fills the cache as well\n runTheCompiler({ service, text, options, state, id });\n\n return state;\n}\n\nasync function runTheCompiler({\n service,\n text,\n options,\n state,\n id,\n}: {\n service: CompilerService;\n text: string;\n options: Options;\n state: CompileState;\n id: string;\n}) {\n await options?.onCompileStart?.();\n await Promise.resolve();\n\n if (!text) {\n state[REJECT](new Error('No Input Document yet'));\n await options?.onError?.('No Input Document yet');\n\n return;\n }\n\n let result: CompileResult;\n\n // TODO: just use compile, eliminate all this branching\n if (options.format === 'glimdown') {\n result = await service.compile('gmd', text, options as any);\n } else if (options.format === 'gjs') {\n result = await service.compileGJS(text);\n } else if (options.format === 'hbs') {\n result = await service.compileHBS(text, options as any);\n } else {\n result = await service.compile(\n options.format,\n text,\n options as unknown as Record<string, unknown>\n );\n }\n\n if (result.error) {\n state[REJECT](result.error);\n await options?.onError?.(state.reason || 'Unknown Error');\n\n return;\n }\n\n CACHE.set(id, result.component as ComponentLike);\n\n state[RESOLVE](result.component as ComponentLike);\n\n await options?.onSuccess?.(result.component as ComponentLike);\n}\n"],"names":["CACHE","Map","compile","service","text","options","data","format","MissingTextState","id","nameFor","state","CompileState","runTheCompiler","onCompileStart","Promise","resolve","REJECT","Error","onError","result","compileGJS","compileHBS","error","reason","set","component","RESOLVE","onSuccess"],"mappings":";;;MAOaA,KAAK,GAAG,IAAIC,GAAG;AAYrB,SAASC,OAAOA,CACrBC,OAAwB,EACxBC,IAAW,EACXC,OAAgB,EACF;AACd,EAAA,MAAMC,IAAI,GAAG;IAAEC,MAAM,EAAEF,OAAO,CAACE;GAAQ;EAEvC,IAAI,CAACH,IAAI,EAAE;AACT,IAAA,OAAO,IAAII,gBAAgB,CAACF,IAAI,CAAC;AACnC,EAAA;EAEA,MAAMG,EAAE,GAAGC,OAAO,CAAC,CAAA,EAAGL,OAAO,CAACE,MAAM,CAAA,CAAA,EAAIH,IAAI,CAAA,CAAE,CAAC;AAE/C,EAAA,MAAMO,KAAK,GAAG,IAAIC,YAAY,CAACN,IAAI,CAAC;;AAEpC;AACAO,EAAAA,cAAc,CAAC;IAAEV,OAAO;IAAEC,IAAI;IAAEC,OAAO;IAAEM,KAAK;AAAEF,IAAAA;AAAG,GAAC,CAAC;AAErD,EAAA,OAAOE,KAAK;AACd;AAEA,eAAeE,cAAcA,CAAC;EAC5BV,OAAO;EACPC,IAAI;EACJC,OAAO;EACPM,KAAK;AACLF,EAAAA;AAOF,CAAC,EAAE;AACD,EAAA,MAAMJ,OAAO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MAAMrB,OAAO,EAAEuB,SAAS,GAAGR,MAAM,CAACM,SAA0B,CAAC;AAC/D;;;;"}
@@ -29,7 +29,7 @@ const frameworkModules = {
29
29
  '@ember/test': () => import('@ember/test'),
30
30
  '@ember/utils': () => import('@ember/utils'),
31
31
  '@ember/version': () => import('@ember/version'),
32
- // @ts-expect-error @glimmer/validator is private
32
+ // @ts-ignore
33
33
  '@glimmer/validator': () => import('@glimmer/validator'),
34
34
  '@glimmer/component': () => import('@glimmer/component'),
35
35
  '@glimmer/tracking': () => import('@glimmer/tracking'),
@@ -44,12 +44,9 @@ const coreLibraries = {
44
44
  const emberCompilationModules = {
45
45
  '@ember/template-compiler/runtime': () => import('@ember/template-compiler/runtime'),
46
46
  '@ember/template-compiler': () => import('@ember/template-compiler/runtime'),
47
- 'ember-source/dist/ember-template-compiler': () => import(
48
- // @ts-ignore
49
- 'ember-source/dist/ember-template-compiler.js'),
50
- 'ember-source/dist/ember-template-compiler.js': () => import(
47
+ 'ember-source/ember-template-compiler/index.js': () => import(
51
48
  // @ts-ignore
52
- 'ember-source/dist/ember-template-compiler.js'),
49
+ 'ember-source/ember-template-compiler/index.js'),
53
50
  // Direct Dependencies
54
51
  '@babel/standalone': () => import('../babel-DbH-RlNa.js').then(function (n) { return n.b; }),
55
52
  'content-tag': () => import('content-tag'),
@@ -1 +1 @@
1
- {"version":3,"file":"known-modules.js","sources":["../../src/services/known-modules.ts"],"sourcesContent":["import type { ModuleMap } from '../compile/types.ts';\n\nconst frameworkModules = {\n '@ember/application': () => import('@ember/application'),\n '@ember/application/instance': () => import('@ember/application/instance'),\n '@ember/array': () => import('@ember/array'),\n '@ember/component': () => import('@ember/component'),\n '@ember/component/helper': () => import('@ember/component/helper'),\n '@ember/component/template-only': () =>\n import('@ember/component/template-only'),\n '@ember/debug': () => import('@ember/debug'),\n '@ember/destroyable': () => import('@ember/destroyable'),\n '@ember/helper': () => import('@ember/helper'),\n '@ember/modifier': () => import('@ember/modifier'),\n '@ember/object': () => import('@ember/object'),\n '@ember/object/internals': () => import('@ember/object/internals'),\n '@ember/object/observers': () => import('@ember/object/observers'),\n '@ember/owner': () => import('@ember/owner'),\n '@ember/reactive': () => import('@ember/reactive'),\n '@ember/reactive/collections': () => import('@ember/reactive/collections'),\n '@ember/renderer': () => import('@ember/renderer'),\n '@ember/routing': () => import('@ember/routing'),\n '@ember/routing/route': () => import('@ember/routing/route'),\n '@ember/routing/router': () => import('@ember/routing/router'),\n '@ember/runloop': () => import('@ember/runloop'),\n '@ember/service': () => import('@ember/service'),\n '@ember/template': () => import('@ember/template'),\n '@ember/template-compilation': () => import('@ember/template-compilation'),\n '@ember/template-factory': () => import('@ember/template-factory'),\n '@ember/test-helpers': () => import('@ember/test-helpers'),\n '@ember/test-waiters': () => import('@ember/test-waiters'),\n '@ember/test': () => import('@ember/test'),\n '@ember/utils': () => import('@ember/utils'),\n '@ember/version': () => import('@ember/version'),\n // @ts-expect-error @glimmer/validator is private\n '@glimmer/validator': () => import('@glimmer/validator'),\n '@glimmer/component': () => import('@glimmer/component'),\n '@glimmer/tracking': () => import('@glimmer/tracking'),\n '@glimmer/tracking/primitives/cache': () =>\n import('@glimmer/tracking/primitives/cache'),\n};\n\nconst coreLibraries = {\n 'ember-resolver': () => import('ember-resolver'),\n 'ember-resources': () => import('ember-resources'),\n 'ember-primitives': () => import('ember-primitives'),\n 'repl-sdk': () => import('repl-sdk'),\n};\n\nconst emberCompilationModules = {\n '@ember/template-compiler/runtime': () =>\n import('@ember/template-compiler/runtime'),\n '@ember/template-compiler': () => import('@ember/template-compiler/runtime'),\n 'ember-source/dist/ember-template-compiler': () =>\n import(\n // @ts-ignore\n 'ember-source/dist/ember-template-compiler.js'\n ),\n 'ember-source/dist/ember-template-compiler.js': () =>\n import(\n // @ts-ignore\n 'ember-source/dist/ember-template-compiler.js'\n ),\n // Direct Dependencies\n '@babel/standalone': () => import('@babel/standalone'),\n 'content-tag': () => import('content-tag'),\n 'decorator-transforms': () => import('decorator-transforms'),\n 'decorator-transforms/runtime': () => import('decorator-transforms/runtime'),\n 'decorator-transforms/runtime-esm': () =>\n import('decorator-transforms/runtime-esm'),\n 'decorator-transforms/globals': () => import('decorator-transforms/globals'),\n 'babel-plugin-ember-template-compilation': () =>\n import('babel-plugin-ember-template-compilation'),\n // Dependencies of the above\n 'babel-import-util': () => import('babel-import-util'),\n\n // @ts-ignore\n 'babel-plugin-debug-macros': () => import('babel-plugin-debug-macros'),\n '@embroider/macros': () => ({\n // passthrough, we are not doing dead-code-elimination\n macroCondition: (x: boolean) => x,\n // I *could* actually implement this\n appEmberSatisfies: () => true,\n // I *could* actually implement this\n dependencySatisfies: () => true,\n isDevelopingApp: () => true,\n // Trying to use warp-drive in a REPL environment may be impossible, since they\n // encourage choosing your own adventure without a buildless recommended path.\n // The use of nested configs (specifically env) is also problematic for\n // \"falling back to false\" as what all other macros-using libraries use.\n // (many of us have seen \"Cannot access DEBUG on undefined\" in build errors)\n // Even with this config, I have not successfully been able to use warp-drive\n // in any of my REPL-based projects.\n //\n // (Its also perfectly fine for warp-drive to decide they don't care about the same things I do)\n getGlobalConfig: () => ({\n WarpDrive: {\n debug: false,\n env: {\n DEBUG: false,\n TESTING: false,\n PRODUCTION: true,\n },\n activeLogging: false,\n compatWith: '99.0',\n features: {},\n deprecations: {},\n polyfillUUID: false,\n includeDataAdapter: false,\n },\n }),\n // Private\n\n // @ts-ignore\n importSync: (x: string) =>\n // @ts-expect-error\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n window[Symbol.for('__repl-sdk__compiler__') as any]!.resolves[x],\n moduleExists: () => false,\n }),\n};\n\nconst markdownCompilationModules = {\n // Provided directly in repl-sdk, but could be overridden\n // 'rehype-raw': () => import('rehype-raw'),\n // 'rehype-stringify': () => import('rehype-stringify'),\n // 'remark-gfm': () => import('remark-gfm'),\n // 'remark-parse': () => import('remark-parse'),\n // 'remark-rehype': () => import('remark-rehype'),\n // unified: () => import('unified'),\n // 'unist-util-visit': () => import('unist-util-visit'),\n};\n\n/**\n * If any real packages are defined here, they would fallback to fetching from NPM\n * instead of loading from this pre-made bundle.\n */\nexport const modules = (extraModules: ModuleMap): ModuleMap => ({\n ...coreLibraries,\n ...frameworkModules,\n ...extraModules,\n ...emberCompilationModules,\n ...markdownCompilationModules,\n});\n"],"names":["frameworkModules","@ember/application","@ember/application/instance","@ember/array","@ember/component","@ember/component/helper","@ember/component/template-only","@ember/debug","@ember/destroyable","@ember/helper","@ember/modifier","@ember/object","@ember/object/internals","@ember/object/observers","@ember/owner","@ember/reactive","@ember/reactive/collections","@ember/renderer","@ember/routing","@ember/routing/route","@ember/routing/router","@ember/runloop","@ember/service","@ember/template","@ember/template-compilation","@ember/template-factory","@ember/test-helpers","@ember/test-waiters","@ember/test","@ember/utils","@ember/version","@glimmer/validator","@glimmer/component","@glimmer/tracking","@glimmer/tracking/primitives/cache","coreLibraries","ember-resolver","ember-resources","ember-primitives","repl-sdk","emberCompilationModules","@ember/template-compiler/runtime","@ember/template-compiler","ember-source/dist/ember-template-compiler","ember-source/dist/ember-template-compiler.js","@babel/standalone","content-tag","decorator-transforms","decorator-transforms/runtime","decorator-transforms/runtime-esm","decorator-transforms/globals","babel-plugin-ember-template-compilation","babel-import-util","babel-plugin-debug-macros","@embroider/macros","macroCondition","x","appEmberSatisfies","dependencySatisfies","isDevelopingApp","getGlobalConfig","WarpDrive","debug","env","DEBUG","TESTING","PRODUCTION","activeLogging","compatWith","features","deprecations","polyfillUUID","includeDataAdapter","importSync","window","Symbol","for","resolves","moduleExists","markdownCompilationModules","modules","extraModules"],"mappings":"AAEA,MAAMA,gBAAgB,GAAG;AACvB,EAAA,oBAAoB,EAAEC,MAAM,OAAO,oBAAoB,CAAC;AACxD,EAAA,6BAA6B,EAAEC,MAAM,OAAO,6BAA6B,CAAC;AAC1E,EAAA,cAAc,EAAEC,MAAM,OAAO,cAAc,CAAC;AAC5C,EAAA,kBAAkB,EAAEC,MAAM,OAAO,kBAAkB,CAAC;AACpD,EAAA,y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EAC1B,GAAGuC;AACL,CAAC;;;;"}
1
+ {"version":3,"file":"known-modules.js","sources":["../../src/services/known-modules.ts"],"sourcesContent":["import type { ModuleMap } from '../compile/types.ts';\n\nconst frameworkModules = {\n '@ember/application': () => import('@ember/application'),\n '@ember/application/instance': () => import('@ember/application/instance'),\n '@ember/array': () => import('@ember/array'),\n '@ember/component': () => import('@ember/component'),\n '@ember/component/helper': () => import('@ember/component/helper'),\n '@ember/component/template-only': () =>\n import('@ember/component/template-only'),\n '@ember/debug': () => import('@ember/debug'),\n '@ember/destroyable': () => import('@ember/destroyable'),\n '@ember/helper': () => import('@ember/helper'),\n '@ember/modifier': () => import('@ember/modifier'),\n '@ember/object': () => import('@ember/object'),\n '@ember/object/internals': () => import('@ember/object/internals'),\n '@ember/object/observers': () => import('@ember/object/observers'),\n '@ember/owner': () => import('@ember/owner'),\n '@ember/reactive': () => import('@ember/reactive'),\n '@ember/reactive/collections': () => import('@ember/reactive/collections'),\n '@ember/renderer': () => import('@ember/renderer'),\n '@ember/routing': () => import('@ember/routing'),\n '@ember/routing/route': () => import('@ember/routing/route'),\n '@ember/routing/router': () => import('@ember/routing/router'),\n '@ember/runloop': () => import('@ember/runloop'),\n '@ember/service': () => import('@ember/service'),\n '@ember/template': () => import('@ember/template'),\n '@ember/template-compilation': () => import('@ember/template-compilation'),\n '@ember/template-factory': () => import('@ember/template-factory'),\n '@ember/test-helpers': () => import('@ember/test-helpers'),\n '@ember/test-waiters': () => import('@ember/test-waiters'),\n '@ember/test': () => import('@ember/test'),\n '@ember/utils': () => import('@ember/utils'),\n '@ember/version': () => import('@ember/version'),\n // @ts-ignore\n '@glimmer/validator': () => import('@glimmer/validator'),\n '@glimmer/component': () => import('@glimmer/component'),\n '@glimmer/tracking': () => import('@glimmer/tracking'),\n '@glimmer/tracking/primitives/cache': () =>\n import('@glimmer/tracking/primitives/cache'),\n};\n\nconst coreLibraries = {\n 'ember-resolver': () => import('ember-resolver'),\n 'ember-resources': () => import('ember-resources'),\n 'ember-primitives': () => import('ember-primitives'),\n 'repl-sdk': () => import('repl-sdk'),\n};\n\nconst emberCompilationModules = {\n '@ember/template-compiler/runtime': () =>\n import('@ember/template-compiler/runtime'),\n '@ember/template-compiler': () => import('@ember/template-compiler/runtime'),\n 'ember-source/ember-template-compiler/index.js': () =>\n import(\n // @ts-ignore\n 'ember-source/ember-template-compiler/index.js'\n ),\n // Direct Dependencies\n '@babel/standalone': () => import('@babel/standalone'),\n 'content-tag': () => import('content-tag'),\n 'decorator-transforms': () => import('decorator-transforms'),\n 'decorator-transforms/runtime': () => import('decorator-transforms/runtime'),\n 'decorator-transforms/runtime-esm': () =>\n import('decorator-transforms/runtime-esm'),\n 'decorator-transforms/globals': () => import('decorator-transforms/globals'),\n 'babel-plugin-ember-template-compilation': () =>\n import('babel-plugin-ember-template-compilation'),\n // Dependencies of the above\n 'babel-import-util': () => import('babel-import-util'),\n\n // @ts-ignore\n 'babel-plugin-debug-macros': () => import('babel-plugin-debug-macros'),\n '@embroider/macros': () => ({\n // passthrough, we are not doing dead-code-elimination\n macroCondition: (x: boolean) => x,\n // I *could* actually implement this\n appEmberSatisfies: () => true,\n // I *could* actually implement this\n dependencySatisfies: () => true,\n isDevelopingApp: () => true,\n // Trying to use warp-drive in a REPL environment may be impossible, since they\n // encourage choosing your own adventure without a buildless recommended path.\n // The use of nested configs (specifically env) is also problematic for\n // \"falling back to false\" as what all other macros-using libraries use.\n // (many of us have seen \"Cannot access DEBUG on undefined\" in build errors)\n // Even with this config, I have not successfully been able to use warp-drive\n // in any of my REPL-based projects.\n //\n // (Its also perfectly fine for warp-drive to decide they don't care about the same things I do)\n getGlobalConfig: () => ({\n WarpDrive: {\n debug: false,\n env: {\n DEBUG: false,\n TESTING: false,\n PRODUCTION: true,\n },\n activeLogging: false,\n compatWith: '99.0',\n features: {},\n deprecations: {},\n polyfillUUID: false,\n includeDataAdapter: false,\n },\n }),\n // Private\n\n // @ts-ignore\n importSync: (x: string) =>\n // @ts-expect-error\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n window[Symbol.for('__repl-sdk__compiler__') as any]!.resolves[x],\n moduleExists: () => false,\n }),\n};\n\nconst markdownCompilationModules = {\n // Provided directly in repl-sdk, but could be overridden\n // 'rehype-raw': () => import('rehype-raw'),\n // 'rehype-stringify': () => import('rehype-stringify'),\n // 'remark-gfm': () => import('remark-gfm'),\n // 'remark-parse': () => import('remark-parse'),\n // 'remark-rehype': () => import('remark-rehype'),\n // unified: () => import('unified'),\n // 'unist-util-visit': () => import('unist-util-visit'),\n};\n\n/**\n * If any real packages are defined here, they would fallback to fetching from NPM\n * instead of loading from this pre-made bundle.\n */\nexport const modules = (extraModules: ModuleMap): ModuleMap => ({\n ...coreLibraries,\n ...frameworkModules,\n ...extraModules,\n ...emberCompilationModules,\n ...markdownCompilationModules,\n});\n"],"names":["frameworkModules","@ember/application","@ember/application/instance","@ember/array","@ember/component","@ember/component/helper","@ember/component/template-only","@ember/debug","@ember/destroyable","@ember/helper","@ember/modifier","@ember/object","@ember/object/internals","@ember/object/observers","@ember/owner","@ember/reactive","@ember/reactive/collections","@ember/renderer","@ember/routing","@ember/routing/route","@ember/routing/router","@ember/runloop","@ember/service","@ember/template","@ember/template-compilation","@ember/template-factory","@ember/test-helpers","@ember/test-waiters","@ember/test","@ember/utils","@ember/version","@glimmer/validator","@glimmer/component","@glimmer/tracking","@glimmer/tracking/primitives/cache","coreLibraries","ember-resolver","ember-resources","ember-primitives","repl-sdk","emberCompilationModules","@ember/template-compiler/runtime","@ember/template-compiler","ember-source/ember-template-compiler/index.js","@babel/standalone","content-tag","decorator-transforms","decorator-transforms/runtime","decorator-transforms/runtime-esm","decorator-transforms/globals","babel-plugin-ember-template-compilation","babel-import-util","babel-plugin-debug-macros","@embroider/macros","macroCondition","x","appEmberSatisfies","dependencySatisfies","isDevelopingApp","getGlobalConfig","WarpDrive","debug","env","DEBUG","TESTING","PRODUCTION","activeLogging","compatWith","features","deprecations","polyfillUUID","includeDataAd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B;AACH,CAAC;AAED,MAAMC,0BAA0B,GAAG;AACjC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAA,CACD;;AAED;AACA;AACA;AACA;AACO,MAAMC,OAAO,GAAIC,YAAuB,KAAiB;AAC9D,EAAA,GAAG7C,aAAa;AAChB,EAAA,GAAGnC,gBAAgB;AACnB,EAAA,GAAGgF,YAAY;AACf,EAAA,GAAGxC,uBAAuB;EAC1B,GAAGsC;AACL,CAAC;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ember-repl",
3
- "version": "7.3.5",
3
+ "version": "8.0.1",
4
4
  "type": "module",
5
5
  "description": "Library for enabling REPL and Playground creation with Ember/Glimmer",
6
6
  "keywords": [
@@ -14,23 +14,20 @@
14
14
  "license": "MIT",
15
15
  "author": "NullVoxPopuli",
16
16
  "files": [
17
- "addon-main.cjs",
18
17
  "declarations",
19
18
  "dist",
20
- "src",
21
- "config"
19
+ "src"
22
20
  ],
23
21
  "dependencies": {
24
22
  "@ember/test-helpers": "^5.4.1",
25
23
  "@ember/test-waiters": "^4.1.0",
26
- "@embroider/addon-shim": "^1.10.2",
27
24
  "codemirror": "^6.0.2",
28
25
  "content-tag": "^4.0.0",
29
26
  "decorator-transforms": "2.3.1",
30
27
  "ember-primitives": "^0.51.0",
31
28
  "ember-resolver": "^13.1.0",
32
29
  "ember-resources": "^7.0.7",
33
- "repl-sdk": "1.4.1"
30
+ "repl-sdk": "1.5.1"
34
31
  },
35
32
  "devDependencies": {
36
33
  "@arethetypeswrong/cli": "^0.18.2",
@@ -68,7 +65,7 @@
68
65
  "concurrently": "^9.2.1",
69
66
  "ember-qunit": "^9.0.4",
70
67
  "ember-resolver": "^13.1.0",
71
- "ember-source": "^6.10.0",
68
+ "ember-source": "6.12.0-alpha.4",
72
69
  "eslint": "^9.39.1",
73
70
  "eslint-config-prettier": "^10.1.8",
74
71
  "eslint-plugin-ember": "^12.7.5",
@@ -109,8 +106,7 @@
109
106
  },
110
107
  "ember-addon": {
111
108
  "version": 2,
112
- "type": "addon",
113
- "main": "config/addon-main.cjs"
109
+ "type": "addon"
114
110
  },
115
111
  "imports": {
116
112
  "#src/*": "./src/*",
@@ -124,8 +120,7 @@
124
120
  "./test-support": {
125
121
  "types": "./declarations/test-support.d.ts",
126
122
  "default": "./dist/test-support.js"
127
- },
128
- "./addon-main.js": "./config/addon-main.cjs"
123
+ }
129
124
  },
130
125
  "typesVersions": {
131
126
  "*": {
@@ -12,7 +12,10 @@ export function Compiled(
12
12
  format?: Format,
13
13
  flavor?: string
14
14
  ): CompileState;
15
- export function Compiled(markdownText: Input | (() => Input), format: () => Format): CompileState;
15
+ export function Compiled(
16
+ markdownText: Input | (() => Input),
17
+ format: () => Format
18
+ ): CompileState;
16
19
  export function Compiled(
17
20
  markdownText: Input | (() => Input),
18
21
  format: () => Format,
@@ -29,9 +32,14 @@ export function Compiled(
29
32
  maybeFlavor?: string | (() => string)
30
33
  ): CompileState {
31
34
  return resource(({ owner }) => {
32
- const input = typeof markdownText === 'function' ? markdownText() : markdownText;
33
- const format = typeof maybeFormat === 'function' ? maybeFormat() : maybeFormat || 'glimdown';
34
- const flavor = typeof maybeFlavor === 'function' ? maybeFlavor() : maybeFlavor;
35
+ const input =
36
+ typeof markdownText === 'function' ? markdownText() : markdownText;
37
+ const format =
38
+ typeof maybeFormat === 'function'
39
+ ? maybeFormat()
40
+ : maybeFormat || 'glimdown';
41
+ const flavor =
42
+ typeof maybeFlavor === 'function' ? maybeFlavor() : maybeFlavor;
35
43
 
36
44
  const compiler = getCompiler(owner);
37
45
 
@@ -17,7 +17,11 @@ interface Options {
17
17
  onCompileStart?: () => Promise<unknown> | unknown;
18
18
  }
19
19
 
20
- export function compile(service: CompilerService, text: Input, options: Options): CompileState {
20
+ export function compile(
21
+ service: CompilerService,
22
+ text: Input,
23
+ options: Options
24
+ ): CompileState {
21
25
  const data = { format: options.format };
22
26
 
23
27
  if (!text) {
@@ -32,7 +32,7 @@ const frameworkModules = {
32
32
  '@ember/test': () => import('@ember/test'),
33
33
  '@ember/utils': () => import('@ember/utils'),
34
34
  '@ember/version': () => import('@ember/version'),
35
- // @ts-expect-error @glimmer/validator is private
35
+ // @ts-ignore
36
36
  '@glimmer/validator': () => import('@glimmer/validator'),
37
37
  '@glimmer/component': () => import('@glimmer/component'),
38
38
  '@glimmer/tracking': () => import('@glimmer/tracking'),
@@ -51,15 +51,10 @@ const emberCompilationModules = {
51
51
  '@ember/template-compiler/runtime': () =>
52
52
  import('@ember/template-compiler/runtime'),
53
53
  '@ember/template-compiler': () => import('@ember/template-compiler/runtime'),
54
- 'ember-source/dist/ember-template-compiler': () =>
55
- import(
56
- // @ts-ignore
57
- 'ember-source/dist/ember-template-compiler.js'
58
- ),
59
- 'ember-source/dist/ember-template-compiler.js': () =>
54
+ 'ember-source/ember-template-compiler/index.js': () =>
60
55
  import(
61
56
  // @ts-ignore
62
- 'ember-source/dist/ember-template-compiler.js'
57
+ 'ember-source/ember-template-compiler/index.js'
63
58
  ),
64
59
  // Direct Dependencies
65
60
  '@babel/standalone': () => import('@babel/standalone'),
package/config/.try.mjs DELETED
@@ -1,87 +0,0 @@
1
- // When building your addon for older Ember versions you need to have the required files
2
- const compatFiles = {
3
- "ember-cli-build.js": `const EmberApp = require('ember-cli/lib/broccoli/ember-app');
4
- const { compatBuild } = require('@embroider/compat');
5
- module.exports = async function (defaults) {
6
- const { buildOnce } = await import('@embroider/vite');
7
- let app = new EmberApp(defaults);
8
- return compatBuild(app, buildOnce);
9
- };`,
10
- "config/optional-features.json": JSON.stringify({
11
- "application-template-wrapper": false,
12
- "default-async-observers": true,
13
- "jquery-integration": false,
14
- "template-only-glimmer-components": true,
15
- "no-implicit-route-model": true,
16
- }),
17
- };
18
-
19
- const compatDeps = {
20
- "@embroider/compat": "^4.0.3",
21
- "ember-cli": "^5.12.0",
22
- "ember-auto-import": "^2.10.0",
23
- "@ember/optional-features": "^2.2.0",
24
- };
25
-
26
- export default {
27
- scenarios: [
28
- {
29
- name: "ember-lts-5.8",
30
- npm: {
31
- devDependencies: {
32
- "ember-source": "~5.8.0",
33
- ...compatDeps,
34
- },
35
- },
36
- env: {
37
- ENABLE_COMPAT_BUILD: true,
38
- },
39
- files: compatFiles,
40
- },
41
- {
42
- name: "ember-lts-5.12",
43
- npm: {
44
- devDependencies: {
45
- "ember-source": "~5.12.0",
46
- ...compatDeps,
47
- },
48
- },
49
- env: {
50
- ENABLE_COMPAT_BUILD: true,
51
- },
52
- files: compatFiles,
53
- },
54
- {
55
- name: `ember-lts-6.4`,
56
- npm: {
57
- devDependencies: {
58
- "ember-source": `npm:ember-source@~6.4.0`,
59
- },
60
- },
61
- },
62
- {
63
- name: `ember-latest`,
64
- npm: {
65
- devDependencies: {
66
- "ember-source": `npm:ember-source@latest`,
67
- },
68
- },
69
- },
70
- {
71
- name: `ember-beta`,
72
- npm: {
73
- devDependencies: {
74
- "ember-source": `npm:ember-source@beta`,
75
- },
76
- },
77
- },
78
- {
79
- name: `ember-alpha`,
80
- npm: {
81
- devDependencies: {
82
- "ember-source": `npm:ember-source@alpha`,
83
- },
84
- },
85
- },
86
- ],
87
- };
@@ -1,7 +0,0 @@
1
- 'use strict';
2
-
3
- const { join } = require('path');
4
-
5
- const { addonV1Shim } = require('@embroider/addon-shim');
6
-
7
- module.exports = addonV1Shim(join(__dirname, '..'));
package/config/attw.json DELETED
@@ -1,7 +0,0 @@
1
- {
2
- "pack": true,
3
- "color": true,
4
- "ignoreRules": [],
5
- "profile": "esm-only",
6
- "excludeEntrypoints": ["addon-main.js"]
7
- }
@@ -1,29 +0,0 @@
1
- /**
2
- * This babel.config is only used for publishing.
3
- *
4
- * For local dev experience, see the babel.config
5
- */
6
- module.exports = {
7
- plugins: [
8
- [
9
- '@babel/plugin-transform-typescript',
10
- {
11
- allExtensions: true,
12
- allowDeclareFields: true,
13
- onlyRemoveTypeImports: true,
14
- },
15
- ],
16
- [
17
- 'module:decorator-transforms',
18
- {
19
- runtime: {
20
- import: 'decorator-transforms/runtime-esm',
21
- },
22
- },
23
- ],
24
- ],
25
-
26
- generatorOpts: {
27
- compact: false,
28
- },
29
- };
@@ -1,21 +0,0 @@
1
- {
2
- "schemaVersion": "1.0.0",
3
- "projectName": "ember-repl",
4
- "packages": [
5
- {
6
- "name": "@ember/addon-blueprint",
7
- "version": "0.8.1",
8
- "blueprints": [
9
- {
10
- "name": "@ember/addon-blueprint",
11
- "isBaseBlueprint": true,
12
- "options": [
13
- "--ci-provider=github",
14
- "--pnpm",
15
- "--typescript"
16
- ]
17
- }
18
- ]
19
- }
20
- ]
21
- }
@@ -1,44 +0,0 @@
1
- import { Addon } from "@embroider/addon-dev/rollup";
2
- import { resolve } from "node:path";
3
-
4
- import { babel } from "@rollup/plugin-babel";
5
- import cjs from "@rollup/plugin-commonjs";
6
- import { nodeResolve } from "@rollup/plugin-node-resolve";
7
- import nodePolyfills from "rollup-plugin-node-polyfills";
8
-
9
- const addon = new Addon({
10
- srcDir: "src",
11
- destDir: "dist",
12
- });
13
-
14
- const babelConfig = resolve(import.meta.dirname, "./babel.publish.config.cjs");
15
- const tsConfig = resolve(import.meta.dirname, "./tsconfig.publish.json");
16
-
17
- export default {
18
- output: addon.output(),
19
- plugins: [
20
- addon.publicEntrypoints(["**/*.js"]),
21
- addon.dependencies(),
22
- babel({
23
- extensions: [".js", ".gjs", ".ts", ".gts"],
24
- babelHelpers: "bundled",
25
- configFile: babelConfig,
26
- }),
27
- nodeResolve({
28
- browser: true,
29
- preferBuiltins: false,
30
- // Defaults for this plugin are for node...
31
- exportConditions: ["browser", "module", "default"],
32
- }),
33
- // This is needed because babel doesn't ship a proper browser bundle...
34
- nodePolyfills(),
35
- // line-column, unified (extend)...
36
- cjs(),
37
-
38
- // Emit .d.ts declaration files
39
- addon.declarations("declarations", `pnpm ember-tsc --declaration --project ${tsConfig}`),
40
-
41
- // Remove leftover build artifacts when starting a new build.
42
- addon.clean(),
43
- ],
44
- };
package/config/testem.cjs DELETED
@@ -1,35 +0,0 @@
1
- 'use strict';
2
-
3
- const DEFAULT_BROWSER = 'Chrome';
4
-
5
- if (typeof module !== 'undefined') {
6
- const CI_BROWSER = process.env.CI_BROWSER || DEFAULT_BROWSER;
7
-
8
- module.exports = {
9
- test_page: 'tests/index.html?hidepassed',
10
- cwd: 'dist-tests',
11
- disable_watching: true,
12
- launch_in_ci: [CI_BROWSER],
13
- launch_in_dev: [DEFAULT_BROWSER],
14
- browser_start_timeout: 120,
15
- browser_args: {
16
- Firefox: {
17
- mode: 'ci',
18
- // https://github.com/SeleniumHQ/selenium/pull/6075
19
- args: ['-headless', '--width=1440', '--height=900'],
20
- },
21
- Chrome: {
22
- ci: [
23
- // --no-sandbox is needed when running Chrome inside a container
24
- process.env.CI ? '--no-sandbox' : null,
25
- '--headless=new',
26
- '--disable-dev-shm-usage',
27
- '--disable-software-rasterizer',
28
- '--mute-audio',
29
- '--remote-debugging-port=0',
30
- '--window-size=1440,900',
31
- ].filter(Boolean),
32
- },
33
- },
34
- };
35
- }
@@ -1,15 +0,0 @@
1
- /**
2
- * This tsconfig is only used for publishing.
3
- *
4
- * For local dev experience, see the tsconfig.json
5
- */
6
- {
7
- "extends": "@ember/library-tsconfig",
8
- "include": ["../src", "../unpublished-development-types"],
9
- "compilerOptions": {
10
- "baseUrl": "../",
11
- "allowJs": true,
12
- "declarationDir": "../declarations",
13
- "types": ["ember-source/types"]
14
- }
15
- }
@@ -1,36 +0,0 @@
1
- import { ember, extensions } from "@embroider/vite";
2
- import { join } from "node:path";
3
-
4
- import { babel } from "@rollup/plugin-babel";
5
- import { defineConfig } from "vite";
6
- import mkcert from "vite-plugin-mkcert";
7
-
8
- export default defineConfig({
9
- build: {
10
- target: ["esnext"],
11
- },
12
- resolve: {
13
- alias: [
14
- {
15
- find: "ember-repl",
16
- replacement: join(import.meta.dirname, `../src`),
17
- },
18
- ],
19
- },
20
- optimizeDeps: {
21
- // a wasm-providing dependency
22
- exclude: ["content-tag"],
23
- // for top-level-await, etc
24
- esbuildOptions: {
25
- target: "esnext",
26
- },
27
- },
28
- plugins: [
29
- mkcert(),
30
- ember(),
31
- babel({
32
- babelHelpers: "inline",
33
- extensions,
34
- }),
35
- ],
36
- });