@microtronics/studio-cli 0.6.0 → 0.7.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/CHANGELOG.md +17 -0
- package/dist/studio-cli.d.ts +112 -0
- package/out/FS.d.ts.map +1 -1
- package/out/FS.js +14 -0
- package/out/api.d.ts.map +1 -1
- package/out/api.js +3 -1
- package/out/cliFS.d.ts.map +1 -1
- package/out/cliFS.js +16 -2
- package/out/dde/dde.d.ts.map +1 -1
- package/out/dde/dde.js +13 -2
- package/out/dde/fileGenerators/dlo.d.ts.map +1 -1
- package/out/dde/fileGenerators/dlo.js +0 -1
- package/out/defaultFiles.d.ts.map +1 -1
- package/out/defaultFiles.js +5 -2
- package/out/dlo/compiler.d.ts.map +1 -0
- package/out/dlo/compiler.js +237 -0
- package/out/dlo/dlo.d.ts.map +1 -0
- package/out/dlo/dlo.js +30 -0
- package/out/dlo/dlocc.d.ts.map +1 -0
- package/out/dlo/dlocc.js +3904 -0
- package/out/dlo/fileSequencer.d.ts.map +1 -0
- package/out/dlo/fileSequencer.js +40 -0
- package/out/dlo/preCompiler.d.ts.map +1 -0
- package/out/dlo/preCompiler.js +321 -0
- package/out/main.js +10 -3
- package/package.json +73 -71
package/out/dlo/dlo.js
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DLO = void 0;
|
|
4
|
+
const fileSequencer_1 = require("./fileSequencer");
|
|
5
|
+
const preCompiler_1 = require("./preCompiler");
|
|
6
|
+
const manifest_1 = require("../manifest");
|
|
7
|
+
const compiler_1 = require("./compiler");
|
|
8
|
+
const defaultFiles_1 = require("../defaultFiles");
|
|
9
|
+
var DLO;
|
|
10
|
+
(function (DLO) {
|
|
11
|
+
DLO.FileSequencer = fileSequencer_1.DloFileSequencer;
|
|
12
|
+
DLO.PreCompiler = preCompiler_1.DloPreCompiler;
|
|
13
|
+
/**
|
|
14
|
+
* The DLO Compiler
|
|
15
|
+
*/
|
|
16
|
+
DLO.Compiler = compiler_1.DloCompiler;
|
|
17
|
+
/**
|
|
18
|
+
* Generate the dlo.cfg file and write it to the .studio/auto/dlo directory
|
|
19
|
+
* @param cwd
|
|
20
|
+
* @param fs
|
|
21
|
+
*/
|
|
22
|
+
async function exportDloConfig(cwd, fs) {
|
|
23
|
+
const manifest = await manifest_1.Manifest.read(cwd, fs);
|
|
24
|
+
const cfgData = await (0, compiler_1.generateConfigFile)(cwd, fs, manifest);
|
|
25
|
+
await fs.writeFile(cfgData.path, cfgData.data);
|
|
26
|
+
console.log('Generated', defaultFiles_1.DefaultFiles.filePaths.studio.auto.dlo.cfg);
|
|
27
|
+
}
|
|
28
|
+
DLO.exportDloConfig = exportDloConfig;
|
|
29
|
+
})(DLO || (exports.DLO = DLO = {}));
|
|
30
|
+
//# sourceMappingURL=dlo.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dlocc.d.ts","sourceRoot":"","sources":["../../src/dlo/dlocc.js"],"names":[],"mappings":";AAGQ,6CA8kHN"}
|