Skip to content

Commit

Permalink
chore: move examples to packages folder
Browse files Browse the repository at this point in the history
also move component tsx to docs
  • Loading branch information
wojtek-krysiak committed Oct 28, 2020
1 parent d10e7e6 commit 21e7df6
Show file tree
Hide file tree
Showing 117 changed files with 24 additions and 26 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -218,38 +218,38 @@ jobs:
with:
# just perform install
runTests: false
working-directory: example-app
working-directory: packages/admin-bro-e2e
- run: yarn link admin-bro
working-directory: example-app
working-directory: packages/admin-bro-e2e
- run: yarn run sequelize db:create
working-directory: example-app
working-directory: packages/admin-bro-e2e
env:
POSTGRES_PASSWORD: postgres
POSTGRES_USER: postgres
POSTGRES_DATABASE: adminbro_e2e_development
- run: yarn run sequelize db:migrate
working-directory: example-app
working-directory: packages/admin-bro-e2e
env:
POSTGRES_PASSWORD: postgres
POSTGRES_USER: postgres
POSTGRES_DATABASE: adminbro_e2e_development
- run: node bin/setup-db.js
working-directory: example-app
working-directory: packages/admin-bro-e2e
- uses: cypress-io/github-action@v1
with:
install: false
working-directory: example-app
working-directory: packages/admin-bro-e2e
start: yarn start
- uses: actions/upload-artifact@v1
if: failure()
with:
name: cypress-screenshots
path: example-app/cypress/screenshots
path: packages/admin-bro-e2e/cypress/screenshots
- uses: actions/upload-artifact@v1
if: always()
with:
name: cypress-videos
path: example-app/cypress/videos
path: packages/admin-bro-e2e/cypress/videos

publish:
name: Publish
Expand Down
14 changes: 6 additions & 8 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,12 @@ src/frontend/assets/scripts

.adminbro

# example app 1
example-app/cypress/videos
example-app/cypress/screenshots

# example app 2
app/cypress/videos
app/cypress/screenshots
app/build
# cypress output
**/*/cypress/videos
**/*/cypress/screenshots

/packages/app/build

.env
firebase.env.json
yarn-error.log
4 changes: 1 addition & 3 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,4 @@ docker-compose.ovverride.yml
node_modules

docs
/docs-helpers
/example-app
/app
/packages
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 3 additions & 1 deletion app/.gitignore → packages/admin-bro-demo/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,6 @@ node_modules/
# dotenv environment variables file
.env

public
public

build
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion app/package.json → packages/admin-bro-demo/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "app",
"name": "admin-bro-demo",
"version": "1.0.0",
"main": "build/src/firebase.js",
"license": "MIT",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"sequelize-cli": "^6.2.0"
},
"dependencies": {
"admin-bro": "3.3.0-beta.28",
"admin-bro": "3.3.0-beta.33",
"@admin-bro/design-system": "1.7.0-beta.21",
"@admin-bro/express": "3.0.1",
"@admin-bro/mongoose": "1.1.0-beta.2",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
8 changes: 4 additions & 4 deletions example-app/yarn.lock → packages/admin-bro-e2e/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1456,10 +1456,10 @@ accepts@~1.3.7:
mime-types "~2.1.24"
negotiator "0.6.2"

[email protected].28:
version "3.3.0-beta.28"
resolved "https://registry.yarnpkg.com/admin-bro/-/admin-bro-3.3.0-beta.28.tgz#a7833f9ed236573afefed488b449cdbe5952bd1f"
integrity sha512-dqLwlb7JppbvzqtdkjLSp4+7JjNarQgUIFUkgCQvQHDtTnwHZzoYOHV5JZITrj7Cp3MF3/1h6/fYweYRLpe80w==
[email protected].33:
version "3.3.0-beta.33"
resolved "https://registry.yarnpkg.com/admin-bro/-/admin-bro-3.3.0-beta.33.tgz#bb6b96838c82407831996a8493b1f8bb919aa4a2"
integrity sha512-m7xKwQ8/OJnJGrQJI3rpuinj3QHWFJTG1TGJjeQKl/Rm9DsAAXhoyOy8KY6cpFSXMF8unaNfaswzs9Yitr2onQ==
dependencies:
"@admin-bro/design-system" "^1.7.0-beta.21"
"@babel/core" "^7.10.2"
Expand Down

0 comments on commit 21e7df6

Please sign in to comment.