Skip to content

Commit

Permalink
feat: creates new playground with next.js (#929)
Browse files Browse the repository at this point in the history
Co-authored-by: Lukasz Gornicki <[email protected]>
  • Loading branch information
kennethaasan and derberg authored Mar 14, 2024
1 parent 05fd304 commit 00cee65
Show file tree
Hide file tree
Showing 91 changed files with 23,863 additions and 89,029 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/release-wc-and-playground.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ jobs:
working-directory: ./web-component
- name: Install dependencies
run: npm install
- name: Bundle
run: npm run bundle
working-directory: ./web-component
- name: Bump version in package.json
# There is no need to substract "v" from the tag as version script handles it
# When adding "bump:version" script in package.json, make sure no tags are added by default (--no-git-tag-version) as they are already added by release workflow
Expand Down Expand Up @@ -86,6 +89,6 @@ jobs:
with:
token: ${{ secrets.GH_TOKEN }}
branch: gh-pages
folder: playground/build
folder: playground/out
git-config-name: asyncapi-bot
git-config-email: [email protected]
git-config-email: [email protected]
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,5 @@ npm-debug.log*
lerna-debug.log*
/**/*.tgz
/.github

playground/.next/
4 changes: 2 additions & 2 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"lerna": "3.15.0",
"version": "0.2.0",
"npmClient": "npm",
"packages": ["library", "playground", "web-component"],
"command": {
"publish": {
"message": "Bump version to %s"
}
}
},
"$schema": "node_modules/lerna/schemas/lerna-schema.json"
}
4 changes: 2 additions & 2 deletions library/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ module.exports = {
},
moduleNameMapper: {
'^nimma/legacy$':
'<rootDir>/../node_modules/nimma/dist/legacy/cjs/index.js',
'^nimma/(.*)': '<rootDir>/../node_modules/nimma/dist/cjs/$1',
'<rootDir>/../../node_modules/nimma/dist/legacy/cjs/index.js',
'^nimma/(.*)': '<rootDir>/../../node_modules/nimma/dist/cjs/$1',
},
};
Loading

0 comments on commit 00cee65

Please sign in to comment.