@isograph/disposable-types 0.2.0 → 0.3.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.
@@ -0,0 +1,4 @@
1
+
2
+ > @isograph/disposable-types@0.3.1 compile-typescript /Users/runner/work/isograph/isograph/libs/isograph-disposable-types
3
+ > rm -rf dist/* && tsc -p tsconfig.pkg.json
4
+
package/dist/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
1
  export type CleanupFn = () => void;
2
2
  export type ItemCleanupPair<T> = [T, CleanupFn];
3
3
  export type Factory<T> = () => ItemCleanupPair<T>;
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,SAAS,GAAG,MAAM,IAAI,CAAC;AACnC,MAAM,MAAM,eAAe,CAAC,CAAC,IAAI,CAAC,CAAC,EAAE,SAAS,CAAC,CAAC;AAChD,MAAM,MAAM,OAAO,CAAC,CAAC,IAAI,MAAM,eAAe,CAAC,CAAC,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@isograph/disposable-types",
3
- "version": "0.2.0",
3
+ "version": "0.3.1",
4
4
  "description": "Common types for disposable items",
5
5
  "homepage": "https://isograph.dev",
6
6
  "main": "dist/index.js",
@@ -8,17 +8,18 @@
8
8
  "author": "Isograph Labs",
9
9
  "license": "MIT",
10
10
  "scripts": {
11
- "compile": "rm -rf dist/* && tsc -p tsconfig.pkg.json",
11
+ "compile-typescript": "rm -rf dist/* && tsc -p tsconfig.pkg.json",
12
12
  "compile-watch": "tsc -p tsconfig.pkg.json --watch",
13
13
  "test": "echo this package has no tests",
14
14
  "test-watch": "echo this package has no tests",
15
15
  "coverage": "echo this package has no coverage",
16
- "prepack": "yarn run compile",
17
- "tsc": "tsc"
16
+ "prepack": "pnpm run compile-typescript",
17
+ "tsc": "tsc",
18
+ "tsc-force": "tsc --build --clean && tsc --build --force"
18
19
  },
19
20
  "dependencies": {},
20
21
  "devDependencies": {
21
- "typescript": "^5.0.3"
22
+ "typescript": "5.6.3"
22
23
  },
23
24
  "repository": {
24
25
  "type": "git",
package/tsconfig.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "extends": "./tsconfig.pkg.json",
3
3
  "compilerOptions": {
4
- "noEmit": true,
5
- },
4
+ "noEmit": true
5
+ }
6
6
  }
package/tsconfig.pkg.json CHANGED
@@ -4,8 +4,7 @@
4
4
  "outDir": "./dist/",
5
5
  "rootDir": "./src/",
6
6
  "declaration": true,
7
- "jsx": "react",
8
- "lib": ["es2017", "DOM"]
7
+ "jsx": "react"
9
8
  },
10
9
  "include": ["./**/*.ts"]
11
10
  }