@commercetools-frontend/cypress-environments 0.1.0 → 0.1.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/commercetools-frontend-cypress-environments.cjs.d.ts +1 -1
- package/dist/commercetools-frontend-cypress-environments.cjs.dev.js +3 -1
- package/dist/commercetools-frontend-cypress-environments.cjs.prod.js +3 -1
- package/dist/commercetools-frontend-cypress-environments.esm.js +3 -1
- package/package.json +4 -4
- package/dist/commercetools-frontend-cypress-environments.cjs.d.ts.map +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from "./declarations/src/index";
|
|
2
|
-
//# sourceMappingURL=
|
|
2
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tbWVyY2V0b29scy1mcm9udGVuZC1jeXByZXNzLWVudmlyb25tZW50cy5janMuZC50cyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4vZGVjbGFyYXRpb25zL3NyYy9pbmRleC5kLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBIn0=
|
|
@@ -43,7 +43,9 @@ var pkgDir__default = /*#__PURE__*/_interopDefault(pkgDir);
|
|
|
43
43
|
|
|
44
44
|
function ownKeys(e, r) { var t = _Object$keys__default["default"](e); if (_Object$getOwnPropertySymbols__default["default"]) { var o = _Object$getOwnPropertySymbols__default["default"](e); r && (o = _filterInstanceProperty__default["default"](o).call(o, function (r) { return _Object$getOwnPropertyDescriptor__default["default"](e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
45
45
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context3, _context4; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty__default["default"](_context3 = ownKeys(Object(t), !0)).call(_context3, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors__default["default"] ? _Object$defineProperties__default["default"](e, _Object$getOwnPropertyDescriptors__default["default"](t)) : _forEachInstanceProperty__default["default"](_context4 = ownKeys(Object(t))).call(_context4, function (r) { _Object$defineProperty__default["default"](e, r, _Object$getOwnPropertyDescriptor__default["default"](t, r)); }); } return e; }
|
|
46
|
-
const cypressEnvironmentsConfigExplorer = cosmiconfig.cosmiconfig('cypress-environments'
|
|
46
|
+
const cypressEnvironmentsConfigExplorer = cosmiconfig.cosmiconfig('cypress-environments', {
|
|
47
|
+
searchStrategy: 'project'
|
|
48
|
+
});
|
|
47
49
|
const isCI = String(process.env.CI) === 'true';
|
|
48
50
|
function getParsedEnvFileContents(envPath) {
|
|
49
51
|
if (fs__default["default"].existsSync(envPath)) {
|
|
@@ -43,7 +43,9 @@ var pkgDir__default = /*#__PURE__*/_interopDefault(pkgDir);
|
|
|
43
43
|
|
|
44
44
|
function ownKeys(e, r) { var t = _Object$keys__default["default"](e); if (_Object$getOwnPropertySymbols__default["default"]) { var o = _Object$getOwnPropertySymbols__default["default"](e); r && (o = _filterInstanceProperty__default["default"](o).call(o, function (r) { return _Object$getOwnPropertyDescriptor__default["default"](e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
45
45
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context3, _context4; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty__default["default"](_context3 = ownKeys(Object(t), !0)).call(_context3, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors__default["default"] ? _Object$defineProperties__default["default"](e, _Object$getOwnPropertyDescriptors__default["default"](t)) : _forEachInstanceProperty__default["default"](_context4 = ownKeys(Object(t))).call(_context4, function (r) { _Object$defineProperty__default["default"](e, r, _Object$getOwnPropertyDescriptor__default["default"](t, r)); }); } return e; }
|
|
46
|
-
const cypressEnvironmentsConfigExplorer = cosmiconfig.cosmiconfig('cypress-environments'
|
|
46
|
+
const cypressEnvironmentsConfigExplorer = cosmiconfig.cosmiconfig('cypress-environments', {
|
|
47
|
+
searchStrategy: 'project'
|
|
48
|
+
});
|
|
47
49
|
const isCI = String(process.env.CI) === 'true';
|
|
48
50
|
function getParsedEnvFileContents(envPath) {
|
|
49
51
|
if (fs__default["default"].existsSync(envPath)) {
|
|
@@ -20,7 +20,9 @@ import { cosmiconfig } from 'cosmiconfig';
|
|
|
20
20
|
|
|
21
21
|
function ownKeys(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
22
22
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context3, _context4; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context3 = ownKeys(Object(t), !0)).call(_context3, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context4 = ownKeys(Object(t))).call(_context4, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
23
|
-
const cypressEnvironmentsConfigExplorer = cosmiconfig('cypress-environments'
|
|
23
|
+
const cypressEnvironmentsConfigExplorer = cosmiconfig('cypress-environments', {
|
|
24
|
+
searchStrategy: 'project'
|
|
25
|
+
});
|
|
24
26
|
const isCI = String(process.env.CI) === 'true';
|
|
25
27
|
function getParsedEnvFileContents(envPath) {
|
|
26
28
|
if (fs.existsSync(envPath)) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-frontend/cypress-environments",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Cypress package to setup environment configuration using dotenv files",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"publishConfig": {
|
|
@@ -19,15 +19,15 @@
|
|
|
19
19
|
"@babel/core": "^7.22.11",
|
|
20
20
|
"@babel/runtime": "^7.21.0",
|
|
21
21
|
"@babel/runtime-corejs3": "^7.21.0",
|
|
22
|
-
"cosmiconfig": "
|
|
23
|
-
"dotenv": "16.3.
|
|
22
|
+
"cosmiconfig": "9.0.0",
|
|
23
|
+
"dotenv": "16.3.2",
|
|
24
24
|
"glob": "10.3.10",
|
|
25
25
|
"pkg-dir": "5.0.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@tsconfig/node20": "20.1.2",
|
|
29
29
|
"@types/glob": "8.1.0",
|
|
30
|
-
"@types/node": "20.
|
|
30
|
+
"@types/node": "20.11.5",
|
|
31
31
|
"typescript": "5.2.2"
|
|
32
32
|
},
|
|
33
33
|
"engines": {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"commercetools-frontend-cypress-environments.cjs.d.ts","sourceRoot":"","sources":["./declarations/src/index.d.ts"],"names":[],"mappings":"AAAA"}
|