docker-react 0.0.1-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md ADDED
@@ -0,0 +1,35 @@
1
+ # Docker React
2
+
3
+ Tooling to deploy React applications with docker containers.
4
+
5
+ ## Features
6
+
7
+ - [ ] Lightweight nginx container
8
+ - [ ] Runtime environment variable injection
9
+ - [ ] Javascript
10
+ - [ ] HTML
11
+ - [ ] Runtime environment variable validation
12
+ - [ ] Support for serving at a path
13
+ - [ ] Application initialisations
14
+
15
+ ## Supported Tooling
16
+
17
+ - [ ] Create React App
18
+ - [ ] Vite
19
+ - [ ] React Static
20
+
21
+ ## Supported Validation
22
+
23
+ - [ ] Joi
24
+ - [ ] Yup
25
+
26
+ ## Other TODOs
27
+
28
+ - [ ] Example projects
29
+ - [ ] Cookbook for proxying the container with cloudflare
30
+ - [ ] Cookbook for handling "in-the-wild" chunks
31
+ - [ ] Research plugin possibilities with the supported tooling
32
+
33
+ ## Out of scope
34
+
35
+ - Server side rendering
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env node
2
+
3
+ import { cli } from '../dist/index.js';
4
+
5
+ cli(process.argv);
@@ -0,0 +1 @@
1
+ export declare function cli(): void;
package/dist/index.js ADDED
@@ -0,0 +1,3 @@
1
+ export function cli() {
2
+ console.log('Hello, World!');
3
+ }
package/package.json ADDED
@@ -0,0 +1,32 @@
1
+ {
2
+ "name": "docker-react",
3
+ "version": "0.0.1-alpha.0",
4
+ "description": "Tooling to deploy React applications with docker containers.",
5
+ "main": "dist/index.js",
6
+ "type": "module",
7
+ "bin": {
8
+ "docker-react": "bin/docker-react.js"
9
+ },
10
+ "scripts": {
11
+ "build": "tsc",
12
+ "test": "echo \"Tests not yet implemented.\" && exit 0"
13
+ },
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "git+https://github.com/danielemery/docker-react.git"
17
+ },
18
+ "keywords": [
19
+ "docker",
20
+ "react"
21
+ ],
22
+ "author": "Daniel Emery <danielremery@gmail.com>",
23
+ "license": "MIT",
24
+ "bugs": {
25
+ "url": "https://github.com/danielemery/docker-react/issues"
26
+ },
27
+ "homepage": "https://github.com/danielemery/docker-react#readme",
28
+ "devDependencies": {
29
+ "@danielemeryau/prettier-config": "^0.0.6",
30
+ "typescript": "^4.5.4"
31
+ }
32
+ }