diff --git a/.npmrc.example b/.npmrc.example new file mode 100644 index 0000000..877643d --- /dev/null +++ b/.npmrc.example @@ -0,0 +1 @@ +registry.npmjs.org/:_authToken=your_auth_token \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index a19cdd2..8e9763f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,5 +2,5 @@ ## 2024 -- **v4.5.0 - v4.5.1** (2024-03-18) +- **v4.5.0 - v4.5.2** (2024-03-18) - Initial release diff --git a/_base_structure/infra/start.sh b/_base_structure/infra/start.sh index ad812a4..5b7fb17 100755 --- a/_base_structure/infra/start.sh +++ b/_base_structure/infra/start.sh @@ -1,5 +1,5 @@ #!/bin/sh -tsc -tsc-alias +tsc || ./node_modules/.bin/tsc +tsc-alias || ./node_modules/.bin/tsc-alias node ./dist/main.js \ No newline at end of file diff --git a/_base_structure/package.json b/_base_structure/package.json index acd9c72..82ed463 100644 --- a/_base_structure/package.json +++ b/_base_structure/package.json @@ -6,7 +6,7 @@ "license": "", "main": "./dist/main.js", "scripts": { - "build": "tsc && tsc-alias", + "build": "tsc || ./node_modules/.bin/tsc && tsc-alias || ./node_modules/.bin/tsc-alias", "start": "node ./dist/main.js", "test": "echo \"Error: no test specified\" && exit 1" }, diff --git a/main.js b/main.js index 059c4a6..998ff1f 100755 --- a/main.js +++ b/main.js @@ -6,7 +6,7 @@ const https = require('https'); const child_process = require('child_process'); const name = "AyaPingPing (TypeScript)"; -const version = "v4.5.1"; +const version = "v4.5.2"; const language = "TypeScript"; const generatorUrl = "https://raw.githubusercontent.com/dalikewara/ayapingping-sh/master/main_v4.sh"; const generatorFile = "main.sh"; diff --git a/package.json b/package.json index 0178477..269f80a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ayapingping-ts", - "version": "4.5.1", + "version": "4.5.2", "description": "ayapingping-ts generates standard project structure to build applications in NodeJS-TypeScript that follow Clean Architecture and Feature-Driven Design concept", "author": "Dali Kewara", "license": "MIT", diff --git a/publish-to-npm.sh b/publish-to-npm.sh index 1f398e5..6b834a7 100755 --- a/publish-to-npm.sh +++ b/publish-to-npm.sh @@ -1,4 +1,3 @@ #!/bin/sh -npm login npm publish \ No newline at end of file