Skip to content

2.0.3

Choose a tag to compare

@Phyroks Phyroks released this 19 Mar 17:54
· 10 commits to master since this release
d0d74c1

Image Classification v2.0.3 Release Notes

We're pleased to announce the release of Image Classification v2.0.3, bringing improvements to the build and start scripts.

Changelog

馃洜 NPM Script Adjustments

  • Updated package.json scripts for better consistency and production readiness:
    Previous Scripts:
    "scripts": {
        "dev": "ts-node src/index.ts",
        "build": "tsc && node -e \"require('fs').copyFileSync('config.json', 'dist/config.json')\"",
        "start": "node dist/index.js"
    }
    Updated Scripts:
    "scripts": {
        "dev": "ts-node src/index.ts",
        "build": "tsc && node -e \"require('fs').copyFileSync('config.json', 'dist/config.json')\"",
        "start": "tsc && node -e \"require('fs').copyFileSync('config.json', 'dist/config.json')\" && node dist/index.js",
        "prod": "node dist/index.js"
    }
  • The start script now includes the build step, ensuring that the latest code is compiled before execution.
  • Added a prod script for running the pre-built application directly.

This update enhances the development workflow and ensures smoother deployment. No breaking changes were introduced.