Coder Social home page Coder Social logo

pocket-dragon / pocket-dragon.github.io Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 4.81 MB

The companion app for the boardgame PocketDragon

License: MIT License

CSS 1.29% TypeScript 78.25% HTML 4.25% JavaScript 5.85% SCSS 10.35%
board-game boardgame companion-app

pocket-dragon.github.io's People

Contributors

adrianschmidt avatar

Stargazers

 avatar

Watchers

 avatar  avatar

pocket-dragon.github.io's Issues

Line 68 of @material/theme/_mixins.scss crashes the production build

I'm submitting a ... (check one with "x")
[x] bug report
[ ] feature request
[ ] support request

Current behavior:
npm run build fails with the following output:

$ npm run build

> [email protected] build /Users/adrian_schmidt/GitHub/pocketdragon
> SASS_PATH=node_modules stencil build --prerender

[01:44.3]  @stencil/core v0.9.11 🏙
[01:44.4]  build, app, prod mode, started ...
[01:44.5]  transpile started ...
[01:44.5]  transpile finished in 16 ms
[01:44.5]  module map started ...
[01:44.6]  generate styles started ...
[01:44.8]  compile global style start ...
[01:44.8]  compile global style start ...
[01:44.8]  compile global style finish in 5 ms
[01:44.8]  compile global style finish in 4 ms
[01:44.8]  generate styles finished in 187 ms
[01:46.7]  module map finished in 2.19 s
[01:46.7]  generate bundles started ...
[01:46.7]  generate bundles finished in 26 ms
[01:46.7]  generate app files started ...
[01:47.3]  generate app files finished in 527 ms
[01:49.6]  prerendering started ...
[01:49.6]  prerender, started: /pocketdragon/ ...
[01:50.6]  prerendering started ...
[01:50.6]  prerender, started: / ...
[01:50.8]  prerender, finished: /pocketdragon/ in 1.23 s
[01:50.8]  prerendering failed in 1.23 s
[01:50.8]  prerender, finished: / in 262 ms
[01:50.8]  prerendering failed in 265 ms

[ ERROR ]  runtime console.error: /pocketdragon/
           Could not parse CSS stylesheet at exports.evaluateStylesheet
           (/Users/adrian_schmidt/GitHub/pocketdragon/node_modules/@stencil/core/node_modules/jsdom/lib/jsdom/living/helpers/stylesheets.js:18:21)
           at HTMLStyleElementImpl._attach
           (/Users/adrian_schmidt/GitHub/pocketdragon/node_modules/@stencil/core/node_modules/jsdom/lib/jsdom/living/nodes/HTMLStyleElement-impl.js:23:5)
           at HTMLHeadElementImpl.insertBefore
           (/Users/adrian_schmidt/GitHub/pocketdragon/node_modules/@stencil/core/node_modules/jsdom/lib/jsdom/living/nodes/Node-impl.js:230:22)
           at HTMLHeadElement.insertBefore
           (/Users/adrian_schmidt/GitHub/pocketdragon/node_modules/@stencil/core/node_modules/jsdom/lib/jsdom/living/generated/Node.js:182:45)
           at insertStyles
           (/Users/adrian_schmidt/GitHub/pocketdragon/node_modules/@stencil/core/dist/compiler/index.js:9476:18)
           at inlineComponentStyles
           (/Users/adrian_schmidt/GitHub/pocketdragon/node_modules/@stencil/core/dist/compiler/index.js:9469:5)
           at
           /Users/adrian_schmidt/GitHub/pocketdragon/node_modules/@stencil/core/dist/compiler/index.js:9964:17
           at Generator.next (<anonymous>) at
           /Users/adrian_schmidt/GitHub/pocketdragon/node_modules/@stencil/core/dist/compiler/index.js:9940:71
           at new Promise (<anonymous>),
           .mdc-dialog{display:-webkit-box;display:-ms-flexbox;display:flex;position:fixed;top:0;left:0;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;visibility:hidden;z-index:5;}.mdc-dialog__backdrop{background-color:rgba(0,0,0,.87);background-color:var(--mdc-theme-text-primary-on-light,rgba(0,0,0,.87));position:fixed;top:0;left:0;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;opacity:0;z-index:-1;}.mdc-dialog__surface{-webkit-box-shadow:0
           11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px
           rgba(0,0,0,.12);box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0
           9px 46px 8px
           rgba(0,0,0,.12);background-color:#fff;background-color:var(--mdc-theme-background,#fff);display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;width:calc(100%
           - 30px);min-width:640px;max-width:865px;-webkit-transform:translateY(150px)
           scale(.8);transform:translateY(150px)
           scale(.8);border-radius:2px;opacity:0;}.mdc-dialog[dir=rtl] .mdc-dialog__surface,[dir=rtl]
           .mdc-dialog
           .mdc-dialog__surface{text-align:right;}.mdc-dialog__header{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:24px

[01:50.8]  build failed in 6.48 s

Expected behavior:
The build should complete without failures

Steps to reproduce:
Just run npm install and then npm run build.

Related code:

This is the offending line:

#{$property}: var(--mdc-theme-#{$style}, $value);

Other information:
Commenting this line in /node_modules/@material/theme/_mixins.scss makes the build pass.

Serve the app from the gh-pages branch instead of master/docs

I'm submitting a ... (check one with "x")
[ ] bug report
[x] feature request
[ ] support request

Current behavior:
We are serving the app from the docs folder on the master branch. This is somewhat unstable, since the app immediately breaks if we accidentally push to master without committing the production build first.

Expected behavior:
We should investigate serving the app from the gh-pages branch instead, do make it less susceptible to mistakes.

Make the app downloadable as a zip

I'm submitting a ... (check one with "x")
[ ] bug report
[x] feature request
[ ] support request

Some users will want to download the app as a zip-file to ensure they have access to it for perpetuity. While the source-code is already downloadable, this isn't very helpful to non-programmers.

The easiest way might be to use relative paths for all internal references. That way, the build-output should be usable by simply opening the index.html file in a browser, without even using a web-server.

Action required: Greenkeeper could not be activated 🚨

🚨 You need to enable Continuous Integration on all branches of this repository. 🚨

To enable Greenkeeper, you need to make sure that a commit status is reported on all branches. This is required by Greenkeeper because it uses your CI build statuses to figure out when to notify you about breaking changes.

Since we didn’t receive a CI status on the greenkeeper/initial branch, it’s possible that you don’t have CI set up yet. We recommend using Travis CI, but Greenkeeper will work with every other CI service as well.

If you have already set up a CI for this repository, you might need to check how it’s configured. Make sure it is set to run on all new branches. If you don’t want it to run on absolutely every branch, you can whitelist branches starting with greenkeeper/.

Once you have installed and configured CI on this repository correctly, you’ll need to re-trigger Greenkeeper’s initial pull request. To do this, please delete the greenkeeper/initial branch in this repository, and then remove and re-add this repository to the Greenkeeper App’s white list on Github. You'll find this list on your repo or organization’s settings page, under Installed GitHub Apps.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.