create-octane-xplat 0.18.0 → 0.20.0
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 +2 -144
- package/compatibility.json +97 -19
- package/compatibility.ts +141 -72
- package/dist/compatibility.js +66 -26
- package/dist/index.js +127 -64
- package/dist/package-manager.js +62 -0
- package/dist/scaffold.js +377 -127
- package/index.ts +256 -154
- package/library-template/AGENTS.md +6 -4
- package/library-template/README.md +22 -18
- package/library-template/bunfig +4 -0
- package/library-template/package.json +115 -18
- package/library-template/patches/@nativescript-community__octane@0.2.5.patch +1018 -0
- package/library-template/patches/@nativescript-community__sqlite-bridge@4.1.1.patch +30 -0
- package/library-template/patches/@nativescript-community__vite-octane@0.2.1.patch +72 -0
- package/library-template/patches/@nativescript__core@9.1.3.patch +1280 -0
- package/library-template/patches/@nativescript__doctor@2.0.18.patch +13 -0
- package/library-template/patches/@nativescript__vite@8.0.20.patch +2019 -0
- package/library-template/patches/@octane-xplat__nativescript-mason-core@1.0.0-beta.7.patch +65 -0
- package/library-template/patches/@octanejs__tiptap@0.0.62.patch +12 -0
- package/library-template/patches/@sveltejs__acorn-typescript@1.0.13.patch +16 -0
- package/library-template/patches/css@3.0.0.patch +52 -0
- package/library-template/patches/octane@0.16.3.patch +1479 -0
- package/library-template/src/Badge.tsx +7 -6
- package/library-template/src/Badge.web.tsx +7 -6
- package/library-template/src/Welcome.stories.tsx +12 -0
- package/library-template/src/normalizeBadgeLabel.ts +1 -1
- package/library-template/src/props.ts +11 -11
- package/library-template/tests/normalizeBadgeLabel.test.ts +1 -1
- package/library-template/tests/packed-consumer.mjs +140 -123
- package/library-template/tsconfig.envs.json +1 -0
- package/library-template/tsconfig.json +1 -0
- package/library-template/tsconfig.types.json +15 -1
- package/library-template/tsrx-typegen.json +1 -1
- package/library-template/workshop.config.ts +3 -0
- package/package-manager.ts +93 -0
- package/package.json +70 -58
- package/scaffold.ts +1056 -526
- package/template/.agents/skills/xplat/SKILL.md +6 -6
- package/template/.agents/skills/xplat/references/components.md +1 -1
- package/template/.agents/skills/xplat/references/navigation.md +1 -1
- package/template/.agents/skills/xplat/references/styling.md +14 -14
- package/template/AGENTS.md +10 -10
- package/template/bunfig +4 -0
- package/template/gitignore +1 -0
- package/template/nativescript.config.ts +13 -16
- package/template/package.json +119 -10
- package/template/patches/@nativescript-community__octane@0.2.5.patch +1018 -0
- package/template/patches/@nativescript-community__sqlite-bridge@4.1.1.patch +30 -0
- package/template/patches/@nativescript-community__vite-octane@0.2.1.patch +72 -0
- package/template/patches/@nativescript__core@9.1.3.patch +1280 -0
- package/template/patches/@nativescript__doctor@2.0.18.patch +13 -0
- package/template/patches/@nativescript__vite@8.0.20.patch +2019 -0
- package/template/patches/@octane-xplat__nativescript-mason-core@1.0.0-beta.7.patch +65 -0
- package/template/patches/@octanejs__tiptap@0.0.62.patch +12 -0
- package/template/patches/@sveltejs__acorn-typescript@1.0.13.patch +16 -0
- package/template/patches/css@3.0.0.patch +52 -0
- package/template/patches/octane@0.16.3.patch +1479 -0
- package/template/src/App.tsrx +77 -42
- package/template/src/Welcome.stories.tsx +22 -0
- package/template/src/app.spec.tsrx +169 -163
- package/template/src/app.web.test.tsx +18 -13
- package/template/src/failure-reporting.spec.ts +3 -3
- package/template/src/main.ts +14 -13
- package/template/src/main.tsrx +2 -0
- package/template/src/main.web.tsrx +5 -5
- package/template/src/native-runtime.spec.ts +13 -11
- package/template/src/test-setup.web.ts +9 -8
- package/template/src/test.ts +6 -6
- package/template/tsconfig.json +17 -1
- package/template/vite.config.native.mts +1 -2
- package/template/vite.config.ts +29 -23
- package/template/vitest.config.mts +18 -18
- package/template/vitest.web.config.mts +7 -7
- package/template/workshop.config.ts +3 -0
- package/library-template/pnpm-workspace.yaml +0 -171
- package/template/pnpm-workspace.yaml +0 -192
|
@@ -17,10 +17,33 @@
|
|
|
17
17
|
"url": "https://github.com/your-org/your-library",
|
|
18
18
|
"directory": "."
|
|
19
19
|
},
|
|
20
|
+
"workspaces": {
|
|
21
|
+
"packages": [],
|
|
22
|
+
"catalogs": {
|
|
23
|
+
"xplat": {
|
|
24
|
+
"@nativescript-community/octane": "0.2.5",
|
|
25
|
+
"@nativescript/core": "9.1.3",
|
|
26
|
+
"@nativescript/types": "9.1.4",
|
|
27
|
+
"@octane-xplat/cli": "0.20.0",
|
|
28
|
+
"@octane-xplat/jsx": "0.20.0",
|
|
29
|
+
"@octane-xplat/lint": "0.20.0",
|
|
30
|
+
"@octane-xplat/ui": "0.20.0",
|
|
31
|
+
"@octane-xplat/workshop": "0.20.0",
|
|
32
|
+
"@octanejs/vite-plugin": "0.5.0",
|
|
33
|
+
"@tsrx/oxc": "0.20.0",
|
|
34
|
+
"octane": "0.16.3",
|
|
35
|
+
"tsrx-typegen": "0.6.0",
|
|
36
|
+
"typescript": "7.1.0-beta",
|
|
37
|
+
"vite": "8.3.6",
|
|
38
|
+
"vitest": "4.1.11"
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
},
|
|
20
42
|
"files": [
|
|
21
43
|
"src",
|
|
22
44
|
"types",
|
|
23
|
-
"LICENSE"
|
|
45
|
+
"LICENSE",
|
|
46
|
+
"!src/**/*.stories.*"
|
|
24
47
|
],
|
|
25
48
|
"type": "module",
|
|
26
49
|
"exports": {
|
|
@@ -28,15 +51,9 @@
|
|
|
28
51
|
"macos": null,
|
|
29
52
|
"linux": null,
|
|
30
53
|
"windows": null,
|
|
31
|
-
"web": {
|
|
32
|
-
"types": "./types/index.web.d.ts",
|
|
33
|
-
"default": "./src/index.web.ts"
|
|
34
|
-
},
|
|
35
|
-
"native": {
|
|
36
|
-
"types": "./types/index.d.ts",
|
|
37
|
-
"default": "./src/index.ts"
|
|
38
|
-
},
|
|
39
54
|
"types": "./types/index.d.ts",
|
|
55
|
+
"web": "./src/index.web.ts",
|
|
56
|
+
"native": "./src/index.ts",
|
|
40
57
|
"default": "./src/index.ts"
|
|
41
58
|
}
|
|
42
59
|
},
|
|
@@ -50,20 +67,23 @@
|
|
|
50
67
|
"lint:fix": "xplat lint --fix",
|
|
51
68
|
"test": "vitest run",
|
|
52
69
|
"test:packed": "node tests/packed-consumer.mjs",
|
|
53
|
-
"prepack": "
|
|
54
|
-
"pack:check": "
|
|
55
|
-
"format": "xplat fmt"
|
|
70
|
+
"prepack": "bun run typegen && tsrx-typegen --pack-check",
|
|
71
|
+
"pack:check": "bun run test:packed",
|
|
72
|
+
"format": "xplat fmt",
|
|
73
|
+
"workshop": "xplat workshop dev --target web"
|
|
56
74
|
},
|
|
57
75
|
"devDependencies": {
|
|
58
76
|
"@nativescript-community/octane": "catalog:xplat",
|
|
59
77
|
"@nativescript/core": "catalog:xplat",
|
|
60
78
|
"@nativescript/types": "catalog:xplat",
|
|
61
79
|
"@octane-xplat/cli": "catalog:xplat",
|
|
80
|
+
"@octane-xplat/fmt": "0.3.0",
|
|
62
81
|
"@octane-xplat/jsx": "catalog:xplat",
|
|
82
|
+
"@octane-xplat/lint": "catalog:xplat",
|
|
63
83
|
"@octane-xplat/ui": "catalog:xplat",
|
|
84
|
+
"@octane-xplat/workshop": "catalog:xplat",
|
|
64
85
|
"@octanejs/vite-plugin": "catalog:xplat",
|
|
65
86
|
"@tsrx/oxc": "catalog:xplat",
|
|
66
|
-
"@tsrx/typescript-plugin": "catalog:xplat",
|
|
67
87
|
"octane": "catalog:xplat",
|
|
68
88
|
"tsrx-typegen": "catalog:xplat",
|
|
69
89
|
"typescript": "catalog:xplat",
|
|
@@ -73,8 +93,8 @@
|
|
|
73
93
|
"peerDependencies": {
|
|
74
94
|
"@nativescript-community/octane": ">=0.2.1 <1",
|
|
75
95
|
"@nativescript/core": ">=9.1.0 <10",
|
|
76
|
-
"@octane-xplat/jsx": "^0.
|
|
77
|
-
"@octane-xplat/ui": "^0.
|
|
96
|
+
"@octane-xplat/jsx": "^0.20.0",
|
|
97
|
+
"@octane-xplat/ui": "^0.20.0",
|
|
78
98
|
"octane": ">=0.6.3 <1"
|
|
79
99
|
},
|
|
80
100
|
"peerDependenciesMeta": {
|
|
@@ -85,8 +105,85 @@
|
|
|
85
105
|
"optional": true
|
|
86
106
|
}
|
|
87
107
|
},
|
|
88
|
-
"
|
|
108
|
+
"overrides": {
|
|
109
|
+
"@lexical/a11y": "0.53.0",
|
|
110
|
+
"@lexical/code": "0.53.0",
|
|
111
|
+
"@lexical/devtools-core": "0.53.0",
|
|
112
|
+
"@lexical/dragon": "0.53.0",
|
|
113
|
+
"@lexical/extension": "0.53.0",
|
|
114
|
+
"@lexical/hashtag": "0.53.0",
|
|
115
|
+
"@lexical/history": "0.53.0",
|
|
116
|
+
"@lexical/html": "0.53.0",
|
|
117
|
+
"@lexical/internal": "0.53.0",
|
|
118
|
+
"@lexical/link": "0.53.0",
|
|
119
|
+
"@lexical/list": "0.53.0",
|
|
120
|
+
"@lexical/mark": "0.53.0",
|
|
121
|
+
"@lexical/markdown": "0.53.0",
|
|
122
|
+
"@lexical/overflow": "0.53.0",
|
|
123
|
+
"@lexical/plain-text": "0.53.0",
|
|
124
|
+
"@lexical/rich-text": "0.53.0",
|
|
125
|
+
"@lexical/selection": "0.53.0",
|
|
126
|
+
"@lexical/table": "0.53.0",
|
|
127
|
+
"@lexical/text": "0.53.0",
|
|
128
|
+
"@lexical/utils": "0.53.0",
|
|
129
|
+
"@lexical/yjs": "0.53.0",
|
|
130
|
+
"@nativescript-community/vite-octane>esbuild": "0.27.7",
|
|
131
|
+
"@nativescript/vite>esbuild": "0.27.7",
|
|
132
|
+
"@nativescript/vite>typescript": "5.9.3",
|
|
133
|
+
"@tiptap/core": "3.32.2",
|
|
134
|
+
"@tiptap/extension-blockquote": "3.32.2",
|
|
135
|
+
"@tiptap/extension-bold": "3.32.2",
|
|
136
|
+
"@tiptap/extension-bubble-menu": "3.32.2",
|
|
137
|
+
"@tiptap/extension-bullet-list": "3.32.2",
|
|
138
|
+
"@tiptap/extension-code": "3.32.2",
|
|
139
|
+
"@tiptap/extension-code-block": "3.32.2",
|
|
140
|
+
"@tiptap/extension-document": "3.32.2",
|
|
141
|
+
"@tiptap/extension-dropcursor": "3.32.2",
|
|
142
|
+
"@tiptap/extension-floating-menu": "3.32.2",
|
|
143
|
+
"@tiptap/extension-gapcursor": "3.32.2",
|
|
144
|
+
"@tiptap/extension-hard-break": "3.32.2",
|
|
145
|
+
"@tiptap/extension-heading": "3.32.2",
|
|
146
|
+
"@tiptap/extension-horizontal-rule": "3.32.2",
|
|
147
|
+
"@tiptap/extension-italic": "3.32.2",
|
|
148
|
+
"@tiptap/extension-link": "3.32.2",
|
|
149
|
+
"@tiptap/extension-list": "3.32.2",
|
|
150
|
+
"@tiptap/extension-list-item": "3.32.2",
|
|
151
|
+
"@tiptap/extension-list-keymap": "3.32.2",
|
|
152
|
+
"@tiptap/extension-ordered-list": "3.32.2",
|
|
153
|
+
"@tiptap/extension-paragraph": "3.32.2",
|
|
154
|
+
"@tiptap/extension-strike": "3.32.2",
|
|
155
|
+
"@tiptap/extension-text": "3.32.2",
|
|
156
|
+
"@tiptap/extension-underline": "3.32.2",
|
|
157
|
+
"@tiptap/extensions": "3.32.2",
|
|
158
|
+
"@tiptap/pm": "3.32.2",
|
|
159
|
+
"@tiptap/starter-kit": "3.32.2",
|
|
160
|
+
"@tiptap/static-renderer": "3.32.2",
|
|
161
|
+
"lexical": "0.53.0",
|
|
162
|
+
"oxlint-tsgolint": "7.0.2005",
|
|
163
|
+
"regenerate": "1.5.0",
|
|
164
|
+
"vite>esbuild": "0.27.7"
|
|
165
|
+
},
|
|
89
166
|
"engines": {
|
|
90
|
-
"
|
|
91
|
-
|
|
167
|
+
"bun": ">=1.4.4",
|
|
168
|
+
"node": ">=22.22.2"
|
|
169
|
+
},
|
|
170
|
+
"packageManager": "bun@1.4.4",
|
|
171
|
+
"patchedDependencies": {
|
|
172
|
+
"octane@0.16.3": "patches/octane@0.16.3.patch",
|
|
173
|
+
"@nativescript/core@9.1.3": "patches/@nativescript__core@9.1.3.patch",
|
|
174
|
+
"@octane-xplat/nativescript-mason-core@1.0.0-beta.7": "patches/@octane-xplat__nativescript-mason-core@1.0.0-beta.7.patch",
|
|
175
|
+
"css@3.0.0": "patches/css@3.0.0.patch",
|
|
176
|
+
"@nativescript/vite@8.0.20": "patches/@nativescript__vite@8.0.20.patch",
|
|
177
|
+
"@nativescript-community/octane@0.2.5": "patches/@nativescript-community__octane@0.2.5.patch",
|
|
178
|
+
"@nativescript-community/vite-octane@0.2.1": "patches/@nativescript-community__vite-octane@0.2.1.patch",
|
|
179
|
+
"@octanejs/tiptap@0.0.62": "patches/@octanejs__tiptap@0.0.62.patch",
|
|
180
|
+
"@nativescript/doctor@2.0.18": "patches/@nativescript__doctor@2.0.18.patch",
|
|
181
|
+
"@sveltejs/acorn-typescript@1.0.13": "patches/@sveltejs__acorn-typescript@1.0.13.patch",
|
|
182
|
+
"@nativescript-community/sqlite-bridge@4.1.1": "patches/@nativescript-community__sqlite-bridge@4.1.1.patch"
|
|
183
|
+
},
|
|
184
|
+
"trustedDependencies": [
|
|
185
|
+
"@octane-xplat/cli",
|
|
186
|
+
"esbuild",
|
|
187
|
+
"@parcel/watcher"
|
|
188
|
+
]
|
|
92
189
|
}
|