Package detail

ws-pkg-list

bluelovers221ISC3.0.2

get Yarn Workspaces Packages List and can help create paths for tsconfig.json

monorepos, package.json, packages, paths

readme

ws-pkg-list

get Yarn Workspaces Packages List and can help create paths for tsconfig.json

demo

console.log(workspacesPackagesList(process.cwd(), true));
/*
[ '[abs path]/packages/create-yarn-workspaces',
  '[abs path]/packages/find-pkg-ws',
  '[abs path]/packages/npm-init2',
  '[abs path]/packages/workspaces-config',
  '[abs path]/packages/ws-pkg-list' ]
 */
console.log(readPackages(workspacesPackagesList(process.cwd(), false)));
/*
{ 'create-yarn-workspaces':
   { name: 'create-yarn-workspaces',
     path: '..\\create-yarn-workspaces',
     fullpath:
      '[abs path]\\packages\\create-yarn-workspaces',
     config:
      { name: 'create-yarn-workspaces',
        version: '1.0.7',
        description: 'yarn create yarn-workspaces     npx create-yarn-workspaces',
        keywords: [Array],
        homepage:
         'https://github.com/bluelovers/create-yarn-workspaces#readme',
        bugs: [Object],
        repository: [Object],
        license: 'ISC',
        author: '',
        main: 'index.js',
        bin: [Object],
        directories: [Object],
        scripts: [Object],
        dependencies: [Object],
        devDependencies: {} } },

  ...

  'ws-pkg-list':
   { name: 'ws-pkg-list',
     path: '.',
     fullpath:
      '[abs path]\\packages\\ws-pkg-list',
     config:
      { name: 'ws-pkg-list',
        version: '1.0.0',
        description: 'get Workspaces Packages List',
        main: 'index.js',
        scripts: [Object],
        author: '',
        license: 'ISC',
        dependencies: [Object] } } }
 */
console.log(tsConfigPaths(workspacesPackagesList(true)));
/*
{ 'create-yarn-workspaces/*':
   [ '[abs path]\\packages\\create-yarn-workspaces\\*' ],
  'find-pkg-ws/*':
   [ '[abs path]\\packages\\find-pkg-ws\\*' ],
  'npm-init2/*':
   [ '[abs path]\\packages\\npm-init2\\*' ],
  'workspaces-config/*':
   [ '[abs path]\\packages\\workspaces-config\\*' ],
  'ws-pkg-list/*':
   [ '[abs path]\\packages\\ws-pkg-list\\*' ] }
 */
console.log(tsConfigPaths(workspacesPackagesList(false)));
console.log(tsConfigPaths(process.cwd()));
/*
{ 'create-yarn-workspaces/*':
   [ '..\\create-yarn-workspaces\\*',
     '[abs path]\\packages\\create-yarn-workspaces\\*' ],
  'find-pkg-ws/*':
   [ '..\\find-pkg-ws\\*',
     '[abs path]\\packages\\find-pkg-ws\\*' ],
  'npm-init2/*':
   [ '..\\npm-init2\\*',
     '[abs path]\\packages\\npm-init2\\*' ],
  'workspaces-config/*':
   [ '..\\workspaces-config\\*',
     '[abs path]\\packages\\workspaces-config\\*' ] }
 */

changelog

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

3.0.2 (2024-05-03)

🛠 Build System

📌 Dependencies

3.0.1 (2024-02-28)

📌 Dependencies

3.0.0 (2023-10-10)

📌 Dependencies

2.0.14 (2022-12-09)

📌 Dependencies

2.0.13 (2022-11-14)

📌 Dependencies

2.0.12 (2022-10-28)

📌 Dependencies

🔖 Miscellaneous

2.0.11 (2022-10-01)

🔖 Miscellaneous

2.0.10 (2022-09-29)

🔖 Miscellaneous

2.0.9 (2022-09-28)

📌 Dependencies

2.0.8 (2022-09-27)

🔖 Miscellaneous

2.0.7 (2022-09-27)

📌 Dependencies

2.0.6 (2022-09-06)

📚 Documentation

🔖 Miscellaneous

2.0.5 (2022-08-26)

🔖 Miscellaneous

2.0.4 (2022-08-13)

Note: Version bump only for package ws-pkg-list

2.0.3 (2022-08-13)

🚨 Tests

  • update jest.config.js and deps (d1d501b)

🛠 Build System

📌 Dependencies

2.0.2 (2022-07-31)

🚨 Tests

  • preset: use @bluelovers/jest-config (e239ecf)

2.0.1 (2022-07-29)

Note: Version bump only for package ws-pkg-list

2.0.0 (2022-07-07)

♻️ Dependencies

1.0.83 (2022-06-28)

🔖 Miscellaneous

1.0.82 (2022-06-28)

🔖 Miscellaneous

1.0.81 (2022-06-28)

🔖 Miscellaneous

1.0.80 (2022-06-28)

Note: Version bump only for package ws-pkg-list

1.0.79 (2022-05-11)

♻️ Chores

1.0.78 (2022-03-29)

♻️ Chores

1.0.77 (2022-03-14)

Note: Version bump only for package ws-pkg-list

1.0.76 (2022-02-27)

♻️ Chores

1.0.75 (2022-02-27)

♻️ Chores

1.0.74 (2022-01-13)

♻️ Chores

1.0.73 (2021-12-31)

📦 Code Refactoring

1.0.72 (2021-12-29)

Note: Version bump only for package ws-pkg-list

1.0.71 (2021-12-26)

Note: Version bump only for package ws-pkg-list

1.0.70 (2021-12-16)

🔖 Miscellaneous

1.0.69 (2021-12-06)

♻️ Chores

1.0.68 (2021-11-28)

♻️ Chores

1.0.67 (2021-11-23)

♻️ Chores

1.0.66 (2021-10-13)

🐛 Bug Fixes

  • type: wsPkgListableFromPaths (36e0e44)

1.0.65 (2021-09-15)

♻️ Chores

1.0.64 (2021-08-29)

📦 Code Refactoring

  • use named import for avoid use tslib (ccfb039)

1.0.63 (2021-08-20)

♻️ Chores

1.0.62 (2021-08-13)

♻️ Chores

1.0.61 (2021-07-24)

Note: Version bump only for package ws-pkg-list

1.0.60 (2021-07-23)

Note: Version bump only for package ws-pkg-list

1.0.59 (2021-07-23)

✨ Features

♻️ Chores

1.0.58 (2021-07-16)

✨ Features

🔖 Miscellaneous

1.0.57 (2021-07-16)

✨ Features

1.0.56 (2021-07-11)

🛠 Build System

♻️ Chores

🔖 Miscellaneous

1.0.55 (2021-07-11)

🛠 Build System

♻️ Chores

1.0.54 (2021-06-21)

♻️ Chores

1.0.53 (2021-06-02)

♻️ Chores

1.0.52 (2021-05-17)

♻️ Chores

1.0.51 (2021-02-12)

♻️ Chores

1.0.50 (2021-02-08)

♻️ Chores

1.0.49 (2020-12-10)

Note: Version bump only for package ws-pkg-list

1.0.48 (2020-09-04)

♻️ Chores

1.0.47 (2020-08-09)

♻️ Chores

1.0.46 (2020-07-31)

♻️ Chores

1.0.45 (2020-07-28)

♻️ Chores

1.0.44 (2020-07-27)

♻️ Chores

1.0.43 (2020-07-26)

♻️ Chores

1.0.42 (2020-07-24)

♻️ Chores

1.0.41 (2020-07-19)

🔖 Miscellaneous

1.0.40 (2020-07-19)

🔖 Miscellaneous

1.0.39 (2020-07-19)

🔖 Miscellaneous

1.0.38 (2020-07-19)

Note: Version bump only for package ws-pkg-list

1.0.37 (2020-07-18)

♻️ Chores

1.0.36 (2020-07-12)

🛠 Build System

1.0.35 (2020-07-12)

♻️ Chores

1.0.34 (2020-07-05)

♻️ Chores

1.0.33 (2020-07-03)

♻️ Chores

1.0.32 (2020-06-27)

♻️ Chores

1.0.31 (2020-06-23)

Note: Version bump only for package ws-pkg-list

1.0.30 (2020-06-20)

♻️ Chores

1.0.29 (2020-06-19)

🔖 Miscellaneous

1.0.28 (2020-06-19)

♻️ Chores

1.0.27 (2020-06-16)

Note: Version bump only for package ws-pkg-list

1.0.26 (2020-06-15)

✨ Features

  • update data type for @yarn-tool/changelog (5bdcfd2)
  • add return manifestLocation (331d224)

1.0.25 (2020-06-13)

Features

1.0.24 (2020-06-13)

Features

  • wsPkgDepsListableRecord (2cc277a)

1.0.23 (2020-06-13)

Features

1.0.22 (2020-06-11)

Note: Version bump only for package ws-pkg-list

1.0.21 (2020-06-11)

Bug Fixes

  • update @ts-type/package-dts (b44d2aa)

1.0.20 (2020-06-11)

Note: Version bump only for package ws-pkg-list

1.0.19 (2020-06-11)

Features

1.0.18 (2020-06-09)

Note: Version bump only for package ws-pkg-list

1.0.17 (2020-06-09)

Note: Version bump only for package ws-pkg-list

1.0.16 (2020-06-08)

Features

1.0.15 (2020-06-06)

Note: Version bump only for package ws-pkg-list

1.0.14 (2020-06-06)

Note: Version bump only for package ws-pkg-list

1.0.13 (2020-06-04)

Features

  • add wsPkgListable = lerna list --json (c9a0952)

1.0.12 (2020-05-23)

Note: Version bump only for package ws-pkg-list

1.0.11 (2020-05-10)

Note: Version bump only for package ws-pkg-list