@isograph/disposable-types 0.4.3 → 0.5.1
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/.turbo/turbo-compile-libs.log +10 -3
- package/dist/index.d.mts +7 -0
- package/dist/index.d.mts.map +1 -0
- package/dist/index.d.ts +6 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -2
- package/dist/index.mjs +1 -0
- package/package.json +22 -15
|
@@ -1,5 +1,12 @@
|
|
|
1
|
-
../.. | WARN Unsupported engine: wanted: {"node":"22.9.0"} (current: {"node":"v22.
|
|
1
|
+
../.. | WARN Unsupported engine: wanted: {"node":"22.9.0"} (current: {"node":"v22.21.1","pnpm":"10.15.0"})
|
|
2
2
|
|
|
3
|
-
> @isograph/disposable-types@0.
|
|
4
|
-
>
|
|
3
|
+
> @isograph/disposable-types@0.5.1 compile-libs /home/runner/work/isograph/isograph/libs/isograph-disposable-types
|
|
4
|
+
> tsdown
|
|
5
5
|
|
|
6
|
+
[34mℹ[39m tsdown [2mv0.15.10[22m powered by rolldown [2mv1.0.0-beta.44[22m
|
|
7
|
+
[34mℹ[39m Using tsdown config: [4m/home/runner/work/isograph/isograph/tsdown.config.ts[24m
|
|
8
|
+
(node:2919) [MODULE_TYPELESS_PACKAGE_JSON] Warning: Module type of file:///home/runner/work/isograph/isograph/tsdown.config.ts is not specified and it doesn't parse as CommonJS.
|
|
9
|
+
Reparsing as ES module because module syntax was detected. This incurs a performance overhead.
|
|
10
|
+
To eliminate this warning, add "type": "module" to /home/runner/work/isograph/isograph/package.json.
|
|
11
|
+
(Use `node --trace-warnings ...` to show where the warning was created)
|
|
12
|
+
[34mℹ[39m Build start
|
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/index.ts"],"sourcesContent":[],"mappings":";KAAY,SAAA;AAAA,KACA,eADS,CAAA,CAAA,CAAA,GAAA,CACa,CADb,EACgB,SADhB,CAAA;AACT,KACA,OADA,CAAA,CAAA,CAAe,GAAA,GAAA,GACI,eADM,CACU,CADD,CAAA"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
//#region src/index.d.ts
|
|
2
|
+
type CleanupFn = () => void;
|
|
3
|
+
type ItemCleanupPair<T> = [T, CleanupFn];
|
|
4
|
+
type Factory<T> = () => ItemCleanupPair<T>;
|
|
5
|
+
//#endregion
|
|
6
|
+
export { CleanupFn, Factory, ItemCleanupPair };
|
|
4
7
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/index.ts"],"sourcesContent":[],"mappings":";KAAY,SAAA;AAAA,KACA,eADS,CAAA,CAAA,CAAA,GAAA,CACa,CADb,EACgB,SADhB,CAAA;AACT,KACA,OADA,CAAA,CAAA,CAAe,GAAA,GAAA,GACI,eADM,CACU,CADD,CAAA"}
|
package/dist/index.js
CHANGED
package/dist/index.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
package/package.json
CHANGED
|
@@ -1,22 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@isograph/disposable-types",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.1",
|
|
4
4
|
"description": "Common types for disposable items",
|
|
5
5
|
"homepage": "https://isograph.dev",
|
|
6
|
-
"main": "dist/index.js",
|
|
7
|
-
"types": "dist/index.d.ts",
|
|
6
|
+
"main": "./dist/index.js",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
8
|
"author": "Isograph Labs",
|
|
9
9
|
"license": "MIT",
|
|
10
|
-
"scripts": {
|
|
11
|
-
"compile-libs": "rimraf dist && tsc -p tsconfig.pkg.json",
|
|
12
|
-
"compile-watch": "tsc -p tsconfig.pkg.json --watch",
|
|
13
|
-
"test": "echo this package has no tests",
|
|
14
|
-
"test-watch": "echo this package has no tests",
|
|
15
|
-
"coverage": "echo this package has no coverage",
|
|
16
|
-
"prepack": "pnpm run compile-libs",
|
|
17
|
-
"tsc": "tsc",
|
|
18
|
-
"tsc-force": "tsc --build --clean && tsc --build --force"
|
|
19
|
-
},
|
|
20
10
|
"dependencies": {},
|
|
21
11
|
"devDependencies": {
|
|
22
12
|
"typescript": "5.6.3"
|
|
@@ -26,5 +16,22 @@
|
|
|
26
16
|
"url": "git+https://github.com/isographlabs/isograph.git",
|
|
27
17
|
"directory": "libs/isograph-disposable-types"
|
|
28
18
|
},
|
|
29
|
-
"sideEffects": false
|
|
30
|
-
|
|
19
|
+
"sideEffects": false,
|
|
20
|
+
"module": "./dist/index.mjs",
|
|
21
|
+
"exports": {
|
|
22
|
+
".": {
|
|
23
|
+
"import": "./dist/index.mjs",
|
|
24
|
+
"require": "./dist/index.js"
|
|
25
|
+
},
|
|
26
|
+
"./package.json": "./package.json"
|
|
27
|
+
},
|
|
28
|
+
"scripts": {
|
|
29
|
+
"compile-libs": "tsdown",
|
|
30
|
+
"watch-libs": "tsdown --watch",
|
|
31
|
+
"test": "echo this package has no tests",
|
|
32
|
+
"test-watch": "echo this package has no tests",
|
|
33
|
+
"coverage": "echo this package has no coverage",
|
|
34
|
+
"tsc": "tsc",
|
|
35
|
+
"tsc-force": "tsc --build --clean && tsc --build --force"
|
|
36
|
+
}
|
|
37
|
+
}
|