@salesforce/storefront-next-dev 1.3.0-alpha.0 → 1.3.0-alpha.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.
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/logger.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -7,7 +7,7 @@ import { fileURLToPath } from "url";
|
|
|
7
7
|
import { parse } from "@babel/parser";
|
|
8
8
|
import { isArrayPattern, isClassDeclaration, isExportSpecifier, isFunctionDeclaration, isIdentifier, isJSXAttribute, isJSXElement, isJSXFragment, isJSXIdentifier, isMemberExpression, isObjectPattern, isObjectProperty, isRestElement, isVariableDeclaration, jsxClosingElement, jsxClosingFragment, jsxElement, jsxFragment, jsxIdentifier, jsxOpeningElement, jsxOpeningFragment, jsxText } from "@babel/types";
|
|
9
9
|
import { generate } from "@babel/generator";
|
|
10
|
-
import
|
|
10
|
+
import _traverse from "@babel/traverse";
|
|
11
11
|
import { existsSync, mkdirSync, readFileSync, unlinkSync, writeFileSync } from "fs";
|
|
12
12
|
import { glob } from "glob";
|
|
13
13
|
import { Node, Project, ts } from "ts-morph";
|
|
@@ -374,7 +374,7 @@ const patchReactRouterPlugin = () => {
|
|
|
374
374
|
|
|
375
375
|
//#endregion
|
|
376
376
|
//#region src/extensibility/target-utils.ts
|
|
377
|
-
const traverse$1 =
|
|
377
|
+
const traverse$1 = _traverse.default || _traverse;
|
|
378
378
|
const TARGET_COMPONENT_TAG = "UITarget";
|
|
379
379
|
const TARGET_PROVIDERS_TAG = "UITargetProviders";
|
|
380
380
|
const TARGET_ID_ATTRIBUTE = "targetId";
|
|
@@ -1837,7 +1837,7 @@ const workspacePlugin = () => {
|
|
|
1837
1837
|
|
|
1838
1838
|
//#endregion
|
|
1839
1839
|
//#region src/plugins/componentLoaders.ts
|
|
1840
|
-
const traverse =
|
|
1840
|
+
const traverse = _traverse.default || _traverse;
|
|
1841
1841
|
const generate$1 = generate.default || generate;
|
|
1842
1842
|
/**
|
|
1843
1843
|
* Names of exports to strip per environment.
|