@equinor/cpl-utils 0.0.1 → 0.0.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.
package/dist/index.d.mts CHANGED
@@ -25,6 +25,7 @@
25
25
  * // color: GradientColorObject
26
26
  * return getGradientColor(color)
27
27
  *
28
+ *
28
29
  */
29
30
  declare function objectHasOwnProperty<Key extends PropertyKey>(object: object, key: Key): object is Record<Key, unknown>;
30
31
 
package/dist/index.d.ts CHANGED
@@ -25,6 +25,7 @@
25
25
  * // color: GradientColorObject
26
26
  * return getGradientColor(color)
27
27
  *
28
+ *
28
29
  */
29
30
  declare function objectHasOwnProperty<Key extends PropertyKey>(object: object, key: Key): object is Record<Key, unknown>;
30
31
 
package/dist/index.js CHANGED
@@ -18,11 +18,11 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
 
20
20
  // src/index.ts
21
- var src_exports = {};
22
- __export(src_exports, {
21
+ var index_exports = {};
22
+ __export(index_exports, {
23
23
  objectHasOwnProperty: () => objectHasOwnProperty
24
24
  });
25
- module.exports = __toCommonJS(src_exports);
25
+ module.exports = __toCommonJS(index_exports);
26
26
 
27
27
  // src/objectHasOwnProperty.ts
28
28
  function objectHasOwnProperty(object, key) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@equinor/cpl-utils",
3
- "version": "0.0.1",
3
+ "version": "0.0.3",
4
4
  "license": "MIT",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -8,16 +8,16 @@
8
8
  "files": [
9
9
  "dist/**"
10
10
  ],
11
- "dependencies": {},
12
11
  "devDependencies": {
13
- "@storybook/react": "^8.1.11",
14
- "@storybook/test": "^8.1.11",
15
- "eslint": "^8.56.0",
16
- "tsup": "^8.1.0",
17
- "eslint-config-custom": "0.0.5",
12
+ "@storybook/react": "^8.5.2",
13
+ "@storybook/test": "^8.5.2",
14
+ "eslint": "^8.57.1",
15
+ "tsup": "^8.3.6",
16
+ "typedoc": "^0.27.6",
17
+ "typedoc-plugin-markdown": "^4.4.1",
18
+ "eslint-config-custom": "0.0.6",
18
19
  "tsconfig": "0.0.1"
19
20
  },
20
- "peerDependencies": {},
21
21
  "publishConfig": {
22
22
  "access": "public"
23
23
  },
@@ -25,6 +25,8 @@
25
25
  "build": "tsup src/index.ts --format esm,cjs --dts --external react",
26
26
  "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist",
27
27
  "dev": "tsup src/index.ts --format esm,cjs --watch --dts --external react",
28
+ "typedoc": "typedoc && rm ./typedoc/README.mdx",
29
+ "typedoc:watch": "typedoc --watch --preserveWatchOutput",
28
30
  "lint": "TIMING=1 eslint . --fix"
29
31
  }
30
32
  }