runtime-type-inspector 2.0.3 → 3.2.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.
package/README.md CHANGED
@@ -34,8 +34,10 @@ https://www.youtube.com/watch?v=xOp3YWU6M1g
34
34
 
35
35
  # Installation
36
36
 
37
+ Please take my two Pull Requests for [Transformers.js](https://github.com/xenova/transformers.js/pull/409) (using Webpack) and [PlayCanvas](https://github.com/playcanvas/engine/pull/5817) (using Rollup) as example.
38
+
37
39
  ```
38
- npm install runtime-type-inspector
40
+ npm install @runtime-type-inspector/transpiler
39
41
  ```
40
42
 
41
43
  Live demo: https://runtimetypeinspector.org/
@@ -44,4 +46,30 @@ Thank you for reading and testing! You can also open DevTools and run:
44
46
 
45
47
  ```js
46
48
  console.log(rtiTranspiler)
47
- ```
49
+ ```
50
+
51
+ # Available NPM packages
52
+
53
+ - https://www.npmjs.com/package/@runtime-type-inspector/runtime
54
+ - https://www.npmjs.com/package/@runtime-type-inspector/transpiler
55
+ - https://www.npmjs.com/package/@runtime-type-inspector/plugin-parcel1
56
+ - https://www.npmjs.com/package/@runtime-type-inspector/parcel-transformer (Parcel v2)
57
+ - https://www.npmjs.com/package/@runtime-type-inspector/plugin-rollup
58
+ - https://www.npmjs.com/package/@runtime-type-inspector/plugin-webpack (version independent)
59
+ - https://www.npmjs.com/package/@runtime-type-inspector/plugin-webpack4
60
+ - https://www.npmjs.com/package/@runtime-type-inspector/plugin-webpack5
61
+
62
+ # Acknowledgements
63
+
64
+ We are incredibly grateful for the support and contribution of our funders, [Sovereign Tech Fund](https://www.sovereigntechfund.de/). We would like to thank them for their support and contribution towards making this project possible. Their partnership and generous funding have been instrumental in the success and realization of [RuntimeTypeInspector.js](https://github.com/kungfooman/RuntimeTypeInspector.js).
65
+
66
+ ![STF-Logo-Wide-Dark-RGB](https://github.com/kungfooman/RuntimeTypeInspector.js/assets/5236548/a5e5870c-2f93-4047-877f-21f823473a68)
67
+ ![STF-Logo-Wide-White-RGB](https://github.com/kungfooman/RuntimeTypeInspector.js/assets/5236548/94e790d9-9fda-4c17-a811-0af370d708b8)
68
+
69
+ > Open source, a treasure trove for all to embrace,
70
+ >
71
+ > But its potential is limited, without financial grace.
72
+ >
73
+ > Let's urge our governments, to invest in its light,
74
+ >
75
+ > For a resilient digital infrastructure, shining bright.
package/package.json CHANGED
@@ -1,13 +1,17 @@
1
1
  {
2
2
  "name": "runtime-type-inspector",
3
- "version": "2.0.3",
3
+ "version": "3.2.2",
4
4
  "description": "Validating JSDoc types at runtime for high-quality types - Trust is good, control is better.",
5
- "main": "build/rti-transpiler.cjs",
6
- "module": "build/rti-transpiler.mjs",
7
5
  "scripts": {
8
6
  "build": "rollup -c",
7
+ "watch": "rollup -c -w",
9
8
  "build:atBabelCore": "rollup -c --environment target:atBabelCore",
10
- "lint": "eslint --ext .js,.mjs,.cjs src test"
9
+ "build:dts": "tsc src-transpiler/index.js --outDir types/transpiler --allowJs --declaration --emitDeclarationOnly --target esnext",
10
+ "build:types": "npm run build:dts && rollup -c --environment target:types",
11
+ "test": "npm run test:update && node test.js && node test_runtime.js",
12
+ "test:update": "node gen_tests.js > test/typechecking.json",
13
+ "lint": "eslint --ext .js,.mjs,.cjs src-transpiler src-runtime",
14
+ "docs": "jsdoc -c jsdoc.json"
11
15
  },
12
16
  "repository": {
13
17
  "type": "git",
@@ -20,8 +24,9 @@
20
24
  },
21
25
  "type": "module",
22
26
  "homepage": "https://github.com/kungfooman/RuntimeTypeInspector.js#readme",
27
+ "files": [],
23
28
  "devDependencies": {
24
- "@babel/preset-env": "^7.22.20",
29
+ "@playcanvas/jsdoc-template": "^1.1.2",
25
30
  "@rollup/plugin-babel": "^6.0.3",
26
31
  "@rollup/plugin-commonjs": "^25.0.4",
27
32
  "@rollup/plugin-json": "^6.0.0",
@@ -29,21 +34,25 @@
29
34
  "@rollup/plugin-strip": "^3.0.2",
30
35
  "@rollup/plugin-terser": "^0.4.3",
31
36
  "@rollup/pluginutils": "^5.0.4",
32
- "ace-builds": "^1.28.0",
37
+ "catharsis": "github:xenova/catharsis",
33
38
  "eslint": "^8.44.0",
34
39
  "eslint-plugin-import": "^2.28.1",
35
40
  "eslint-plugin-jsdoc": "^46.6.0",
41
+ "jsdoc": "^4.0.2",
42
+ "jsdoc-tsimport-plugin": "^1.0.5",
36
43
  "rollup": "^3.29.0",
37
44
  "rollup-plugin-dts": "^6.0.1",
38
45
  "rollup-plugin-jscc": "^2.0.0",
39
46
  "rollup-plugin-visualizer": "^5.9.2",
40
47
  "to-fast-properties": "^4.0.0",
41
- "@babel/helper-plugin-utils": "^7.22.5",
42
- "@babel/parser": "^7.23.0",
43
- "@babel/plugin-syntax-typescript": "^7.22.5"
44
- },
45
- "dependencies": {
46
- "@babel/core": "^7.2.0",
47
- "typescript": "^5.1.6"
48
+ "@runtime-type-inspector/runtime": "^3.2.2",
49
+ "@runtime-type-inspector/transpiler": "^3.2.2",
50
+ "@runtime-type-inspector/plugin-parcel1": "^3.2.2",
51
+ "@runtime-type-inspector/parcel-transformer": "^3.2.2",
52
+ "@runtime-type-inspector/plugin-rollup": "^3.2.2",
53
+ "@runtime-type-inspector/plugin-webpack": "^3.2.2",
54
+ "@runtime-type-inspector/plugin-webpack4": "^3.2.2",
55
+ "@runtime-type-inspector/plugin-webpack5": "^3.2.2",
56
+ "@runtime-type-inspector/repl": "^3.2.2"
48
57
  }
49
58
  }