@visulima/package 1.2.6 → 1.2.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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,18 @@
1
+ ## @visulima/package [1.2.8](https://github.com/visulima/visulima/compare/@visulima/package@1.2.7...@visulima/package@1.2.8) (2024-03-04)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * fixed all found type issues ([eaa40d1](https://github.com/visulima/visulima/commit/eaa40d11f3fc056dfddcc25404bf109587ef2862))
7
+ * minifyWhitespace on prod build, removed @tsconfig/* configs ([410cb73](https://github.com/visulima/visulima/commit/410cb737c44c445a0479bdd49b4100d5daf2d83d))
8
+
9
+ ## @visulima/package [1.2.7](https://github.com/visulima/visulima/compare/@visulima/package@1.2.6...@visulima/package@1.2.7) (2024-01-19)
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * updated all deps, updated test based on eslint errors ([909f8f3](https://github.com/visulima/visulima/commit/909f8f384804d7ef140354ab44f867532dbc9847))
15
+
1
16
  ## @visulima/package [1.2.6](https://github.com/visulima/visulima/compare/@visulima/package@1.2.5...@visulima/package@1.2.6) (2023-11-30)
2
17
 
3
18
 
package/LICENSE.md CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2023 visulima
3
+ Copyright (c) 2024 visulima
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/dist/index.d.ts CHANGED
@@ -6,4 +6,4 @@ export { findTSConfig, writeTSConfig } from './tsconfig.js';
6
6
  export { NormalizedPackageJson, parsePackage as parsePackageJson } from 'read-pkg';
7
7
  export { TsConfigJson, TsConfigJsonResolved, TsConfigResult } from 'get-tsconfig';
8
8
  import 'find-up';
9
- import './write-json-7d6e6751.js';
9
+ import './write-json-EkV5tJMg.js';
@@ -7,4 +7,4 @@ interface RootMonorepo<T extends Strategy = Strategy> {
7
7
  }
8
8
  declare const findMonorepoRoot: (cwd?: Options["cwd"]) => Promise<RootMonorepo>;
9
9
 
10
- export { RootMonorepo, Strategy, findMonorepoRoot };
10
+ export { type RootMonorepo, type Strategy, findMonorepoRoot };
@@ -1,7 +1,7 @@
1
1
  import { Options } from 'find-up';
2
2
  import { NormalizedPackageJson, PackageJson } from 'read-pkg';
3
3
  export { NormalizedPackageJson, parsePackage as parsePackageJson } from 'read-pkg';
4
- import { W as WriteOptions } from './write-json-7d6e6751.js';
4
+ import { W as WriteOptions } from './write-json-EkV5tJMg.js';
5
5
 
6
6
  type NormalizedReadResult = {
7
7
  packageJson: NormalizedPackageJson;
@@ -12,4 +12,4 @@ declare const writePackageJson: (data: PackageJson & Record<string, any>, option
12
12
  cwd?: Options["cwd"];
13
13
  }) => Promise<void>;
14
14
 
15
- export { NormalizedReadResult, findPackageJson, writePackageJson };
15
+ export { type NormalizedReadResult, findPackageJson, writePackageJson };
@@ -13,4 +13,4 @@ declare const identifyInitiatingPackageManager: () => Promise<{
13
13
  version: string;
14
14
  } | undefined>;
15
15
 
16
- export { PackageManager, PackageManagerResult, findLockFile, findPackageManager, getPackageManagerVersion, identifyInitiatingPackageManager };
16
+ export { type PackageManager, type PackageManagerResult, findLockFile, findPackageManager, getPackageManagerVersion, identifyInitiatingPackageManager };
@@ -1,6 +1,6 @@
1
1
  import { TsConfigResult, TsConfigJson } from 'get-tsconfig';
2
2
  export { TsConfigJson, TsConfigJsonResolved, TsConfigResult } from 'get-tsconfig';
3
- import { W as WriteOptions } from './write-json-7d6e6751.js';
3
+ import { W as WriteOptions } from './write-json-EkV5tJMg.js';
4
4
 
5
5
  declare const findTSConfig: (cwd?: URL | string) => Promise<TsConfigResult>;
6
6
  declare const writeTSConfig: (tsConfig: TsConfigJson, options?: WriteOptions & {
@@ -3,4 +3,4 @@ type WriteOptions = {
3
3
  newline?: boolean | string;
4
4
  };
5
5
 
6
- export { WriteOptions as W };
6
+ export type { WriteOptions as W };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visulima/package",
3
- "version": "1.2.6",
3
+ "version": "1.2.8",
4
4
  "description": "One Package to rule them all, finds your root-dir, monorepo, package manager or tsconfig.json",
5
5
  "keywords": [
6
6
  "anolilab",
@@ -99,7 +99,6 @@
99
99
  "build": "cross-env NODE_ENV=development tsup",
100
100
  "build:prod": "cross-env NODE_ENV=production tsup",
101
101
  "clean": "rimraf node_modules dist .eslintcache",
102
- "coverage": "vitest run --coverage",
103
102
  "dev": "pnpm run build --watch",
104
103
  "lint:eslint": "eslint . --ext js,cjs,mjs,jsx,ts,tsx,json,yaml,yml,md,mdx --max-warnings=0 --config .eslintrc.cjs",
105
104
  "lint:eslint:fix": "pnpm run lint:eslint --fix",
@@ -108,6 +107,8 @@
108
107
  "lint:prettier:fix": "prettier --config=.prettierrc.cjs --write .",
109
108
  "lint:types": "tsc --noEmit",
110
109
  "test": "vitest run",
110
+ "test:coverage": "vitest run --coverage",
111
+ "test:ui": "vitest --ui --coverage.enabled=true",
111
112
  "test:watch": "vitest"
112
113
  },
113
114
  "dependencies": {
@@ -118,34 +119,35 @@
118
119
  "strip-json-comments": "^5.0.1"
119
120
  },
120
121
  "devDependencies": {
121
- "@anolilab/eslint-config": "^15.0.2",
122
- "@anolilab/prettier-config": "^5.0.13",
123
- "@anolilab/semantic-release-preset": "^8.0.2",
124
- "@babel/core": "^7.23.5",
125
- "@pnpm/exe": "^8.11.0",
126
- "@rushstack/eslint-plugin-security": "^0.7.1",
122
+ "@anolilab/eslint-config": "^15.0.3",
123
+ "@anolilab/prettier-config": "^5.0.14",
124
+ "@anolilab/semantic-release-preset": "^8.0.3",
125
+ "@babel/core": "^7.24.0",
126
+ "@pnpm/exe": "^8.15.4",
127
+ "@rushstack/eslint-plugin-security": "^0.8.1",
127
128
  "@total-typescript/ts-reset": "^0.5.1",
128
- "@types/node": "18.18.8",
129
- "@vitest/coverage-v8": "^0.34.6",
130
- "cnpm": "^9.2.0",
129
+ "@types/node": "18.18.14",
130
+ "@vitest/coverage-v8": "^1.3.1",
131
+ "@vitest/ui": "^1.3.1",
132
+ "cnpm": "^9.4.0",
131
133
  "cross-env": "^7.0.3",
132
- "eslint": "^8.54.0",
134
+ "eslint": "^8.57.0",
133
135
  "eslint-plugin-deprecation": "^2.0.0",
134
136
  "eslint-plugin-etc": "^2.0.3",
135
- "eslint-plugin-import": "npm:eslint-plugin-i@^2.29.0",
136
- "eslint-plugin-mdx": "^2.2.0",
137
+ "eslint-plugin-import": "npm:eslint-plugin-i@^2.29.1",
138
+ "eslint-plugin-mdx": "^3.1.5",
137
139
  "eslint-plugin-tsdoc": "^0.2.17",
138
- "eslint-plugin-vitest": "^0.3.10",
140
+ "eslint-plugin-vitest": "^0.3.22",
139
141
  "eslint-plugin-vitest-globals": "^1.4.0",
140
142
  "execa": "^8.0.1",
141
- "npm": "^10.2.4",
142
- "prettier": "^3.1.0",
143
+ "npm": "^10.5.0",
144
+ "prettier": "^3.2.5",
143
145
  "rimraf": "^5.0.5",
144
- "semantic-release": "^22.0.8",
145
- "sort-package-json": "^2.6.0",
146
- "tsup": "^8.0.1",
147
- "typescript": "^5.3.2",
148
- "vitest": "^0.34.6",
146
+ "semantic-release": "^23.0.2",
147
+ "sort-package-json": "^2.8.0",
148
+ "tsup": "^8.0.2",
149
+ "typescript": "^5.3.3",
150
+ "vitest": "^1.3.1",
149
151
  "which-pm-runs": "file:",
150
152
  "yarn": "^1.22.21"
151
153
  },