From 4674596a17049fe39fac2a767ecc2654b36de782 Mon Sep 17 00:00:00 2001 From: Ujjwal Gupta Date: Fri, 21 Apr 2023 22:00:23 +0400 Subject: [PATCH] release v - 1.9.1 --- package.json | 4 ++-- src/decorators/directive.ts | 2 +- src/decorators/formatter.ts | 2 +- src/decorators/prop.ts | 2 +- tests/package-lock.json | 8 ++++---- tests/package.json | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index a7886b1..1fe75a5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mahal", - "version": "1.9.0", + "version": "1.9.1", "description": "Simple, modern web application framework for UI development.", "main": "dist/npm.export.js", "types": "dist/ts/index.d.ts", @@ -66,4 +66,4 @@ "webpack-cli": "^5.0.2", "webpack-merge": "^5.1.1" } -} +} \ No newline at end of file diff --git a/src/decorators/directive.ts b/src/decorators/directive.ts index 04900f6..3616b11 100644 --- a/src/decorators/directive.ts +++ b/src/decorators/directive.ts @@ -5,7 +5,7 @@ export function directive(target, key: string): void; export function directive(name?: string): Function; export function directive(...args) { return wrapMethodDecorator(args, createDirective); -}; +} function createDirective(target: any, methodName: string, name: string) { const obj = {}; diff --git a/src/decorators/formatter.ts b/src/decorators/formatter.ts index aba088c..7316192 100644 --- a/src/decorators/formatter.ts +++ b/src/decorators/formatter.ts @@ -5,7 +5,7 @@ export function formatter(target, key: string): void; export function formatter(name?: string): Function; export function formatter(...args) { return wrapMethodDecorator(args, createFormatter); -}; +} function createFormatter(target: any, methodName: string, name: string) { const obj = {}; diff --git a/src/decorators/prop.ts b/src/decorators/prop.ts index 6df4183..d1cb8af 100644 --- a/src/decorators/prop.ts +++ b/src/decorators/prop.ts @@ -7,7 +7,7 @@ export function prop(target, key: string): void; export function prop(options?: IPropOption | any): Function; export function prop(...args) { return wrapMethodDecorator(args, createProp); -}; +} function createProp(target, key: string, options) { const obj = {}; diff --git a/tests/package-lock.json b/tests/package-lock.json index a86acc4..3fde23b 100644 --- a/tests/package-lock.json +++ b/tests/package-lock.json @@ -8,7 +8,7 @@ "name": "typescript_example", "version": "1.0.0", "dependencies": { - "@mahaljs/html-compiler": "file:../../mahal-html-compiler/mahaljs-html-compiler-1.9.0.tgz", + "@mahaljs/html-compiler": "^1.9.0", "@mahaljs/test-utils": "^1.9.0", "@mahaljs/util": "^1.9.0", "@mahaljs/webpack-loader": "^1.9.0", @@ -389,9 +389,8 @@ }, "node_modules/@mahaljs/html-compiler": { "version": "1.9.0", - "resolved": "file:../../mahal-html-compiler/mahaljs-html-compiler-1.9.0.tgz", + "resolved": "https://registry.npmjs.org/@mahaljs/html-compiler/-/html-compiler-1.9.0.tgz", "integrity": "sha512-lyhQ/wvf1I6qy6AG5/Dl6/lbDxj55BpwHqhT4fn4HnvRfdTg68k5FqVz3mecvsSPhbX/WkjPEx2y1OiBU2nQEw==", - "license": "APACHE 2.0", "dependencies": { "js-beautify": "^1.14.4" } @@ -13909,7 +13908,8 @@ "integrity": "sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==" }, "@mahaljs/html-compiler": { - "version": "file:../../mahal-html-compiler/mahaljs-html-compiler-1.9.0.tgz", + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/@mahaljs/html-compiler/-/html-compiler-1.9.0.tgz", "integrity": "sha512-lyhQ/wvf1I6qy6AG5/Dl6/lbDxj55BpwHqhT4fn4HnvRfdTg68k5FqVz3mecvsSPhbX/WkjPEx2y1OiBU2nQEw==", "requires": { "js-beautify": "^1.14.4" diff --git a/tests/package.json b/tests/package.json index 66bc01b..013f9c8 100644 --- a/tests/package.json +++ b/tests/package.json @@ -22,7 +22,7 @@ "test:mochapack": "cross-env NODE_ENV=test mochapack --require ./typescript/test/setup.js --webpack-config typescript/webpack.config.test.js \"typescript/test/**/*.test.ts\"" }, "dependencies": { - "@mahaljs/html-compiler": "file:../../mahal-html-compiler/mahaljs-html-compiler-1.9.0.tgz", + "@mahaljs/html-compiler": "^1.9.0", "@mahaljs/test-utils": "^1.9.0", "@mahaljs/util": "^1.9.0", "@mahaljs/webpack-loader": "^1.9.0",