@jsenv/core 39.2.15 → 39.2.16
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/README.md +2 -1
- package/dist/jsenv_core.js +7 -3
- package/package.json +16 -16
- package/src/build/build.js +3 -1
- package/src/dev/start_dev_server.js +3 -1
package/README.md
CHANGED
package/dist/jsenv_core.js
CHANGED
|
@@ -1286,7 +1286,7 @@ const createTaskLog = (
|
|
|
1286
1286
|
fail: () => {},
|
|
1287
1287
|
};
|
|
1288
1288
|
}
|
|
1289
|
-
if (animated && process.env.
|
|
1289
|
+
if (animated && process.env.CAPTURING_SIDE_EFFECTS) {
|
|
1290
1290
|
animated = false;
|
|
1291
1291
|
}
|
|
1292
1292
|
const startMs = Date.now();
|
|
@@ -21858,7 +21858,9 @@ const build = async ({
|
|
|
21858
21858
|
"buildDirectoryUrl",
|
|
21859
21859
|
);
|
|
21860
21860
|
if (outDirectoryUrl === undefined) {
|
|
21861
|
-
if (
|
|
21861
|
+
if (process.env.CAPTURING_SIDE_EFFECTS) {
|
|
21862
|
+
outDirectoryUrl = new URL("../.jsenv/", sourceDirectoryUrl);
|
|
21863
|
+
} else {
|
|
21862
21864
|
const packageDirectoryUrl = lookupPackageDirectory(sourceDirectoryUrl);
|
|
21863
21865
|
if (packageDirectoryUrl) {
|
|
21864
21866
|
outDirectoryUrl = `${packageDirectoryUrl}.jsenv/`;
|
|
@@ -22722,7 +22724,9 @@ const startDevServer = async ({
|
|
|
22722
22724
|
sourceDirectoryUrl,
|
|
22723
22725
|
);
|
|
22724
22726
|
if (outDirectoryUrl === undefined) {
|
|
22725
|
-
if (
|
|
22727
|
+
if (process.env.CAPTURING_SIDE_EFFECTS) {
|
|
22728
|
+
outDirectoryUrl = new URL("../.jsenv/", sourceDirectoryUrl);
|
|
22729
|
+
} else {
|
|
22726
22730
|
const packageDirectoryUrl = lookupPackageDirectory(sourceDirectoryUrl);
|
|
22727
22731
|
if (packageDirectoryUrl) {
|
|
22728
22732
|
outDirectoryUrl = `${packageDirectoryUrl}.jsenv/`;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jsenv/core",
|
|
3
|
-
"version": "39.2.
|
|
3
|
+
"version": "39.2.16",
|
|
4
4
|
"description": "Tool to develop, test and build js projects",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": {
|
|
@@ -67,37 +67,37 @@
|
|
|
67
67
|
"dependencies": {
|
|
68
68
|
"@financial-times/polyfill-useragent-normaliser": "1.10.2",
|
|
69
69
|
"@jsenv/abort": "4.3.0",
|
|
70
|
-
"@jsenv/ast": "6.2.
|
|
71
|
-
"@jsenv/filesystem": "4.9.
|
|
72
|
-
"@jsenv/humanize": "1.2.
|
|
70
|
+
"@jsenv/ast": "6.2.13",
|
|
71
|
+
"@jsenv/filesystem": "4.9.9",
|
|
72
|
+
"@jsenv/humanize": "1.2.8",
|
|
73
73
|
"@jsenv/importmap": "1.2.1",
|
|
74
74
|
"@jsenv/integrity": "0.0.2",
|
|
75
|
-
"@jsenv/js-module-fallback": "1.3.
|
|
75
|
+
"@jsenv/js-module-fallback": "1.3.34",
|
|
76
76
|
"@jsenv/node-esm-resolution": "1.0.2",
|
|
77
|
-
"@jsenv/plugin-bundling": "2.7.
|
|
77
|
+
"@jsenv/plugin-bundling": "2.7.5",
|
|
78
78
|
"@jsenv/plugin-minification": "1.5.5",
|
|
79
|
-
"@jsenv/plugin-supervisor": "1.5.
|
|
80
|
-
"@jsenv/plugin-transpilation": "1.4.
|
|
79
|
+
"@jsenv/plugin-supervisor": "1.5.14",
|
|
80
|
+
"@jsenv/plugin-transpilation": "1.4.18",
|
|
81
81
|
"@jsenv/runtime-compat": "1.3.1",
|
|
82
|
-
"@jsenv/server": "15.2.
|
|
83
|
-
"@jsenv/sourcemap": "1.2.
|
|
82
|
+
"@jsenv/server": "15.2.18",
|
|
83
|
+
"@jsenv/sourcemap": "1.2.22",
|
|
84
84
|
"@jsenv/url-meta": "8.5.0",
|
|
85
|
-
"@jsenv/urls": "2.5.
|
|
85
|
+
"@jsenv/urls": "2.5.2",
|
|
86
86
|
"@jsenv/utils": "2.1.2",
|
|
87
87
|
"anchor-markdown-header": "0.7.0"
|
|
88
88
|
},
|
|
89
89
|
"devDependencies": {
|
|
90
|
-
"@babel/eslint-parser": "7.
|
|
90
|
+
"@babel/eslint-parser": "7.25.1",
|
|
91
91
|
"@babel/plugin-syntax-import-attributes": "7.24.7",
|
|
92
92
|
"@babel/plugin-syntax-optional-chaining-assign": "7.24.7",
|
|
93
93
|
"@jsenv/assert": "./packages/independent/assert/",
|
|
94
94
|
"@jsenv/cli": "./packages/related/cli/",
|
|
95
95
|
"@jsenv/core": "./",
|
|
96
96
|
"@jsenv/eslint-config": "./packages/independent/eslint-config/",
|
|
97
|
-
"@jsenv/file-size-impact": "14.
|
|
97
|
+
"@jsenv/file-size-impact": "14.2.0",
|
|
98
98
|
"@jsenv/https-local": "3.0.7",
|
|
99
|
-
"@jsenv/monorepo": "0.0.
|
|
100
|
-
"@jsenv/performance-impact": "4.
|
|
99
|
+
"@jsenv/monorepo": "0.0.6",
|
|
100
|
+
"@jsenv/performance-impact": "4.3.0",
|
|
101
101
|
"@jsenv/plugin-as-js-classic": "./packages/related/plugin-as-js-classic/",
|
|
102
102
|
"@jsenv/snapshot": "./packages/independent/snapshot/",
|
|
103
103
|
"@jsenv/test": "./packages/related/test/",
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
"eslint-plugin-import": "2.29.1",
|
|
111
111
|
"eslint-plugin-react": "7.35.0",
|
|
112
112
|
"eslint-plugin-regexp": "2.6.0",
|
|
113
|
-
"marked": "13.0.
|
|
113
|
+
"marked": "13.0.3",
|
|
114
114
|
"open": "10.1.0",
|
|
115
115
|
"playwright": "1.45.3",
|
|
116
116
|
"prettier": "3.3.3",
|
package/src/build/build.js
CHANGED
|
@@ -149,7 +149,9 @@ export const build = async ({
|
|
|
149
149
|
"buildDirectoryUrl",
|
|
150
150
|
);
|
|
151
151
|
if (outDirectoryUrl === undefined) {
|
|
152
|
-
if (
|
|
152
|
+
if (process.env.CAPTURING_SIDE_EFFECTS) {
|
|
153
|
+
outDirectoryUrl = new URL("../.jsenv/", sourceDirectoryUrl);
|
|
154
|
+
} else {
|
|
153
155
|
const packageDirectoryUrl = lookupPackageDirectory(sourceDirectoryUrl);
|
|
154
156
|
if (packageDirectoryUrl) {
|
|
155
157
|
outDirectoryUrl = `${packageDirectoryUrl}.jsenv/`;
|
|
@@ -105,7 +105,9 @@ export const startDevServer = async ({
|
|
|
105
105
|
sourceDirectoryUrl,
|
|
106
106
|
);
|
|
107
107
|
if (outDirectoryUrl === undefined) {
|
|
108
|
-
if (
|
|
108
|
+
if (process.env.CAPTURING_SIDE_EFFECTS) {
|
|
109
|
+
outDirectoryUrl = new URL("../.jsenv/", sourceDirectoryUrl);
|
|
110
|
+
} else {
|
|
109
111
|
const packageDirectoryUrl = lookupPackageDirectory(sourceDirectoryUrl);
|
|
110
112
|
if (packageDirectoryUrl) {
|
|
111
113
|
outDirectoryUrl = `${packageDirectoryUrl}.jsenv/`;
|