reactplay / create-react-play Goto Github PK
View Code? Open in Web Editor NEWThis is a npm package which works as a backbone of the application. This makes the application management more controlled. more controlled.
License: MIT License
This is a npm package which works as a backbone of the application. This makes the application management more controlled. more controlled.
License: MIT License
Due to the recent migration of the ReactPlay platform from CRA to Vite, there's a file convention in Vite that accepts only .jsx
, .ts
, or .tsx
files for React components.
In order to adhere to this, we have to change how JS plays are created. We have to change the current play creation service from creating a .js
file to a .jsx
file
Describe the bug
After submitting the create play form, the npx command doesn't work on the Mac terminal. It doesn't create the required scaffolding and boilerplate code. It works well on Windows.
found the below syntax after creating a typescript play and its throwing error on browser
creating a play in typescirpt will have the error
there should not be any error after creating a play in typescript
Ubuntu version 22.04
No response
No response
Update basic configuration
Is your feature request related to a problem? Please describe.
In order to make the development kit globally available for controlled play management, we need to host a global package on npmjs
.
The consumer will call the package by calling
npx <package_name> <switch> <values>
Describe the solution you'd like
NA
Describe alternatives you've considered
NA
Additional context
NA
Description:
When creating a new play, we can't be sure that the play's page render well before it is send to the staff.
Describe the solution you'd like
We can generate a small test on the page to check if
the play as the correct url and that this url can be visited.
Test if the play is assigned to the correct creator.
Check if header can render properly and if details appear on the page.
Additional context
In React-play, an update need to be done on the .github file so the create file for the text is not submitted to the react-play repo.
Describe the bug
I a field is kept untouched on create play UI, then CRP marks them as null on read me.
To Reproduce
Steps to reproduce the behavior:
react play
app on dev modeCreate
with some optional field as blankExpected behavior
Should be empty string
Screenshots
NA
Desktop (please complete the following information):
NA
Smartphone (please complete the following information):
NA
Additional context
NA
Is your feature request related to a problem? Please describe.
rpdk will be having multiple entry point, to name them
We need a robust argument parser to manage this
Describe the solution you'd like
Create a command-line argument parser
Describe alternatives you've considered
NA
Additional context
NA
Is your feature request related to a problem? Please describe.
Develop scripts either shell/python/js to perform intermediate steps like cloning the repo, forking, etc
Describe the solution you'd like
Adding scripts for individual intermediate steps
Is your feature request related to a problem? Please describe.
Currently, the package doesn't take care of special characters. So when a special character appears in name, it fails to provide appropriate templates.
Describe the solution you'd like
Use slug and sanitized name for path fields
Describe alternatives you've considered
NA
Additional context
NA
Describe the bug
In a few cases npx
continue to use an old version of create-react-play
if it's already installed globally. In such a scenario, one needs to use the tag for the package. Update this information in readme.
Describe the bug
I am not able to create a play upon clicking the create
button and receiving this "http://localhost:3000/plays/undefined/v1/auth/signin/provider/github?redirectTo=http://localhost:3000/plays/create" in the URL.
I read the docs and it states to log in with nhost which I did but still not able to pass the undefined error. Do I have to create a project on nhost
to create a play?
Describe the bug
When a play name contains only a numeric value in it, the bootstrapping fails.
To Reproduce
Steps to reproduce the behavior:
2048
Expected behavior
It should allow numerical play name
Screenshots
NA
Desktop (please complete the following information):
ALL
Smartphone (please complete the following information):
ALL
Additional context
NA
Describe the bug
Nhost has changed their GraphQL URL. Create React Play npm uses it, so need a change
Is your feature request related to a problem? Please describe.
Publish package through github instead of npm login
create-react-play is a npm package. This is currently getting published manually. It means, that after every merge, one needs run bellow steps to publish the package to npm repository
npm login
And run
npm publish
However, this is not the practical way of publishing a package that is still under development or maintenance cycle.
So the idea here is to create Github action to create the package automatically.
NOTE: An workflow already been configured (https://github.com/reactplay/create-react-play/blob/main/.github/workflows/npm-publish.yml) however doesn't seems to be working
Describe the solution you'd like
Update .npmrc
and publish
Describe alternatives you've considered
NA
Additional context
NA
Is your feature request related to a problem? Please describe.
The idea here is to take out plays from the main container application and manage them separately (reactplay/react-play-store#8). These plays will be having their own package.json which will contain only the specific package that play needs. All common packages will come from react-play.
In order to achieve this, we would need to update create-react-play to enable
react-play-store
react-play-store
to react-play/src/plays
npm install
or yarn
on react-play/src/plays
react-play/src/plays
NOTE: Need extensive brainstorming to achieve the above usecase.
References:
Describe the bug
Remove packages like prompt
, child-process
To Reproduce
NA
Expected behavior
NA
Screenshots
NA
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
creating a play in typescript and after running the npx create-react-play .... thing the component apears in the respected folder but the component format it gets is .ts which should be .tsx. for that .ts format it shows error for the jsx code which is invalid for a .ts file.
creating a play a in typescirpt
should component should have the .tsx format
Ubuntu 22.04
No response
No response
In the current react-play, you can't have the play outside the main application as it is coded in src/plays.
Nevertheless, it's possible to build the application with the plays in another folder by using create-react-plays as it is the foundation for play creation.
The current react-play doesn't allow it and the cost to move the application in the right way is heavier because lot of modification are needed and the validations are too slow.
A way to move the plays outside the body is needed and a better way to load plays too for performance issue.
Is your feature request related to a problem? Please describe.
Currently, play creation is through command line plop argument. This is not flexible enough for play automation to run. Need a workflow where the entire play creation can be driven through a specific process for better handling
Describe alternatives you've considered
NA
Additional context
Create a middleman who can handle the workflow processes.
Describe the bug
Currently, the md template is named as readme_md.tmpl which breaks the standard naming convention of readme file.
To Reproduce
NA
Expected behavior
NA
Screenshots
NA
Desktop (please complete the following information):
NA
Smartphone (please complete the following information):
NA
Additional context
NA
Describe the bug
A typo error in the welcome screen in the cli. Create React Play
is displayed as Create Rect Play
.
Additional context
Originally posted here.
Is your feature request related to a problem? Please describe.
Need to have a clear specification in code to identify different steps for creating a play
Describe the solution you'd like
This is just a marker update, actual implementation will be taken under different issue.
Describe alternatives you've considered
NA
Additional context
NA
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.