neo.mjs 5.1.11 → 5.1.12
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/apps/ServiceWorker.mjs
CHANGED
@@ -128,27 +128,30 @@ if (programOpts.info) {
|
|
128
128
|
childProcess = spawnSync(npmCmd, ['i'], cpOpts);
|
129
129
|
childProcess.status && process.exit(childProcess.status);
|
130
130
|
}
|
131
|
+
|
131
132
|
if (themes === 'yes') {
|
132
133
|
childProcess = spawnSync('node', [`${neoPath}/buildScripts/buildThemes.mjs`].concat(cpArgs), cpOpts);
|
133
134
|
childProcess.status && process.exit(childProcess.status);
|
134
135
|
}
|
136
|
+
|
135
137
|
if (threads === 'yes') {
|
136
138
|
childProcess = spawnSync('node', [`${webpackPath}/buildThreads.mjs`].concat(cpArgs), cpOpts);
|
137
139
|
childProcess.status && process.exit(childProcess.status);
|
138
140
|
}
|
141
|
+
|
139
142
|
if (parsedocs === 'yes') {
|
140
143
|
childProcess = spawnSync(npmCmd, ['run', 'generate-docs-json'], cpOpts);
|
141
144
|
childProcess.status && process.exit(childProcess.status);
|
142
|
-
}
|
145
|
+
}
|
143
146
|
|
144
|
-
if (env === 'all' || env === 'dev') {
|
147
|
+
if (parsedocs === 'yes' && (env === 'all' || env === 'dev')) {
|
145
148
|
childProcess = spawnSync('node', [`${neoPath}/buildScripts/copyFolder.mjs -s ${path.resolve(cwd, 'docs/output') } -t ${path.resolve(cwd, 'dist/development/docs/output')}`], cpOpts);
|
146
149
|
childProcess.status && process.exit(childProcess.status);
|
147
150
|
childProcess = spawnSync('node', [`${neoPath}/buildScripts/copyFolder.mjs -s ${path.resolve(cwd, 'docs/resources')} -t ${path.resolve(cwd, 'dist/development/docs/resources')}`], cpOpts);
|
148
151
|
childProcess.status && process.exit(childProcess.status);
|
149
152
|
}
|
150
153
|
|
151
|
-
if (env === 'all' || env === 'prod') {
|
154
|
+
if (parsedocs === 'yes' && (env === 'all' || env === 'prod')) {
|
152
155
|
childProcess = spawnSync('node', [`${neoPath}/buildScripts/copyFolder.mjs -s ${path.resolve(cwd, 'docs/output') } -t ${path.resolve(cwd, 'dist/production/docs/output')}`], cpOpts);
|
153
156
|
childProcess.status && process.exit(childProcess.status);
|
154
157
|
childProcess = spawnSync('node', [`${neoPath}/buildScripts/copyFolder.mjs -s ${path.resolve(cwd, 'docs/resources')} -t ${path.resolve(cwd, 'dist/production/docs/resources')}`], cpOpts);
|
package/package.json
CHANGED
package/src/DefaultConfig.mjs
CHANGED
@@ -237,12 +237,12 @@ const DefaultConfig = {
|
|
237
237
|
useVdomWorker: true,
|
238
238
|
/**
|
239
239
|
* buildScripts/injectPackageVersion.mjs will update this value
|
240
|
-
* @default '5.1.
|
240
|
+
* @default '5.1.12'
|
241
241
|
* @memberOf! module:Neo
|
242
242
|
* @name config.version
|
243
243
|
* @type String
|
244
244
|
*/
|
245
|
-
version: '5.1.
|
245
|
+
version: '5.1.12'
|
246
246
|
};
|
247
247
|
|
248
248
|
Object.assign(DefaultConfig, {
|