@visulima/package 1.7.0 → 1.7.2

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/README.md +0 -0
  3. package/package.json +222 -221
package/CHANGELOG.md CHANGED
@@ -1,3 +1,19 @@
1
+ ## @visulima/package [1.7.2](https://github.com/visulima/visulima/compare/@visulima/package@1.7.1...@visulima/package@1.7.2) (2024-04-17)
2
+
3
+
4
+
5
+ ### Dependencies
6
+
7
+ * **@visulima/fs:** upgraded to 2.0.7
8
+
9
+ ## @visulima/package [1.7.1](https://github.com/visulima/visulima/compare/@visulima/package@1.7.0...@visulima/package@1.7.1) (2024-04-09)
10
+
11
+
12
+
13
+ ### Dependencies
14
+
15
+ * **@visulima/fs:** upgraded to 2.0.6
16
+
1
17
  ## @visulima/package [1.7.0](https://github.com/visulima/visulima/compare/@visulima/package@1.6.2...@visulima/package@1.7.0) (2024-04-06)
2
18
 
3
19
 
package/README.md CHANGED
File without changes
package/package.json CHANGED
@@ -1,230 +1,231 @@
1
1
  {
2
- "name": "@visulima/package",
3
- "version": "1.7.0",
4
- "description": "One Package to rule them all, finds your root-dir, monorepo, package manager or tsconfig.json",
5
- "keywords": [
6
- "anolilab",
7
- "find",
8
- "find-cache",
9
- "find-cache-dir",
10
- "find-cache-directory",
11
- "find-monorepo-root",
12
- "find-up-pkg",
13
- "find-package-manager",
14
- "get-tsconfig",
15
- "mono-repo",
16
- "monorepo",
17
- "package",
18
- "package-json",
19
- "package-manager",
20
- "package.json",
21
- "packages",
22
- "pkg-dir",
23
- "pkg-manager",
24
- "pkg-types",
25
- "pkg-up",
26
- "read-pkg",
27
- "read-pkg-up",
28
- "read-tsconfig",
29
- "root",
30
- "tsconfig",
31
- "tsconfig.json",
32
- "visulima"
33
- ],
34
- "homepage": "https://www.visulima.com/docs/package/package",
35
- "repository": {
36
- "type": "git",
37
- "url": "https://github.com/visulima/visulima.git",
38
- "directory": "packages/package"
2
+ "name": "@visulima/package",
3
+ "version": "1.7.2",
4
+ "description": "One Package to rule them all, finds your root-dir, monorepo, package manager or tsconfig.json",
5
+ "keywords": [
6
+ "anolilab",
7
+ "find",
8
+ "find-cache",
9
+ "find-cache-dir",
10
+ "find-cache-directory",
11
+ "find-monorepo-root",
12
+ "find-up-pkg",
13
+ "find-package-manager",
14
+ "get-tsconfig",
15
+ "mono-repo",
16
+ "monorepo",
17
+ "package",
18
+ "package-json",
19
+ "package-manager",
20
+ "package.json",
21
+ "packages",
22
+ "pkg-dir",
23
+ "pkg-manager",
24
+ "pkg-types",
25
+ "pkg-up",
26
+ "read-pkg",
27
+ "read-pkg-up",
28
+ "read-tsconfig",
29
+ "root",
30
+ "tsconfig",
31
+ "tsconfig.json",
32
+ "visulima"
33
+ ],
34
+ "homepage": "https://www.visulima.com/docs/package/package",
35
+ "repository": {
36
+ "type": "git",
37
+ "url": "https://github.com/visulima/visulima.git",
38
+ "directory": "packages/package"
39
+ },
40
+ "funding": [
41
+ {
42
+ "type": "github",
43
+ "url": "https://github.com/sponsors/prisis"
39
44
  },
40
- "funding": [
41
- {
42
- "type": "github",
43
- "url": "https://github.com/sponsors/prisis"
44
- },
45
- {
46
- "type": "consulting",
47
- "url": "https://anolilab.com/support"
48
- }
49
- ],
50
- "license": "MIT",
51
- "author": {
52
- "name": "Daniel Bannert",
53
- "email": "d.bannert@anolilab.de"
45
+ {
46
+ "type": "consulting",
47
+ "url": "https://anolilab.com/support"
48
+ }
49
+ ],
50
+ "license": "MIT",
51
+ "author": {
52
+ "name": "Daniel Bannert",
53
+ "email": "d.bannert@anolilab.de"
54
+ },
55
+ "sideEffects": false,
56
+ "type": "module",
57
+ "exports": {
58
+ ".": {
59
+ "require": {
60
+ "types": "./dist/index.d.cts",
61
+ "default": "./dist/index.cjs"
62
+ },
63
+ "import": {
64
+ "types": "./dist/index.d.ts",
65
+ "default": "./dist/index.js"
66
+ }
54
67
  },
55
- "sideEffects": false,
56
- "type": "module",
57
- "exports": {
58
- ".": {
59
- "require": {
60
- "types": "./dist/index.d.cts",
61
- "default": "./dist/index.cjs"
62
- },
63
- "import": {
64
- "types": "./dist/index.d.ts",
65
- "default": "./dist/index.js"
66
- }
67
- },
68
- "./monorepo": {
69
- "require": {
70
- "types": "./dist/monorepo.d.cts",
71
- "default": "./dist/monorepo.cjs"
72
- },
73
- "import": {
74
- "types": "./dist/monorepo.d.ts",
75
- "default": "./dist/monorepo.js"
76
- }
77
- },
78
- "./package": {
79
- "require": {
80
- "types": "./dist/package.d.cts",
81
- "default": "./dist/package.cjs"
82
- },
83
- "import": {
84
- "types": "./dist/package.d.ts",
85
- "default": "./dist/package.js"
86
- }
87
- },
88
- "./package-json": {
89
- "require": {
90
- "types": "./dist/package-json.d.cts",
91
- "default": "./dist/package-json.cjs"
92
- },
93
- "import": {
94
- "types": "./dist/package-json.d.ts",
95
- "default": "./dist/package-json.js"
96
- }
97
- },
98
- "./package-manager": {
99
- "require": {
100
- "types": "./dist/package-manager.d.cts",
101
- "default": "./dist/package-manager.cjs"
102
- },
103
- "import": {
104
- "types": "./dist/package-manager.d.ts",
105
- "default": "./dist/package-manager.js"
106
- }
107
- },
108
- "./tsconfig": {
109
- "require": {
110
- "types": "./dist/tsconfig.d.cts",
111
- "default": "./dist/tsconfig.cjs"
112
- },
113
- "import": {
114
- "types": "./dist/tsconfig.d.ts",
115
- "default": "./dist/tsconfig.js"
116
- }
117
- },
118
- "./error": {
119
- "require": {
120
- "types": "./dist/error.d.cts",
121
- "default": "./dist/error.cjs"
122
- },
123
- "import": {
124
- "types": "./dist/error.d.ts",
125
- "default": "./dist/error.js"
126
- }
127
- },
128
- "./package.json": "./package.json"
68
+ "./monorepo": {
69
+ "require": {
70
+ "types": "./dist/monorepo.d.cts",
71
+ "default": "./dist/monorepo.cjs"
72
+ },
73
+ "import": {
74
+ "types": "./dist/monorepo.d.ts",
75
+ "default": "./dist/monorepo.js"
76
+ }
129
77
  },
130
- "main": "dist/index.cjs",
131
- "module": "dist/index.js",
132
- "types": "dist/index.d.ts",
133
- "files": [
134
- "dist/**",
135
- "README.md",
136
- "CHANGELOG.md",
137
- "LICENSE.md"
138
- ],
139
- "scripts": {
140
- "build": "cross-env NODE_ENV=development tsup",
141
- "build:prod": "cross-env NODE_ENV=production tsup",
142
- "clean": "rimraf node_modules dist .eslintcache",
143
- "dev": "pnpm run build --watch",
144
- "lint:eslint": "eslint . --ext js,cjs,mjs,jsx,ts,tsx,json,yaml,yml,md,mdx --max-warnings=0 --config .eslintrc.cjs",
145
- "lint:eslint:fix": "pnpm run lint:eslint --fix",
146
- "lint:packagejson": "publint --strict",
147
- "lint:prettier": "prettier --config=.prettierrc.cjs --check .",
148
- "lint:prettier:fix": "prettier --config=.prettierrc.cjs --write .",
149
- "lint:types": "tsc --noEmit",
150
- "test": "vitest run",
151
- "test:coverage": "vitest run --coverage",
152
- "test:ui": "vitest --ui --coverage.enabled=true",
153
- "test:watch": "vitest"
78
+ "./package": {
79
+ "require": {
80
+ "types": "./dist/package.d.cts",
81
+ "default": "./dist/package.cjs"
82
+ },
83
+ "import": {
84
+ "types": "./dist/package.d.ts",
85
+ "default": "./dist/package.js"
86
+ }
154
87
  },
155
- "dependencies": {
156
- "@visulima/fs": "2.0.5",
157
- "jsonc-parser": "^3.2.1",
158
- "normalize-package-data": "^6.0.0",
159
- "pathe": "^1.1.2",
160
- "resolve-pkg-maps": "^1.0.0",
161
- "type-fest": "^4.15.0"
88
+ "./package-json": {
89
+ "require": {
90
+ "types": "./dist/package-json.d.cts",
91
+ "default": "./dist/package-json.cjs"
92
+ },
93
+ "import": {
94
+ "types": "./dist/package-json.d.ts",
95
+ "default": "./dist/package-json.js"
96
+ }
162
97
  },
163
- "devDependencies": {
164
- "@anolilab/eslint-config": "^15.0.3",
165
- "@anolilab/prettier-config": "^5.0.14",
166
- "@anolilab/semantic-release-preset": "^8.0.3",
167
- "@babel/core": "^7.24.4",
168
- "@pnpm/exe": "^8.15.6",
169
- "@rushstack/eslint-plugin-security": "^0.8.1",
170
- "@total-typescript/ts-reset": "^0.5.1",
171
- "@types/node": "18.18.14",
172
- "@vitest/coverage-v8": "^1.4.0",
173
- "@vitest/ui": "^1.4.0",
174
- "@yarnpkg/pnp": "4.0.2",
175
- "cross-env": "^7.0.3",
176
- "eslint": "^8.57.0",
177
- "eslint-plugin-deprecation": "^2.0.0",
178
- "eslint-plugin-etc": "^2.0.3",
179
- "eslint-plugin-import": "npm:eslint-plugin-i@^2.29.1",
180
- "eslint-plugin-mdx": "^3.1.5",
181
- "eslint-plugin-vitest": "^0.4.1",
182
- "eslint-plugin-vitest-globals": "^1.5.0",
183
- "execa": "^8.0.1",
184
- "npm": "^10.5.1",
185
- "prettier": "^3.2.5",
186
- "rimraf": "^5.0.5",
187
- "semantic-release": "^23.0.7",
188
- "sort-package-json": "^2.10.0",
189
- "strip-ansi": "^7.1.0",
190
- "tempy": "^3.1.0",
191
- "tsup": "^8.0.2",
192
- "typescript": "^5.4.4",
193
- "vitest": "^1.4.0",
194
- "which-pm-runs": "file:",
195
- "yarn": "^1.22.22"
98
+ "./package-manager": {
99
+ "require": {
100
+ "types": "./dist/package-manager.d.cts",
101
+ "default": "./dist/package-manager.cjs"
102
+ },
103
+ "import": {
104
+ "types": "./dist/package-manager.d.ts",
105
+ "default": "./dist/package-manager.js"
106
+ }
196
107
  },
197
- "engines": {
198
- "node": ">=18.* <=21.*"
108
+ "./tsconfig": {
109
+ "require": {
110
+ "types": "./dist/tsconfig.d.cts",
111
+ "default": "./dist/tsconfig.cjs"
112
+ },
113
+ "import": {
114
+ "types": "./dist/tsconfig.d.ts",
115
+ "default": "./dist/tsconfig.js"
116
+ }
199
117
  },
200
- "os": [
201
- "darwin",
202
- "linux",
203
- "win32"
204
- ],
205
- "publishConfig": {
206
- "access": "public",
207
- "provenance": true
118
+ "./error": {
119
+ "require": {
120
+ "types": "./dist/error.d.cts",
121
+ "default": "./dist/error.cjs"
122
+ },
123
+ "import": {
124
+ "types": "./dist/error.d.ts",
125
+ "default": "./dist/error.js"
126
+ }
208
127
  },
209
- "anolilab": {
210
- "eslint-config": {
211
- "plugin": {
212
- "tsdoc": false
213
- },
214
- "warn_on_unsupported_typescript_version": false,
215
- "info_on_disabling_jsx_react_rule": false,
216
- "info_on_disabling_prettier_conflict_rule": false,
217
- "info_on_disabling_jsonc_sort_keys_rule": false,
218
- "info_on_disabling_etc_no_deprecated": false
219
- }
220
- },
221
- "sources": [
222
- "src/error.ts",
223
- "src/index.ts",
224
- "src/monorepo.ts",
225
- "src/package.ts",
226
- "src/package-json.ts",
227
- "src/package-manager.ts",
228
- "src/tsconfig.ts"
229
- ]
230
- }
128
+ "./package.json": "./package.json"
129
+ },
130
+ "main": "dist/index.cjs",
131
+ "module": "dist/index.js",
132
+ "types": "dist/index.d.ts",
133
+ "files": [
134
+ "dist/**",
135
+ "README.md",
136
+ "CHANGELOG.md",
137
+ "LICENSE.md"
138
+ ],
139
+ "dependencies": {
140
+ "@visulima/fs": "2.0.7",
141
+ "jsonc-parser": "^3.2.1",
142
+ "normalize-package-data": "^6.0.0",
143
+ "pathe": "^1.1.2",
144
+ "resolve-pkg-maps": "^1.0.0",
145
+ "type-fest": "^4.15.0"
146
+ },
147
+ "devDependencies": {
148
+ "@anolilab/eslint-config": "^15.0.3",
149
+ "@anolilab/prettier-config": "^5.0.14",
150
+ "@anolilab/semantic-release-preset": "^8.0.3",
151
+ "@babel/core": "^7.24.4",
152
+ "@pnpm/exe": "^8.15.7",
153
+ "@rushstack/eslint-plugin-security": "^0.8.1",
154
+ "@total-typescript/ts-reset": "^0.5.1",
155
+ "@types/node": "18.18.14",
156
+ "@types/normalize-package-data": "^2.4.4",
157
+ "@vitest/coverage-v8": "^1.5.0",
158
+ "@vitest/ui": "^1.5.0",
159
+ "@yarnpkg/pnp": "4.0.2",
160
+ "cross-env": "^7.0.3",
161
+ "eslint": "^8.57.0",
162
+ "eslint-plugin-deprecation": "^2.0.0",
163
+ "eslint-plugin-etc": "^2.0.3",
164
+ "eslint-plugin-import": "npm:eslint-plugin-i@^2.29.1",
165
+ "eslint-plugin-mdx": "^3.1.5",
166
+ "eslint-plugin-vitest": "^0.4.1",
167
+ "eslint-plugin-vitest-globals": "^1.5.0",
168
+ "execa": "^8.0.1",
169
+ "npm": "^10.5.2",
170
+ "prettier": "^3.2.5",
171
+ "rimraf": "^5.0.5",
172
+ "semantic-release": "^23.0.8",
173
+ "sort-package-json": "^2.10.0",
174
+ "strip-ansi": "^7.1.0",
175
+ "tempy": "^3.1.0",
176
+ "tsup": "^8.0.2",
177
+ "typescript": "^5.4.5",
178
+ "vitest": "^1.5.0",
179
+ "which-pm-runs": "file:",
180
+ "yarn": "^1.22.22"
181
+ },
182
+ "engines": {
183
+ "node": ">=18.* <=21.*"
184
+ },
185
+ "os": [
186
+ "darwin",
187
+ "linux",
188
+ "win32"
189
+ ],
190
+ "publishConfig": {
191
+ "access": "public",
192
+ "provenance": true
193
+ },
194
+ "anolilab": {
195
+ "eslint-config": {
196
+ "plugin": {
197
+ "tsdoc": false
198
+ },
199
+ "warn_on_unsupported_typescript_version": false,
200
+ "info_on_disabling_jsx_react_rule": false,
201
+ "info_on_disabling_prettier_conflict_rule": false,
202
+ "info_on_disabling_jsonc_sort_keys_rule": false,
203
+ "info_on_disabling_etc_no_deprecated": false
204
+ }
205
+ },
206
+ "sources": [
207
+ "src/error.ts",
208
+ "src/index.ts",
209
+ "src/monorepo.ts",
210
+ "src/package.ts",
211
+ "src/package-json.ts",
212
+ "src/package-manager.ts",
213
+ "src/tsconfig.ts"
214
+ ],
215
+ "scripts": {
216
+ "build": "cross-env NODE_ENV=development tsup",
217
+ "build:prod": "cross-env NODE_ENV=production tsup",
218
+ "clean": "rimraf node_modules dist .eslintcache",
219
+ "dev": "pnpm run build --watch",
220
+ "lint:eslint": "eslint . --ext js,cjs,mjs,jsx,ts,tsx,json,yaml,yml,md,mdx --max-warnings=0 --config .eslintrc.cjs",
221
+ "lint:eslint:fix": "pnpm run lint:eslint --fix",
222
+ "lint:packagejson": "publint --strict",
223
+ "lint:prettier": "prettier --config=.prettierrc.cjs --check .",
224
+ "lint:prettier:fix": "prettier --config=.prettierrc.cjs --write .",
225
+ "lint:types": "tsc --noEmit",
226
+ "test": "vitest run",
227
+ "test:coverage": "vitest run --coverage",
228
+ "test:ui": "vitest --ui --coverage.enabled=true",
229
+ "test:watch": "vitest"
230
+ }
231
+ }