migrating to typescript
This commit is contained in:
parent
756453f362
commit
82c1a444ff
|
@ -42,10 +42,11 @@ from MySQL to PostgreSQL as easy and smooth as possible.</p>
|
|||
<li>Make sure, that username, you use in your PostgreSQL connection details, defined as superuser (usually "postgres")<br> More info: <a href="http://www.postgresql.org/docs/current/static/app-createuser.html">http://www.postgresql.org/docs/current/static/app-createuser.html</a></li>
|
||||
</ul>
|
||||
|
||||
<p><b>4.</b> Go to Nmig directory, install dependencies, and run the app<br />
|
||||
<p><b>4.</b> Go to Nmig directory, install dependencies, compile and run the app<br />
|
||||
<b>Sample:</b><br />
|
||||
<pre>$ cd /path/to/nmig</pre><br />
|
||||
<pre>$ npm install</pre><br />
|
||||
<pre>$ npm run build</pre><br />
|
||||
<pre>$ npm start</pre><br />
|
||||
</p>
|
||||
|
||||
|
@ -76,10 +77,11 @@ from MySQL to PostgreSQL as easy and smooth as possible.</p>
|
|||
<a href="http://www.postgresql.org/docs/current/static/app-createuser.html">http://www.postgresql.org/docs/current/static/app-createuser.html</a>
|
||||
</li>
|
||||
</ul>
|
||||
<p><b>4.</b> Go to nmig directory, install dependencies, and run tests<br />
|
||||
<p><b>4.</b> Go to nmig directory, install dependencies, compile and run tests<br />
|
||||
<b>Sample:</b><br />
|
||||
<pre>$ cd /path/to/nmig</pre><br />
|
||||
<pre>$ npm install</pre><br />
|
||||
<pre>$ npm run build</pre><br />
|
||||
<pre>$ npm test</pre><br />
|
||||
</p>
|
||||
<p><b>5.</b> At the end of migration check log files, if necessary.<br />
|
||||
|
|
8
package-lock.json
generated
8
package-lock.json
generated
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "nmig",
|
||||
"version": "3.4.0",
|
||||
"version": "3.5.0",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
@ -481,9 +481,9 @@
|
|||
"integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU="
|
||||
},
|
||||
"typescript": {
|
||||
"version": "3.0.3",
|
||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-3.0.3.tgz",
|
||||
"integrity": "sha512-kk80vLW9iGtjMnIv11qyxLqZm20UklzuR2tL0QAnDIygIUIemcZMxlMWudl9OOt76H3ntVzcTiddQ1/pAAJMYg==",
|
||||
"version": "3.1.1",
|
||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-3.1.1.tgz",
|
||||
"integrity": "sha512-Veu0w4dTc/9wlWNf2jeRInNodKlcdLgemvPsrNpfu5Pq39sgfFjvIIgTsvUHCoLBnMhPoUA+tFxsXjU6VexVRQ==",
|
||||
"dev": true
|
||||
},
|
||||
"util-deprecate": {
|
||||
|
|
|
@ -22,12 +22,12 @@
|
|||
"@types/pg": "^7.4.10",
|
||||
"@types/tape": "^4.2.32",
|
||||
"tape": "^4.9.1",
|
||||
"typescript": "^3.0.3"
|
||||
"typescript": "^3.1.1"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "tsc",
|
||||
"start": "npm run build && node dist/src/Main.js",
|
||||
"test": "npm run build && node dist/test/Main.test.js"
|
||||
"start": "node dist/src/Main.js",
|
||||
"test": "node dist/test/Main.test.js"
|
||||
},
|
||||
"keywords": [
|
||||
"database migration",
|
||||
|
|
Loading…
Reference in a new issue