Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Gaël de Chalendar
Pkm-api
Commits
0e93e265
Commit
0e93e265
authored
May 12, 2020
by
Armand PUCCETTI
Browse files
removed ref to node_modules/common.js
parent
e0a84f09
Changes
9
Hide whitespace changes
Inline
Side-by-side
delete_comments_from_files.js
View file @
0e93e265
...
...
@@ -4,7 +4,7 @@ const MongoClient = require('mongodb').MongoClient;
const
assert
=
require
(
'
assert
'
);
const
path
=
require
(
'
path
'
);
const
fs
=
require
(
'
fs
'
);
const
common
=
require
(
'
common
'
);
const
common
=
require
(
'
./
common
'
);
const
host
=
process
.
env
.
PKMHOST
;
const
url
=
'
mongodb://
'
+
host
+
'
:27017
'
;
...
...
delete_doc_files.js
View file @
0e93e265
...
...
@@ -4,7 +4,7 @@ const MongoClient = require('mongodb').MongoClient;
const
assert
=
require
(
'
assert
'
);
const
path
=
require
(
'
path
'
);
const
fs
=
require
(
'
fs
'
);
const
common
=
require
(
'
common.js
'
);
const
common
=
require
(
'
./
common.js
'
);
const
host
=
process
.
env
.
PKMHOST
;
const
url
=
'
mongodb://
'
+
host
+
'
:27017
'
;
...
...
delete_source_files.js
View file @
0e93e265
...
...
@@ -2,7 +2,7 @@
const
path
=
require
(
'
path
'
);
const
MongoClient
=
require
(
'
mongodb
'
).
MongoClient
;
const
common
=
require
(
'
common
'
);
const
common
=
require
(
'
./
common
'
);
const
assert
=
require
(
'
assert
'
);
const
fs
=
require
(
'
fs
'
);
...
...
find.js
View file @
0e93e265
...
...
@@ -5,7 +5,7 @@
var
MongoClient
=
require
(
'
mongodb
'
).
MongoClient
;
const
assert
=
require
(
'
assert
'
);
const
fs
=
require
(
'
fs
'
);
const
common
=
require
(
'
common
'
);
const
common
=
require
(
'
./
common
'
);
const
url
=
'
mongodb://localhost:27017
'
;
const
client
=
new
MongoClient
(
url
,{
useUnifiedTopology
:
true
});
const
dbName
=
process
.
argv
[
2
];
...
...
flatten_globals.js
View file @
0e93e265
...
...
@@ -6,7 +6,7 @@ const path = require('path');
const
MongoClient
=
require
(
'
mongodb
'
).
MongoClient
;
const
assert
=
require
(
'
assert
'
);
const
fs
=
require
(
'
fs
'
);
const
common
=
require
(
'
common
'
);
const
common
=
require
(
'
./
common
'
);
const
host
=
process
.
env
.
PKMHOST
;
const
url
=
'
mongodb://
'
+
host
+
'
:27017
'
;
...
...
insert_doc_files.js
View file @
0e93e265
...
...
@@ -3,7 +3,7 @@
const
path
=
require
(
'
path
'
);
const
MongoClient
=
require
(
'
mongodb
'
).
MongoClient
;
const
assert
=
require
(
'
assert
'
);
const
common
=
require
(
'
common
'
);
const
common
=
require
(
'
./
common
'
);
const
fs
=
require
(
'
fs
'
);
const
md2json
=
require
(
'
md-2-json
'
);
const
host
=
process
.
env
.
PKMHOST
;
...
...
insert_source_files.js
View file @
0e93e265
...
...
@@ -4,7 +4,7 @@ const path = require('path');
const
MongoClient
=
require
(
'
mongodb
'
).
MongoClient
;
const
assert
=
require
(
'
assert
'
);
const
fs
=
require
(
'
fs
'
);
const
common
=
require
(
'
common
'
);
const
common
=
require
(
'
./
common
'
);
const
host
=
process
.
env
.
PKMHOST
;
const
url
=
'
mongodb://
'
+
host
+
'
:27017
'
;
...
...
node_modules/common.js
deleted
120000 → 0
View file @
e0a84f09
..
/
common
.
js
\ No newline at end of file
update_source_files.js
View file @
0e93e265
...
...
@@ -4,7 +4,7 @@ const path = require('path');
const
MongoClient
=
require
(
'
mongodb
'
).
MongoClient
;
const
assert
=
require
(
'
assert
'
);
const
fs
=
require
(
'
fs
'
);
const
common
=
require
(
'
common
'
);
const
common
=
require
(
'
./
common
'
);
const
host
=
process
.
env
.
PKMHOST
;
const
url
=
'
mongodb://
'
+
host
+
'
:27017
'
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment