Skip to content

Commit

Permalink
Feature/oppdater komponenter (#3519)
Browse files Browse the repository at this point in the history
* Update and publish libs
* Endret litt på publish script for å unngå at den har samme versjon som forrige publish
  • Loading branch information
stigus authored Jun 19, 2024
1 parent daad535 commit e1d0543
Show file tree
Hide file tree
Showing 9 changed files with 4,298 additions and 2,247 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/common.workflow.libs.frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
if: |
(github.ref == 'refs/heads/master' || contains(github.event.head_commit.message, '#publish-libs')) &&
(!contains(github.event.head_commit.message, '[skip ci]'))
run: npm publish
run: npm version patch && npm publish
working-directory: ${{ inputs.working-directory }}
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
840 changes: 497 additions & 343 deletions navikt/dolly-assets/package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion navikt/dolly-assets/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@navikt/dolly-assets",
"version": "1.2.17",
"version": "1.2.18",
"description": "Dolly assets",
"main": "lib/index.js",
"scripts": {
Expand Down
5,673 changes: 3,784 additions & 1,889 deletions navikt/dolly-komponenter/package-lock.json

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions navikt/dolly-komponenter/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@navikt/dolly-komponenter",
"version": "1.4.1",
"version": "1.4.2",
"description": "Bibliotek for diverse dolly komponenter.",
"main": "dist/cjs/index.js",
"type": "module",
Expand Down Expand Up @@ -36,15 +36,15 @@
"less-plugin-npm-import": "^2.1.0",
"lodash": "^4.17.21",
"prop-types": "^15.8.1",
"react-datepicker": "^6.1.0",
"react-datepicker": "^7.0.0",
"react-day-picker": "^8.6.0",
"react-popper": "^2.3.0",
"react-select": "^5.7.0",
"rollup-plugin-import-css": "^3.3.4",
"styled-components": "^6.0.8"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^25.0.5",
"@rollup/plugin-commonjs": "^26.0.1",
"@rollup/plugin-image": "^3.0.2",
"@rollup/plugin-node-resolve": "^15.2.2",
"@rollup/plugin-terser": "^0.4.4",
Expand All @@ -59,7 +59,7 @@
"@storybook/testing-library": "^0.2.2",
"@types/eslint": "^8.4.5",
"@types/react": "^18.0.17",
"@types/react-datepicker": "^6.0.1",
"@types/react-datepicker": "^6.2.0",
"@types/react-dom": "^18.0.6",
"@vitejs/plugin-react": "^4.2.1",
"css-loader": "^7.1.1",
Expand All @@ -74,7 +74,7 @@
"rollup-plugin-svg": "^2.0.0",
"storybook": "^8.0.5",
"typescript": "^5.1.5",
"vite": "^5.0.12"
"vite": "^5.3.1"
},
"repository": "https://github.com/navikt/testnorge.git",
"prettier": {
Expand Down
2 changes: 1 addition & 1 deletion navikt/dolly-komponenter/src/timepicker/TimePicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type Props = {
name?: string;
value: Date;
placeholder?: string;
onChange: (value: Date) => void;
onChange: (value: Date[] | null) => void;
onBlur?: () => void;
disabled?: boolean;
excludeDates?: Date[];
Expand Down
2 changes: 1 addition & 1 deletion navikt/dolly-komponenter/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"compilerOptions": {
"esModuleInterop": true,
"strict": true,
"strict": false,
"skipLibCheck": true,
"jsx": "react",
"module": "ESNext",
Expand Down
12 changes: 7 additions & 5 deletions navikt/dolly-lib/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion navikt/dolly-lib/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@navikt/dolly-lib",
"version": "1.2.24",
"version": "1.2.25",
"description": "Bibliotek for diverse dolly funksjoner.",
"main": "lib/index.js",
"scripts": {
Expand Down

0 comments on commit e1d0543

Please sign in to comment.