Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor mods #1

Open
plroebuck opened this issue Apr 30, 2019 · 3 comments
Open

Minor mods #1

plroebuck opened this issue Apr 30, 2019 · 3 comments

Comments

@plroebuck
Copy link

plroebuck commented Apr 30, 2019

$ cd /tmp
$ PROJECT_ROOT="issue-3893"
$ git clone https://github.com/nwesterman/mochaExitCode_3893.git ${PROJECT_ROOT}
$ cd ${PROJECT_ROOT}

Made minor modifications to repository structure to simplify testing.

$ mkdir test
$ mv *.js test/
$ touch index.js
$ cat << EOF >> "package.json"
{
  "name": "issue-3893",
  "version": "1.0.0",
  "description": "Code to reproduce https://github.com/mochajs/mocha/issues/3893",
  "main": "index.js",
  "scripts": {
    "list:deps": "npm list --depth=1",
    "pretest": "/bin/echo -n 'Mocha v' && mocha --version",
    "test": "mocha",
    "test:debug": "DEBUG=* mocha"
  },
  "directories": {
    "test": "test"
  },
  "devDependencies": {
    "camelcase": "^5.3.1",
    "chai": "^4.2.0",
    "decamelize": "^3.2.0",
    "joi": "^14.3.1",
    "mocha": "^6.1.4",
    "sinon": "^7.3.2",
    "xmllint": "^0.1.1"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/nwesterman/mochaExitCode_3893.git"
  },
  "keywords": [
    "mocha"
  ],
  "author": "P. Roebuck <plroebuck@users.noreply.github.com>",
  "license": "ISC",
  "bugs": {
    "url": "https://github.com/nwesterman/mochaExitCode_3893/issues"
  },
  "homepage": "https://github.com/nwesterman/mochaExitCode_3893#readme"
}
EOF
@plroebuck
Copy link
Author

$ npm install
npm WARN deprecated joi@14.3.1: This module has moved and is now available at @hapi/joi. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.
npm WARN deprecated topo@3.0.3: This module has moved and is now available at @hapi/topo. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.
npm WARN deprecated hoek@6.1.3: This module has moved and is now available at @hapi/hoek. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.
npm notice created a lockfile as package-lock.json. You should commit this file.
added 147 packages from 848 contributors and audited 279 packages in 20.333s
found 0 vulnerabilities

@plroebuck
Copy link
Author

Post modification project root

$ cd /tmp/${PROJECT_ROOT}
$ ls -la
total 120
drwxr-xr-x   10 me  staff    340 Apr 29 22:50 .
drwxrwxrwt   45 root   wheel   1530 Apr 29 22:05 ..
drwxr-xr-x   13 me  staff    442 Apr 29 22:05 .git
-rw-r--r--    1 me  staff     14 Apr 29 22:05 .gitignore
-rw-r--r--    1 me  staff    606 Apr 29 22:05 README.md
-rw-r--r--    1 me  staff      0 Apr 29 22:08 index.js
drwxr-xr-x  131 me  staff   4454 Apr 29 22:13 node_modules
-rw-r--r--    1 me  staff  45565 Apr 29 22:13 package-lock.json
-rw-r--r--    1 me  staff    955 Apr 29 22:50 package.json
drwxr-xr-x    7 me  staff    238 Apr 29 22:33 test
$ 

@plroebuck
Copy link
Author

$ npm list -depth=1
issue-3893@1.0.0 /tmp/issue-3893
├── camelcase@5.3.1
├─┬ chai@4.2.0
│ ├── assertion-error@1.1.0
│ ├── check-error@1.0.2
│ ├── deep-eql@3.0.1
│ ├── get-func-name@2.0.0
│ ├── pathval@1.1.0
│ └── type-detect@4.0.8
├─┬ decamelize@3.2.0
│ └── xregexp@4.2.4
├─┬ joi@14.3.1
│ ├── hoek@6.1.3
│ ├── isemail@3.2.0
│ └── topo@3.0.3
├─┬ mocha@6.1.4
│ ├── ansi-colors@3.2.3
│ ├── browser-stdout@1.3.1
│ ├── debug@3.2.6
│ ├── diff@3.5.0
│ ├── escape-string-regexp@1.0.5
│ ├── find-up@3.0.0
│ ├── glob@7.1.3
│ ├── growl@1.10.5
│ ├── he@1.2.0
│ ├── js-yaml@3.13.1
│ ├── log-symbols@2.2.0
│ ├── minimatch@3.0.4
│ ├── mkdirp@0.5.1
│ ├── ms@2.1.1
│ ├── node-environment-flags@1.0.5
│ ├── object.assign@4.1.0
│ ├── strip-json-comments@2.0.1
│ ├── supports-color@6.0.0
│ ├── which@1.3.1
│ ├── wide-align@1.1.3
│ ├── yargs@13.2.2
│ ├── yargs-parser@13.0.0
│ └── yargs-unparser@1.5.0
├─┬ sinon@7.3.2
│ ├── @sinonjs/commons@1.4.0
│ ├── @sinonjs/formatio@3.2.1
│ ├── @sinonjs/samsam@3.3.1
│ ├── diff@3.5.0 deduped
│ ├── lolex@4.0.1
│ ├── nise@1.4.10
│ └── supports-color@5.5.0
└── xmllint@0.1.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant