@adobe/alloy 2.21.0-beta.5 → 2.21.0-beta.7

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.
@@ -14,4 +14,4 @@ governing permissions and limitations under the License.
14
14
  */
15
15
  // The __VERSION__ keyword will be replace at alloy build time with the package.json version.
16
16
  // see babel-plugin-version
17
- var _default = exports.default = "2.21.0-beta.5";
17
+ var _default = exports.default = "2.21.0-beta.7";
@@ -13,4 +13,4 @@ governing permissions and limitations under the License.
13
13
  // The __VERSION__ keyword will be replace at alloy build time with the package.json version.
14
14
  // see babel-plugin-version
15
15
 
16
- export default "2.21.0-beta.5";
16
+ export default "2.21.0-beta.7";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/alloy",
3
- "version": "2.21.0-beta.5",
3
+ "version": "2.21.0-beta.7",
4
4
  "description": "Adobe Experience Platform Web SDK",
5
5
  "type": "module",
6
6
  "main": "libEs5/index.js",
@@ -77,31 +77,32 @@
77
77
  "@adobe/reactor-load-script": "^1.1.1",
78
78
  "@adobe/reactor-object-assign": "^1.0.0",
79
79
  "@adobe/reactor-query-string": "^1.0.0",
80
- "css.escape": "^1.5.1",
81
- "js-cookie": "3.0.5",
82
- "parse-uri": "^1.0.9",
83
- "uuid": "^9.0.1"
84
- },
85
- "devDependencies": {
86
- "@adobe/alloy": "^2.21.0-beta.4",
87
- "@babel/cli": "^7.24.7",
88
80
  "@babel/core": "^7.24.7",
89
81
  "@babel/eslint-parser": "^7.24.7",
90
- "@babel/plugin-proposal-object-rest-spread": "^7.3.2",
91
- "@babel/plugin-transform-runtime": "^7.24.7",
92
82
  "@babel/plugin-transform-template-literals": "^7.24.7",
93
83
  "@babel/preset-env": "^7.24.7",
94
- "@babel/types": "^7.24.7",
95
- "@eslint/js": "^9.4.0",
96
- "@octokit/rest": "^20.1.1",
97
84
  "@rollup/plugin-babel": "^6.0.4",
98
85
  "@rollup/plugin-commonjs": "^26.0.1",
99
86
  "@rollup/plugin-node-resolve": "^15.2.3",
100
87
  "@rollup/plugin-terser": "^0.4.4",
88
+ "commander": "^12.1.0",
89
+ "css.escape": "^1.5.1",
90
+ "inquirer": "^9.2.23",
91
+ "js-cookie": "3.0.5",
92
+ "parse-uri": "^1.0.9",
93
+ "rollup": "^4.18.0",
94
+ "rollup-plugin-glob-import": "^0.5.0",
95
+ "rollup-plugin-istanbul": "^5.0.0",
96
+ "rollup-plugin-license": "^3.4.0",
97
+ "uuid": "^9.0.1"
98
+ },
99
+ "devDependencies": {
100
+ "@adobe/alloy": "^2.21.0-beta.6",
101
+ "@eslint/js": "^9.4.0",
102
+ "@octokit/rest": "^20.1.1",
101
103
  "bundlesize": "^0.18.2",
102
104
  "chai": "^5.1.1",
103
105
  "chalk": "^5.3.0",
104
- "commander": "^12.1.0",
105
106
  "concurrently": "^8.2.2",
106
107
  "date-fns": "^3.6.0",
107
108
  "dotenv": "^16.4.5",
@@ -117,7 +118,6 @@
117
118
  "globals": "^15.4.0",
118
119
  "handlebars": "^4.7.8",
119
120
  "husky": "^9.0.11",
120
- "inquirer": "^9.2.23",
121
121
  "jasmine": "^5.1.0",
122
122
  "jasmine-core": "^5.1.2",
123
123
  "karma": "^6.4.3",
@@ -139,10 +139,6 @@
139
139
  "recursive-readdir": "^2.2.3",
140
140
  "request": "^2.88.0",
141
141
  "rimraf": "^5.0.7",
142
- "rollup": "^4.18.0",
143
- "rollup-plugin-glob-import": "^0.5.0",
144
- "rollup-plugin-istanbul": "^5.0.0",
145
- "rollup-plugin-license": "^3.4.0",
146
142
  "semver": "^7.6.2",
147
143
  "staged-git-files": "^1.3.0",
148
144
  "start-server-and-test": "^2.0.4",
@@ -16,11 +16,13 @@ import path from "path";
16
16
  import { rollup } from "rollup";
17
17
  import { Command, Option, InvalidOptionArgumentError } from "commander";
18
18
  import inquirer from "inquirer";
19
+ import { fileURLToPath } from "url";
19
20
  import { buildConfig } from "../rollup.config.js";
20
21
  import conditionalBuildBabelPlugin from "./helpers/conditionalBuildBabelPlugin.js";
21
22
  import components from "./helpers/alloyComponents.js";
22
23
 
23
- const dirname = import.meta.dirname;
24
+ const dirname = path.dirname(fileURLToPath(import.meta.url));
25
+
24
26
  let sourceRootPath = `${dirname}/../src`;
25
27
  if (!fs.existsSync(sourceRootPath)) {
26
28
  sourceRootPath = `${dirname}/../libEs6`;