@ioka-technologies/asyncapi-ts-client-template 0.0.26 → 0.0.27

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ioka-technologies/asyncapi-ts-client-template",
3
- "version": "0.0.26",
3
+ "version": "0.0.27",
4
4
  "description": "TypeScript AsyncAPI client generator template compatible with rust-asyncapi patterns",
5
5
  "main": "template/index.js",
6
6
  "scripts": {
package/template/index.js CHANGED
@@ -52,7 +52,7 @@ export default function ({ asyncapi, params }) {
52
52
  dev: 'tsc --watch',
53
53
  test: 'jest',
54
54
  lint: 'eslint src/**/*.ts',
55
- prepare: 'npm run build'
55
+ prepare: 'if [ ! -d \"node_modules\" ]; then npm install --include=dev; fi && npm run build'
56
56
  },
57
57
  keywords: [
58
58
  'asyncapi',