@brightsideoy/kama 0.1.0-alpha.18 → 0.1.0-alpha.22
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/bin/cli.js +6 -2
- package/package.json +3 -3
package/bin/cli.js
CHANGED
|
@@ -111,8 +111,12 @@ async function createFullWorkspace() {
|
|
|
111
111
|
type: 'module',
|
|
112
112
|
version: '1.0.0',
|
|
113
113
|
scripts: {
|
|
114
|
-
|
|
115
|
-
|
|
114
|
+
"build-schema": "tsx node_modules/@brightsideoy/kama/scripts/build-schema.ts",
|
|
115
|
+
"bundle-schemas": "node node_modules/@brightsideoy/kama/scripts/bundle-definitions.js",
|
|
116
|
+
"schema:local": `npm run build-schema && wrangler d1 execute ${dbName} --local --file=./schema.sql`,
|
|
117
|
+
"schema:remote": `npm run build-schema && wrangler d1 execute ${dbName} --remote --file=./schema.sql`,
|
|
118
|
+
"dev": "npm run schema:local && npm run bundle-schemas && wrangler dev",
|
|
119
|
+
"deploy": "npm run schema:remote && npm run bundle-schemas && wrangler deploy"
|
|
116
120
|
},
|
|
117
121
|
dependencies: {
|
|
118
122
|
'@brightsideoy/kama': 'latest',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brightsideoy/kama",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.22",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
}
|
|
12
12
|
},
|
|
13
13
|
"bin": {
|
|
14
|
-
"kama": "
|
|
15
|
-
"create-kama": "
|
|
14
|
+
"kama": "bin/cli.js",
|
|
15
|
+
"create-kama": "bin/cli.js"
|
|
16
16
|
},
|
|
17
17
|
"files": [
|
|
18
18
|
"dist",
|