Skip to content

Commit 2460c27

Browse files
author
Tom Softreck
committed
Release version 0.1.2
### Added - Changes in .babelrc - Changes in .env.example - Changes in .eslintrc.js - Changes in .npmrc - Changes in .version - Changes in CHANGELOG.md - Changes in Dockerfile - Changes in changelog.py - Changes in cleanup.sh - Changes in codebase/api/index.js - Changes in codebase/api/routes/file.js - Changes in codebase/api/routes/project.js - Changes in codebase/api/routes/session.js - Changes in codebase/services/git-service.js - Changes in codebase/services/session-service.js - Changes in codebase/services/storage-service.js - Changes in deploy.sh - Changes in example.js - Changes in git.sh - Changes in package.json - Changes in reactstream-wrapper.js - Changes in server.js - Changes in version.sh - Changes in webpack.config.js
1 parent 84fd860 commit 2460c27

25 files changed

+2327
-128
lines changed

.babelrc

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"presets": ["@babel/preset-env", "@babel/preset-react"]
3+
}

.env.example

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Server Configuration
2+
SERVER_PORT=80
3+
DEV_SERVER_PORT=3000
4+
NODE_ENV=production
5+
6+
# Application Settings
7+
ENABLE_DEBUG=false
8+
AUTO_FIX=false
9+
VERBOSE_OUTPUT=true
10+
11+
# MongoDB Connection (if needed in the future)
12+
# MONGODB_URI=mongodb://localhost:27017/reactstream
13+
14+
# Redis Connection (if needed in the future)
15+
# REDIS_URL=redis://localhost:6379
16+
17+
# Security Settings
18+
SESSION_SECRET=reactstream-secret-key-change-in-production
19+
CORS_ORIGIN=*
20+
21+
# Docker Settings
22+
VIRTUAL_HOST=www.reactstream.com
23+
LETSENCRYPT_HOST=www.reactstream.com
24+
LETSENCRYPT_EMAIL=[email protected]
25+
26+
# Paths
27+
TEMP_DIR=./temp
28+
COMPONENTS_DIR=./components
29+
LOGS_DIR=./logs

.eslintrc.js

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
module.exports = {
2+
env: {
3+
node: true,
4+
es6: true
5+
},
6+
extends: ['eslint:recommended'],
7+
parserOptions: {
8+
ecmaVersion: 2022,
9+
sourceType: 'module'
10+
},
11+
rules: {
12+
// Add your specific rules here
13+
'no-unused-vars': 'warn',
14+
'no-console': 'off'
15+
}
16+
};

.gitignore

+27-128
Original file line numberDiff line numberDiff line change
@@ -1,136 +1,35 @@
1-
# Logs
2-
logs
3-
*.log
4-
npm-debug.log*
5-
yarn-debug.log*
6-
yarn-error.log*
7-
lerna-debug.log*
8-
.pnpm-debug.log*
9-
10-
# Diagnostic reports (https://nodejs.org/api/report.html)
11-
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
12-
13-
# Runtime data
14-
pids
15-
*.pid
16-
*.seed
17-
*.pid.lock
18-
19-
# Directory for instrumented libs generated by jscoverage/JSCover
20-
lib-cov
21-
22-
# Coverage directory used by tools like istanbul
23-
coverage
24-
*.lcov
25-
26-
# nyc test coverage
27-
.nyc_output
28-
29-
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
30-
.grunt
31-
32-
# Bower dependency directory (https://bower.io/)
33-
bower_components
34-
35-
# node-waf configuration
36-
.lock-wscript
37-
38-
# Compiled binary addons (https://nodejs.org/api/addons.html)
39-
build/Release
40-
41-
# Dependency directories
42-
node_modules/
43-
jspm_packages/
44-
45-
# Snowpack dependency directory (https://snowpack.dev/)
46-
web_modules/
47-
48-
# TypeScript cache
49-
*.tsbuildinfo
50-
51-
# Optional npm cache directory
52-
.npm
53-
54-
# Optional eslint cache
55-
.eslintcache
56-
57-
# Optional stylelint cache
58-
.stylelintcache
59-
60-
# Microbundle cache
61-
.rpt2_cache/
62-
.rts2_cache_cjs/
63-
.rts2_cache_es/
64-
.rts2_cache_umd/
65-
66-
# Optional REPL history
67-
.node_repl_history
68-
69-
# Output of 'npm pack'
70-
*.tgz
71-
72-
# Yarn Integrity file
73-
.yarn-integrity
74-
75-
# dotenv environment variable files
1+
.idea
762
.env
77-
.env.development.local
78-
.env.test.local
79-
.env.production.local
80-
.env.local
81-
82-
# parcel-bundler cache (https://parceljs.org/)
83-
.cache
84-
.parcel-cache
85-
86-
# Next.js build output
87-
.next
88-
out
89-
90-
# Nuxt.js build / generate output
91-
.nuxt
3+
command
924
dist
5+
temp
936

94-
# Gatsby files
95-
.cache/
96-
# Comment in the public line in if your project uses Gatsby and not Next.js
97-
# https://nextjs.org/blog/next-9-1#public-directory-support
98-
# public
7+
.gradle
8+
build
9+
.reactstream
10+
package-lock.json
11+
node_modules
12+
# Compiled class file
13+
*.class
9914

100-
# vuepress build output
101-
.vuepress/dist
102-
103-
# vuepress v2.x temp and cache directory
104-
.temp
105-
.cache
106-
107-
# vitepress build output
108-
**/.vitepress/dist
109-
110-
# vitepress cache directory
111-
**/.vitepress/cache
112-
113-
# Docusaurus cache and generated files
114-
.docusaurus
115-
116-
# Serverless directories
117-
.serverless/
118-
119-
# FuseBox cache
120-
.fusebox/
15+
# Log file
16+
*.log
12117

122-
# DynamoDB Local files
123-
.dynamodb/
18+
# BlueJ files
19+
*.ctxt
12420

125-
# TernJS port file
126-
.tern-port
21+
# Mobile Tools for Java (J2ME)
22+
.mtj.tmp/
12723

128-
# Stores VSCode versions used for testing VSCode extensions
129-
.vscode-test
24+
# Package Files #
25+
*.jar
26+
*.war
27+
*.nar
28+
*.ear
29+
*.zip
30+
*.tar.gz
31+
*.rar
13032

131-
# yarn v2
132-
.yarn/cache
133-
.yarn/unplugged
134-
.yarn/build-state.yml
135-
.yarn/install-state.gz
136-
.pnp.*
33+
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
34+
hs_err_pid*
35+
replay_pid*

.npmrc

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Strict npm configuration
2+
registry=https://registry.npmjs.org/
3+
strict-ssl=true
4+
save-exact=true
5+
engines-strict=true
6+
engine-strict=true
7+
loglevel=error
8+
progress=false
9+
fund=false
10+
11+
# Timeout and retry settings
12+
timeout=60000
13+
fetch-retries=3
14+
fetch-retry-factor=1.5
15+
fetch-retry-maxtimeout=60000
16+
17+
# Security settings
18+
audit=true
19+
audit-level=high

.version

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
0.1.11

CHANGELOG.md

+55
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
## [0.1.2] - 2025-04-05
6+
7+
### Added
8+
- Changes in .babelrc
9+
- Changes in .env.example
10+
- Changes in .eslintrc.js
11+
- Changes in .npmrc
12+
- Changes in .version
13+
- Changes in CHANGELOG.md
14+
- Changes in Dockerfile
15+
- Changes in changelog.py
16+
- Changes in cleanup.sh
17+
- Changes in codebase/api/index.js
18+
- Changes in codebase/api/routes/file.js
19+
- Changes in codebase/api/routes/project.js
20+
- Changes in codebase/api/routes/session.js
21+
- Changes in codebase/services/git-service.js
22+
- Changes in codebase/services/session-service.js
23+
- Changes in codebase/services/storage-service.js
24+
- Changes in deploy.sh
25+
- Changes in example.js
26+
- Changes in git.sh
27+
- Changes in package.json
28+
- Changes in reactstream-wrapper.js
29+
- Changes in server.js
30+
- Changes in version.sh
31+
- Changes in webpack.config.js
32+
33+
## [0.1.1] - 2025-04-05
34+
35+
### Added
36+
- Changes in .babelrc
37+
- Changes in .env.example
38+
- Changes in .eslintrc.js
39+
- Changes in .npmrc
40+
- Changes in .version
41+
- Changes in Dockerfile
42+
- Changes in changelog.py
43+
- Changes in cleanup.sh
44+
- Changes in deploy.sh
45+
- Changes in docker-compose.yaml
46+
- Changes in example.js
47+
- Changes in git.sh
48+
- Changes in package.json
49+
- Changes in public/example.js
50+
- Changes in public/preview-fallback.html
51+
- Changes in reactstream-wrapper.js
52+
- Changes in server.js
53+
- Changes in version.sh
54+
- Changes in webpack.config.js
55+

Dockerfile

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
FROM node:20-alpine
2+
3+
# Install git
4+
RUN apk add --no-cache git
5+
6+
WORKDIR /app
7+
8+
# Copy package files
9+
COPY package.json package-lock.json* ./
10+
11+
# Install dependencies
12+
RUN npm install
13+
14+
# Copy source files
15+
COPY . .
16+
17+
# Create required directories
18+
RUN mkdir -p repositories data templates
19+
20+
# Set environment variables
21+
ENV PORT=3020
22+
ENV NODE_ENV=production
23+
24+
# Expose port
25+
EXPOSE 3020
26+
27+
# Start server
28+
CMD ["node", "server.js"]

0 commit comments

Comments
 (0)