@reactful/create 1.2.22 → 1.2.24
Sign up to get free protection for your applications and to get access to all the features.
- package/commons/package.json +4 -5
- package/index.js +2 -2
- package/package.json +2 -2
- package/templates/minimal/builds/about.html +30 -0
- package/templates/minimal/builds/bundle.js +34981 -0
- package/templates/minimal/builds/bundle.ts +20 -0
- package/templates/minimal/builds/clock.html +30 -0
- package/templates/minimal/builds/counter.html +37 -0
- package/templates/minimal/builds/forms/form.html +48 -0
- package/templates/minimal/builds/forms/index.html +48 -0
- package/templates/minimal/builds/hello.html +62 -0
- package/templates/minimal/builds/htmlx.html +27 -0
- package/templates/minimal/builds/htmlx.tsx +13 -0
- package/templates/minimal/builds/index.html +98 -11
- package/templates/minimal/builds/login.html +48 -0
- package/templates/minimal/builds/profile/index.html +55 -0
- package/templates/minimal/builds/quotes.html +27 -0
- package/templates/minimal/builds/shared.js +76 -0
- package/templates/minimal/builds/system.html +28 -0
- package/templates/minimal/components/index.ts +1 -2
- package/templates/minimal/components/label.tsx +7 -0
- package/templates/minimal/index.html +12 -11
- package/templates/minimal/index.ts +2 -2
- package/templates/minimal/routes/hello.tsx +6 -0
- package/templates/minimal/routes/index.tsx +4 -7
- package/templates/sampling/apis/auth/db.ts +14 -14
- package/templates/sampling/apis/auth/index.ts +27 -27
- package/templates/sampling/apis/hello.ts +2 -2
- package/templates/sampling/apis/quotes.ts +15 -15
- package/templates/sampling/apis/sub/index.ts +2 -2
- package/templates/sampling/apis/sub/sub.ts +2 -2
- package/templates/sampling/assets/bootstrap-icons.css +4 -4
- package/templates/sampling/assets/default.css +93 -93
- package/templates/sampling/assets/icon.svg +6 -6
- package/templates/sampling/assets/manifest.json +56 -56
- package/templates/sampling/assets/markdown.css +273 -273
- package/templates/sampling/assets/robots.txt +1 -1
- package/templates/sampling/assets/system.css +6 -6
- package/templates/sampling/builds/about.html +30 -0
- package/templates/sampling/builds/bundle.js +34981 -0
- package/templates/sampling/builds/bundle.ts +20 -0
- package/templates/sampling/builds/clock.html +30 -0
- package/templates/sampling/builds/counter.html +37 -0
- package/templates/sampling/builds/forms/form.html +48 -0
- package/templates/sampling/builds/forms/index.html +48 -0
- package/templates/sampling/builds/hello.html +62 -0
- package/templates/sampling/builds/htmlx.html +27 -0
- package/templates/sampling/builds/htmlx.tsx +13 -0
- package/templates/sampling/builds/index.html +98 -98
- package/templates/sampling/builds/login.html +48 -0
- package/templates/sampling/builds/profile/index.html +55 -0
- package/templates/sampling/builds/quotes.html +27 -0
- package/templates/sampling/builds/shared.js +76 -0
- package/templates/sampling/builds/system.html +28 -0
- package/templates/sampling/components/header.tsx +6 -6
- package/templates/sampling/components/hello.tsx +8 -8
- package/templates/sampling/components/icon.tsx +10 -10
- package/templates/sampling/components/index.ts +2 -2
- package/templates/sampling/index.html +20 -20
- package/templates/sampling/index.ts +18 -18
- package/templates/sampling/routes/about.html +12 -12
- package/templates/sampling/routes/clock.tsx +32 -36
- package/templates/sampling/routes/counter.tsx +16 -7
- package/templates/sampling/routes/forms/form.tsx +49 -50
- package/templates/sampling/routes/hello.tsx +57 -58
- package/templates/sampling/routes/htmlx.html +14 -14
- package/templates/sampling/routes/index.md +14 -14
- package/templates/sampling/routes/login.tsx +34 -35
- package/templates/sampling/routes/profile/detail.css +12 -12
- package/templates/sampling/routes/profile/detail.tsx +46 -47
- package/templates/sampling/routes/profile/index.tsx +13 -13
- package/templates/sampling/routes/profile/profile.css +8 -8
- package/templates/sampling/routes/profile/tester.tsx +10 -10
- package/templates/sampling/routes/quotes.tsx +1 -1
- package/templates/sampling/routes/system.tsx +1 -2
- package/templates/sampling/tests/access.spec.ts +29 -29
- package/templates/sampling/tests/counter.spec.ts +18 -18
- package/templates/sampling/tests/form.spec.ts +50 -50
- package/templates/sampling/tests/hello.spec.ts +24 -24
- package/templates/sampling/tests/path.test.ts +19 -19
- package/templates/minimal/components/hello.tsx +0 -9
- package/templates/minimal/components/icon.tsx +0 -11
package/commons/package.json
CHANGED
@@ -8,11 +8,10 @@
|
|
8
8
|
"clear": "rm -rf node_modules package-lock.json bun.lockb; bun i; bun run build"
|
9
9
|
},
|
10
10
|
"dependencies": {
|
11
|
-
"react": "
|
12
|
-
"react-dom": "
|
13
|
-
"@reactful/
|
14
|
-
"@reactful/server": "latest"
|
15
|
-
"@reactful/web": "latest"
|
11
|
+
"react": "latest",
|
12
|
+
"react-dom": "latest",
|
13
|
+
"@reactful/client": "latest",
|
14
|
+
"@reactful/server": "latest"
|
16
15
|
},
|
17
16
|
"devDependencies": {
|
18
17
|
"bun-types": "^1.0.20",
|
package/index.js
CHANGED
@@ -20,8 +20,8 @@ const { version } = JSON.parse(packageJson);
|
|
20
20
|
|
21
21
|
console.log('___________________________________________________')
|
22
22
|
console.log('')
|
23
|
-
console.log(` ${GREEN}REACTful${RESET} create
|
24
|
-
console.log(` ${CIANO}current version 1.2${RESET}
|
23
|
+
console.log(` ${GREEN}REACTful${RESET} create `)
|
24
|
+
console.log(` ${CIANO}current version 1.2${RESET} `)
|
25
25
|
//console.log(`${decor}( ${GREEN}reactful${RESET}.js )${decor}`)
|
26
26
|
console.log('___________________________________________________')
|
27
27
|
// console.log(line)
|
package/package.json
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
{
|
2
2
|
"name": "@reactful/create",
|
3
|
-
"version": "1.2.
|
3
|
+
"version": "1.2.24",
|
4
4
|
"main": "index.js",
|
5
5
|
"type": "module",
|
6
|
-
"description": "reactful scaffold",
|
6
|
+
"description": "@reactful scaffold",
|
7
7
|
"author": "jonathan de sena ribeiro <jsenaribeiro@gmail.com>",
|
8
8
|
"bin": {
|
9
9
|
"@reactful/create": "index.js"
|
@@ -0,0 +1,30 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="UTF-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
|
+
<meta name="description" content="Home page">
|
7
|
+
<meta name="theme-color" content="#333">
|
8
|
+
<link rel="stylesheet" href="/assets/default.css">
|
9
|
+
<link rel="stylesheet" href="/assets/markdown.css">
|
10
|
+
<link rel="stylesheet" href="/assets/bootstrap-icons.css">
|
11
|
+
<link rel="manifest" href="/assets/manifest.json">
|
12
|
+
<title>Welcome</title>
|
13
|
+
<meta name='viewport' content='width=device-width, initial-scale=1.0' />
|
14
|
+
<meta name='description' content='Home page' />
|
15
|
+
<meta name='theme-color' content='#333' />
|
16
|
+
<meta name='title' content='Welcome' />
|
17
|
+
<script src='/mnt/b/Repositorios/reactful/prototype/builds/shared.js'></script>
|
18
|
+
<script type='module' src='/mnt/b/Repositorios/reactful/prototype/builds/bundle.js'></script></head>
|
19
|
+
<body>
|
20
|
+
<div id='root'>
|
21
|
+
<h1>About</h1>
|
22
|
+
<p>
|
23
|
+
Lorem ipsum dolor sit amet consectetur adipisicing elit.
|
24
|
+
Adipisci id eaque saepe ab numquam, nisi minus atque obcaecati,
|
25
|
+
dignissimos facere accusamus nihil ipsam repudiandae praesentium,
|
26
|
+
quia animi perspiciatis architecto fuga?
|
27
|
+
</p>
|
28
|
+
</div>
|
29
|
+
</body>
|
30
|
+
</html>
|