Skip to content

Commit 32059ff

Browse files
authored
chore: Remove gulp and correct pack pipeline (#2525)
Our build scripts are now only in npm scripts and npm pack now includes source maps for debugging NODE-2779
1 parent 3f8818c commit 32059ff

16 files changed

+1616
-4146
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,5 @@ build/Release
4949
node_modules
5050
yarn.lock
5151
lib/
52+
*.tgz
53+
*.d.ts

.npmignore

+5-2
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,15 @@ performance/
3030
public/
3131
.coverage_data/
3232
.coveralls.yml
33-
.eslintrc
33+
.eslintrc.json
3434
docs/public
3535
.nyc_output/
36-
typings/
3736
jsconfig.json
3837
manual_tests/
3938

4039
external-libs/bson/build/
4140
external-libs/bson/build/.wafpickle-7
41+
42+
src/
43+
*.json
44+
Makefile

Gulpfile.ts

-104
This file was deleted.

api-extractor.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
},
1010
"dtsRollup": {
1111
"enabled": true,
12-
"untrimmedFilePath": "<projectFolder>/types/<unscopedPackageName>.d.ts"
12+
"untrimmedFilePath": "<projectFolder>/<unscopedPackageName>.d.ts"
1313
},
1414
"tsdocMetadata": {
1515
"enabled": false

etc/prepare.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ var cp = require('child_process');
33
var fs = require('fs');
44

55
if (fs.existsSync('src')) {
6-
cp.spawn('npx', ['gulp', 'compile'], { stdio: 'inherit' });
6+
cp.spawn('npm', ['run', 'build:dts'], { stdio: 'inherit' });
77
} else {
88
if (!fs.existsSync('lib')) {
99
console.warn('MongoDB: No compiled javascript present, the driver is not installed correctly.');

0 commit comments

Comments
 (0)