json-crud-ui-components 1.4.2 → 1.4.3

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.
@@ -7,8 +7,15 @@ import { announce } from "./addListeners/steps/announce.js";
7
7
  import resolveFolderName from "./addListeners/steps/resolveFolderName.js";
8
8
  import checks from "./addListeners/steps/checks.js";
9
9
 
10
+ const defaultFolderName = "AddListeners";
11
+ const fileNameToCheck = "runAfterDomLoad.js";
12
+
10
13
  export default ({ folderName = "", toPath = process.cwd(), inAnnounce = true }) => {
11
- const fromChecks = checks({ toPath, inAnnounce });
14
+ const fromChecks = checks({
15
+ toPath, inAnnounce,
16
+ inDefaultFolderName: defaultFolderName,
17
+ inFileNameToCheck: fileNameToCheck
18
+ });
12
19
 
13
20
  if (fromChecks) return false;
14
21
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "json-crud-ui-components",
3
- "version": "1.4.2",
3
+ "version": "1.4.3",
4
4
  "description": "working on ui for our json crud using modules",
5
5
  "keywords": [
6
6
  "cli",