Skip to content

Commit

Permalink
Prevent components publishing without dist (#463)
Browse files Browse the repository at this point in the history
* chore: add prepublishOnly to prevent publishing without dist
  • Loading branch information
nicolaskempf57 authored Jul 29, 2024
1 parent 7609fe6 commit 92b56bb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion udata_front/theme/gouvfr/datagouv-components/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Current (in progress)

- Nothing yet
- Prevent publishing NPM version without dist [#463](https://github.com/datagouv/udata-front/pull/463)

## 1.1.0 (2024-07-29)

Expand Down
1 change: 1 addition & 0 deletions udata_front/theme/gouvfr/datagouv-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"preview": "vite preview",
"i18n:report": "vue-i18n-extract report --vueFiles './src/**/*.?(ts|js|vue)' --languageFiles './src/locales/*.json' --separator '^'",
"i18n:extract": "npm run i18n:report -- --add",
"prepublishOnly": "npm run build",
"preversion": "npm run build && npm run i18n:report && npm run build-storybook",
"update-version": "npm version --no-git-tag-version",
"commit-version": "git add --all && git commit -m \"Bump version @datagouv/components@$npm_package_version\"",
Expand Down

0 comments on commit 92b56bb

Please sign in to comment.