@embroider/shared-internals
Advanced tools
Comparing version 2.0.1-unstable.137fcab to 2.0.1-unstable.16dc72c
{ | ||
"name": "@embroider/shared-internals", | ||
"version": "2.0.1-unstable.137fcab", | ||
"version": "2.0.1-unstable.16dc72c", | ||
"private": false, | ||
@@ -41,3 +41,8 @@ "description": "Utilities shared among the other embroider packages", | ||
"devDependencies": { | ||
"@embroider/test-support": "0.36.0", | ||
"broccoli-node-api": "^1.7.0", | ||
"@embroider/test-support": "workspace:*", | ||
"@types/babel__core": "^7.1.14", | ||
"@types/babel__traverse": "^7.18.5", | ||
"@types/fs-extra": "^9.0.12", | ||
"@types/lodash": "^4.14.170", | ||
"@types/js-string-escape": "^1.0.0", | ||
@@ -48,3 +53,3 @@ "@types/semver": "^7.3.6", | ||
"tmp": "^0.1.0", | ||
"typescript": "*" | ||
"typescript": "^4.9.0" | ||
}, | ||
@@ -51,0 +56,0 @@ "engines": { |
@@ -25,4 +25,4 @@ import type { Funnel } from 'broccoli-funnel'; | ||
} | ||
export declare type FilePath = string; | ||
export declare type OutputFileToInputFileMap = { | ||
export type FilePath = string; | ||
export type OutputFileToInputFileMap = { | ||
[filePath: string]: FilePath[]; | ||
@@ -106,3 +106,3 @@ }; | ||
} | ||
export declare type AddonTreePath = keyof BaseAddonInstance['treePaths']; | ||
export type AddonTreePath = keyof BaseAddonInstance['treePaths']; | ||
export interface DeepAddonInstance extends BaseAddonInstance { | ||
@@ -115,5 +115,5 @@ parent: AddonInstance; | ||
} | ||
export declare type AddonInstance = DeepAddonInstance | ShallowAddonInstance; | ||
export type AddonInstance = DeepAddonInstance | ShallowAddonInstance; | ||
export declare function isDeepAddonInstance(addon: AddonInstance): addon is DeepAddonInstance; | ||
export declare function findTopmostAddon(addon: AddonInstance): ShallowAddonInstance; | ||
export {}; |
@@ -33,6 +33,9 @@ "use strict"; | ||
// but we may need to tell a build tool that is inspecting pre-transpiled code | ||
// (like snowpack) not to worrya bout these packages. | ||
// (like snowpack) not to worry about these packages. | ||
exports.emberVirtualPackages.add('@glimmer/env'); | ||
exports.emberVirtualPackages.add('ember'); | ||
exports.emberVirtualPackages.add('@embroider/macros'); | ||
// rfc176-data only covers things up to the point where Ember stopped needing | ||
// the modules-api-polyfill. Newer APIs need to be added here. | ||
exports.emberVirtualPackages.add('@ember/owner'); | ||
// These are the known names that people use to import template precomiplation | ||
@@ -39,0 +42,0 @@ // macros from. |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
@@ -6,0 +10,0 @@ if (k2 === undefined) k2 = k; |
@@ -1,3 +0,3 @@ | ||
declare type Filename = string; | ||
declare type AppRelativeURL = string; | ||
type Filename = string; | ||
type AppRelativeURL = string; | ||
export interface AppMeta { | ||
@@ -4,0 +4,0 @@ type: 'app'; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
97055
1022
12