nx 22.1.0-rc.5 → 22.1.0
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/package.json +11 -11
- package/src/command-line/release/utils/shared.d.ts.map +1 -1
- package/src/command-line/release/utils/shared.js +5 -5
- package/src/core/graph/main.js +1 -1
- package/src/daemon/server/server.js +9 -9
- package/src/hasher/task-hasher.js +1 -1
- package/src/native/nx.wasi-browser.js +45 -53
- package/src/native/nx.wasm32-wasi.wasm +0 -0
|
@@ -401,20 +401,20 @@ async function startServer() {
|
|
|
401
401
|
if (!socket_utils_1.isWindows) {
|
|
402
402
|
(0, socket_utils_1.killSocketOrPath)();
|
|
403
403
|
}
|
|
404
|
+
setInterval(() => {
|
|
405
|
+
if ((0, cache_1.getDaemonProcessIdSync)() !== process.pid) {
|
|
406
|
+
return (0, shutdown_utils_1.handleServerProcessTermination)({
|
|
407
|
+
server,
|
|
408
|
+
reason: 'this process is no longer the current daemon (native)',
|
|
409
|
+
sockets: exports.openSockets,
|
|
410
|
+
});
|
|
411
|
+
}
|
|
412
|
+
}, 20).unref();
|
|
404
413
|
return new Promise(async (resolve, reject) => {
|
|
405
414
|
try {
|
|
406
415
|
server.listen((0, socket_utils_1.getFullOsSocketPath)(), async () => {
|
|
407
416
|
try {
|
|
408
417
|
logger_1.serverLogger.log(`Started listening on: ${(0, socket_utils_1.getFullOsSocketPath)()}`);
|
|
409
|
-
setInterval(() => {
|
|
410
|
-
if ((0, cache_1.getDaemonProcessIdSync)() !== process.pid) {
|
|
411
|
-
return (0, shutdown_utils_1.handleServerProcessTermination)({
|
|
412
|
-
server,
|
|
413
|
-
reason: 'this process is no longer the current daemon (native)',
|
|
414
|
-
sockets: exports.openSockets,
|
|
415
|
-
});
|
|
416
|
-
}
|
|
417
|
-
}, 20).unref();
|
|
418
418
|
// this triggers the storage of the lock file hash
|
|
419
419
|
daemonIsOutdated();
|
|
420
420
|
if (!(0, shutdown_utils_1.getWatcherInstance)()) {
|
|
@@ -59,55 +59,51 @@ function __napi_rs_initialize_modules(__napiInstance) {
|
|
|
59
59
|
__napiInstance.exports['__napi_register__get_transformable_outputs_5']?.()
|
|
60
60
|
__napiInstance.exports['__napi_register__hash_array_6']?.()
|
|
61
61
|
__napiInstance.exports['__napi_register__hash_file_7']?.()
|
|
62
|
-
__napiInstance.exports['
|
|
63
|
-
__napiInstance.exports['
|
|
64
|
-
__napiInstance.exports['
|
|
65
|
-
__napiInstance.exports['
|
|
66
|
-
__napiInstance.exports['
|
|
67
|
-
__napiInstance.exports['
|
|
68
|
-
__napiInstance.exports['
|
|
69
|
-
__napiInstance.exports['
|
|
70
|
-
__napiInstance.exports['
|
|
71
|
-
__napiInstance.exports['
|
|
72
|
-
__napiInstance.exports['
|
|
73
|
-
__napiInstance.exports['
|
|
74
|
-
__napiInstance.exports['
|
|
75
|
-
__napiInstance.exports['
|
|
76
|
-
__napiInstance.exports['
|
|
77
|
-
__napiInstance.exports['
|
|
78
|
-
__napiInstance.exports['
|
|
79
|
-
__napiInstance.exports['
|
|
80
|
-
__napiInstance.exports['
|
|
81
|
-
__napiInstance.exports['
|
|
82
|
-
__napiInstance.exports['
|
|
83
|
-
__napiInstance.exports['
|
|
84
|
-
__napiInstance.exports['
|
|
85
|
-
__napiInstance.exports['
|
|
86
|
-
__napiInstance.exports['
|
|
87
|
-
__napiInstance.exports['
|
|
88
|
-
__napiInstance.exports['
|
|
89
|
-
__napiInstance.exports['
|
|
90
|
-
__napiInstance.exports['
|
|
91
|
-
__napiInstance.exports['
|
|
92
|
-
__napiInstance.exports['
|
|
93
|
-
__napiInstance.exports['
|
|
94
|
-
__napiInstance.exports['
|
|
95
|
-
__napiInstance.exports['
|
|
96
|
-
__napiInstance.exports['
|
|
97
|
-
__napiInstance.exports['
|
|
98
|
-
__napiInstance.exports['
|
|
99
|
-
__napiInstance.exports['
|
|
100
|
-
__napiInstance.exports['
|
|
101
|
-
__napiInstance.exports['
|
|
102
|
-
__napiInstance.exports['
|
|
103
|
-
__napiInstance.exports['
|
|
104
|
-
__napiInstance.exports['
|
|
105
|
-
__napiInstance.exports['
|
|
106
|
-
__napiInstance.exports['
|
|
107
|
-
__napiInstance.exports['__napi_register__NxWorkspaceFilesExternals_struct_74']?.()
|
|
108
|
-
__napiInstance.exports['__napi_register__UpdatedWorkspaceFiles_struct_75']?.()
|
|
109
|
-
__napiInstance.exports['__napi_register__FileMap_struct_76']?.()
|
|
110
|
-
__napiInstance.exports['__napi_register____test_only_transfer_file_map_77']?.()
|
|
62
|
+
__napiInstance.exports['__napi_register__can_install_nx_console_8']?.()
|
|
63
|
+
__napiInstance.exports['__napi_register__install_nx_console_9']?.()
|
|
64
|
+
__napiInstance.exports['__napi_register__NxConsolePreferences_struct_10']?.()
|
|
65
|
+
__napiInstance.exports['__napi_register__NxConsolePreferences_impl_14']?.()
|
|
66
|
+
__napiInstance.exports['__napi_register__log_debug_15']?.()
|
|
67
|
+
__napiInstance.exports['__napi_register__IS_WASM_16']?.()
|
|
68
|
+
__napiInstance.exports['__napi_register__get_binary_target_17']?.()
|
|
69
|
+
__napiInstance.exports['__napi_register__ImportResult_struct_18']?.()
|
|
70
|
+
__napiInstance.exports['__napi_register__find_imports_19']?.()
|
|
71
|
+
__napiInstance.exports['__napi_register__transfer_project_graph_20']?.()
|
|
72
|
+
__napiInstance.exports['__napi_register__ExternalNode_struct_21']?.()
|
|
73
|
+
__napiInstance.exports['__napi_register__Target_struct_22']?.()
|
|
74
|
+
__napiInstance.exports['__napi_register__Project_struct_23']?.()
|
|
75
|
+
__napiInstance.exports['__napi_register__ProjectGraph_struct_24']?.()
|
|
76
|
+
__napiInstance.exports['__napi_register__HashPlanInspector_struct_25']?.()
|
|
77
|
+
__napiInstance.exports['__napi_register__HashPlanInspector_impl_28']?.()
|
|
78
|
+
__napiInstance.exports['__napi_register__HashPlanner_struct_29']?.()
|
|
79
|
+
__napiInstance.exports['__napi_register__HashPlanner_impl_33']?.()
|
|
80
|
+
__napiInstance.exports['__napi_register__HashDetails_struct_34']?.()
|
|
81
|
+
__napiInstance.exports['__napi_register__HasherOptions_struct_35']?.()
|
|
82
|
+
__napiInstance.exports['__napi_register__TaskHasher_struct_36']?.()
|
|
83
|
+
__napiInstance.exports['__napi_register__TaskHasher_impl_39']?.()
|
|
84
|
+
__napiInstance.exports['__napi_register__Task_struct_40']?.()
|
|
85
|
+
__napiInstance.exports['__napi_register__TaskTarget_struct_41']?.()
|
|
86
|
+
__napiInstance.exports['__napi_register__TaskResult_struct_42']?.()
|
|
87
|
+
__napiInstance.exports['__napi_register__TaskGraph_struct_43']?.()
|
|
88
|
+
__napiInstance.exports['__napi_register__FileData_struct_44']?.()
|
|
89
|
+
__napiInstance.exports['__napi_register__InputsInput_struct_45']?.()
|
|
90
|
+
__napiInstance.exports['__napi_register__FileSetInput_struct_46']?.()
|
|
91
|
+
__napiInstance.exports['__napi_register__RuntimeInput_struct_47']?.()
|
|
92
|
+
__napiInstance.exports['__napi_register__EnvironmentInput_struct_48']?.()
|
|
93
|
+
__napiInstance.exports['__napi_register__ExternalDependenciesInput_struct_49']?.()
|
|
94
|
+
__napiInstance.exports['__napi_register__DepsOutputsInput_struct_50']?.()
|
|
95
|
+
__napiInstance.exports['__napi_register__NxJson_struct_51']?.()
|
|
96
|
+
__napiInstance.exports['__napi_register__is_ai_agent_52']?.()
|
|
97
|
+
__napiInstance.exports['__napi_register__FileLock_struct_53']?.()
|
|
98
|
+
__napiInstance.exports['__napi_register__FileLock_impl_55']?.()
|
|
99
|
+
__napiInstance.exports['__napi_register__WorkspaceContext_struct_56']?.()
|
|
100
|
+
__napiInstance.exports['__napi_register__WorkspaceContext_impl_67']?.()
|
|
101
|
+
__napiInstance.exports['__napi_register__WorkspaceErrors_68']?.()
|
|
102
|
+
__napiInstance.exports['__napi_register__NxWorkspaceFiles_struct_69']?.()
|
|
103
|
+
__napiInstance.exports['__napi_register__NxWorkspaceFilesExternals_struct_70']?.()
|
|
104
|
+
__napiInstance.exports['__napi_register__UpdatedWorkspaceFiles_struct_71']?.()
|
|
105
|
+
__napiInstance.exports['__napi_register__FileMap_struct_72']?.()
|
|
106
|
+
__napiInstance.exports['__napi_register____test_only_transfer_file_map_73']?.()
|
|
111
107
|
}
|
|
112
108
|
export const FileLock = __napiModule.exports.FileLock
|
|
113
109
|
export const HashPlanInspector = __napiModule.exports.HashPlanInspector
|
|
@@ -117,7 +113,6 @@ export const NxConsolePreferences = __napiModule.exports.NxConsolePreferences
|
|
|
117
113
|
export const TaskHasher = __napiModule.exports.TaskHasher
|
|
118
114
|
export const WorkspaceContext = __napiModule.exports.WorkspaceContext
|
|
119
115
|
export const canInstallNxConsole = __napiModule.exports.canInstallNxConsole
|
|
120
|
-
export const canInstallNxConsoleForEditor = __napiModule.exports.canInstallNxConsoleForEditor
|
|
121
116
|
export const copy = __napiModule.exports.copy
|
|
122
117
|
export const expandOutputs = __napiModule.exports.expandOutputs
|
|
123
118
|
export const findImports = __napiModule.exports.findImports
|
|
@@ -127,13 +122,10 @@ export const getTransformableOutputs = __napiModule.exports.getTransformableOutp
|
|
|
127
122
|
export const hashArray = __napiModule.exports.hashArray
|
|
128
123
|
export const hashFile = __napiModule.exports.hashFile
|
|
129
124
|
export const installNxConsole = __napiModule.exports.installNxConsole
|
|
130
|
-
export const installNxConsoleForEditor = __napiModule.exports.installNxConsoleForEditor
|
|
131
125
|
export const IS_WASM = __napiModule.exports.IS_WASM
|
|
132
126
|
export const isAiAgent = __napiModule.exports.isAiAgent
|
|
133
|
-
export const isEditorInstalled = __napiModule.exports.isEditorInstalled
|
|
134
127
|
export const logDebug = __napiModule.exports.logDebug
|
|
135
128
|
export const remove = __napiModule.exports.remove
|
|
136
|
-
export const SupportedEditor = __napiModule.exports.SupportedEditor
|
|
137
129
|
export const testOnlyTransferFileMap = __napiModule.exports.testOnlyTransferFileMap
|
|
138
130
|
export const transferProjectGraph = __napiModule.exports.transferProjectGraph
|
|
139
131
|
export const validateOutputs = __napiModule.exports.validateOutputs
|
|
Binary file
|