@procore/core-scripts 11.4.5 → 11.6.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/dist/commands/app/build.js +7 -6
- package/dist/commands/app/build.js.map +1 -1
- package/dist/commands/app/start.js +1 -1
- package/dist/commands/app/start.js.map +1 -1
- package/dist/webpack/app/setupWebpack.js +40 -30
- package/dist/webpack/app/setupWebpack.js.map +1 -1
- package/dist/webpack/library/setupWebpack.js +0 -2
- package/dist/webpack/library/setupWebpack.js.map +1 -1
- package/package.json +50 -47
- package/dist/procoreDevUtils/WebpackDevServerUtils.js +0 -415
- package/dist/procoreDevUtils/WebpackDevServerUtils.js.map +0 -1
- package/dist/procoreDevUtils/formatWebpackMessages.js +0 -96
- package/dist/procoreDevUtils/formatWebpackMessages.js.map +0 -1
- package/dist/procoreDevUtils/webpackHotDevClient.js +0 -231
- package/dist/procoreDevUtils/webpackHotDevClient.js.map +0 -1
- package/oclif.manifest.json +0 -1
|
@@ -1,231 +0,0 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
|
-
/**
|
|
3
|
-
* Copyright (c) 2015-present, Facebook, Inc.
|
|
4
|
-
*
|
|
5
|
-
* This source code is licensed under the MIT license found in the
|
|
6
|
-
* LICENSE file in the root directory of this source tree.
|
|
7
|
-
*/
|
|
8
|
-
'use strict';
|
|
9
|
-
// This alternative WebpackDevServer combines the functionality of:
|
|
10
|
-
// https://github.com/webpack/webpack-dev-server/blob/webpack-1/client/index.js
|
|
11
|
-
// https://github.com/webpack/webpack/blob/webpack-1/hot/dev-server.js
|
|
12
|
-
// It only supports their simplest configuration (hot updates on same server).
|
|
13
|
-
// It makes some opinionated choices on top, like adding a syntax error overlay
|
|
14
|
-
// that looks similar to our console output. The error overlay is inspired by:
|
|
15
|
-
// https://github.com/glenjamin/webpack-hot-middleware
|
|
16
|
-
var SockJS = require('sockjs-client');
|
|
17
|
-
var stripAnsi = require('strip-ansi');
|
|
18
|
-
var url = require('url');
|
|
19
|
-
var launchEditorEndpoint = require('react-dev-utils/launchEditorEndpoint');
|
|
20
|
-
var formatWebpackMessages = require('./formatWebpackMessages');
|
|
21
|
-
var ErrorOverlay = require('react-error-overlay');
|
|
22
|
-
ErrorOverlay.setEditorHandler(function editorHandler(errorLocation) {
|
|
23
|
-
// Keep this sync with errorOverlayMiddleware.js
|
|
24
|
-
fetch(launchEditorEndpoint +
|
|
25
|
-
'?fileName=' +
|
|
26
|
-
window.encodeURIComponent(errorLocation.fileName) +
|
|
27
|
-
'&lineNumber=' +
|
|
28
|
-
window.encodeURIComponent(errorLocation.lineNumber || 1) +
|
|
29
|
-
'&colNumber=' +
|
|
30
|
-
window.encodeURIComponent(errorLocation.colNumber || 1));
|
|
31
|
-
});
|
|
32
|
-
// We need to keep track of if there has been a runtime error.
|
|
33
|
-
// Essentially, we cannot guarantee application state was not corrupted by the
|
|
34
|
-
// runtime error. To prevent confusing behavior, we forcibly reload the entire
|
|
35
|
-
// application. This is handled below when we are notified of a compile (code
|
|
36
|
-
// change).
|
|
37
|
-
// See https://github.com/facebook/create-react-app/issues/3096
|
|
38
|
-
var hadRuntimeError = false;
|
|
39
|
-
ErrorOverlay.startReportingRuntimeErrors({
|
|
40
|
-
onError: function () {
|
|
41
|
-
hadRuntimeError = true;
|
|
42
|
-
},
|
|
43
|
-
filename: '/static/js/bundle.js',
|
|
44
|
-
});
|
|
45
|
-
if (module.hot && typeof module.hot.dispose === 'function') {
|
|
46
|
-
module.hot.dispose(function () {
|
|
47
|
-
// TODO: why do we need this?
|
|
48
|
-
ErrorOverlay.stopReportingRuntimeErrors();
|
|
49
|
-
});
|
|
50
|
-
}
|
|
51
|
-
// Connect to WebpackDevServer via a socket.
|
|
52
|
-
var connection = new SockJS(url.format({
|
|
53
|
-
protocol: window.location.protocol,
|
|
54
|
-
// START: ONLY THIS IS FROM PROCORE
|
|
55
|
-
// https://github.com/facebook/create-react-app/pull/7750/files
|
|
56
|
-
hostname: process.env.WDS_SOCKET_HOST || window.location.hostname,
|
|
57
|
-
port: process.env.WDS_SOCKET_PORT || window.location.port,
|
|
58
|
-
pathname: process.env.WDS_SOCKET_PATH || '/sockjs-node',
|
|
59
|
-
// END: ONLY THIS IS FROM PROCORE
|
|
60
|
-
}));
|
|
61
|
-
// Unlike WebpackDevServer client, we won't try to reconnect
|
|
62
|
-
// to avoid spamming the console. Disconnect usually happens
|
|
63
|
-
// when developer stops the server.
|
|
64
|
-
connection.onclose = function () {
|
|
65
|
-
if (typeof console !== 'undefined' && typeof console.info === 'function') {
|
|
66
|
-
console.info('The development server has disconnected.\nRefresh the page if necessary.');
|
|
67
|
-
}
|
|
68
|
-
};
|
|
69
|
-
// Remember some state related to hot module replacement.
|
|
70
|
-
var isFirstCompilation = true;
|
|
71
|
-
var mostRecentCompilationHash = null;
|
|
72
|
-
var hasCompileErrors = false;
|
|
73
|
-
function clearOutdatedErrors() {
|
|
74
|
-
// Clean up outdated compile errors, if any.
|
|
75
|
-
if (typeof console !== 'undefined' && typeof console.clear === 'function') {
|
|
76
|
-
if (hasCompileErrors) {
|
|
77
|
-
console.clear();
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
// Successful compilation.
|
|
82
|
-
function handleSuccess() {
|
|
83
|
-
clearOutdatedErrors();
|
|
84
|
-
var isHotUpdate = !isFirstCompilation;
|
|
85
|
-
isFirstCompilation = false;
|
|
86
|
-
hasCompileErrors = false;
|
|
87
|
-
// Attempt to apply hot updates or reload.
|
|
88
|
-
if (isHotUpdate) {
|
|
89
|
-
tryApplyUpdates(function onHotUpdateSuccess() {
|
|
90
|
-
// Only dismiss it when we're sure it's a hot update.
|
|
91
|
-
// Otherwise it would flicker right before the reload.
|
|
92
|
-
tryDismissErrorOverlay();
|
|
93
|
-
});
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
// Compilation with warnings (e.g. ESLint).
|
|
97
|
-
function handleWarnings(warnings) {
|
|
98
|
-
clearOutdatedErrors();
|
|
99
|
-
var isHotUpdate = !isFirstCompilation;
|
|
100
|
-
isFirstCompilation = false;
|
|
101
|
-
hasCompileErrors = false;
|
|
102
|
-
function printWarnings() {
|
|
103
|
-
// Print warnings to the console.
|
|
104
|
-
var formatted = formatWebpackMessages({
|
|
105
|
-
warnings: warnings,
|
|
106
|
-
errors: [],
|
|
107
|
-
});
|
|
108
|
-
if (typeof console !== 'undefined' && typeof console.warn === 'function') {
|
|
109
|
-
for (var i = 0; i < formatted.warnings.length; i++) {
|
|
110
|
-
if (i === 5) {
|
|
111
|
-
console.warn('There were more warnings in other files.\n' +
|
|
112
|
-
'You can find a complete log in the terminal.');
|
|
113
|
-
break;
|
|
114
|
-
}
|
|
115
|
-
console.warn(stripAnsi(formatted.warnings[i]));
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
printWarnings();
|
|
120
|
-
// Attempt to apply hot updates or reload.
|
|
121
|
-
if (isHotUpdate) {
|
|
122
|
-
tryApplyUpdates(function onSuccessfulHotUpdate() {
|
|
123
|
-
// Only dismiss it when we're sure it's a hot update.
|
|
124
|
-
// Otherwise it would flicker right before the reload.
|
|
125
|
-
tryDismissErrorOverlay();
|
|
126
|
-
});
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
// Compilation with errors (e.g. syntax error or missing modules).
|
|
130
|
-
function handleErrors(errors) {
|
|
131
|
-
clearOutdatedErrors();
|
|
132
|
-
isFirstCompilation = false;
|
|
133
|
-
hasCompileErrors = true;
|
|
134
|
-
// "Massage" webpack messages.
|
|
135
|
-
var formatted = formatWebpackMessages({
|
|
136
|
-
errors: errors,
|
|
137
|
-
warnings: [],
|
|
138
|
-
});
|
|
139
|
-
// Only show the first error.
|
|
140
|
-
ErrorOverlay.reportBuildError(formatted.errors[0]);
|
|
141
|
-
// Also log them to the console.
|
|
142
|
-
if (typeof console !== 'undefined' && typeof console.error === 'function') {
|
|
143
|
-
for (var i = 0; i < formatted.errors.length; i++) {
|
|
144
|
-
console.error(stripAnsi(formatted.errors[i]));
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
// Do not attempt to reload now.
|
|
148
|
-
// We will reload on next success instead.
|
|
149
|
-
}
|
|
150
|
-
function tryDismissErrorOverlay() {
|
|
151
|
-
if (!hasCompileErrors) {
|
|
152
|
-
ErrorOverlay.dismissBuildError();
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
// There is a newer version of the code available.
|
|
156
|
-
function handleAvailableHash(hash) {
|
|
157
|
-
// Update last known compilation hash.
|
|
158
|
-
mostRecentCompilationHash = hash;
|
|
159
|
-
}
|
|
160
|
-
// Handle messages from the server.
|
|
161
|
-
connection.onmessage = function (e) {
|
|
162
|
-
var message = JSON.parse(e.data);
|
|
163
|
-
switch (message.type) {
|
|
164
|
-
case 'hash':
|
|
165
|
-
handleAvailableHash(message.data);
|
|
166
|
-
break;
|
|
167
|
-
case 'still-ok':
|
|
168
|
-
case 'ok':
|
|
169
|
-
handleSuccess();
|
|
170
|
-
break;
|
|
171
|
-
case 'content-changed':
|
|
172
|
-
// Triggered when a file from `contentBase` changed.
|
|
173
|
-
window.location.reload();
|
|
174
|
-
break;
|
|
175
|
-
case 'warnings':
|
|
176
|
-
handleWarnings(message.data);
|
|
177
|
-
break;
|
|
178
|
-
case 'errors':
|
|
179
|
-
handleErrors(message.data);
|
|
180
|
-
break;
|
|
181
|
-
default:
|
|
182
|
-
// Do nothing.
|
|
183
|
-
}
|
|
184
|
-
};
|
|
185
|
-
// Is there a newer version of this code available?
|
|
186
|
-
function isUpdateAvailable() {
|
|
187
|
-
/* globals __webpack_hash__ */
|
|
188
|
-
// __webpack_hash__ is the hash of the current compilation.
|
|
189
|
-
// It's a global variable injected by Webpack.
|
|
190
|
-
return mostRecentCompilationHash !== __webpack_hash__;
|
|
191
|
-
}
|
|
192
|
-
// Webpack disallows updates in other states.
|
|
193
|
-
function canApplyUpdates() {
|
|
194
|
-
return module.hot.status() === 'idle';
|
|
195
|
-
}
|
|
196
|
-
// Attempt to update code on the fly, fall back to a hard reload.
|
|
197
|
-
function tryApplyUpdates(onHotUpdateSuccess) {
|
|
198
|
-
if (!module.hot) {
|
|
199
|
-
// HotModuleReplacementPlugin is not in Webpack configuration.
|
|
200
|
-
window.location.reload();
|
|
201
|
-
return;
|
|
202
|
-
}
|
|
203
|
-
if (!isUpdateAvailable() || !canApplyUpdates()) {
|
|
204
|
-
return;
|
|
205
|
-
}
|
|
206
|
-
function handleApplyUpdates(err, updatedModules) {
|
|
207
|
-
if (err || !updatedModules || hadRuntimeError) {
|
|
208
|
-
window.location.reload();
|
|
209
|
-
return;
|
|
210
|
-
}
|
|
211
|
-
if (typeof onHotUpdateSuccess === 'function') {
|
|
212
|
-
// Maybe we want to do something.
|
|
213
|
-
onHotUpdateSuccess();
|
|
214
|
-
}
|
|
215
|
-
if (isUpdateAvailable()) {
|
|
216
|
-
// While we were updating, there was a new update! Do it again.
|
|
217
|
-
tryApplyUpdates();
|
|
218
|
-
}
|
|
219
|
-
}
|
|
220
|
-
// https://webpack.github.io/docs/hot-module-replacement.html#check
|
|
221
|
-
var result = module.hot.check(/* autoApply */ true, handleApplyUpdates);
|
|
222
|
-
// // Webpack 2 returns a Promise instead of invoking a callback
|
|
223
|
-
if (result && result.then) {
|
|
224
|
-
result.then(function (updatedModules) {
|
|
225
|
-
handleApplyUpdates(null, updatedModules);
|
|
226
|
-
}, function (err) {
|
|
227
|
-
handleApplyUpdates(err, null);
|
|
228
|
-
});
|
|
229
|
-
}
|
|
230
|
-
}
|
|
231
|
-
//# sourceMappingURL=webpackHotDevClient.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"webpackHotDevClient.js","sourceRoot":"","sources":["../../src/procoreDevUtils/webpackHotDevClient.js"],"names":[],"mappings":"AAAA,oBAAoB;AAEpB;;;;;GAKG;AAEH,YAAY,CAAA;AAEZ,mEAAmE;AACnE,+EAA+E;AAC/E,sEAAsE;AAEtE,8EAA8E;AA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C,CAAA;QAC1C,CAAC,EACD,UAAU,GAAG;YACX,kBAAkB,CAAC,GAAG,EAAE,IAAI,CAAC,CAAA;QAC/B,CAAC,CACF,CAAA;KACF;AACH,CAAC"}
|
package/oclif.manifest.json
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":"11.4.5","commands":{"info":{"id":"info","description":"Gathers relevant information about the CLI.","pluginName":"@procore/core-scripts","pluginType":"core","aliases":[],"flags":{},"args":[]},"rm":{"id":"rm","description":"Removes things.","pluginName":"@procore/core-scripts","pluginType":"core","aliases":[],"flags":{"yes":{"name":"yes","type":"boolean","char":"y","description":"Automatically answer 'Yes' to the question.","allowNo":false},"dryRun":{"name":"dryRun","type":"boolean","char":"d","description":"List what would be deleted instead of deleting.","allowNo":false},"force":{"name":"force","type":"boolean","char":"f","description":"Allow deleting the current working directory and outside.","allowNo":false}},"args":[{"name":"path","description":"Path that will be remove.","required":true}]},"test":{"id":"test","description":"Runs Jest. Visit https://jestjs.io/docs/en/cli for more information about available options, only --config is documented.","pluginName":"@procore/core-scripts","pluginType":"core","aliases":[],"flags":{"config":{"name":"config","type":"option","description":"The path to a Jest config file specifying how to find and execute tests."}},"args":[]},"app:build":{"id":"app:build","description":"Compiles the application.","pluginName":"@procore/core-scripts","pluginType":"core","aliases":[],"flags":{"analyze":{"name":"analyze","type":"boolean","description":"Run webpack bundle analyzer.","allowNo":false},"railsMode":{"name":"railsMode","type":"boolean","description":"Enables Procore Rails integration.","allowNo":false},"inspect":{"name":"inspect","type":"boolean","description":"Prints the Webpack configuration.","allowNo":false},"sourceMapPublicPath":{"name":"sourceMapPublicPath","type":"option","description":"Base path for all the sourcemap."},"publicPath":{"name":"publicPath","type":"option","description":"Allows you to specify the base path for all the assets within your application."}},"args":[]},"app:clean":{"id":"app:clean","description":"Cleans the distribution folder (/build).","pluginName":"@procore/core-scripts","pluginType":"core","aliases":[],"flags":{},"args":[]},"app:gen":{"id":"app:gen","description":"Generates application scaffolding.","pluginName":"@procore/core-scripts","pluginType":"core","aliases":[],"flags":{},"args":[]},"app:start":{"id":"app:start","description":"Starts the development server.","pluginName":"@procore/core-scripts","pluginType":"core","aliases":[],"flags":{"railsMode":{"name":"railsMode","type":"boolean","description":"Enables Procore Rails integration.","allowNo":false},"inspect":{"name":"inspect","type":"boolean","description":"Prints the Webpack configuration.","allowNo":false},"openBrowser":{"name":"openBrowser","type":"boolean","description":"Open browser after initializing the server.","allowNo":false},"https":{"name":"https","type":"boolean","description":"Use HTTPS.","allowNo":false},"dangerouslyDisableHostCheck":{"name":"dangerouslyDisableHostCheck","type":"boolean","description":"Disable host checking.","allowNo":false},"port":{"name":"port","type":"option","description":"Server port.","default":"5000"},"host":{"name":"host","type":"option","description":"Server host.","default":"0.0.0.0"},"socketHost":{"name":"socketHost","type":"option","description":"HMR websocket host","default":"0.0.0.0"},"publicPath":{"name":"publicPath","type":"option","description":"Public asset path."}},"args":[]},"lib:build":{"id":"lib:build","description":"Compiles the library in production mode.","pluginName":"@procore/core-scripts","pluginType":"core","aliases":[],"flags":{"analyze":{"name":"analyze","type":"boolean","description":"Run webpack bundle analyzer.","allowNo":false}},"args":[]},"lib:clean":{"id":"lib:clean","description":"Cleans the distribution folder (/dist).","pluginName":"@procore/core-scripts","pluginType":"core","aliases":[],"flags":{},"args":[]},"lib:start":{"id":"lib:start","description":"Compiles the library in development mode.","pluginName":"@procore/core-scripts","pluginType":"core","aliases":[],"flags":{},"args":[]},"lint:eslint":{"id":"lint:eslint","description":"Runs the ESLint linter.","pluginName":"@procore/core-scripts","pluginType":"core","aliases":[],"flags":{"fix":{"name":"fix","type":"boolean","description":"Automatically fix problems.","allowNo":false},"fixTypes":{"name":"fixTypes","type":"option","description":"The types of lint errors/warnings to fix.","options":["layout","problem","suggestion"]}},"args":[{"name":"input","description":"Comma-delimited list of file and/or folder paths that the linter will run against.","required":false}]},"lint:stylelint":{"id":"lint:stylelint","description":"Runs the stylelint linter.","pluginName":"@procore/core-scripts","pluginType":"core","aliases":[],"flags":{"fix":{"name":"fix","type":"boolean","description":"Automatically fix problems.","allowNo":false}},"args":[{"name":"files","description":"Path to the file or folder that the linter will run against.","required":false}]}}}
|