@ealmansi/jagger
Advanced tools
Comparing version 0.1.16 to 0.1.17
{ | ||
"name": "@ealmansi/jagger", | ||
"version": "0.1.16", | ||
"version": "0.1.17", | ||
"description": "WIP", | ||
@@ -8,8 +8,10 @@ "files": [ | ||
], | ||
"main": "./js/src/index.js", | ||
"typings": "./js/src/index.d.ts", | ||
"type": "module", | ||
"main": "./js/index.js", | ||
"exports": { | ||
".": "./js/src/index.js", | ||
"./transform": "./js/src/transform.js" | ||
".": "./js/index.js" | ||
}, | ||
"bin": { | ||
"jagger-generate": "./js/generate.js" | ||
}, | ||
"repository": { | ||
@@ -32,14 +34,13 @@ "type": "git", | ||
"devDependencies": { | ||
"@types/node": "^20.9.0", | ||
"@types/node": "^20.12.7", | ||
"prettier": "^3.0.3", | ||
"rimraf": "^5.0.5", | ||
"typescript": "^5.2.2" | ||
"typescript": "^5.4.4" | ||
}, | ||
"scripts": { | ||
"test": "false", | ||
"clean": "rimraf js", | ||
"format": "prettier --write ./ts", | ||
"build": "tsc", | ||
"dev": "tsc --watch" | ||
"build": "tsc --build", | ||
"dev": "tsc --build --watch", | ||
"clean": "tsc --build --clean", | ||
"format": "prettier --write ./ts" | ||
} | ||
} |
@@ -8,6 +8,6 @@ # @ealmansi/jagger | ||
```sh | ||
npm add -D ts-patch @ealmansi/jagger | ||
npm add @ealmansi/jagger | ||
``` | ||
2. Configure prepare script: | ||
2. Configure prebuild script: | ||
@@ -18,3 +18,3 @@ ```jsonc | ||
"scripts": { | ||
"prepare": "ts-patch install -s" | ||
"prebuild": "jagger-generate" | ||
} | ||
@@ -24,23 +24,2 @@ } | ||
3. Ensure prepare script has been executed: | ||
```sh | ||
npm install | ||
``` | ||
4. Configure TypeScript plugin: | ||
```jsonc | ||
// tsconfig.json | ||
{ | ||
"compilerOptions": { | ||
"plugins": [ | ||
{ | ||
"transform": "@ealmansi/jagger/transform" | ||
} | ||
] | ||
} | ||
} | ||
``` | ||
## Usage | ||
@@ -47,0 +26,0 @@ |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
40281
11
411
Yes
51
1