Skip to content

Commit a081faa

Browse files
committed
A first pass at extracting the file system functions from Data-Forge.
1 parent 19fc5ec commit a081faa

17 files changed

+2988
-4
lines changed

.gitignore

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ bower_components
2929
# node-waf configuration
3030
.lock-wscript
3131

32-
# Compiled binary addons (https://nodejs.org/api/addons.html)
32+
# Compiled binary addons (http://nodejs.org/api/addons.html)
3333
build/Release
3434

3535
# Dependency directories
3636
node_modules/
3737
jspm_packages/
3838

39-
# TypeScript v1 declaration files
39+
# Typescript v1 declaration files
4040
typings/
4141

4242
# Optional npm cache directory
@@ -57,5 +57,6 @@ typings/
5757
# dotenv environment variables file
5858
.env
5959

60-
# next.js build output
61-
.next
60+
build/
61+
todo.txt
62+
*.bak

.npmignore

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
docs/
2+
src/
3+
node_modules/
4+
.vscode/
5+
.gitignore
6+
*.log
7+
r.bat
8+
test/
9+
build/test/
10+
todo.txt
11+
.nyc_output/
12+
tsconfig.json
13+
examples/
14+
typedoc.json
15+
.travis.yml
16+
todo.txt
17+
.nyc_output/
18+
coverage/

.travis.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
language: node_js
2+
node_js:
3+
- "8.9.1"
4+
before_script:
5+
- export TZ=Australia/Brisbane
6+
- date
7+
after_success: "npm run coveralls"

.vscode/launch.json

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
// Use IntelliSense to learn about possible Node.js debug attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"name": "Mocha",
9+
"type": "node",
10+
"request": "launch",
11+
"program": "${workspaceRoot}/node_modules/mocha/bin/_mocha",
12+
"cwd": "${workspaceRoot}",
13+
"env": {
14+
"NODE_ENV": "development"
15+
},
16+
"args": [
17+
"-u",
18+
"tdd",
19+
"--timeout",
20+
"999999",
21+
"--colors",
22+
"-r",
23+
"ts-node/register",
24+
"${relativeFile}"
25+
],
26+
"skipFiles": [
27+
"node_modules/**/*.js"
28+
],
29+
"sourceMaps": true,
30+
"stopOnEntry": false,
31+
"internalConsoleOptions": "openOnSessionStart",
32+
"protocol": "inspector"
33+
}
34+
]
35+
}

.vscode/tasks.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
// See https://go.microsoft.com/fwlink/?LinkId=733558
3+
// for the documentation about the tasks.json format
4+
"version": "2.0.0",
5+
"tasks": [
6+
{
7+
"type": "typescript",
8+
"tsconfig": "tsconfig.json",
9+
"group": {
10+
"kind": "build",
11+
"isDefault": true
12+
}
13+
}
14+
]
15+
}

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
11
# data-forge-fs
2+
3+
The file system API for use with [Data-Forge](https://github.com/data-forge/data-forge-ts).
4+
25
This library contains the file system extensions to Data-Forge that allow it to directly read and write CSV and JSON files.
6+

build.bat

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
rm -rf build/*
2+
call npx tsc

0 commit comments

Comments
 (0)