Skip to content
This repository was archived by the owner on May 25, 2021. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
169 commits
Select commit Hold shift + click to select a range
e714e10
Update issue templates
james-martin-jd May 31, 2019
0d618c3
Adding in initial files for converter page
james-martin-jd Aug 28, 2019
d0d7090
Updating form model converter and form conditions and styles
james-martin-jd Aug 30, 2019
169f2ce
Adding in renderer page and logic, reworking the converter styles to …
james-martin-jd Sep 5, 2019
53e13e2
New translations, updated package-lock to pull forked N3.js library f…
james-martin-jd Sep 11, 2019
2989845
Adding tests
james-martin-jd Sep 11, 2019
baa084d
Merge pull request #241 from inrupt/release/0.6.2
james-martin-jd Sep 11, 2019
a01f548
added edit form model
jairo-campos-JD Oct 1, 2019
f1cf827
Adding shacl stubs
james-martin-jd Oct 2, 2019
ebaadae
Formatting updates'
james-martin-jd Oct 2, 2019
7e6f594
Merging
james-martin-jd Oct 2, 2019
de3318d
Fixing vulnerabilities
james-martin-jd Oct 2, 2019
d469409
Adding in event
james-martin-jd Oct 2, 2019
f839421
added view version
jairo-campos-JD Oct 2, 2019
3c58e28
Removing extra values from the dropdowns
james-martin-jd Oct 2, 2019
95b17a4
added styles on form model
jairo-campos-JD Oct 2, 2019
99217f1
added styles on form
jairo-campos-JD Oct 2, 2019
f7f91fc
added loader
jairo-campos-JD Oct 2, 2019
8e41dc2
Feedback from Jairo
james-martin-jd Oct 3, 2019
818d767
Merge branch 'feature/converter-page' of github.com:inrupt/generator-…
james-martin-jd Oct 3, 2019
117de61
Merge branch 'develop' into feature/converter-page
james-martin-jd Oct 3, 2019
5074896
Merge pull request #239 from inrupt/feature/converter-page
james-martin-jd Oct 3, 2019
79ef1b4
Regenerating package-lock
james-martin-jd Oct 3, 2019
fc04a02
Updating package-lock and package.json
james-martin-jd Oct 3, 2019
86f154b
Fixing some formatting issues
james-martin-jd Oct 3, 2019
2471d5b
Updating n3 package in nexus
james-martin-jd Oct 3, 2019
be0d2ba
Trying to fix n3.js issue
james-martin-jd Oct 3, 2019
c878c52
Another attempt
james-martin-jd Oct 3, 2019
e59291a
Attempting to fix the n3 issues
james-martin-jd Oct 4, 2019
cce89f6
Swapping to new library
james-martin-jd Oct 4, 2019
da8bc34
Updating solid-forms version
james-martin-jd Oct 4, 2019
a2dfd47
Removing hacks
james-martin-jd Oct 4, 2019
7e2b3a2
Updated solid-forms version
james-martin-jd Oct 4, 2019
73f4438
Form Model only rendering after submitting
pablo-rodriguez-jd Oct 4, 2019
07af4b9
Fix broken link in README.md
Otto-AA Oct 6, 2019
548f3c1
Update permission check
Otto-AA Oct 7, 2019
0e37197
Spanish translations
pablo-rodriguez-jd Oct 7, 2019
3f39613
Merge pull request #243 from Otto-AA/patch-1
james-martin-jd Oct 7, 2019
91d95de
Merge pull request #245 from inrupt/bug-fix/small-form-model-fixes
james-martin-jd Oct 7, 2019
0d471c4
Adding in handling of the form notification events
james-martin-jd Oct 8, 2019
3a7e491
Transitioning error to a Learn More error
james-martin-jd Oct 8, 2019
2523cdb
Updating learn more links and error messages
james-martin-jd Oct 9, 2019
6a5cd6e
Merge pull request #244 from Otto-AA/patch-2
james-martin-jd Oct 9, 2019
d2e2bff
spanish translation
jairo-campos-JD Oct 9, 2019
34aa2d5
Fixing format
james-martin-jd Oct 9, 2019
da2904f
Merge pull request #246 from inrupt/feature/form-notifications
james-martin-jd Oct 9, 2019
93e6f6c
Updating components
james-martin-jd Oct 10, 2019
ac20ea9
Merge
james-martin-jd Oct 10, 2019
267ddb0
Updating component library
james-martin-jd Oct 10, 2019
fa9a377
document need for a custom 404 page
michielbdejong Oct 15, 2019
5edd348
Merge pull request #247 from inrupt/doc-hosting-tips
james-martin-jd Oct 16, 2019
5a148c6
Updating style and layout of converter and renderer pages
james-martin-jd Oct 17, 2019
8cda002
Fixing missing comment
james-martin-jd Oct 17, 2019
4faf156
text-editor
michielbdejong Oct 18, 2019
295944a
stub for dev docs
michielbdejong Oct 18, 2019
a574ba8
deploy TextEditor container
michielbdejong Oct 18, 2019
ebbe970
Merge pull request #248 from inrupt/fix/form-page
james-martin-jd Oct 18, 2019
7c7f105
Updating components version
james-martin-jd Oct 21, 2019
943bde1
Merge pull request #250 from inrupt/dev-docs
james-martin-jd Oct 22, 2019
d1e09fc
Updating components version
james-martin-jd Oct 22, 2019
e6a0c7f
i18n copy to clipboard in converter
pablo-rodriguez-jd Oct 23, 2019
b0dd735
Merge pull request #251 from inrupt/bug-fix/converter-copy-to-clipboard
james-martin-jd Oct 23, 2019
1237fa8
added datepicker styles
jairo-campos-JD Oct 25, 2019
8b7a81c
fixed error onSuccess
jairo-campos-JD Oct 25, 2019
2acb496
Merge pull request #252 from inrupt/fix/added-datepicker-styles
james-martin-jd Oct 25, 2019
85bbfbc
apply review comments
michielbdejong Oct 28, 2019
27da3c7
Fixing build issue
james-martin-jd Oct 28, 2019
44cf3f5
Removing unused variables
james-martin-jd Oct 28, 2019
61f5f06
Reformatting
james-martin-jd Oct 28, 2019
5c56924
Updating forms and components version
james-martin-jd Oct 28, 2019
99137f8
Updating versions
james-martin-jd Oct 29, 2019
f05bc9c
Temporarily disabling console logs for warning suppression
james-martin-jd Oct 29, 2019
04469d2
Apply rest of review comments
michielbdejong Oct 30, 2019
7d39b0e
Load media from @utils
michielbdejong Oct 30, 2019
14b98b1
Updating packages
james-martin-jd Oct 30, 2019
7980d37
fixed empty data form model render
jairo-campos-JD Oct 30, 2019
5afd8f9
Merge pull request #255 from inrupt/fix/empty-data-render
james-martin-jd Oct 30, 2019
0370d08
Adding customized autosave loader based on the default
james-martin-jd Oct 31, 2019
020dcfc
Updating components version
james-martin-jd Oct 31, 2019
aa6b875
Update README.md
james-martin-jd Oct 31, 2019
157f468
review comments
michielbdejong Nov 1, 2019
2cd3494
corrections
michielbdejong Nov 1, 2019
d40161a
Merge pull request #249 from inrupt/text-editor-pane
james-martin-jd Nov 1, 2019
120c4b1
Fixing code style issues
james-martin-jd Nov 1, 2019
c7d9680
Merge pull request #257 from inrupt/fix/spinner
james-martin-jd Nov 1, 2019
758e435
Updating forms and components version
james-martin-jd Nov 1, 2019
c6a411d
Fixing Prettier issue
james-martin-jd Nov 1, 2019
c6486e2
Updating components
james-martin-jd Nov 1, 2019
963be94
Fixing issue with select/dropdown styles
james-martin-jd Nov 1, 2019
88bd922
s/Inrupt-inc/inrupt/g
michielbdejong Nov 4, 2019
cd9bba3
WIP: Remove Tripledoc from the Text Editor
Vinnl Nov 4, 2019
935aae1
Merge pull request #260 from inrupt/gh-org-name
james-martin-jd Nov 4, 2019
cd8f6b4
Merge pull request #264 from Vinnl/refactor/no-tripledoc
james-martin-jd Nov 4, 2019
cf8af8e
Updating Text-Editor to include a menu item, fix the useEffect, and c…
james-martin-jd Nov 4, 2019
9bf6743
Updating forms and components version to fix a bug
james-martin-jd Nov 4, 2019
14b078b
Updating forms and components version
james-martin-jd Nov 4, 2019
76eb02e
Updating forms and components
james-martin-jd Nov 4, 2019
a964d0f
Updating how handling of the autosave works, in regards to validation…
james-martin-jd Nov 4, 2019
0c39f92
Updating notifications to use license and type
james-martin-jd Nov 6, 2019
15cf143
github issue #253 - clear LDFlex cache manually when getting document…
Eliamar Nov 6, 2019
127a4c5
Merge pull request #265 from inrupt/bug/game-state
james-martin-jd Nov 6, 2019
7835e31
Adding back in the accidentally-changed profile form
james-martin-jd Nov 7, 2019
c9c47e4
Reenabling autosave
james-martin-jd Nov 7, 2019
7a8a1f4
Update <Input> ids
Nov 8, 2019
1953837
Merge pull request #266 from angel-araya-jd/fix/form-renderer-duplica…
james-martin-jd Nov 8, 2019
ead1e60
Remove redundant headers in view/edit mode
Nov 8, 2019
11ca720
Merge pull request #177 from inrupt/issues-templates
james-martin-jd Nov 12, 2019
f465387
Merge pull request #267 from angel-araya-jd/fix/misleading-render-mod…
james-martin-jd Nov 12, 2019
5de5f44
remove the reset form button from the form model renderer and its log…
Eliamar Nov 12, 2019
b225960
Merge pull request #268 from inrupt/bug/remove-reset-form-btn
james-martin-jd Nov 12, 2019
e9a7775
Updating component version and fixing issue where the wrong datetime …
james-martin-jd Nov 12, 2019
a795cb7
Merge pull request #269 from inrupt/fix/notification-format
james-martin-jd Nov 13, 2019
3bb7383
Updating components version
james-martin-jd Nov 13, 2019
71fd9b7
Revert "Updating components version"
james-martin-jd Nov 13, 2019
2cd758c
Merge branch 'develop' of github.com:inrupt/generator-solid-react int…
james-martin-jd Nov 13, 2019
48db99d
Updating components version to a better version
james-martin-jd Nov 13, 2019
bba0cb5
Updating forms, components, and references to the old form package
james-martin-jd Nov 15, 2019
5e79ecb
Refactoring ldflex helper and creating a new permissions helper. Also…
james-martin-jd Nov 18, 2019
20adec4
Refactoring a few things to get the build to work. Still a WIP.
james-martin-jd Nov 18, 2019
ac44f9c
Updating components for testing
james-martin-jd Nov 18, 2019
b024a7c
Regenerating package-lock
james-martin-jd Nov 18, 2019
5a07603
display a checkbox following the style guide on the form render screen
Eliamar Nov 19, 2019
80f71ff
Merge pull request #273 from inrupt/bug/form-render-display-checkbox
james-martin-jd Nov 19, 2019
6981cc2
Updating forms and components version, and fixing vulnerabilities
james-martin-jd Nov 20, 2019
c1b7f4c
Reverting back ldflex version and updating packages for vulnerabilities
james-martin-jd Nov 21, 2019
ab613b3
Updating logic for repairing game files and inboxes
james-martin-jd Nov 22, 2019
cbfc861
Merge branch 'develop' into fix/permissions-and-repair
james-martin-jd Nov 22, 2019
3de1843
Combining two utils references into one standardized one
james-martin-jd Nov 22, 2019
390a0a2
Merge branch 'fix/permissions-and-repair' of github.com:inrupt/genera…
james-martin-jd Nov 22, 2019
2879bbf
Reverting back the game path url, cleaning up the code slightly, remo…
james-martin-jd Nov 25, 2019
9f30101
Merge pull request #277 from inrupt/fix/permissions-and-repair
james-martin-jd Nov 25, 2019
d891b50
Fixing issue with start script on HTTPS env variable
Nov 25, 2019
cddc80f
Integrate the new profile model to the profile
Nov 26, 2019
20911e1
Adding the webid back
Nov 26, 2019
ac745d2
Updating forms and components version
james-martin-jd Nov 26, 2019
2330a97
Merge pull request #278 from inrupt/bug/https-env
james-martin-jd Nov 26, 2019
8d53399
Moving autosavespinner to a global component
Nov 26, 2019
573c60c
Updating develop version number for display in footer
james-martin-jd Nov 26, 2019
ff58ff2
Merge branch 'develop' of github.com:inrupt/generator-solid-react int…
james-martin-jd Nov 26, 2019
0676e9b
Merge pull request #280 from inrupt/feature/profile-new-model
james-martin-jd Nov 26, 2019
da34567
Temporary fix to overwrite and display the default style of the check…
Eliamar Nov 27, 2019
a22838f
Merge pull request #282 from inrupt/bug/fix-checkbox-default-display
james-martin-jd Nov 27, 2019
caaf853
Updating ldflex package and excluding some unnecessary packages from …
james-martin-jd Nov 27, 2019
2be9723
Merge pull request #283 from inrupt/bug/ldflex-update
james-martin-jd Dec 2, 2019
cb1fb62
clear ldflex cache before form submit on the form renderer and regene…
Eliamar Dec 2, 2019
32125b4
Merge pull request #284 from inrupt/bug/form-renderer-clean-regenerate
james-martin-jd Dec 2, 2019
51bae01
Fixing issue with missing webId
james-martin-jd Dec 3, 2019
9d2e8cd
Changing game file link predicate from ldp:contains to schema:hasPart…
james-martin-jd Dec 4, 2019
af19098
Fixing issue where the provider list was not being generated from the…
james-martin-jd Dec 4, 2019
21d66ae
Updating components and forms version:
james-martin-jd Dec 5, 2019
71b3cff
Rolling back ldflex version
james-martin-jd Dec 5, 2019
8a52b72
Enforcing that the rolled back version is used by removing soft versi…
james-martin-jd Dec 5, 2019
ec05379
add new option to the profile dropdown to allow add new links for the…
Eliamar Dec 5, 2019
8fefef1
Adding new menu items and text
james-martin-jd Dec 5, 2019
8d5295d
Merge pull request #285 from inrupt/enhancement/add-form-model-nav-op…
angelaraya Dec 5, 2019
5902692
Updating components version
james-martin-jd Dec 5, 2019
67f1e2e
Updating packages
james-martin-jd Dec 5, 2019
d97ec2c
Updating install script and package versions
james-martin-jd Dec 9, 2019
af530f6
Bumping components version
james-martin-jd Dec 9, 2019
a7df69e
Updating version number and upgrading components and forms libraries
james-martin-jd Dec 10, 2019
b4e6c7f
Updating package-lock to fix some dependency issues
james-martin-jd Dec 13, 2019
a1920e4
Bumping rc version and updating components and forms
james-martin-jd Dec 13, 2019
4b59f3c
Retriggering build
james-martin-jd Dec 13, 2019
306e0bc
Updating forms and component versions
james-martin-jd Dec 16, 2019
f962e1a
Updating forms and components
james-martin-jd Dec 16, 2019
d95aafa
Updating changelog and readme
james-martin-jd Dec 17, 2019
f82e5fe
Merge pull request #289 from inrupt/docs/changelog
james-martin-jd Dec 18, 2019
2294bcd
Updating package version, and updating forms and components
james-martin-jd Dec 18, 2019
e825af8
Updating package-lock
james-martin-jd Dec 18, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
36 changes: 34 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,37 @@
# Solid React Application Generator

## 0.7.0 (December 18, 2019)

#### Solid React Application Base

##### Added
* Text Editor page
* New text editor page shows examples of loading files, granting sharing permissions, and saving file changes back to the Pod, as well as creating new files
* Form Model Converter page
* Form Model converter page (found in the top-right profile menu) shows examples of converting a ShEx shape into a Form Model object
* Form Model Render page
* This new page (also found in the top-right profile menu) takes an input of a Form Model IRI and a data source link, and outputs a fully functional (and styled) form
* It serves as a living code example of how to integrate the Form Model rendering component into your own application

##### Updated
* Notifications displayed in the top-right menu are now validated via ShEx against the [core notification shape](https://shexshapes.inrupt.net/public/notifications/core-notification.shex) first. This way if there are nonconformant items in your inbox, the application won't try to render them and potential break the UI
* Profile page no longer uses deprecated ShExFormBuilder control, and instead replaces it with the new FormModel component

##### Fixed
* Game files, settings.ttl, and the inbox now autorepair if one or more of them is missing. This is particularly useful if you need to grant extra permissions, or forget to add Control permissions. Not only does it create the correct files and folders, but it also repairs the permissions on the inbox.
* Removed some dependencies from webpack settings to make the build smaller and simpler
* Site no longer throws a full page error if no permissions are detected. Previously it was assuming an empty array, but in some cases this can be a null object instead, which caused a code failure
* Tic Tac Toe external game links are now linked from data.ttl using the `schema:hasPart` predicate, replacing the previous `ldp:contains` link. While this worked fine in Node Solid Server, it went against the spec of how that predicate should work, so we switched it to something more appropriate
* Fixed an issue where the game status was not updating from invited status in some circumstances


## 0.6.2 (September 11, 2019)

#### Solid React Application Base

##### Updated
* Updated dependency packages to fix security vulnerabilities

## 0.6.1 (August 28, 2019)

#### Generator
Expand Down Expand Up @@ -188,8 +220,8 @@
- Built scaffolded app with create-react-app, ejected to allow change in webpack configurations
- [LDFlex for Solid](https://github.com/solid/query-ldflex) added as the primary interface for most Linked Data operations
- Dependencies from [Solid React SDK](https://github.com/inrupt-inc/solid-react-sdk):
- [Atomic Style Guide for Solid](https://github.com/Inrupt-inc/inrupt-atomic-styleguide) to provide global styling
- [Solid React Components Library](https://github.com/Inrupt-inc/solid-react-components) to provide reusable core functionality
- [Atomic Style Guide for Solid](https://github.com/inrupt/inrupt-atomic-styleguide) to provide global styling
- [Solid React Components Library](https://github.com/inrupt/solid-react-components) to provide reusable core functionality
- [Styled Components](https://www.styled-components.com/) added as dependency to handle layout and custom styling
- Basic and Authenticated Nav Bar
- Login page
Expand Down
3 changes: 2 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@

Thank you for your interest in contributing to the Solid React Generator!

Before getting started, please review the [Solid React SDK Contributor Guide](https://github.com/Inrupt-inc/solid-react-sdk/blob/master/CONTRIBUTING.md).
Before getting started, please review the [Solid React SDK Contributor Guide](https://github.com/inrupt/solid-react-sdk/blob/master/CONTRIBUTING.md)
and the [Developer Documentation](https://github.com/inrupt/generator-solid-react/blob/develop/docs/development.md).
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ To install the Generator, you will need [npm](https://www.npmjs.com/get-npm), an
* [npm](https://www.npmjs.com/get-npm) makes it easy for JavaScript developers to share and reuse code, and makes it easy to update the code that you’re sharing. We recommend the use of a node version manager (nvm) to manage multiple versions of npm, and will also set up your npm permissions properly. To install using a nvm, follow the instructions [here](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm#using-a-node-version-manager-to-install-node-js-and-npm).
* [Yeoman](https://yeoman.io) provides a generator ecosystem to scaffold complete projects. You can install Yeoman by running the command: ```npm install -g yo```
### Note on npm permissions
If you receive EACCES permission errors, or other permission-related errors when trying to run `npm install -g`, please refer to [this npm document](https://docs.npmjs.com/resolving-eacces-permissions-errors-when-installing-packages-globally_) on how to set your permissions correctly.
If you receive EACCES permission errors, or other permission-related errors when trying to run `npm install -g`, please refer to [this npm document](https://docs.npmjs.com/resolving-eacces-permissions-errors-when-installing-packages-globally) on how to set your permissions correctly.
## Installation

To install the generator:
Expand All @@ -38,6 +38,7 @@ Once the generator is installed, you can create a new application with just a fe
4. Whether the application is private or public.
4. Navigate into the new folder.
5. If you would like to start the application, simply run ``` npm run start ``` in the new folder, otherwise you can begin editing and writing your application!
1. If you would like to run the application in HTTPS mode, you can run the command ```HTTPS=true npm start```, which will launch your app on localhost, using the HTTPS protocol.

Note: We have noticed an error is sometimes thrown when the generator tries to install one of the dependencies of application. If this occurs, try installing [Git](https://git-scm.com/downloads) and then recreating your application.

Expand Down Expand Up @@ -153,6 +154,11 @@ A key part of modern web applications is notifications. Alongside the solid-reac

Notifications are generated via the TicTacToe game example. Invites are sent to webIDs provided in the game creation form, and whenever a move is taken in the game a notification is sent to the opponent.

## Forms and Form Models
Building forms is a fundamental part of many web applications, and on our Profile page we've given an example of how to build dynamic forms in Solid. This uses a concept called a Form Model to render a profile form, and provides code examples of how to use Form Models on your own application.

For more information, please see the solid-react-components.

## Deployment

Once your application is ready, you can deploy it to a server of your choice.
Expand Down
12 changes: 12 additions & 0 deletions docs/development.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Generator development

## Making a change to the generated code
First, generate an empty generator app and make and test your changes there.
Then copy the changes you made in the src/ folder of your app to generators/app/src/ folder of the generator.

## Adding a menu item
See https://github.com/inrupt/generator-solid-react/pull/249 for an example.

## Testing the generator locally
To try out the generator with your change follow the [`yo` from a local generator](https://github.com/yeoman/yo#usage)
instructions.
6 changes: 6 additions & 0 deletions docs/hosting.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Hosting

When deploying an app generated with this generator, make sure to deploy the `build/` folder. Depending on your webserver
setup, you will probably have to set the index.html document as a custom 404 page. Otherwise, routes like
https://your-app.com/login and https://your-app.com/welcome will not work and display a 404 page instead, when visited
directly.
8 changes: 8 additions & 0 deletions generators/app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,18 @@ module.exports = class extends Generator {
src: 'src/containers/Profile/**',
dest: 'src/containers/Profile',
},
{
src: 'src/containers/TextEditor/**',
dest: 'src/containers/TextEditor',
},
{
src: 'src/containers/TicTacToe/**',
dest: 'src/containers/TicTacToe',
},
{
src: 'src/containers/FormModel/**',
dest: 'src/containers/FormModel',
},
{ src: '.env' }
);
} else {
Expand Down
8 changes: 7 additions & 1 deletion generators/app/templates/config/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,13 @@ module.exports = function(webpackEnv) {
// no need to ship React since it's shipped with the main app
externals: {
'solid-auth-client': ['solid', 'auth'],
'@solid/query-ldflex': ['solid', 'data']
'@solid/query-ldflex': ['solid', 'data'],
// Disable shims for supported browser features
'web-streams-polyfill': 'window',
// Exclude the following unneeded modules
'@comunica/actor-rdf-serialize-jsonld': 'null',
'graphql': 'null',
'graphql-to-sparql': 'null',
},
// Some libraries import Node modules but don't use them in the browser.
// Tell Webpack to provide empty mocks for them so importing them works.
Expand Down
Loading