Skip to content

Commit

Permalink
add test case
Browse files Browse the repository at this point in the history
  • Loading branch information
thescientist13 committed Jan 18, 2025
1 parent 442f19a commit 9f161ad
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 3 deletions.
3 changes: 2 additions & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@
"redux-thunk": "^3.1.0",
"rehype-autolink-headings": "^4.0.0",
"rehype-slug": "^3.0.0",
"simpledotcss": "^1.0.0"
"simpledotcss": "^1.0.0",
"tslib": "^2.8.1"
}
}
1 change: 1 addition & 0 deletions packages/cli/src/lib/walker-package-ranger.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ function derivePackageRoot(resolved) {
}

// make sure we are trimming from the end
// https://github.com/ProjectEvergreen/greenwood/issues/1386
root = root.substring(0, root.lastIndexOf(segment));
}

Expand Down
15 changes: 14 additions & 1 deletion packages/cli/test/cases/develop.default/import-map.snapshot.json
Original file line number Diff line number Diff line change
Expand Up @@ -4151,5 +4151,18 @@
"immutable": "/~/Users/owenbuckley/Workspace/project-evergreen/greenwood/node_modules/immutable/dist/immutable.es.js",
"source-map-js": "/~/Users/owenbuckley/Workspace/project-evergreen/greenwood/node_modules/source-map-js/source-map.js",
"luxon": "/~/Users/owenbuckley/Workspace/project-evergreen/greenwood/node_modules/luxon/src/luxon.js",
"luxon/package.json": "/~/Users/owenbuckley/Workspace/project-evergreen/greenwood/node_modules/luxon/package.json"
"luxon/package.json": "/~/Users/owenbuckley/Workspace/project-evergreen/greenwood/node_modules/luxon/package.json",
"tslib": "/~/Users/owenbuckley/Workspace/project-evergreen/greenwood/packages/cli/node_modules/tslib/[object Object]",
"tslib/CopyrightNotice.txt": "/~/Users/owenbuckley/Workspace/project-evergreen/greenwood/packages/cli/node_modules/tslib/CopyrightNotice.txt",
"tslib/LICENSE.txt": "/~/Users/owenbuckley/Workspace/project-evergreen/greenwood/packages/cli/node_modules/tslib/LICENSE.txt",
"tslib/README.md": "/~/Users/owenbuckley/Workspace/project-evergreen/greenwood/packages/cli/node_modules/tslib/README.md",
"tslib/SECURITY.md": "/~/Users/owenbuckley/Workspace/project-evergreen/greenwood/packages/cli/node_modules/tslib/SECURITY.md",
"tslib/package.json": "/~/Users/owenbuckley/Workspace/project-evergreen/greenwood/packages/cli/node_modules/tslib/package.json",
"tslib/tslib.d.ts": "/~/Users/owenbuckley/Workspace/project-evergreen/greenwood/packages/cli/node_modules/tslib/tslib.d.ts",
"tslib/tslib.es6.html": "/~/Users/owenbuckley/Workspace/project-evergreen/greenwood/packages/cli/node_modules/tslib/tslib.es6.html",
"tslib/tslib.es6.js": "/~/Users/owenbuckley/Workspace/project-evergreen/greenwood/packages/cli/node_modules/tslib/tslib.es6.js",
"tslib/tslib.es6.mjs": "/~/Users/owenbuckley/Workspace/project-evergreen/greenwood/packages/cli/node_modules/tslib/tslib.es6.mjs",
"tslib/tslib.html": "/~/Users/owenbuckley/Workspace/project-evergreen/greenwood/packages/cli/node_modules/tslib/tslib.html",
"tslib/tslib.js": "/~/Users/owenbuckley/Workspace/project-evergreen/greenwood/packages/cli/node_modules/tslib/tslib.js",
"tslib/": "/~/Users/owenbuckley/Workspace/project-evergreen/greenwood/packages/cli/node_modules/tslib/"
}
3 changes: 2 additions & 1 deletion packages/cli/test/cases/develop.default/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"@spectrum-web-components/action-menu": "^1.0.1",
"@uswds/web-components": "^0.0.1-alpha",
"lit": "^3.1.0",
"luxon": "^3.5.0"
"luxon": "^3.5.0",
"tslib": "^2.8.1"
}
}
5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -17048,6 +17048,11 @@ tslib@^2.3.0:
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.5.2.tgz#1b6f07185c881557b0ffa84b111a0106989e8338"
integrity sha512-5svOrSA2w3iGFDs1HibEVBGbDrAY82bFQ3HZ3ixB+88nsbsWQoKqDRb5UBYAUPEzbBn6dAp5gRNXglySbx1MlA==

tslib@^2.8.1:
version "2.8.1"
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.8.1.tgz#612efe4ed235d567e8aba5f2a5fab70280ade83f"
integrity sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==

[email protected]:
version "1.0.6"
resolved "https://registry.yarnpkg.com/tsscmp/-/tsscmp-1.0.6.tgz#85b99583ac3589ec4bfef825b5000aa911d605eb"
Expand Down

0 comments on commit 9f161ad

Please sign in to comment.