Coder Social home page Coder Social logo

vercel-nft-workspace-demo's Introduction

From project root

npm run files:app1

> [email protected] files:app1
> node apps/app1/nft.js

fileList Set(4) {
  'apps/app1/app.js',
  'apps/app1/package.json',
  'node_modules/intpp-some-nft-demo/package.json',
  'node_modules/intpp-some-nft-demo/index.js'
}

From project root with base = __dirname (equals app root)

npm run files:app1:base

> [email protected] files:app1:base
> node apps/app1/nft.js --with-base

args [ '--with-base' ]
fileList Set(2) { 'app.js', 'package.json' }

From project root with processCwd = __dirname (equals app root)

npm run files:app1:cwd 

> [email protected] files:app1:cwd
> node apps/app1/nft.js --with-cwd

args [ '--with-cwd' ]
fileList Set(6) {
  'apps/app1/app.js',
  'apps/app1/package.json',
  'node_modules/intpp-some-nft-demo/package.json',
  'node_modules/intpp-some-nft-demo/index.js',
  'apps/app1/config.js',
  'apps/app1/assets/common.json'
}

From project root with base = processCwd = __dirname (equals app root)

npm run files:app1:base-cwd

> [email protected] files:app1:base-cwd
> node apps/app1/nft.js --with-cwd

args [ '--with-cwd' ]
fileList Set(6) {
  'apps/app1/app.js',
  'apps/app1/package.json',
  'node_modules/intpp-some-nft-demo/package.json',
  'node_modules/intpp-some-nft-demo/index.js',
  'apps/app1/config.js',
  'apps/app1/assets/common.json'
}

From app root

npm run files

> [email protected] files
> node nft.js

fileList Set(2) { 'app.js', 'package.json' }

From app root with base = __dirname (equals app root)

npm run files:base

> [email protected] files:base
> node nft.js --with-base

args [ '--with-base' ]
fileList Set(2) { 'app.js', 'package.json' }

From app root with base = __dirname/../../ (equals project root)

npm run files:root-base

> [email protected] files:root-base
> node nft.js --with-root-base

args [ '--with-root-base' ]
fileList Set(4) {
  'apps/app1/app.js',
  'apps/app1/package.json',
  'node_modules/intpp-some-nft-demo/package.json',
  'node_modules/intpp-some-nft-demo/index.js'
}

From app root with processCwd = __dirname (equals app root)

npm run files:cwd 

> [email protected] files:cwd
> node nft.js --with-cwd

args [ '--with-cwd' ]
fileList Set(2) { 'app.js', 'package.json' }

From app root with processCwd = __dirname/../../ (equals project root)

npm run files:root-cwd 

> [email protected] files:root-cwd
> node nft.js --with-root-cwd

args [ '--with-root-cwd' ]
fileList Set(2) { 'app.js', 'package.json' }

From app root with base = processCwd = __dirname (equals app root)

npm run files:base-cwd

> [email protected] files:base-cwd
> node nft.js --with-base --with-cwd

args [ '--with-base', '--with-cwd' ]
fileList Set(2) { 'app.js', 'package.json' }

From app root with base = processCwd = __dirname/../../ (equals project root)

npm run files:root-base-cwd

> [email protected] files:root-base-cwd
> node nft.js --with-root-base --with-root-cwd

args [ '--with-root-base', '--with-root-cwd' ]
fileList Set(4) {
  'apps/app1/app.js',
  'apps/app1/package.json',
  'node_modules/intpp-some-nft-demo/package.json',
  'node_modules/intpp-some-nft-demo/index.js'
}

vercel-nft-workspace-demo's People

Contributors

intpp avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.