create-granite-app 0.1.8 → 0.1.9
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/CHANGELOG.md +2 -0
- package/dist/index.js +12 -4
- package/package.json +2 -2
- package/templates/granite-app/package.json +5 -5
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -8,13 +8,13 @@ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require
|
|
|
8
8
|
// src/index.ts
|
|
9
9
|
import { isCancel, intro, text, tasks, cancel, note, outro, multiselect } from "@clack/prompts";
|
|
10
10
|
|
|
11
|
-
// ../../.yarn/cache/es-toolkit-npm-1.
|
|
11
|
+
// ../../.yarn/cache/es-toolkit-npm-1.39.8-cffe9fcdb7-a13f504339.zip/node_modules/es-toolkit/dist/string/words.mjs
|
|
12
12
|
var CASE_SPLIT_PATTERN = /\p{Lu}?\p{Ll}+|[0-9]+|\p{Lu}+(?!\p{Ll})|\p{Emoji_Presentation}|\p{Extended_Pictographic}|\p{L}+/gu;
|
|
13
13
|
function words(str) {
|
|
14
14
|
return Array.from(str.match(CASE_SPLIT_PATTERN) ?? []);
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
// ../../.yarn/cache/es-toolkit-npm-1.
|
|
17
|
+
// ../../.yarn/cache/es-toolkit-npm-1.39.8-cffe9fcdb7-a13f504339.zip/node_modules/es-toolkit/dist/string/kebabCase.mjs
|
|
18
18
|
function kebabCase(str) {
|
|
19
19
|
const words$1 = words(str);
|
|
20
20
|
return words$1.map((word) => word.toLowerCase()).join("-");
|
|
@@ -4924,7 +4924,7 @@ async function copyTemplate(templateName, templateOptions) {
|
|
|
4924
4924
|
import fs2 from "fs/promises";
|
|
4925
4925
|
import path3 from "path";
|
|
4926
4926
|
|
|
4927
|
-
// ../../.yarn/cache/es-toolkit-npm-1.
|
|
4927
|
+
// ../../.yarn/cache/es-toolkit-npm-1.39.8-cffe9fcdb7-a13f504339.zip/node_modules/es-toolkit/dist/predicate/isPlainObject.mjs
|
|
4928
4928
|
function isPlainObject(value) {
|
|
4929
4929
|
if (!value || typeof value !== "object") {
|
|
4930
4930
|
return false;
|
|
@@ -4937,11 +4937,19 @@ function isPlainObject(value) {
|
|
|
4937
4937
|
return Object.prototype.toString.call(value) === "[object Object]";
|
|
4938
4938
|
}
|
|
4939
4939
|
|
|
4940
|
-
// ../../.yarn/cache/es-toolkit-npm-1.
|
|
4940
|
+
// ../../.yarn/cache/es-toolkit-npm-1.39.8-cffe9fcdb7-a13f504339.zip/node_modules/es-toolkit/dist/_internal/isUnsafeProperty.mjs
|
|
4941
|
+
function isUnsafeProperty(key) {
|
|
4942
|
+
return key === "__proto__";
|
|
4943
|
+
}
|
|
4944
|
+
|
|
4945
|
+
// ../../.yarn/cache/es-toolkit-npm-1.39.8-cffe9fcdb7-a13f504339.zip/node_modules/es-toolkit/dist/object/merge.mjs
|
|
4941
4946
|
function merge(target, source) {
|
|
4942
4947
|
const sourceKeys = Object.keys(source);
|
|
4943
4948
|
for (let i = 0; i < sourceKeys.length; i++) {
|
|
4944
4949
|
const key = sourceKeys[i];
|
|
4950
|
+
if (isUnsafeProperty(key)) {
|
|
4951
|
+
continue;
|
|
4952
|
+
}
|
|
4945
4953
|
const sourceValue = source[key];
|
|
4946
4954
|
const targetValue = target[key];
|
|
4947
4955
|
if (Array.isArray(sourceValue)) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-granite-app",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.9",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"cba": "./bin.js",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"@types/node": "^22.10.2",
|
|
29
29
|
"@types/yargs": "^17.0.33",
|
|
30
30
|
"@vitest/coverage-v8": "^2.1.8",
|
|
31
|
-
"es-toolkit": "^1.
|
|
31
|
+
"es-toolkit": "^1.39.8",
|
|
32
32
|
"execa": "^9.5.2",
|
|
33
33
|
"kill-port": "^2.0.1",
|
|
34
34
|
"tsup": "^8.5.0",
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
"typecheck": "tsc --noEmit"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@granite-js/react-native": "0.1.
|
|
12
|
-
"@granite-js/native": "0.1.
|
|
11
|
+
"@granite-js/react-native": "0.1.9",
|
|
12
|
+
"@granite-js/native": "0.1.9",
|
|
13
13
|
"react": "18.2.0",
|
|
14
14
|
"react-native": "0.72.6"
|
|
15
15
|
},
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"@types/jest": "^29.5.14",
|
|
22
22
|
"@types/node": "^22.10.2",
|
|
23
23
|
"@types/react": "18.3.3",
|
|
24
|
-
"@granite-js/plugin-router": "0.1.
|
|
25
|
-
"@granite-js/plugin-hermes": "0.1.
|
|
26
|
-
"babel-preset-granite": "0.1.
|
|
24
|
+
"@granite-js/plugin-router": "0.1.9",
|
|
25
|
+
"@granite-js/plugin-hermes": "0.1.9",
|
|
26
|
+
"babel-preset-granite": "0.1.9",
|
|
27
27
|
"react-test-renderer": "18.2.0",
|
|
28
28
|
"jest": "^29.7.0",
|
|
29
29
|
"typescript": "^5.8.3"
|