Skip to content

Commit 83079f5

Browse files
committed
chore: addressing feedback
1 parent e7fa704 commit 83079f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

projects/templates/plopfile.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ module.exports = function (plop) {
4343
execSync(
4444
`cd ../../ && yarn workspace @spectrum-web-components/${answers.name} add @spectrum-web-components/base@${currentVersion ?? 'latest'}`
4545
);
46-
// Add the new package to bundle with a fixed version
46+
// Add the new package to bundle with a fixed version. Setting it to currentVersion since our release process enforces matching versions and the component will never start with a version of 0.0.0.
4747
execSync(
48-
`cd ../../ && yarn workspace @spectrum-web-components/bundle add @spectrum-web-components/${answers.name}@0.0.1`
48+
`cd ../../ && yarn workspace @spectrum-web-components/bundle add @spectrum-web-components/${answers.name}@${currentVersion ?? '0.0.0'}`
4949
);
5050
} catch (error) {
5151
// Silently fail, dependencies will need to be added manually

0 commit comments

Comments
 (0)