Skip to content

Commit

Permalink
fix: dist in src
Browse files Browse the repository at this point in the history
this gives workspace semantic-release better control
  • Loading branch information
dvirtz committed Dec 17, 2024
1 parent 2d05675 commit 10a46c4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion plugin-release-config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default {
[
'semantic-release-mirror-version',
{
fileGlob: '{meta.ts,dist/*/*.user.js}',
fileGlob: '{meta.ts,dist/*.user.js}',
placeholderRegExp: '(?<=@version\\s+)\\d+\\.\\d+\\.\\d+(-beta\\.\\d+)?',
},
],
Expand Down
2 changes: 1 addition & 1 deletion release.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default {
[
'@semantic-release/github',
{
assets: ['dist/*/*.user.js'],
assets: ['src/*/dist/*.user.js'],
},
],
],
Expand Down
2 changes: 1 addition & 1 deletion rollup.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export default defineConfig(
external: defineExternal(['@violentmonkey/ui', '@violentmonkey/dom', 'solid-js', 'solid-js/web']),
output: {
format: 'iife',
file: `dist/${name}/${name}.user.js`,
file: `src/${name}/dist/${name}.user.js`,
globals: {
'solid-js': 'VM.solid',
'solid-js/web': 'VM.solid.web',
Expand Down

0 comments on commit 10a46c4

Please sign in to comment.