File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818- Type <code >npm run watch</code > in your terminal
1919- Open your browser and visit <code >http://127.0.0.1 </code >
2020
21+ #### Migrate from v0.0.3 to v0.0.4
22+ - Type <code >npm run migrate</code > in your terminal
23+
2124#### To-Do List
2225- [x] Implement Interactive mode
2326- [x] Realtime Charts
Original file line number Diff line number Diff line change 212212< body id ="app ">
213213 < div id ="content ">
214214 < div class ="header ">
215- < div class ="title "> wb.tracker < span > 0.0.3 </ span > </ div >
215+ < div class ="title "> wb.tracker < span > 0.0.4a </ span > </ div >
216216 </ div >
217217 < div class ="selectors ">
218218 < p class ="inline "> Артикулы:</ p >
Original file line number Diff line number Diff line change 1+ import sqlite from 'aa-sqlite'
2+
3+ ( async ( ) => {
4+
5+ await sqlite . open ( './main.db' )
6+ console . log ( 'Connect to DB' )
7+
8+ await sqlite . push ( `
9+ CREATE TABLE product_stats (
10+ product_id INTEGER,
11+ timestamp DATE DEFAULT (CURRENT_TIMESTAMP),
12+ data TEXT,
13+ image TEXT
14+ );`
15+ )
16+ console . log ( 'Created table product_stats' )
17+
18+ console . log ( 'Migration [DONE]' )
19+ } ) ( )
Original file line number Diff line number Diff line change 11{
22 "name" : " wbtracker" ,
33 "type" : " module" ,
4- "version" : " 0.0.3 " ,
4+ "version" : " 0.0.4a " ,
55 "description" : " Wildberries search positions tracker" ,
66 "main" : " index.js" ,
77 "scripts" : {
88 "postinstall" : " node install.js" ,
99 "scan" : " node --no-deprecation fetcher.js" ,
10- "watch" : " node --no-deprecation viewer.js"
10+ "watch" : " node --no-deprecation viewer.js" ,
11+ "migrate" : " node --no-deprecation migrate.js"
1112 },
1213 "repository" : {
1314 "type" : " git" ,
You can’t perform that action at this time.
0 commit comments