chore: remove extra files for git, nyc, and mocha (#2422)

- Remove `.gitignore` from individual packages.
- Remove `nyc.config.js` and `.nycrc` since `nyc` is no longer in use
- Remove `.mocharc` and `localIntegrationRunner.html` since `mocha` is
no longer in use.
This commit is contained in:
Caleb Kniffen
2023-08-15 10:19:15 -05:00
committed by GitHub
parent aa75806f2f
commit 352abae003
9 changed files with 1 additions and 343 deletions

1
.gitignore vendored
View File

@@ -22,6 +22,7 @@ npm-shrinkwrap.json
# Ignore object files.
*.o
build/
coverage/
tags
bin/rippled
Debug/*.*

View File

@@ -1,61 +0,0 @@
# .gitignore
# Ignore vim swap files.
*.swp
# Ignore SCons support files.
.sconsign.dblite
# Ignore python compiled files.
*.pyc
# Ignore Macintosh Desktop Services Store files.
.DS_Store
# Ignore backup/temps
*~
# Ignore object files.
*.o
build/
tags
bin/rippled
Debug/*.*
Release/*.*
# Ignore locally installed node_modules
node_modules
!test/node_modules
# Ignore tmp directory.
tmp
# Ignore database directory.
db/*.db
db/*.db-*
# Ignore customized configs
rippled.cfg
validators.txt
test/config.js
# Ignore coverage files
/lib-cov
/src-cov
/coverage.html
/coverage
# Ignore IntelliJ files
.idea
# Ignore npm-debug
npm-debug.log
# Ignore dist folder
dist/
# Ignore flow output directory
out/
# Ignore perf test cache
scripts/cache

View File

@@ -1,64 +0,0 @@
# .gitignore
# Ignore vim swap files.
*.swp
# Ignore SCons support files.
.sconsign.dblite
# Ignore python compiled files.
*.pyc
# Ignore Macintosh Desktop Services Store files.
.DS_Store
# Ignore backup/temps
*~
# Ignore object files.
*.o
build/
distrib/
tags
bin/rippled
Debug/*.*
Release/*.*
# Ignore locally installed node_modules
node_modules
!test/node_modules
# Ignore tmp directory.
tmp
# Ignore database directory.
db/*.db
db/*.db-*
# Ignore customized configs
rippled.cfg
validators.txt
test/config.js
# Ignore coverage files
/lib-cov
/src-cov
/coverage.html
/coverage
# Ignore IntelliJ files
.idea
# Ignore npm-debug
npm-debug.log
# Ignore dist folder, build for bower
dist/
# Ignore flow output directory
out/
# Ignore perf test cache
scripts/cache
eslintrc

View File

@@ -1,72 +0,0 @@
# .gitignore
# Ignore package locks other than npm
yarn.lock
npm-shrinkwrap.json
# Ignore vim swap files.
*.swp
# Ignore SCons support files.
.sconsign.dblite
# Ignore python compiled files.
*.pyc
# Ignore Macintosh Desktop Services Store files.
.DS_Store
# Ignore backup/temps
*~
# Ignore object files.
*.o
build/
tags
bin/rippled
Debug/*.*
Release/*.*
# Ignore locally installed node_modules
node_modules
!test/node_modules
# Ignore tmp directory.
tmp
# Ignore database directory.
db/*.db
db/*.db-*
# Ignore customized configs
rippled.cfg
validators.txt
test/config.js
# Ignore coverage files
/lib-cov
/src-cov
/coverage.html
/coverage
# Ignore IntelliJ files
.idea
# Ignore npm-debug
npm-debug.log
# Ignore dist folder, build for bower
dist/
# Ignore flow output directory
out/
# Ignore perf test cache
scripts/cache
eslintrc
distrib/
# nyc (istanbul)
.nyc_output

View File

@@ -1,15 +0,0 @@
module.exports = {
opts: false,
slow: 500,
timeout: 5000,
// Required to get proper coverage on TypeScript files
// transpile-only is required if we use custom types
require: ['ts-node/register/transpile-only', 'source-map-support/register'],
// Look for tests in subdirectories
recursive: true,
// Check for global variable leaks
'check-leaks': true,
}

View File

@@ -1,20 +0,0 @@
module.exports = {
extension: ['.js', '.ts'],
exclude: [
'**/*.d.ts',
'*.js',
'test/**/*',
'coverage/**/*',
],
// Assert we remain at 100% code coverage
'check-coverage': true,
'branches': 100,
'lines': 100,
'functions': 100,
'statements': 100,
// Required to get coverage reported on every file, including those that aren't tested
all: true,
}

View File

@@ -1,75 +0,0 @@
# .gitignore
# Ignore package locks other than npm.
yarn.lock
npm-shrinkwrap.json
# Ignore vim swap files.
*.swp
# Ignore SCons support files.
.sconsign.dblite
# Ignore python compiled files.
*.pyc
# Ignore Macintosh Desktop Services Store files.
.DS_Store
# Ignore backup/temps
*~
# Ignore object files.
*.o
build/
tags
bin/rippled
Debug/*.*
Release/*.*
# Ignore locally installed node_modules
node_modules
!test/node_modules
# Ignore tmp directory.
tmp
# Ignore database directory.
db/*.db
db/*.db-*
# Ignore customized configs
rippled.cfg
validators.txt
test/config.js
# Ignore coverage files
/lib-cov
/src-cov
/coverage.html
/coverage
# Ignore IntelliJ files
.idea
# Ignore npm-debug
npm-debug.log
# Ignore dist folder, built from tsc
dist/
# TypeScript incremental compilation cache
*.tsbuildinfo
# Ignore perf test cache
scripts/cache
.eslintrc
# nyc (istanbul)
.nyc_output
# browser tests
testCompiledForWeb
dist-doc/

View File

@@ -1,10 +0,0 @@
{
"include": ["src/**/*.ts"],
"exclude": ["src/**/*.d.ts"],
"extension": [".ts"],
"require": ["ts-node/register"],
"reporter": ["text-summary", "html"],
"sourceMap": true,
"instrument": true,
"cache": true
}

View File

@@ -1,26 +0,0 @@
<html>
<head>
<meta charset="utf-8">
<!-- encoding must be set for mocha's special characters to render properly -->
<link rel="stylesheet" href="../../../node_modules/mocha/mocha.css" />
</head>
<body>
<div id="deb"></div>
<div id="mocha"></div>
<script src="../../../node_modules/mocha/mocha.js"></script>
<script src="hacks/phantomhacks.js"></script>
<script src="../build/xrpl-latest.js"></script>
<script>
if (window.initMochaPhantomJS) {
window.initMochaPhantomJS();
}
mocha.ui('bdd')
</script>
<script src="./testCompiledForWeb/index.js"></script>
<script>
mocha.run()
</script>
</body>
</html>