@percepta/utils 0.1.1 → 0.1.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/package.json CHANGED
@@ -1,24 +1,31 @@
1
1
  {
2
2
  "name": "@percepta/utils",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "private": false,
5
+ "publishConfig": {
6
+ "access": "public"
7
+ },
5
8
  "description": "Shared utils for Mosaic",
6
9
  "main": "dist/cjs/index.js",
7
10
  "module": "dist/esnext/index.js",
8
11
  "types": "dist/esnext/index.d.ts",
12
+ "files": [
13
+ "dist/**/*"
14
+ ],
9
15
  "dependencies": {
10
16
  "lodash-es": "^4.17.21"
11
17
  },
12
18
  "devDependencies": {
13
19
  "@types/lodash-es": "^4.17.12",
14
20
  "@types/node": "^22.10.7",
15
- "jest": "^29.7.0",
16
21
  "@mosaic/build": "0.0.2"
17
22
  },
18
23
  "scripts": {
19
24
  "build": "build-ts --high-compat",
25
+ "dev": "pnpm build --watch",
20
26
  "clean": "rimraf dist",
21
27
  "lint": "eslint .",
28
+ "lint:fix": "eslint . --fix",
22
29
  "test": "jest"
23
30
  }
24
31
  }
package/CHANGELOG.md DELETED
@@ -1,7 +0,0 @@
1
- # @percepta/utils
2
-
3
- ## 0.1.1
4
-
5
- ### Patch Changes
6
-
7
- - Initial changeset.
package/eslint.config.js DELETED
@@ -1,7 +0,0 @@
1
- // @ts-check
2
- const createEslintConfig = require("@mosaic/build/eslint");
3
-
4
- module.exports = createEslintConfig({
5
- type: "node",
6
- dirname: __dirname,
7
- });
package/src/index.ts DELETED
@@ -1 +0,0 @@
1
- export * from "./utils";
@@ -1,3 +0,0 @@
1
- export function assertNever(value: never): never {
2
- throw new Error("Unexpected value.", { cause: value });
3
- }
@@ -1,2 +0,0 @@
1
- export * from "./assertNever";
2
- export * from "./logNever";
@@ -1,6 +0,0 @@
1
- export function logNever(value: never): void;
2
- export function logNever<TReturn>(value: never, returnValue: TReturn): TReturn;
3
- export function logNever(value: never, returnValue?: unknown): unknown {
4
- console.error("Unexpected value.", value);
5
- return returnValue;
6
- }
package/tsconfig.json DELETED
@@ -1,3 +0,0 @@
1
- {
2
- "extends": "@mosaic/build/tsconfig/web"
3
- }