Skip to content

Commit

Permalink
test: fix import esm
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidKk committed Feb 8, 2024
1 parent 94de098 commit 3ee51a8
Show file tree
Hide file tree
Showing 30 changed files with 66 additions and 71 deletions.
4 changes: 2 additions & 2 deletions @cli/__template__/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ $ pnpm add @template/cli -D
├─┬ <a is="dumlj-link" data-project="%7B%22name%22:%22@dumlj/seed-cli%22,%22version%22:%222.5.22%22,%22description%22:%22Basic%20cli,%20the%20registrar%20for%20all%20dumlj%20cli.%22,%22isPrivate%22:false,%22location%22:%22@cli/seed-cli%22,%22dependencies%22:%5B%22@dumlj/feature-prepare%22,%22@dumlj/feature-pretty%22,%22@dumlj/feature-updater%22,%22@dumlj/shell-lib%22,%22@dumlj/util-lib%22,%22chalk%22,%22commander%22,%22fs-extra%22,%22lodash%22,%22tslib%22,%22@types/lodash%22,%22@jest/types%22,%22memfs%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%22@dumlj/feature-prepare%22,%22@dumlj/feature-pretty%22,%22@dumlj/feature-updater%22,%22@dumlj/shell-lib%22,%22@dumlj/util-lib%22%5D%7D" href="https://github.com/dumlj/dumlj-build/tree/main/@cli/seed-cli">@dumlj/seed-cli</a>
│ ├─┬─ <a is="dumlj-link" data-project="%7B%22name%22:%22@dumlj/feature-updater%22,%22version%22:%222.5.22%22,%22description%22:%22updater%20for%20packages.%22,%22isPrivate%22:false,%22location%22:%22@feature/feature-updater%22,%22dependencies%22:%5B%22@dumlj/shell-lib%22,%22@dumlj/util-lib%22,%22fs-extra%22,%22semver%22,%22tslib%22,%22@dumlj/mock-lib%22,%22@jest/types%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%22@dumlj/shell-lib%22,%22@dumlj/util-lib%22,%22@dumlj/mock-lib%22%5D%7D" href="https://github.com/dumlj/dumlj-build/tree/main/@feature/feature-updater">@dumlj/feature-updater</a>
│ │ ├─── <a is="dumlj-link" data-project="%7B%22name%22:%22@dumlj/shell-lib%22,%22version%22:%222.5.22%22,%22description%22:%22shell%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:false,%22location%22:%22@lib/shell-lib%22,%22dependencies%22:%5B%22@jest/types%22,%22chokidar%22,%22command-exists%22,%22lodash%22,%22tslib%22,%22ts-jest%22,%22tsd-lite%22%5D,%22workspaceDependencies%22:%5B%5D%7D" href="https://github.com/dumlj/dumlj-build/tree/main/@lib/shell-lib">@dumlj/shell-lib</a>
│ │ ├─── <a is="dumlj-link" data-project="%7B%22name%22:%22@dumlj/util-lib%22,%22version%22:%222.5.22%22,%22description%22:%22util%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:false,%22location%22:%22@lib/util-lib%22,%22dependencies%22:%5B%22fs-extra%22,%22glob%22,%22tslib%22,%22@jest/types%22,%22memfs%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%5D%7D" href="https://github.com/dumlj/dumlj-build/tree/main/@lib/util-lib">@dumlj/util-lib</a>
│ │ ├─── <a is="dumlj-link" data-project="%7B%22name%22:%22@dumlj/util-lib%22,%22version%22:%222.5.22%22,%22description%22:%22util%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:false,%22location%22:%22@lib/util-lib%22,%22dependencies%22:%5B%22fs-extra%22,%22glob%22,%22tslib%22,%22@jest/types%22,%22memfs%22,%22ts-jest%22,%22unified%22%5D,%22workspaceDependencies%22:%5B%5D%7D" href="https://github.com/dumlj/dumlj-build/tree/main/@lib/util-lib">@dumlj/util-lib</a>
│ │ └─── <a is="dumlj-link" data-project="%7B%22name%22:%22@dumlj/mock-lib%22,%22version%22:%222.5.22%22,%22description%22:%22mock%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:true,%22location%22:%22@lib/mock-lib%22,%22dependencies%22:%5B%22memfs%22,%22tslib%22,%22webpack%22,%22@jest/types%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%5D%7D" href="https://github.com/dumlj/dumlj-build/tree/main/@lib/mock-lib">@dumlj/mock-lib</a><sup><small><i>PRIVATE</i></small></sup>
│ ├─── <a is="dumlj-link" data-project="%7B%22name%22:%22@dumlj/feature-prepare%22,%22version%22:%222.5.22%22,%22description%22:%22%E4%BB%A3%E7%A0%81%E6%BA%90%E6%96%87%E4%BB%B6%E9%A2%84%E5%A4%84%E7%90%86%E5%B7%A5%E5%85%B7%22,%22isPrivate%22:false,%22location%22:%22@feature/feature-prepare%22,%22dependencies%22:%5B%22fs-extra%22,%22get-tsconfig%22,%22interpret%22,%22rechoir%22,%22tslib%22,%22@jest/types%22,%22memfs%22,%22ts-jest%22,%22ts-node%22%5D,%22workspaceDependencies%22:%5B%5D%7D" href="https://github.com/dumlj/dumlj-build/tree/main/@feature/feature-prepare">@dumlj/feature-prepare</a>
│ ├─── <a is="dumlj-link" data-project="%7B%22name%22:%22@dumlj/feature-pretty%22,%22version%22:%222.5.22%22,%22description%22:%22%E4%B8%8A%E8%89%B2%E5%B7%A5%E5%85%B7%22,%22isPrivate%22:false,%22location%22:%22@feature/feature-pretty%22,%22dependencies%22:%5B%22chalk%22,%22pretty-error%22,%22tslib%22,%22@jest/types%22,%22@types/chalk%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%5D%7D" href="https://github.com/dumlj/dumlj-build/tree/main/@feature/feature-pretty">@dumlj/feature-pretty</a>
│ ├─── <a is="dumlj-link" data-project="%7B%22name%22:%22@dumlj/shell-lib%22,%22version%22:%222.5.22%22,%22description%22:%22shell%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:false,%22location%22:%22@lib/shell-lib%22,%22dependencies%22:%5B%22@jest/types%22,%22chokidar%22,%22command-exists%22,%22lodash%22,%22tslib%22,%22ts-jest%22,%22tsd-lite%22%5D,%22workspaceDependencies%22:%5B%5D%7D" href="https://github.com/dumlj/dumlj-build/tree/main/@lib/shell-lib">@dumlj/shell-lib</a>
│ └─── <a is="dumlj-link" data-project="%7B%22name%22:%22@dumlj/util-lib%22,%22version%22:%222.5.22%22,%22description%22:%22util%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:false,%22location%22:%22@lib/util-lib%22,%22dependencies%22:%5B%22fs-extra%22,%22glob%22,%22tslib%22,%22@jest/types%22,%22memfs%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%5D%7D" href="https://github.com/dumlj/dumlj-build/tree/main/@lib/util-lib">@dumlj/util-lib</a>
│ └─── <a is="dumlj-link" data-project="%7B%22name%22:%22@dumlj/util-lib%22,%22version%22:%222.5.22%22,%22description%22:%22util%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:false,%22location%22:%22@lib/util-lib%22,%22dependencies%22:%5B%22fs-extra%22,%22glob%22,%22tslib%22,%22@jest/types%22,%22memfs%22,%22ts-jest%22,%22unified%22%5D,%22workspaceDependencies%22:%5B%5D%7D" href="https://github.com/dumlj/dumlj-build/tree/main/@lib/util-lib">@dumlj/util-lib</a>
└── <a is="dumlj-link" data-project="%7B%22name%22:%22@dumlj/feature-pretty%22,%22version%22:%222.5.22%22,%22description%22:%22%E4%B8%8A%E8%89%B2%E5%B7%A5%E5%85%B7%22,%22isPrivate%22:false,%22location%22:%22@feature/feature-pretty%22,%22dependencies%22:%5B%22chalk%22,%22pretty-error%22,%22tslib%22,%22@jest/types%22,%22@types/chalk%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%5D%7D" href="https://github.com/dumlj/dumlj-build/tree/main/@feature/feature-pretty">@dumlj/feature-pretty</a>
</pre>
6 changes: 3 additions & 3 deletions @cli/create-cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@ $ pnpm add @dumlj/create-cli -D
├─┬ <a is="dumlj-link" data-project="%7B%22name%22:%22@dumlj/seed-cli%22,%22version%22:%222.5.22%22,%22description%22:%22Basic%20cli,%20the%20registrar%20for%20all%20dumlj%20cli.%22,%22isPrivate%22:false,%22location%22:%22@cli/seed-cli%22,%22dependencies%22:%5B%22@dumlj/feature-prepare%22,%22@dumlj/feature-pretty%22,%22@dumlj/feature-updater%22,%22@dumlj/shell-lib%22,%22@dumlj/util-lib%22,%22chalk%22,%22commander%22,%22fs-extra%22,%22lodash%22,%22tslib%22,%22@types/lodash%22,%22@jest/types%22,%22memfs%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%22@dumlj/feature-prepare%22,%22@dumlj/feature-pretty%22,%22@dumlj/feature-updater%22,%22@dumlj/shell-lib%22,%22@dumlj/util-lib%22%5D%7D" href="https://github.com/dumlj/dumlj-build/tree/main/@cli/seed-cli">@dumlj/seed-cli</a>
│ ├─┬─ <a is="dumlj-link" data-project="%7B%22name%22:%22@dumlj/feature-updater%22,%22version%22:%222.5.22%22,%22description%22:%22updater%20for%20packages.%22,%22isPrivate%22:false,%22location%22:%22@feature/feature-updater%22,%22dependencies%22:%5B%22@dumlj/shell-lib%22,%22@dumlj/util-lib%22,%22fs-extra%22,%22semver%22,%22tslib%22,%22@dumlj/mock-lib%22,%22@jest/types%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%22@dumlj/shell-lib%22,%22@dumlj/util-lib%22,%22@dumlj/mock-lib%22%5D%7D" href="https://github.com/dumlj/dumlj-build/tree/main/@feature/feature-updater">@dumlj/feature-updater</a>
│ │ ├─── <a is="dumlj-link" data-project="%7B%22name%22:%22@dumlj/shell-lib%22,%22version%22:%222.5.22%22,%22description%22:%22shell%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:false,%22location%22:%22@lib/shell-lib%22,%22dependencies%22:%5B%22@jest/types%22,%22chokidar%22,%22command-exists%22,%22lodash%22,%22tslib%22,%22ts-jest%22,%22tsd-lite%22%5D,%22workspaceDependencies%22:%5B%5D%7D" href="https://github.com/dumlj/dumlj-build/tree/main/@lib/shell-lib">@dumlj/shell-lib</a>
│ │ ├─── <a is="dumlj-link" data-project="%7B%22name%22:%22@dumlj/util-lib%22,%22version%22:%222.5.22%22,%22description%22:%22util%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:false,%22location%22:%22@lib/util-lib%22,%22dependencies%22:%5B%22fs-extra%22,%22glob%22,%22tslib%22,%22@jest/types%22,%22memfs%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%5D%7D" href="https://github.com/dumlj/dumlj-build/tree/main/@lib/util-lib">@dumlj/util-lib</a>
│ │ ├─── <a is="dumlj-link" data-project="%7B%22name%22:%22@dumlj/util-lib%22,%22version%22:%222.5.22%22,%22description%22:%22util%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:false,%22location%22:%22@lib/util-lib%22,%22dependencies%22:%5B%22fs-extra%22,%22glob%22,%22tslib%22,%22@jest/types%22,%22memfs%22,%22ts-jest%22,%22unified%22%5D,%22workspaceDependencies%22:%5B%5D%7D" href="https://github.com/dumlj/dumlj-build/tree/main/@lib/util-lib">@dumlj/util-lib</a>
│ │ └─── <a is="dumlj-link" data-project="%7B%22name%22:%22@dumlj/mock-lib%22,%22version%22:%222.5.22%22,%22description%22:%22mock%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:true,%22location%22:%22@lib/mock-lib%22,%22dependencies%22:%5B%22memfs%22,%22tslib%22,%22webpack%22,%22@jest/types%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%5D%7D" href="https://github.com/dumlj/dumlj-build/tree/main/@lib/mock-lib">@dumlj/mock-lib</a><sup><small><i>PRIVATE</i></small></sup>
│ ├─── <a is="dumlj-link" data-project="%7B%22name%22:%22@dumlj/feature-prepare%22,%22version%22:%222.5.22%22,%22description%22:%22%E4%BB%A3%E7%A0%81%E6%BA%90%E6%96%87%E4%BB%B6%E9%A2%84%E5%A4%84%E7%90%86%E5%B7%A5%E5%85%B7%22,%22isPrivate%22:false,%22location%22:%22@feature/feature-prepare%22,%22dependencies%22:%5B%22fs-extra%22,%22get-tsconfig%22,%22interpret%22,%22rechoir%22,%22tslib%22,%22@jest/types%22,%22memfs%22,%22ts-jest%22,%22ts-node%22%5D,%22workspaceDependencies%22:%5B%5D%7D" href="https://github.com/dumlj/dumlj-build/tree/main/@feature/feature-prepare">@dumlj/feature-prepare</a>
│ ├─── <a is="dumlj-link" data-project="%7B%22name%22:%22@dumlj/feature-pretty%22,%22version%22:%222.5.22%22,%22description%22:%22%E4%B8%8A%E8%89%B2%E5%B7%A5%E5%85%B7%22,%22isPrivate%22:false,%22location%22:%22@feature/feature-pretty%22,%22dependencies%22:%5B%22chalk%22,%22pretty-error%22,%22tslib%22,%22@jest/types%22,%22@types/chalk%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%5D%7D" href="https://github.com/dumlj/dumlj-build/tree/main/@feature/feature-pretty">@dumlj/feature-pretty</a>
│ ├─── <a is="dumlj-link" data-project="%7B%22name%22:%22@dumlj/shell-lib%22,%22version%22:%222.5.22%22,%22description%22:%22shell%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:false,%22location%22:%22@lib/shell-lib%22,%22dependencies%22:%5B%22@jest/types%22,%22chokidar%22,%22command-exists%22,%22lodash%22,%22tslib%22,%22ts-jest%22,%22tsd-lite%22%5D,%22workspaceDependencies%22:%5B%5D%7D" href="https://github.com/dumlj/dumlj-build/tree/main/@lib/shell-lib">@dumlj/shell-lib</a>
│ └─── <a is="dumlj-link" data-project="%7B%22name%22:%22@dumlj/util-lib%22,%22version%22:%222.5.22%22,%22description%22:%22util%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:false,%22location%22:%22@lib/util-lib%22,%22dependencies%22:%5B%22fs-extra%22,%22glob%22,%22tslib%22,%22@jest/types%22,%22memfs%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%5D%7D" href="https://github.com/dumlj/dumlj-build/tree/main/@lib/util-lib">@dumlj/util-lib</a>
│ └─── <a is="dumlj-link" data-project="%7B%22name%22:%22@dumlj/util-lib%22,%22version%22:%222.5.22%22,%22description%22:%22util%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:false,%22location%22:%22@lib/util-lib%22,%22dependencies%22:%5B%22fs-extra%22,%22glob%22,%22tslib%22,%22@jest/types%22,%22memfs%22,%22ts-jest%22,%22unified%22%5D,%22workspaceDependencies%22:%5B%5D%7D" href="https://github.com/dumlj/dumlj-build/tree/main/@lib/util-lib">@dumlj/util-lib</a>
├── <a is="dumlj-link" data-project="%7B%22name%22:%22@dumlj/feature-cliui%22,%22version%22:%222.5.22%22,%22description%22:%22%7B%7Bdescription%7D%7D%22,%22isPrivate%22:false,%22location%22:%22@feature/feature-cliui%22,%22dependencies%22:%5B%22chalk%22,%22tslib%22,%22@jest/types%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%5D%7D" href="https://github.com/dumlj/dumlj-build/tree/main/@feature/feature-cliui">@dumlj/feature-cliui</a>
├── <a is="dumlj-link" data-project="%7B%22name%22:%22@dumlj/feature-prepare%22,%22version%22:%222.5.22%22,%22description%22:%22%E4%BB%A3%E7%A0%81%E6%BA%90%E6%96%87%E4%BB%B6%E9%A2%84%E5%A4%84%E7%90%86%E5%B7%A5%E5%85%B7%22,%22isPrivate%22:false,%22location%22:%22@feature/feature-prepare%22,%22dependencies%22:%5B%22fs-extra%22,%22get-tsconfig%22,%22interpret%22,%22rechoir%22,%22tslib%22,%22@jest/types%22,%22memfs%22,%22ts-jest%22,%22ts-node%22%5D,%22workspaceDependencies%22:%5B%5D%7D" href="https://github.com/dumlj/dumlj-build/tree/main/@feature/feature-prepare">@dumlj/feature-prepare</a>
├── <a is="dumlj-link" data-project="%7B%22name%22:%22@dumlj/feature-pretty%22,%22version%22:%222.5.22%22,%22description%22:%22%E4%B8%8A%E8%89%B2%E5%B7%A5%E5%85%B7%22,%22isPrivate%22:false,%22location%22:%22@feature/feature-pretty%22,%22dependencies%22:%5B%22chalk%22,%22pretty-error%22,%22tslib%22,%22@jest/types%22,%22@types/chalk%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%5D%7D" href="https://github.com/dumlj/dumlj-build/tree/main/@feature/feature-pretty">@dumlj/feature-pretty</a>
├── <a is="dumlj-link" data-project="%7B%22name%22:%22@dumlj/shell-lib%22,%22version%22:%222.5.22%22,%22description%22:%22shell%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:false,%22location%22:%22@lib/shell-lib%22,%22dependencies%22:%5B%22@jest/types%22,%22chokidar%22,%22command-exists%22,%22lodash%22,%22tslib%22,%22ts-jest%22,%22tsd-lite%22%5D,%22workspaceDependencies%22:%5B%5D%7D" href="https://github.com/dumlj/dumlj-build/tree/main/@lib/shell-lib">@dumlj/shell-lib</a>
└── <a is="dumlj-link" data-project="%7B%22name%22:%22@dumlj/util-lib%22,%22version%22:%222.5.22%22,%22description%22:%22util%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:false,%22location%22:%22@lib/util-lib%22,%22dependencies%22:%5B%22fs-extra%22,%22glob%22,%22tslib%22,%22@jest/types%22,%22memfs%22,%22ts-jest%22%5D,%22workspaceDependencies%22:%5B%5D%7D" href="https://github.com/dumlj/dumlj-build/tree/main/@lib/util-lib">@dumlj/util-lib</a>
└── <a is="dumlj-link" data-project="%7B%22name%22:%22@dumlj/util-lib%22,%22version%22:%222.5.22%22,%22description%22:%22util%20%E5%B7%A5%E5%85%B7%E5%BA%93%22,%22isPrivate%22:false,%22location%22:%22@lib/util-lib%22,%22dependencies%22:%5B%22fs-extra%22,%22glob%22,%22tslib%22,%22@jest/types%22,%22memfs%22,%22ts-jest%22,%22unified%22%5D,%22workspaceDependencies%22:%5B%5D%7D" href="https://github.com/dumlj/dumlj-build/tree/main/@lib/util-lib">@dumlj/util-lib</a>
</pre>
Loading

0 comments on commit 3ee51a8

Please sign in to comment.