Skip to content

Commit

Permalink
fix: development server not detecting local changes (#1006)
Browse files Browse the repository at this point in the history
Co-authored-by: Duc Tai Ly <[email protected]>%0ACo-authored-by: Lukasz Gornicki <[email protected]>
  • Loading branch information
ductaily and derberg committed Jun 11, 2024
1 parent 29bc704 commit de1f6f0
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 56 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/release-wc-and-playground.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,6 @@ jobs:
node-version: "${{ steps.lockversion.outputs.version }}"
cache: 'npm'
cache-dependency-path: '**/package-lock.json'
- name: Use latest version of react component in the playground
run: VERSION=${{github.event.release.tag_name}} npm run install:reactcomp
working-directory: ./playground
- name: Install dependencies
run: npm install
- name: Build
Expand Down
34 changes: 1 addition & 33 deletions package-lock.json

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

4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,9 @@
"prepublishOnly": "npm run build",
"gen-readme-toc": "markdown-toc -i README.md",
"generate:assets": "npm run gen-readme-toc",
"bump:playground:version": "cd playground && npm --no-git-tag-version --allow-same-version version $VERSION",
"bump:webcomp:version": "cd web-component && npm --no-git-tag-version --allow-same-version version $VERSION",
"bump:lib:version": "cd library && npm --no-git-tag-version --allow-same-version version $VERSION",
"bump:version": "npm run bump:lib:version && npm run bump:webcomp:version && npm run bump:playground:version && npm run install:reactcomp:webcomponent && npm run install:reactcomp:playground",
"install:reactcomp:playground": "cd playground && npm run install:reactcomp",
"bump:version": "npm run bump:lib:version && npm run bump:webcomp:version && npm run install:reactcomp:webcomponent",
"install:reactcomp:webcomponent": "cd web-component && npm run install:reactcomp",
"get:name": "cd library && npm run get:name",
"get:version": "cd library && npm run get:version"
Expand Down
13 changes: 0 additions & 13 deletions playground/bump-react-comp.sh

This file was deleted.

6 changes: 2 additions & 4 deletions playground/package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
{
"name": "playground",
"version": "2.0.0",
"private": true,
"scripts": {
"build": "next build && touch out/.nojekyll",
"start": "next dev",
"install:reactcomp": "chmod +x ./bump-react-comp.sh && ./bump-react-comp.sh"
"start": "next dev"
},
"dependencies": {
"@asyncapi/react-component": "^1.4.10",
"@asyncapi/react-component": "file:../library",
"@codemirror/lang-yaml": "^6.0.0",
"@uiw/codemirror-theme-material": "^4.21.24",
"@uiw/react-codemirror": "^4.21.24",
Expand Down

0 comments on commit de1f6f0

Please sign in to comment.