bulltrackers-module 1.0.1039 → 1.0.1041
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.
|
@@ -291,6 +291,22 @@ function generateDynamicPaths() {
|
|
|
291
291
|
}
|
|
292
292
|
|
|
293
293
|
paths.push({ path: 'libs', kind: 'directory', content: null });
|
|
294
|
+
paths.push({
|
|
295
|
+
path: 'jsconfig.json',
|
|
296
|
+
kind: 'file',
|
|
297
|
+
content: [
|
|
298
|
+
'{',
|
|
299
|
+
' "compilerOptions": {',
|
|
300
|
+
' "target": "ES6",',
|
|
301
|
+
' "moduleResolution": "node",',
|
|
302
|
+
' "checkJs": true,',
|
|
303
|
+
' "allowJs": true',
|
|
304
|
+
' },',
|
|
305
|
+
' "include": ["computations/**/*", "libs/**/*", "bulltrackers.d.ts"]',
|
|
306
|
+
'}',
|
|
307
|
+
''
|
|
308
|
+
].join('\n')
|
|
309
|
+
});
|
|
294
310
|
|
|
295
311
|
const modules = normalizeModules(registry);
|
|
296
312
|
const libDir = path.join(FRAMEWORK_DIR, 'lib');
|
|
@@ -127,6 +127,7 @@ function pathToDocId(path) {
|
|
|
127
127
|
|
|
128
128
|
/** True if path is libs, docs, ComputationExamples, or releases (read-only; reject writes). */
|
|
129
129
|
function isReadOnlyPath(path) {
|
|
130
|
+
if (path === 'jsconfig.json') return true;
|
|
130
131
|
if (path === 'bulltrackers.d.ts') return true;
|
|
131
132
|
if (path === 'libs' || (path && path.startsWith('libs/'))) return true;
|
|
132
133
|
if (path === 'docs' || (path && path.startsWith('docs/'))) return true;
|