create-cloesce 0.0.3 → 0.0.5
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 +5 -1
- package/dist/cli.js +2 -2
- package/package.json +1 -1
- package/templates/default/gitignore +98 -0
- package/templates/default/package.json +13 -1
package/README.md
CHANGED
package/dist/cli.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
"use strict";var p=Object.create;var
|
|
2
|
+
"use strict";var p=Object.create;var a=Object.defineProperty;var c=Object.getOwnPropertyDescriptor;var l=Object.getOwnPropertyNames;var u=Object.getPrototypeOf,d=Object.prototype.hasOwnProperty;var f=(e,r,t,m)=>{if(r&&typeof r=="object"||typeof r=="function")for(let o of l(r))!d.call(e,o)&&o!==t&&a(e,o,{get:()=>r[o],enumerable:!(m=c(r,o))||m.enumerable});return e};var v=(e,r,t)=>(t=e!=null?p(u(e)):{},f(r||!e||!e.__esModule?a(t,"default",{value:e,enumerable:!0}):t,e));var s=require("create-create-app"),n=require("path"),i=v(require("fs")),b=(0,n.resolve)(__dirname,"..","templates"),g=`
|
|
3
3
|
To build your Cloesce project, run:
|
|
4
4
|
- npm run build
|
|
5
5
|
- npm run migrate:cloesce Initial
|
|
@@ -8,4 +8,4 @@ To build your Cloesce project, run:
|
|
|
8
8
|
To start your Cloesce project in development mode, in seperate terminals, run:
|
|
9
9
|
- npm run start:dev
|
|
10
10
|
- npm run start:web
|
|
11
|
-
`;(0,
|
|
11
|
+
`;(0,s.create)("create-cloesce",{templateRoot:b,promptForLicense:!1,promptForDescription:!1,promptForEmail:!1,defaultLicense:"UNLICENSED",after:async({packageDir:e})=>{i.default.mkdirSync((0,n.resolve)(e,"migrations"))},caveat:g});
|
package/package.json
CHANGED
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
# Cloesce
|
|
2
|
+
.generated
|
|
3
|
+
dist
|
|
4
|
+
|
|
5
|
+
### Node ###
|
|
6
|
+
# Logs
|
|
7
|
+
logs
|
|
8
|
+
*.log
|
|
9
|
+
npm-debug.log*
|
|
10
|
+
yarn-debug.log*
|
|
11
|
+
yarn-error.log*
|
|
12
|
+
lerna-debug.log*
|
|
13
|
+
|
|
14
|
+
# Diagnostic reports (https://nodejs.org/api/report.html)
|
|
15
|
+
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
|
|
16
|
+
|
|
17
|
+
# Runtime data
|
|
18
|
+
pids
|
|
19
|
+
*.pid
|
|
20
|
+
*.seed
|
|
21
|
+
*.pid.lock
|
|
22
|
+
|
|
23
|
+
# Directory for instrumented libs generated by jscoverage/JSCover
|
|
24
|
+
lib-cov
|
|
25
|
+
|
|
26
|
+
# Coverage directory used by tools like istanbul
|
|
27
|
+
coverage
|
|
28
|
+
*.lcov
|
|
29
|
+
|
|
30
|
+
# nyc test coverage
|
|
31
|
+
.nyc_output
|
|
32
|
+
|
|
33
|
+
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
|
|
34
|
+
.grunt
|
|
35
|
+
|
|
36
|
+
# Bower dependency directory (https://bower.io/)
|
|
37
|
+
bower_components
|
|
38
|
+
|
|
39
|
+
# node-waf configuration
|
|
40
|
+
.lock-wscript
|
|
41
|
+
|
|
42
|
+
# Compiled binary addons (https://nodejs.org/api/addons.html)
|
|
43
|
+
build/Release
|
|
44
|
+
|
|
45
|
+
# Dependency directories
|
|
46
|
+
node_modules/
|
|
47
|
+
jspm_packages/
|
|
48
|
+
|
|
49
|
+
# TypeScript v1 declaration files
|
|
50
|
+
typings/
|
|
51
|
+
|
|
52
|
+
# TypeScript cache
|
|
53
|
+
*.tsbuildinfo
|
|
54
|
+
|
|
55
|
+
# Optional npm cache directory
|
|
56
|
+
.npm
|
|
57
|
+
|
|
58
|
+
# Optional eslint cache
|
|
59
|
+
.eslintcache
|
|
60
|
+
|
|
61
|
+
# Optional REPL history
|
|
62
|
+
.node_repl_history
|
|
63
|
+
|
|
64
|
+
# Output of 'npm pack'
|
|
65
|
+
*.tgz
|
|
66
|
+
|
|
67
|
+
# Yarn Integrity file
|
|
68
|
+
.yarn-integrity
|
|
69
|
+
|
|
70
|
+
# dotenv environment variables file
|
|
71
|
+
.env
|
|
72
|
+
.env.test
|
|
73
|
+
|
|
74
|
+
# parcel-bundler cache (https://parceljs.org/)
|
|
75
|
+
.cache
|
|
76
|
+
|
|
77
|
+
# next.js build output
|
|
78
|
+
.next
|
|
79
|
+
|
|
80
|
+
# nuxt.js build output
|
|
81
|
+
.nuxt
|
|
82
|
+
|
|
83
|
+
# react / gatsby
|
|
84
|
+
public/
|
|
85
|
+
|
|
86
|
+
# vuepress build output
|
|
87
|
+
.vuepress/dist
|
|
88
|
+
|
|
89
|
+
# Serverless directories
|
|
90
|
+
.serverless/
|
|
91
|
+
|
|
92
|
+
# FuseBox cache
|
|
93
|
+
.fusebox/
|
|
94
|
+
|
|
95
|
+
# DynamoDB Local files
|
|
96
|
+
.dynamodb/
|
|
97
|
+
|
|
98
|
+
# End of https://www.gitignore.io/api/node
|
|
@@ -11,8 +11,20 @@
|
|
|
11
11
|
"start:web": "vite",
|
|
12
12
|
"test": "vitest"
|
|
13
13
|
},
|
|
14
|
+
"dependencies": {
|
|
15
|
+
"cloesce": ">=0.1.0",
|
|
16
|
+
"wrangler": "^4.61.1"
|
|
17
|
+
},
|
|
18
|
+
"devDependencies": {
|
|
19
|
+
"@cloudflare/workers-types": "^4.20260131.0",
|
|
20
|
+
"miniflare": "^4.20260128.0",
|
|
21
|
+
"vite-tsconfig-paths": "^6.0.5",
|
|
22
|
+
"vitest": "^4.0.18",
|
|
23
|
+
"typescript": "^5.9.3",
|
|
24
|
+
"vite": "^7.3.1"
|
|
25
|
+
},
|
|
14
26
|
"keywords": [],
|
|
15
27
|
"author": "",
|
|
16
28
|
"license": "ISC",
|
|
17
|
-
"type": "
|
|
29
|
+
"type": "module"
|
|
18
30
|
}
|