@design-edito/tools 0.1.7 → 0.1.8

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.
@@ -1,12 +1,12 @@
1
- import {
2
- timeoutCall
3
- } from "../../chunks/chunk-4VC5PT5T.js";
4
1
  import {
5
2
  Transitions
6
3
  } from "../../chunks/chunk-4GDNHUCZ.js";
7
4
  import {
8
5
  wait
9
6
  } from "../../chunks/chunk-DQNJQBC6.js";
7
+ import {
8
+ timeoutCall
9
+ } from "../../chunks/chunk-4VC5PT5T.js";
10
10
 
11
11
  // src/agnostic/async/index.ts
12
12
  var Async;
@@ -1,3 +1,6 @@
1
+ import {
2
+ Random
3
+ } from "../../chunks/chunk-WLL3FNVL.js";
1
4
  import {
2
5
  generateNiceColor,
3
6
  niceColors
@@ -9,9 +12,6 @@ import {
9
12
  classNameRegex,
10
13
  isValidClassName
11
14
  } from "../../chunks/chunk-W5A2TON3.js";
12
- import {
13
- Random
14
- } from "../../chunks/chunk-WLL3FNVL.js";
15
15
  import {
16
16
  register
17
17
  } from "../../chunks/chunk-B27DVNRX.js";
@@ -1,26 +1,26 @@
1
1
  import {
2
- stringToNodes
3
- } from "../../chunks/chunk-XPM2OFLI.js";
4
- import {
5
- getNodeAncestors
6
- } from "../../chunks/chunk-SQZGZ3VT.js";
2
+ Placeholders
3
+ } from "../../chunks/chunk-VYW4IADX.js";
7
4
  import {
8
5
  insertNode
9
6
  } from "../../chunks/chunk-XA4HVHJ4.js";
10
7
  import {
11
- selectorToElement
12
- } from "../../chunks/chunk-5FU3AIZ4.js";
13
- import {
14
- getPositionInsideParent
15
- } from "../../chunks/chunk-VTPRO4NJ.js";
8
+ stringToNodes
9
+ } from "../../chunks/chunk-XPM2OFLI.js";
16
10
  import {
17
11
  Sanitize
18
12
  } from "../../chunks/chunk-RASYEJ6T.js";
13
+ import {
14
+ selectorToElement
15
+ } from "../../chunks/chunk-5FU3AIZ4.js";
19
16
  import "../../chunks/chunk-B27DVNRX.js";
20
17
  import "../../chunks/chunk-GJOU3UAL.js";
21
18
  import {
22
- Placeholders
23
- } from "../../chunks/chunk-VYW4IADX.js";
19
+ getNodeAncestors
20
+ } from "../../chunks/chunk-SQZGZ3VT.js";
21
+ import {
22
+ getPositionInsideParent
23
+ } from "../../chunks/chunk-VTPRO4NJ.js";
24
24
  import "../../chunks/chunk-RLESUSTH.js";
25
25
 
26
26
  // src/agnostic/html/index.ts
@@ -1,18 +1,18 @@
1
1
  import {
2
- Assert
3
- } from "../../chunks/chunk-W7YBGJ4H.js";
2
+ getCurrentDownlink
3
+ } from "../../chunks/chunk-7AWTHZLY.js";
4
4
  import {
5
5
  Logs
6
- } from "../../chunks/chunk-5LNUCDQ6.js";
6
+ } from "../../chunks/chunk-HEJV6JIO.js";
7
7
  import {
8
- Random
9
- } from "../../chunks/chunk-WLL3FNVL.js";
8
+ Assert
9
+ } from "../../chunks/chunk-W7YBGJ4H.js";
10
10
  import {
11
11
  Cast
12
12
  } from "../../chunks/chunk-4QQBKBYH.js";
13
13
  import {
14
- getCurrentDownlink
15
- } from "../../chunks/chunk-7AWTHZLY.js";
14
+ Random
15
+ } from "../../chunks/chunk-WLL3FNVL.js";
16
16
  import {
17
17
  Crossenv
18
18
  } from "../../chunks/chunk-GJOU3UAL.js";
@@ -7,6 +7,7 @@ export declare namespace Logs {
7
7
  important: (text: string) => string;
8
8
  title: (text: string) => string;
9
9
  info: (text: string) => string;
10
+ success: (text: string) => string;
10
11
  error: (text: string) => string;
11
12
  warning: (text: string) => string;
12
13
  };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Logs
3
- } from "../../../chunks/chunk-5LNUCDQ6.js";
3
+ } from "../../../chunks/chunk-HEJV6JIO.js";
4
4
  export {
5
5
  Logs
6
6
  };
@@ -1,9 +1,10 @@
1
+ import {
2
+ isNonNullObject,
3
+ isObject
4
+ } from "../../chunks/chunk-HQLRJ7XW.js";
1
5
  import {
2
6
  isRecord
3
7
  } from "../../chunks/chunk-YDIBNEGA.js";
4
- import {
5
- flattenGetters
6
- } from "../../chunks/chunk-PO3V3I57.js";
7
8
  import {
8
9
  Validation
9
10
  } from "../../chunks/chunk-FPEW3A27.js";
@@ -12,9 +13,8 @@ import {
12
13
  } from "../../chunks/chunk-WOAYU6LB.js";
13
14
  import "../../chunks/chunk-E6MSDKON.js";
14
15
  import {
15
- isNonNullObject,
16
- isObject
17
- } from "../../chunks/chunk-HQLRJ7XW.js";
16
+ flattenGetters
17
+ } from "../../chunks/chunk-PO3V3I57.js";
18
18
  import "../../chunks/chunk-4QQBKBYH.js";
19
19
  import "../../chunks/chunk-QXAJXTXV.js";
20
20
  import "../../chunks/chunk-HC6ZOHCS.js";
@@ -1,6 +1,3 @@
1
- import {
2
- CharCodes
3
- } from "../../chunks/chunk-34U4HX4V.js";
4
1
  import {
5
2
  normalizeIndent
6
3
  } from "../../chunks/chunk-JQXNEJAP.js";
@@ -15,6 +12,9 @@ import {
15
12
  matchesEvery,
16
13
  matchesSome
17
14
  } from "../../chunks/chunk-LQFKUNVQ.js";
15
+ import {
16
+ CharCodes
17
+ } from "../../chunks/chunk-34U4HX4V.js";
18
18
 
19
19
  // src/agnostic/strings/index.ts
20
20
  var Strings;
@@ -24,6 +24,7 @@ ${text}
24
24
  title: (text) => `# ${chalk.bold.underline(`${text}
25
25
  `)}`,
26
26
  info: (text) => chalk.blueBright(text),
27
+ success: (text) => chalk.greenBright(text),
27
28
  error: (text) => chalk.red(text),
28
29
  warning: (text) => chalk.yellow(text)
29
30
  };
@@ -1,12 +1,12 @@
1
+ import {
2
+ isInDirectory
3
+ } from "../../chunks/chunk-NRITRUZW.js";
1
4
  import {
2
5
  readWrite
3
6
  } from "../../chunks/chunk-7DBNMU6N.js";
4
7
  import {
5
8
  Subpaths
6
9
  } from "../../chunks/chunk-HGCG2J77.js";
7
- import {
8
- isInDirectory
9
- } from "../../chunks/chunk-NRITRUZW.js";
10
10
  import "../../chunks/chunk-LQFKUNVQ.js";
11
11
 
12
12
  // src/node/files/index.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@design-edito/tools",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "description": "",
5
5
  "author": "Maxime Fabas",
6
6
  "license": "ISC",
@@ -13,23 +13,23 @@
13
13
  "module": "index.js",
14
14
  "peerDependencies": {
15
15
  "chalk": "^5.3.0",
16
- "jsdom": "^24.1.1",
16
+ "jsdom": "^25.0.0",
17
17
  "react": "^18.3.1",
18
18
  "react-dom": "^18.3.1"
19
19
  },
20
20
  "devDependencies": {
21
21
  "@types/chalk": "^2.2.0",
22
22
  "@types/jsdom": "^21.1.7",
23
- "@types/node": "^22.1.0",
23
+ "@types/node": "^22.5.5",
24
24
  "@types/prompts": "^2.4.9",
25
- "@types/react": "^18.3.3",
25
+ "@types/react": "^18.3.7",
26
26
  "@types/react-dom": "^18.3.0",
27
27
  "@types/semver": "^7.5.8",
28
28
  "camelcase": "^8.0.0",
29
- "esbuild": "^0.23.0",
29
+ "esbuild": "^0.23.1",
30
30
  "prompts": "^2.4.2",
31
31
  "semver": "^7.6.3",
32
- "simple-git": "^3.25.0",
33
- "typescript": "^5.5.4"
32
+ "simple-git": "^3.26.0",
33
+ "typescript": "^5.6.2"
34
34
  }
35
35
  }