@lmjs/cli 1.0.40 → 1.0.41

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/lib/fcs.js CHANGED
@@ -262,13 +262,13 @@ function getAllFiles(dirPath, arrayOfFiles = {}, mini = false) {
262
262
  minifyJS: true,
263
263
  minifyCSS: false,
264
264
  processConditionalComments: true,
265
- collapseBooleanAttributes: true,
266
- decodeEntities: true,
265
+ collapseBooleanAttributes: false,
266
+ decodeEntities: false,
267
267
  html5: true,
268
- includeAutoGeneratedTags: false,
268
+ includeAutoGeneratedTags: true,
269
269
  keepClosingSlash: true,
270
270
  maxLineLength: null,
271
- minifyURLs: "",
271
+ minifyURLs: false,
272
272
  preserveLineBreaks: false,
273
273
  preventAttributesEscaping: false,
274
274
  processScripts: ["text/html"],
@@ -277,13 +277,14 @@ function getAllFiles(dirPath, arrayOfFiles = {}, mini = false) {
277
277
  removeEmptyElements: false,
278
278
  removeOptionalTags: true,
279
279
  removeRedundantAttributes: true,
280
- removeScriptTypeAttributes: true,
280
+ removeScriptTypeAttributes: false,
281
281
  removeStyleLinkTypeAttributes: true,
282
282
  removeTagWhitespace: false,
283
283
  sortAttributes: false,
284
284
  sortClassName: false,
285
285
  trimCustomFragments: true,
286
286
  useShortDoctype: true,
287
+ continueOnParseError: true
287
288
  });
288
289
  } else {
289
290
  var result = fs.readFileSync(filePath, { encoding: "utf8" });
@@ -1,13 +0,0 @@
1
- <style>
2
- a.active {
3
- font-weight: 900;
4
- color: black;
5
- }
6
- </style>
7
- <div class="oh pv40 upper cb70">
8
- <grid_nm gap40>
9
- <div><a href="/" n0="home">Home</a></div>
10
- <div><a href="/about" n0="about">About Us</a></div>
11
- <div><a href="/contact" n0="contact">Contact Us</a></div>
12
- </grid_nm>
13
- </div>
@@ -0,0 +1,13 @@
1
+ <style>
2
+ a.active {
3
+ font-weight: 900;
4
+ color: black;
5
+ }
6
+ </style>
7
+ <div class="oh pv40 upper cb70">
8
+ <grid_nm gap40>
9
+ <div><a href="/" n0="home">Home</a></div>
10
+ <div><a href="/about" n0="about">About Us</a></div>
11
+ <div><a href="/contact" n0="contact">Contact Us</a></div>
12
+ </grid_nm>
13
+ </div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lmjs/cli",
3
- "version": "1.0.40",
3
+ "version": "1.0.41",
4
4
  "description": "Command line interface for super fast LumenJS development. LumenJS is a tiny robust reactive javascript framework for building scalable and high-performant web applications and web user interfaces, be it simple or complex, with standard HTML, CSS and JavaScript",
5
5
  "bin": {
6
6
  "lm": "./bin/commands.js",
@@ -35,7 +35,7 @@
35
35
  "lumen bea"
36
36
  ],
37
37
  "dependencies": {
38
- "@lmjs/core": "^1.0.5"
38
+ "@lmjs/core": "^1.0.6"
39
39
  },
40
40
  "engines": {
41
41
  "node": ">=12.0.0"