Skip to content

Commit

Permalink
fix: fix publishing to npm
Browse files Browse the repository at this point in the history
  • Loading branch information
kabaros committed Aug 8, 2024
1 parent 46cdd79 commit 408595a
Show file tree
Hide file tree
Showing 5 changed files with 2,799 additions and 7,537 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/dhis2-verify-lib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- uses: c-hive/gha-yarn-cache@v1
- run: |
yarn install --frozen-lockfile
NODE_OPTIONS=--openssl-legacy-provider yarn setup
yarn setup
- name: Build
run: yarn build
Expand Down Expand Up @@ -172,10 +172,9 @@ jobs:
- uses: actions/checkout@v2
with:
token: ${{ env.GH_TOKEN }}
- uses: actions/setup-node@v3
- uses: actions/setup-node@v1
with:
node-version: 20.x
cache: 'yarn'

- uses: actions/download-artifact@v2
with:
Expand All @@ -184,6 +183,7 @@ jobs:
- run: ./scripts/extract-artifact.sh

# ensure that d2-app-scripts is available
- uses: c-hive/gha-yarn-cache@v1
- run: yarn install --frozen-lockfile

- uses: dhis2/action-semantic-release@master
Expand Down
1 change: 0 additions & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
"file-loader": "^6.2.0",
"prism-react-renderer": "^1.2.1",
"prop-types": "^15.7.2",
"react-docgen-props-table": "^1.0.3",
"url-loader": "^4.1.1"
},
"peerDependencies": {
Expand Down
9 changes: 7 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"@badeball/cypress-cucumber-preprocessor": "^20.0.2",
"@cypress/webpack-preprocessor": "^6.0.1",
"@dhis2/app-runtime": "^3.9.0",
"@dhis2/cli-app-scripts": "^8.0.0",
"@dhis2/cli-app-scripts": "^11.7.0",
"@dhis2/cli-style": "10.4.2",
"@dhis2/cli-utils-docsite": "^3.1.2",
"@dhis2/cypress-commands": "^10.0.5",
Expand All @@ -82,6 +82,11 @@
"wait-on": "^6.0.0"
},
"resolutions": {
"react": "16.13.1"
"react": "16.13",
"react-dom": "16.13"
},
"overrides": {
"react": "$react",
"react-dom": "$react"
}
}
3 changes: 2 additions & 1 deletion storybook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"build": "EXTEND_ESLINT=true storybook build -c config -o ../dist/demo"
},
"peerDependencies": {
"styled-jsx": "^4"
"styled-jsx": "^4",
"typescript": "^4"
},
"dependencies": {
"@babel/plugin-proposal-class-properties": "^7.13.0",
Expand Down
Loading

0 comments on commit 408595a

Please sign in to comment.