jac-client 0.2.3__py3-none-any.whl → 0.2.5__py3-none-any.whl
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.
- jac_client/examples/all-in-one/assets/workers/worker.py +5 -0
- jac_client/examples/all-in-one/src/app.jac +841 -0
- jac_client/examples/all-in-one/{button.jac → src/button.jac} +1 -1
- jac_client/examples/all-in-one/{components → src/components}/button.jac +1 -1
- jac_client/examples/asset-serving/css-with-image/{app.jac → src/app.jac} +2 -2
- jac_client/examples/asset-serving/image-asset/{app.jac → src/app.jac} +2 -2
- jac_client/examples/asset-serving/import-alias/{app.jac → src/app.jac} +3 -3
- jac_client/examples/basic/{app.jac → src/app.jac} +2 -2
- jac_client/examples/basic-auth/src/app.jac +377 -0
- jac_client/examples/basic-auth-with-router/{app.jac → src/app.jac} +18 -18
- jac_client/examples/basic-full-stack/{app.jac → src/app.jac} +175 -130
- jac_client/examples/css-styling/js-styling/{app.jac → src/app.jac} +6 -6
- jac_client/examples/css-styling/material-ui/{app.jac → src/app.jac} +5 -5
- jac_client/examples/css-styling/pure-css/{app.jac → src/app.jac} +6 -6
- jac_client/examples/css-styling/sass-example/{app.jac → src/app.jac} +6 -6
- jac_client/examples/css-styling/styled-components/{app.jac → src/app.jac} +5 -5
- jac_client/examples/css-styling/tailwind-example/{app.jac → src/app.jac} +6 -6
- jac_client/examples/full-stack-with-auth/{app.jac → src/app.jac} +37 -37
- jac_client/examples/little-x/{app.jac → src/app.jac} +27 -32
- jac_client/examples/little-x/src/submit-button.jac +16 -0
- jac_client/examples/nested-folders/nested-advance/{ButtonRoot.jac → src/ButtonRoot.jac} +1 -1
- jac_client/examples/nested-folders/nested-advance/{app.jac → src/app.jac} +1 -1
- jac_client/examples/nested-folders/nested-advance/{level1 → src/level1}/ButtonSecondL.jac +1 -1
- jac_client/examples/nested-folders/nested-advance/{level1 → src/level1}/Card.jac +1 -1
- jac_client/examples/nested-folders/nested-advance/{level1 → src/level1}/level2/ButtonThirdL.jac +1 -1
- jac_client/examples/nested-folders/nested-basic/{app.jac → src/app.jac} +2 -2
- jac_client/examples/nested-folders/nested-basic/{button.jac → src/button.jac} +1 -1
- jac_client/examples/nested-folders/nested-basic/{components → src/components}/button.jac +1 -1
- jac_client/examples/ts-support/src/app.jac +35 -0
- jac_client/examples/with-router/{app.jac → src/app.jac} +11 -11
- jac_client/plugin/cli.jac +547 -0
- jac_client/plugin/client.jac +52 -0
- jac_client/plugin/client_runtime.cl.jac +38 -0
- jac_client/plugin/impl/client.impl.jac +134 -0
- jac_client/plugin/impl/client_runtime.impl.jac +177 -0
- jac_client/plugin/impl/vite_client_bundle.impl.jac +72 -0
- jac_client/plugin/plugin_config.jac +195 -0
- jac_client/plugin/src/__init__.jac +20 -0
- jac_client/plugin/src/asset_processor.jac +33 -0
- jac_client/plugin/src/babel_processor.jac +18 -0
- jac_client/plugin/src/compiler.jac +66 -0
- jac_client/plugin/src/config_loader.jac +32 -0
- jac_client/plugin/src/impl/asset_processor.impl.jac +127 -0
- jac_client/plugin/src/impl/babel_processor.impl.jac +84 -0
- jac_client/plugin/src/impl/compiler.impl.jac +251 -0
- jac_client/plugin/src/impl/config_loader.impl.jac +119 -0
- jac_client/plugin/src/impl/import_processor.impl.jac +33 -0
- jac_client/plugin/src/impl/jac_to_js.impl.jac +41 -0
- jac_client/plugin/src/impl/package_installer.impl.jac +105 -0
- jac_client/plugin/src/impl/vite_bundler.impl.jac +513 -0
- jac_client/plugin/src/import_processor.jac +19 -0
- jac_client/plugin/src/jac_to_js.jac +35 -0
- jac_client/plugin/src/package_installer.jac +26 -0
- jac_client/plugin/src/vite_bundler.jac +36 -0
- jac_client/plugin/vite_client_bundle.jac +31 -0
- jac_client/tests/conftest.py +281 -0
- jac_client/tests/fixtures/basic-app/app.jac +2 -2
- jac_client/tests/fixtures/cl_file/app.cl.jac +2 -2
- jac_client/tests/fixtures/client_app_with_antd/app.jac +1 -1
- jac_client/tests/fixtures/js_import/app.jac +5 -5
- jac_client/tests/fixtures/spawn_test/app.jac +7 -7
- jac_client/tests/fixtures/with-ts/app.jac +35 -0
- jac_client/tests/test_cli.py +755 -0
- jac_client/tests/test_it.py +347 -67
- {jac_client-0.2.3.dist-info → jac_client-0.2.5.dist-info}/METADATA +28 -30
- jac_client-0.2.5.dist-info/RECORD +74 -0
- {jac_client-0.2.3.dist-info → jac_client-0.2.5.dist-info}/WHEEL +2 -1
- jac_client-0.2.5.dist-info/entry_points.txt +4 -0
- jac_client-0.2.5.dist-info/top_level.txt +1 -0
- jac_client/docs/README.md +0 -689
- jac_client/docs/advanced-state.md +0 -1265
- jac_client/docs/asset-serving/intro.md +0 -209
- jac_client/docs/assets/pipe_line-v2.svg +0 -32
- jac_client/docs/assets/pipe_line.png +0 -0
- jac_client/docs/file-system/app.jac.md +0 -121
- jac_client/docs/file-system/backend-frontend.md +0 -217
- jac_client/docs/file-system/intro.md +0 -72
- jac_client/docs/file-system/nested-imports.md +0 -348
- jac_client/docs/guide-example/intro.md +0 -115
- jac_client/docs/guide-example/step-01-setup.md +0 -270
- jac_client/docs/guide-example/step-02-components.md +0 -416
- jac_client/docs/guide-example/step-03-styling.md +0 -478
- jac_client/docs/guide-example/step-04-todo-ui.md +0 -477
- jac_client/docs/guide-example/step-05-local-state.md +0 -530
- jac_client/docs/guide-example/step-06-events.md +0 -749
- jac_client/docs/guide-example/step-07-effects.md +0 -468
- jac_client/docs/guide-example/step-08-walkers.md +0 -534
- jac_client/docs/guide-example/step-09-authentication.md +0 -586
- jac_client/docs/guide-example/step-10-routing.md +0 -539
- jac_client/docs/guide-example/step-11-final.md +0 -963
- jac_client/docs/imports.md +0 -1141
- jac_client/docs/lifecycle-hooks.md +0 -773
- jac_client/docs/routing.md +0 -659
- jac_client/docs/styling/intro.md +0 -249
- jac_client/docs/styling/js-styling.md +0 -367
- jac_client/docs/styling/material-ui.md +0 -341
- jac_client/docs/styling/pure-css.md +0 -299
- jac_client/docs/styling/sass.md +0 -403
- jac_client/docs/styling/styled-components.md +0 -395
- jac_client/docs/styling/tailwind.md +0 -298
- jac_client/examples/all-in-one/.babelrc +0 -9
- jac_client/examples/all-in-one/README.md +0 -16
- jac_client/examples/all-in-one/app.jac +0 -426
- jac_client/examples/all-in-one/assets/burger.png +0 -0
- jac_client/examples/all-in-one/package.json +0 -29
- jac_client/examples/all-in-one/styles.css +0 -26
- jac_client/examples/all-in-one/vite.config.js +0 -28
- jac_client/examples/asset-serving/css-with-image/.babelrc +0 -9
- jac_client/examples/asset-serving/css-with-image/README.md +0 -91
- jac_client/examples/asset-serving/css-with-image/assets/burger.png +0 -0
- jac_client/examples/asset-serving/css-with-image/package.json +0 -28
- jac_client/examples/asset-serving/css-with-image/styles.css +0 -26
- jac_client/examples/asset-serving/css-with-image/vite.config.js +0 -28
- jac_client/examples/asset-serving/image-asset/.babelrc +0 -9
- jac_client/examples/asset-serving/image-asset/README.md +0 -119
- jac_client/examples/asset-serving/image-asset/assets/burger.png +0 -0
- jac_client/examples/asset-serving/image-asset/package.json +0 -28
- jac_client/examples/asset-serving/image-asset/styles.css +0 -26
- jac_client/examples/asset-serving/image-asset/vite.config.js +0 -28
- jac_client/examples/asset-serving/import-alias/.babelrc +0 -9
- jac_client/examples/asset-serving/import-alias/README.md +0 -83
- jac_client/examples/asset-serving/import-alias/assets/burger.png +0 -0
- jac_client/examples/asset-serving/import-alias/package.json +0 -28
- jac_client/examples/asset-serving/import-alias/vite.config.js +0 -28
- jac_client/examples/basic/.babelrc +0 -9
- jac_client/examples/basic/README.md +0 -16
- jac_client/examples/basic/package.json +0 -27
- jac_client/examples/basic/vite.config.js +0 -27
- jac_client/examples/basic-auth/.babelrc +0 -9
- jac_client/examples/basic-auth/README.md +0 -16
- jac_client/examples/basic-auth/app.jac +0 -308
- jac_client/examples/basic-auth/package.json +0 -27
- jac_client/examples/basic-auth/vite.config.js +0 -27
- jac_client/examples/basic-auth-with-router/.babelrc +0 -9
- jac_client/examples/basic-auth-with-router/README.md +0 -60
- jac_client/examples/basic-auth-with-router/package.json +0 -28
- jac_client/examples/basic-auth-with-router/vite.config.js +0 -27
- jac_client/examples/basic-full-stack/.babelrc +0 -9
- jac_client/examples/basic-full-stack/README.md +0 -18
- jac_client/examples/basic-full-stack/package.json +0 -28
- jac_client/examples/basic-full-stack/vite.config.js +0 -27
- jac_client/examples/css-styling/js-styling/.babelrc +0 -9
- jac_client/examples/css-styling/js-styling/README.md +0 -183
- jac_client/examples/css-styling/js-styling/package.json +0 -28
- jac_client/examples/css-styling/js-styling/styles.js +0 -100
- jac_client/examples/css-styling/js-styling/vite.config.js +0 -27
- jac_client/examples/css-styling/material-ui/.babelrc +0 -9
- jac_client/examples/css-styling/material-ui/README.md +0 -16
- jac_client/examples/css-styling/material-ui/package.json +0 -32
- jac_client/examples/css-styling/material-ui/vite.config.js +0 -27
- jac_client/examples/css-styling/pure-css/.babelrc +0 -9
- jac_client/examples/css-styling/pure-css/README.md +0 -16
- jac_client/examples/css-styling/pure-css/package.json +0 -28
- jac_client/examples/css-styling/pure-css/styles.css +0 -111
- jac_client/examples/css-styling/pure-css/vite.config.js +0 -27
- jac_client/examples/css-styling/sass-example/.babelrc +0 -9
- jac_client/examples/css-styling/sass-example/README.md +0 -16
- jac_client/examples/css-styling/sass-example/package.json +0 -29
- jac_client/examples/css-styling/sass-example/styles.scss +0 -153
- jac_client/examples/css-styling/sass-example/vite.config.js +0 -27
- jac_client/examples/css-styling/styled-components/.babelrc +0 -9
- jac_client/examples/css-styling/styled-components/README.md +0 -16
- jac_client/examples/css-styling/styled-components/package.json +0 -29
- jac_client/examples/css-styling/styled-components/styled.js +0 -90
- jac_client/examples/css-styling/styled-components/vite.config.js +0 -27
- jac_client/examples/css-styling/tailwind-example/.babelrc +0 -9
- jac_client/examples/css-styling/tailwind-example/README.md +0 -16
- jac_client/examples/css-styling/tailwind-example/global.css +0 -1
- jac_client/examples/css-styling/tailwind-example/package.json +0 -30
- jac_client/examples/css-styling/tailwind-example/vite.config.js +0 -29
- jac_client/examples/full-stack-with-auth/.babelrc +0 -9
- jac_client/examples/full-stack-with-auth/README.md +0 -16
- jac_client/examples/full-stack-with-auth/package.json +0 -28
- jac_client/examples/full-stack-with-auth/vite.config.js +0 -29
- jac_client/examples/little-x/package.json +0 -23
- jac_client/examples/little-x/submit-button.jac +0 -8
- jac_client/examples/nested-folders/nested-advance/.babelrc +0 -9
- jac_client/examples/nested-folders/nested-advance/README.md +0 -77
- jac_client/examples/nested-folders/nested-advance/package.json +0 -29
- jac_client/examples/nested-folders/nested-advance/vite.config.js +0 -28
- jac_client/examples/nested-folders/nested-basic/.babelrc +0 -9
- jac_client/examples/nested-folders/nested-basic/README.md +0 -183
- jac_client/examples/nested-folders/nested-basic/app.js +0 -7
- jac_client/examples/nested-folders/nested-basic/package.json +0 -28
- jac_client/examples/nested-folders/nested-basic/vite.config.js +0 -27
- jac_client/examples/with-router/.babelrc +0 -9
- jac_client/examples/with-router/README.md +0 -17
- jac_client/examples/with-router/package.json +0 -28
- jac_client/examples/with-router/vite.config.js +0 -27
- jac_client/plugin/cli.py +0 -244
- jac_client/plugin/client.py +0 -152
- jac_client/plugin/client_runtime.jac +0 -234
- jac_client/plugin/vite_client_bundle.py +0 -503
- jac_client/tests/fixtures/js_import/utils.js +0 -21
- jac_client/tests/fixtures/package-lock.json +0 -329
- jac_client/tests/fixtures/package.json +0 -11
- jac_client/tests/test_asset_examples.py +0 -322
- jac_client/tests/test_cl.py +0 -530
- jac_client/tests/test_create_jac_app.py +0 -131
- jac_client/tests/test_nested_file.py +0 -374
- jac_client-0.2.3.dist-info/RECORD +0 -171
- jac_client-0.2.3.dist-info/entry_points.txt +0 -4
|
@@ -1,374 +0,0 @@
|
|
|
1
|
-
"""Tests for nested folder structure examples."""
|
|
2
|
-
|
|
3
|
-
from __future__ import annotations
|
|
4
|
-
|
|
5
|
-
import json
|
|
6
|
-
import subprocess
|
|
7
|
-
import tempfile
|
|
8
|
-
from pathlib import Path
|
|
9
|
-
|
|
10
|
-
import pytest
|
|
11
|
-
|
|
12
|
-
from jac_client.plugin.vite_client_bundle import ViteClientBundleBuilder
|
|
13
|
-
from jaclang.runtimelib.runtime import JacRuntime as Jac
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
@pytest.fixture(autouse=True)
|
|
17
|
-
def reset_jac_machine():
|
|
18
|
-
"""Reset Jac machine before and after each test."""
|
|
19
|
-
Jac.reset_machine()
|
|
20
|
-
yield
|
|
21
|
-
Jac.reset_machine()
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
def _create_test_project_with_vite(temp_path: Path) -> tuple[Path, Path]:
|
|
25
|
-
"""Create a minimal test project with Vite installed.
|
|
26
|
-
|
|
27
|
-
Args:
|
|
28
|
-
temp_path: Path to the temporary directory
|
|
29
|
-
"""
|
|
30
|
-
# Create package.json with base dependencies
|
|
31
|
-
package_data = {
|
|
32
|
-
"name": "test-client",
|
|
33
|
-
"version": "0.0.1",
|
|
34
|
-
"type": "module",
|
|
35
|
-
"scripts": {
|
|
36
|
-
"build": "npm run compile && vite build",
|
|
37
|
-
"dev": "vite dev",
|
|
38
|
-
"preview": "vite preview",
|
|
39
|
-
"compile": 'babel src --out-dir build --extensions ".jsx,.js" --out-file-extension .js',
|
|
40
|
-
},
|
|
41
|
-
"dependencies": {
|
|
42
|
-
"react": "^19.2.0",
|
|
43
|
-
"react-dom": "^19.2.0",
|
|
44
|
-
"react-router-dom": "^7.3.0",
|
|
45
|
-
"antd": "^6.0.0",
|
|
46
|
-
},
|
|
47
|
-
"devDependencies": {
|
|
48
|
-
"vite": "^6.4.1",
|
|
49
|
-
"@babel/cli": "^7.28.3",
|
|
50
|
-
"@babel/core": "^7.28.5",
|
|
51
|
-
"@babel/preset-env": "^7.28.5",
|
|
52
|
-
"@babel/preset-react": "^7.28.5",
|
|
53
|
-
},
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
package_json = temp_path / "package.json"
|
|
57
|
-
with package_json.open("w", encoding="utf-8") as f:
|
|
58
|
-
json.dump(package_data, f, indent=2)
|
|
59
|
-
|
|
60
|
-
# Create .babelrc file
|
|
61
|
-
babelrc = temp_path / ".babelrc"
|
|
62
|
-
babelrc.write_text(
|
|
63
|
-
"""{
|
|
64
|
-
"presets": [[
|
|
65
|
-
"@babel/preset-env",
|
|
66
|
-
{
|
|
67
|
-
"modules": false
|
|
68
|
-
}
|
|
69
|
-
], "@babel/preset-react"]
|
|
70
|
-
}
|
|
71
|
-
""",
|
|
72
|
-
encoding="utf-8",
|
|
73
|
-
)
|
|
74
|
-
|
|
75
|
-
# Create vite.config.js file
|
|
76
|
-
vite_config = temp_path / "vite.config.js"
|
|
77
|
-
vite_config.write_text(
|
|
78
|
-
"""import { defineConfig } from "vite";
|
|
79
|
-
import path from "path";
|
|
80
|
-
import { fileURLToPath } from "url";
|
|
81
|
-
|
|
82
|
-
const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
|
83
|
-
|
|
84
|
-
export default defineConfig({
|
|
85
|
-
root: ".",
|
|
86
|
-
build: {
|
|
87
|
-
rollupOptions: {
|
|
88
|
-
input: "build/main.js",
|
|
89
|
-
output: {
|
|
90
|
-
entryFileNames: "client.[hash].js",
|
|
91
|
-
assetFileNames: "[name].[ext]",
|
|
92
|
-
},
|
|
93
|
-
},
|
|
94
|
-
outDir: "dist",
|
|
95
|
-
emptyOutDir: true,
|
|
96
|
-
minify: false,
|
|
97
|
-
},
|
|
98
|
-
publicDir: false,
|
|
99
|
-
resolve: {
|
|
100
|
-
alias: {
|
|
101
|
-
"@jac-client/utils": path.resolve(__dirname, "src/client_runtime.js"),
|
|
102
|
-
},
|
|
103
|
-
},
|
|
104
|
-
});
|
|
105
|
-
""",
|
|
106
|
-
encoding="utf-8",
|
|
107
|
-
)
|
|
108
|
-
|
|
109
|
-
# Install dependencies
|
|
110
|
-
result = subprocess.run(
|
|
111
|
-
["npm", "install"],
|
|
112
|
-
cwd=temp_path,
|
|
113
|
-
check=False,
|
|
114
|
-
capture_output=True,
|
|
115
|
-
text=True,
|
|
116
|
-
)
|
|
117
|
-
if result.returncode != 0:
|
|
118
|
-
error_msg = f"npm install failed with exit code {result.returncode}\n"
|
|
119
|
-
error_msg += f"stdout: {result.stdout}\n"
|
|
120
|
-
error_msg += f"stderr: {result.stderr}\n"
|
|
121
|
-
raise RuntimeError(error_msg)
|
|
122
|
-
|
|
123
|
-
# Create output directory
|
|
124
|
-
output_dir = temp_path / "dist"
|
|
125
|
-
output_dir.mkdir(parents=True, exist_ok=True)
|
|
126
|
-
|
|
127
|
-
src_dir = temp_path / "src"
|
|
128
|
-
src_dir.mkdir(parents=True, exist_ok=True)
|
|
129
|
-
|
|
130
|
-
build_dir = temp_path / "build"
|
|
131
|
-
build_dir.mkdir(parents=True, exist_ok=True)
|
|
132
|
-
|
|
133
|
-
return package_json, output_dir
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
def test_nested_advance_example() -> None:
|
|
137
|
-
"""Test nested-advance example with multiple folder levels."""
|
|
138
|
-
with tempfile.TemporaryDirectory() as temp_dir:
|
|
139
|
-
temp_path = Path(temp_dir)
|
|
140
|
-
|
|
141
|
-
package_json, output_dir = _create_test_project_with_vite(temp_path)
|
|
142
|
-
runtime_path = Path(__file__).parent.parent / "plugin" / "client_runtime.jac"
|
|
143
|
-
|
|
144
|
-
# Initialize the Vite builder
|
|
145
|
-
builder = ViteClientBundleBuilder(
|
|
146
|
-
runtime_path=runtime_path,
|
|
147
|
-
vite_package_json=package_json,
|
|
148
|
-
vite_output_dir=output_dir,
|
|
149
|
-
vite_minify=False,
|
|
150
|
-
)
|
|
151
|
-
|
|
152
|
-
# Import the nested-advance example
|
|
153
|
-
examples_dir = (
|
|
154
|
-
Path(__file__).parent.parent
|
|
155
|
-
/ "examples"
|
|
156
|
-
/ "nested-folders"
|
|
157
|
-
/ "nested-advance"
|
|
158
|
-
)
|
|
159
|
-
(module,) = Jac.jac_import("app", str(examples_dir))
|
|
160
|
-
|
|
161
|
-
# Build the bundle
|
|
162
|
-
bundle = builder.build(module, force=True)
|
|
163
|
-
|
|
164
|
-
# Verify bundle structure
|
|
165
|
-
assert bundle is not None
|
|
166
|
-
assert bundle.module_name == "app"
|
|
167
|
-
assert "app" in bundle.client_functions
|
|
168
|
-
|
|
169
|
-
# Verify all expected components are in client_functions
|
|
170
|
-
expected_exports = {
|
|
171
|
-
"app",
|
|
172
|
-
"ButtonRoot",
|
|
173
|
-
"ButtonSecondL",
|
|
174
|
-
"ButtonThirdL",
|
|
175
|
-
"Card",
|
|
176
|
-
}
|
|
177
|
-
for export_name in expected_exports:
|
|
178
|
-
assert export_name in bundle.client_functions, (
|
|
179
|
-
f"Expected {export_name} to be in client_functions"
|
|
180
|
-
)
|
|
181
|
-
|
|
182
|
-
# Verify bundle was written to output directory
|
|
183
|
-
bundle_files = list(output_dir.glob("client.*.js"))
|
|
184
|
-
assert len(bundle_files) > 0, "Expected at least one bundle file"
|
|
185
|
-
|
|
186
|
-
# Cleanup
|
|
187
|
-
builder.cleanup_temp_dir()
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
def test_nested_folder_structure_preserved() -> None:
|
|
191
|
-
"""Test that nested folder structure is preserved in src/ directory."""
|
|
192
|
-
with tempfile.TemporaryDirectory() as temp_dir:
|
|
193
|
-
temp_path = Path(temp_dir)
|
|
194
|
-
|
|
195
|
-
package_json, output_dir = _create_test_project_with_vite(temp_path)
|
|
196
|
-
runtime_path = Path(__file__).parent.parent / "plugin" / "client_runtime.jac"
|
|
197
|
-
|
|
198
|
-
# Initialize the Vite builder
|
|
199
|
-
builder = ViteClientBundleBuilder(
|
|
200
|
-
runtime_path=runtime_path,
|
|
201
|
-
vite_package_json=package_json,
|
|
202
|
-
vite_output_dir=output_dir,
|
|
203
|
-
vite_minify=False,
|
|
204
|
-
)
|
|
205
|
-
|
|
206
|
-
# Import the nested-advance example
|
|
207
|
-
examples_dir = (
|
|
208
|
-
Path(__file__).parent.parent
|
|
209
|
-
/ "examples"
|
|
210
|
-
/ "nested-folders"
|
|
211
|
-
/ "nested-advance"
|
|
212
|
-
)
|
|
213
|
-
(module,) = Jac.jac_import("app", str(examples_dir))
|
|
214
|
-
|
|
215
|
-
# Build the bundle (this creates files in src/)
|
|
216
|
-
bundle = builder.build(module, force=True)
|
|
217
|
-
|
|
218
|
-
# Verify bundle was created
|
|
219
|
-
assert bundle is not None
|
|
220
|
-
|
|
221
|
-
src_dir = temp_path / "src"
|
|
222
|
-
|
|
223
|
-
# Verify root level file exists
|
|
224
|
-
app_js = src_dir / "app.js"
|
|
225
|
-
assert app_js.exists(), f"Expected {app_js} to exist in src/ directory"
|
|
226
|
-
|
|
227
|
-
button_root_js = src_dir / "ButtonRoot.js"
|
|
228
|
-
assert button_root_js.exists(), (
|
|
229
|
-
f"Expected {button_root_js} to exist in src/ directory"
|
|
230
|
-
)
|
|
231
|
-
|
|
232
|
-
# Verify level1 files exist
|
|
233
|
-
level1_dir = src_dir / "level1"
|
|
234
|
-
assert level1_dir.exists(), f"Expected {level1_dir} directory to exist"
|
|
235
|
-
|
|
236
|
-
button_second_js = level1_dir / "ButtonSecondL.js"
|
|
237
|
-
assert button_second_js.exists(), (
|
|
238
|
-
f"Expected {button_second_js} to exist in src/level1/ directory"
|
|
239
|
-
)
|
|
240
|
-
|
|
241
|
-
card_js = level1_dir / "Card.js"
|
|
242
|
-
assert card_js.exists(), f"Expected {card_js} to exist in src/level1/ directory"
|
|
243
|
-
|
|
244
|
-
# Verify level2 files exist
|
|
245
|
-
level2_dir = level1_dir / "level2"
|
|
246
|
-
assert level2_dir.exists(), f"Expected {level2_dir} directory to exist"
|
|
247
|
-
|
|
248
|
-
button_third_js = level2_dir / "ButtonThirdL.js"
|
|
249
|
-
assert button_third_js.exists(), (
|
|
250
|
-
f"Expected {button_third_js} to exist in src/level1/level2/ directory"
|
|
251
|
-
)
|
|
252
|
-
|
|
253
|
-
# Cleanup
|
|
254
|
-
builder.cleanup_temp_dir()
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
def test_relative_imports_in_compiled_files() -> None:
|
|
258
|
-
"""Test that relative imports are preserved correctly in compiled files."""
|
|
259
|
-
with tempfile.TemporaryDirectory() as temp_dir:
|
|
260
|
-
temp_path = Path(temp_dir)
|
|
261
|
-
|
|
262
|
-
package_json, output_dir = _create_test_project_with_vite(temp_path)
|
|
263
|
-
runtime_path = Path(__file__).parent.parent / "plugin" / "client_runtime.jac"
|
|
264
|
-
|
|
265
|
-
# Initialize the Vite builder
|
|
266
|
-
builder = ViteClientBundleBuilder(
|
|
267
|
-
runtime_path=runtime_path,
|
|
268
|
-
vite_package_json=package_json,
|
|
269
|
-
vite_output_dir=output_dir,
|
|
270
|
-
vite_minify=False,
|
|
271
|
-
)
|
|
272
|
-
|
|
273
|
-
# Import the nested-advance example
|
|
274
|
-
examples_dir = (
|
|
275
|
-
Path(__file__).parent.parent
|
|
276
|
-
/ "examples"
|
|
277
|
-
/ "nested-folders"
|
|
278
|
-
/ "nested-advance"
|
|
279
|
-
)
|
|
280
|
-
(module,) = Jac.jac_import("app", str(examples_dir))
|
|
281
|
-
|
|
282
|
-
# Build the bundle
|
|
283
|
-
bundle = builder.build(module, force=True)
|
|
284
|
-
|
|
285
|
-
# Verify bundle was created
|
|
286
|
-
assert bundle is not None
|
|
287
|
-
|
|
288
|
-
src_dir = temp_path / "src"
|
|
289
|
-
|
|
290
|
-
# Check that app.js imports from level1
|
|
291
|
-
app_js_content = (src_dir / "app.js").read_text(encoding="utf-8")
|
|
292
|
-
assert "level1/ButtonSecondL" in app_js_content, (
|
|
293
|
-
"Expected app.js to import from level1/ButtonSecondL"
|
|
294
|
-
)
|
|
295
|
-
assert "level1/level2/ButtonThirdL" in app_js_content, (
|
|
296
|
-
"Expected app.js to import from level1/level2/ButtonThirdL"
|
|
297
|
-
)
|
|
298
|
-
|
|
299
|
-
# Check that ButtonSecondL.js imports from root (using ..)
|
|
300
|
-
button_second_content = (src_dir / "level1" / "ButtonSecondL.js").read_text(
|
|
301
|
-
encoding="utf-8"
|
|
302
|
-
)
|
|
303
|
-
assert "../ButtonRoot" in button_second_content, (
|
|
304
|
-
"Expected ButtonSecondL.js to import from ../ButtonRoot"
|
|
305
|
-
)
|
|
306
|
-
|
|
307
|
-
# Check that Card.js imports from both root and level2
|
|
308
|
-
card_content = (src_dir / "level1" / "Card.js").read_text(encoding="utf-8")
|
|
309
|
-
assert "../ButtonRoot" in card_content, (
|
|
310
|
-
"Expected Card.js to import from ../ButtonRoot (above)"
|
|
311
|
-
)
|
|
312
|
-
assert "level2/ButtonThirdL" in card_content, (
|
|
313
|
-
"Expected Card.js to import from level2/ButtonThirdL (below)"
|
|
314
|
-
)
|
|
315
|
-
|
|
316
|
-
# Check that ButtonThirdL.js imports from root and second level
|
|
317
|
-
button_third_content = (
|
|
318
|
-
src_dir / "level1" / "level2" / "ButtonThirdL.js"
|
|
319
|
-
).read_text(encoding="utf-8")
|
|
320
|
-
assert "../../ButtonRoot" in button_third_content, (
|
|
321
|
-
"Expected ButtonThirdL.js to import from ../../ButtonRoot"
|
|
322
|
-
)
|
|
323
|
-
assert "../ButtonSecondL" in button_third_content, (
|
|
324
|
-
"Expected ButtonThirdL.js to import from ../ButtonSecondL"
|
|
325
|
-
)
|
|
326
|
-
|
|
327
|
-
# Cleanup
|
|
328
|
-
builder.cleanup_temp_dir()
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
def test_nested_basic_example() -> None:
|
|
332
|
-
"""Test nested-basic example with simpler nested structure."""
|
|
333
|
-
with tempfile.TemporaryDirectory() as temp_dir:
|
|
334
|
-
temp_path = Path(temp_dir)
|
|
335
|
-
|
|
336
|
-
package_json, output_dir = _create_test_project_with_vite(temp_path)
|
|
337
|
-
runtime_path = Path(__file__).parent.parent / "plugin" / "client_runtime.jac"
|
|
338
|
-
|
|
339
|
-
# Initialize the Vite builder
|
|
340
|
-
builder = ViteClientBundleBuilder(
|
|
341
|
-
runtime_path=runtime_path,
|
|
342
|
-
vite_package_json=package_json,
|
|
343
|
-
vite_output_dir=output_dir,
|
|
344
|
-
vite_minify=False,
|
|
345
|
-
)
|
|
346
|
-
|
|
347
|
-
# Import the nested-basic example
|
|
348
|
-
examples_dir = (
|
|
349
|
-
Path(__file__).parent.parent
|
|
350
|
-
/ "examples"
|
|
351
|
-
/ "nested-folders"
|
|
352
|
-
/ "nested-basic"
|
|
353
|
-
)
|
|
354
|
-
(module,) = Jac.jac_import("app", str(examples_dir))
|
|
355
|
-
|
|
356
|
-
# Build the bundle
|
|
357
|
-
bundle = builder.build(module, force=True)
|
|
358
|
-
|
|
359
|
-
# Verify bundle structure
|
|
360
|
-
assert bundle is not None
|
|
361
|
-
assert bundle.module_name == "app"
|
|
362
|
-
assert "app" in bundle.client_functions
|
|
363
|
-
|
|
364
|
-
src_dir = temp_path / "src"
|
|
365
|
-
|
|
366
|
-
# Verify nested structure is preserved
|
|
367
|
-
components_dir = src_dir / "components"
|
|
368
|
-
assert components_dir.exists(), "Expected components directory to exist in src/"
|
|
369
|
-
|
|
370
|
-
button_js = components_dir / "button.js"
|
|
371
|
-
assert button_js.exists(), "Expected button.js to exist in src/components/"
|
|
372
|
-
|
|
373
|
-
# Cleanup
|
|
374
|
-
builder.cleanup_temp_dir()
|
|
@@ -1,171 +0,0 @@
|
|
|
1
|
-
jac_client/docs/README.md,sha256=-4dfeFsic__wVl9pOBFBkzD6pY23TZtc9-2c2RYICok,17863
|
|
2
|
-
jac_client/docs/advanced-state.md,sha256=XGNbYnv4Nqj7tvFtELBDzRH59_7HHT72YfN7uA7XfNM,35422
|
|
3
|
-
jac_client/docs/asset-serving/intro.md,sha256=ZpfKJTLdrhdbq8AqT2a3P8C_wkB1OT49Kq5IXZouMyQ,5357
|
|
4
|
-
jac_client/docs/assets/pipe_line-v2.svg,sha256=SA7tYXOH-wl_UEkYaZ8BaMT0NvYg5eFcx5ynCZ85dl4,207016
|
|
5
|
-
jac_client/docs/assets/pipe_line.png,sha256=agSseYhL8rNX-cxlqlfbBOuhtq_iGnujNx6oQufl33s,70639
|
|
6
|
-
jac_client/docs/file-system/app.jac.md,sha256=nAfIj7ZlJc6v1V-YyDJUchGrkeonAyp7vgeEZ4lnPpI,2626
|
|
7
|
-
jac_client/docs/file-system/backend-frontend.md,sha256=de7DX2dfrMY1wnIWqJ_EC-kGy1fCDCrUvjv018AFfnk,5307
|
|
8
|
-
jac_client/docs/file-system/intro.md,sha256=TWU2BzUSDaTd2iAT8RKKo6qQavd8rpqbSttmKPZUGYs,1966
|
|
9
|
-
jac_client/docs/file-system/nested-imports.md,sha256=HuVMQAi04hNnBv34H88QGm9XI-coo8PPKRwYBb-EAFU,8711
|
|
10
|
-
jac_client/docs/guide-example/intro.md,sha256=nu_LJPyf1PBtGVh3ZZI_81MKrL3ZaC-m3aPh1EGdzmA,4587
|
|
11
|
-
jac_client/docs/guide-example/step-01-setup.md,sha256=lNkKin4qgeqrKcYUK3yBvI8V3aLMHvqLh0_lWCneU7M,5297
|
|
12
|
-
jac_client/docs/guide-example/step-02-components.md,sha256=TwPvYi0kGemSONodBSEaAc7v9QQ_wQ830Kkkmp-EY5A,8626
|
|
13
|
-
jac_client/docs/guide-example/step-03-styling.md,sha256=VJw0w0-sOOl1Z7vLqvGjmoM56E4glnghHXjKYD7hWUI,10633
|
|
14
|
-
jac_client/docs/guide-example/step-04-todo-ui.md,sha256=4hCLhaXRgrJj8ASCNoRWmrv3bBCNv3GtsloCt_R3O6M,11975
|
|
15
|
-
jac_client/docs/guide-example/step-05-local-state.md,sha256=C6NhYwAJ8Y4kqGPCT-HahXaOnB10asMHT-vEmPu2WSA,12875
|
|
16
|
-
jac_client/docs/guide-example/step-06-events.md,sha256=YxCIqYtSKIPRDBCWPbhHMPFtsuR_MObQVfJUmy5y86U,18514
|
|
17
|
-
jac_client/docs/guide-example/step-07-effects.md,sha256=bXBOGrN-Vwr6ZN9mWQUWBxLvJQJrKINyJzanw8Mfdhk,10035
|
|
18
|
-
jac_client/docs/guide-example/step-08-walkers.md,sha256=AFNlQ3EpYtzDeizxcF8oslo-lrWFUXmCiaUsHbfJSM4,10480
|
|
19
|
-
jac_client/docs/guide-example/step-09-authentication.md,sha256=oXHQDApvyxuRKo1wbOdkJFAt9syDASNWbl9JuZxdPek,14229
|
|
20
|
-
jac_client/docs/guide-example/step-10-routing.md,sha256=bWd8vaf0eoJiX7CUvyl5NC1zOk4_dGQ28H4Rtx21m68,11740
|
|
21
|
-
jac_client/docs/guide-example/step-11-final.md,sha256=SGfeYwvTQ1XGRmzXZZe1QuZGFXJopHzGA-arRG3RnQk,27965
|
|
22
|
-
jac_client/docs/imports.md,sha256=IkymM353CsgAycGZqHD_m4cgkm-kN8jow2x46mr9PsY,25692
|
|
23
|
-
jac_client/docs/lifecycle-hooks.md,sha256=M5cjwhPf4EaGp0A0baHbesvaRMuITfrnbMcsHrH8KpU,19450
|
|
24
|
-
jac_client/docs/routing.md,sha256=CTtQJsmm28luH_yvyue55F6a1YZ78bYyXcHbf2m5Mgk,17171
|
|
25
|
-
jac_client/docs/styling/intro.md,sha256=Mnm8GmBU6HU4-sMwZ-LAnIlZQ0755Gs_Fy4vPS_FgHw,7826
|
|
26
|
-
jac_client/docs/styling/js-styling.md,sha256=VRXAji98UyxOdGSzIH0gORWoBPpyK430YGnY9rWyckI,7853
|
|
27
|
-
jac_client/docs/styling/material-ui.md,sha256=HaeB0h5SrhQTmbyvF3iiQnNYwcIK07U94bFokMSetXA,7611
|
|
28
|
-
jac_client/docs/styling/pure-css.md,sha256=1nIdDkCPAaJ0JiQZ3M3h5a1P2F2DQi6db5fNMcvrPCw,5795
|
|
29
|
-
jac_client/docs/styling/sass.md,sha256=wysDzCMYUDUl9a40p9Om2ItXr1904dOy9MyXmb6ArJU,6630
|
|
30
|
-
jac_client/docs/styling/styled-components.md,sha256=diu9NJd96EXC9F05Xl1BfTJIj7jdCs_1Ek7kxBriWxg,7829
|
|
31
|
-
jac_client/docs/styling/tailwind.md,sha256=xfQ0NiaaLKzxp9aNoagftjPfZR-eqnWhptbcjjp4c6I,5803
|
|
32
|
-
jac_client/examples/all-in-one/.babelrc,sha256=hbksHBMOJhU8iQeWqMk9fBu1Ym5NiR1AxgbBBdwnvW8,131
|
|
33
|
-
jac_client/examples/all-in-one/README.md,sha256=CtOZM6rquJWOH3tWVp3eWuLWTSI34sh49A_NjWXY_x0,192
|
|
34
|
-
jac_client/examples/all-in-one/app.jac,sha256=bjleBG7dbKpJRkzbeQt8QsydRXabsgDj6Fu5EChOrsM,13117
|
|
35
|
-
jac_client/examples/all-in-one/assets/burger.png,sha256=NUFtYLER3WGqwYTiVpL88RXAG0t4au0y5ePpwl2Qm9k,33328
|
|
36
|
-
jac_client/examples/all-in-one/button.jac,sha256=_NGx-IJlTLEiPTwS8NiWAvPXOPcBJ2i50-fFknU_PAo,125
|
|
37
|
-
jac_client/examples/all-in-one/components/button.jac,sha256=zL2kJQTa0FSGM0jqCOADdX5ghMmrlHzQNPsrnpGHT5E,123
|
|
38
|
-
jac_client/examples/all-in-one/package.json,sha256=i8hUCQgbmuY6I4cMpux09L8OBTGzLqWLOGlOy0fgS58,722
|
|
39
|
-
jac_client/examples/all-in-one/styles.css,sha256=l8Wv7okuutVLgM72XO1IkEFrG9Chsf5HNjfmK3h0HLI,504
|
|
40
|
-
jac_client/examples/all-in-one/vite.config.js,sha256=GvS14Uox94Q3hb1pgJQXc8ShYyNrDRrDpnWIIQ8X8VA,737
|
|
41
|
-
jac_client/examples/asset-serving/css-with-image/.babelrc,sha256=hbksHBMOJhU8iQeWqMk9fBu1Ym5NiR1AxgbBBdwnvW8,131
|
|
42
|
-
jac_client/examples/asset-serving/css-with-image/README.md,sha256=J-IFKB8g8NBSgAQXHQWZLn1V0nPT70fPI-gH7G-qB_0,2124
|
|
43
|
-
jac_client/examples/asset-serving/css-with-image/app.jac,sha256=CjwH7WMjFc6cI5h_mDt2gSct_y82K-ptaxZYLFAVR-g,2833
|
|
44
|
-
jac_client/examples/asset-serving/css-with-image/assets/burger.png,sha256=NUFtYLER3WGqwYTiVpL88RXAG0t4au0y5ePpwl2Qm9k,33328
|
|
45
|
-
jac_client/examples/asset-serving/css-with-image/package.json,sha256=c-aill2hPDT8wn5m1cDGBP2vJjUENKhVCk9Tz-4U5sE,712
|
|
46
|
-
jac_client/examples/asset-serving/css-with-image/styles.css,sha256=l8Wv7okuutVLgM72XO1IkEFrG9Chsf5HNjfmK3h0HLI,504
|
|
47
|
-
jac_client/examples/asset-serving/css-with-image/vite.config.js,sha256=GvS14Uox94Q3hb1pgJQXc8ShYyNrDRrDpnWIIQ8X8VA,737
|
|
48
|
-
jac_client/examples/asset-serving/image-asset/.babelrc,sha256=hbksHBMOJhU8iQeWqMk9fBu1Ym5NiR1AxgbBBdwnvW8,131
|
|
49
|
-
jac_client/examples/asset-serving/image-asset/README.md,sha256=Sbw7MszTVw4q6dGjZ-szrYTZwhMRg7T2_0KDiF4G7NY,2702
|
|
50
|
-
jac_client/examples/asset-serving/image-asset/app.jac,sha256=YExttl_oAiWblm0O7v5QjQO3CaqPiBk1JW47SQfcRB4,1668
|
|
51
|
-
jac_client/examples/asset-serving/image-asset/assets/burger.png,sha256=NUFtYLER3WGqwYTiVpL88RXAG0t4au0y5ePpwl2Qm9k,33328
|
|
52
|
-
jac_client/examples/asset-serving/image-asset/package.json,sha256=8g1MhihI7yEg9cT-r-yUbdKVxo7k_3lUfPG-SNZNaho,702
|
|
53
|
-
jac_client/examples/asset-serving/image-asset/styles.css,sha256=l8Wv7okuutVLgM72XO1IkEFrG9Chsf5HNjfmK3h0HLI,504
|
|
54
|
-
jac_client/examples/asset-serving/image-asset/vite.config.js,sha256=GvS14Uox94Q3hb1pgJQXc8ShYyNrDRrDpnWIIQ8X8VA,737
|
|
55
|
-
jac_client/examples/asset-serving/import-alias/.babelrc,sha256=hbksHBMOJhU8iQeWqMk9fBu1Ym5NiR1AxgbBBdwnvW8,131
|
|
56
|
-
jac_client/examples/asset-serving/import-alias/README.md,sha256=pvZt-vZ_CZXq8noZZ0sh32N4MjYUaY90o1KyE_AScjc,1989
|
|
57
|
-
jac_client/examples/asset-serving/import-alias/app.jac,sha256=y2aAjVyBbXGxmlkCwzaXbAtACFp5ZtN5cG5OZ1nIGjc,3522
|
|
58
|
-
jac_client/examples/asset-serving/import-alias/assets/burger.png,sha256=NUFtYLER3WGqwYTiVpL88RXAG0t4au0y5ePpwl2Qm9k,33328
|
|
59
|
-
jac_client/examples/asset-serving/import-alias/package.json,sha256=dvbeudqeDifAOtGZGR3oxH2JE-P02i9Q5sBg7LK-bww,704
|
|
60
|
-
jac_client/examples/asset-serving/import-alias/vite.config.js,sha256=GvS14Uox94Q3hb1pgJQXc8ShYyNrDRrDpnWIIQ8X8VA,737
|
|
61
|
-
jac_client/examples/basic/.babelrc,sha256=hbksHBMOJhU8iQeWqMk9fBu1Ym5NiR1AxgbBBdwnvW8,131
|
|
62
|
-
jac_client/examples/basic/README.md,sha256=Ra90lVRm62Xnvd2j1cRewMZr_qKLQDxuRTq4-r2zU2g,188
|
|
63
|
-
jac_client/examples/basic/app.jac,sha256=wmeWWGJhVerRz7kdOjjxx5BBpHpKVo1TJTqovIoXh5Q,537
|
|
64
|
-
jac_client/examples/basic/package.json,sha256=s4YNA6rFHgIO-2MClAj-L5xaOK5DCpGNsLflemgpWSk,657
|
|
65
|
-
jac_client/examples/basic/vite.config.js,sha256=-ZxgXIX81Nw_EZupSJGPEr3BP744q6raKEBcOCN4pvs,670
|
|
66
|
-
jac_client/examples/basic-auth/.babelrc,sha256=hbksHBMOJhU8iQeWqMk9fBu1Ym5NiR1AxgbBBdwnvW8,131
|
|
67
|
-
jac_client/examples/basic-auth/README.md,sha256=aLI6d9PFhWQ5otE2ibYLia9pCCTzQBRl_snHlWFDgvw,192
|
|
68
|
-
jac_client/examples/basic-auth/app.jac,sha256=aLu-1B8oISgDj_1FnwWCcfs7ZQkjhgWH2uM0qTaCytQ,12173
|
|
69
|
-
jac_client/examples/basic-auth/package.json,sha256=p-nwic7Ym3ufVKA3xKO0UHd7mn37OIoThtVXYl0Iwy8,665
|
|
70
|
-
jac_client/examples/basic-auth/vite.config.js,sha256=-ZxgXIX81Nw_EZupSJGPEr3BP744q6raKEBcOCN4pvs,670
|
|
71
|
-
jac_client/examples/basic-auth-with-router/.babelrc,sha256=hbksHBMOJhU8iQeWqMk9fBu1Ym5NiR1AxgbBBdwnvW8,131
|
|
72
|
-
jac_client/examples/basic-auth-with-router/README.md,sha256=rYvgGTT_PzzH_Whg-wLLI0aIj06VB2ZFCbnSTleNN7E,1824
|
|
73
|
-
jac_client/examples/basic-auth-with-router/app.jac,sha256=-e5FLlFZf4pddSrNmitlhtpv5_z9wkdcnxIc2RagoNg,15079
|
|
74
|
-
jac_client/examples/basic-auth-with-router/package.json,sha256=yuVb_SKTOFVHKltq0hcfcQms4D5OkiRgh_72AFWRgyg,724
|
|
75
|
-
jac_client/examples/basic-auth-with-router/vite.config.js,sha256=-ZxgXIX81Nw_EZupSJGPEr3BP744q6raKEBcOCN4pvs,670
|
|
76
|
-
jac_client/examples/basic-full-stack/.babelrc,sha256=hbksHBMOJhU8iQeWqMk9fBu1Ym5NiR1AxgbBBdwnvW8,131
|
|
77
|
-
jac_client/examples/basic-full-stack/README.md,sha256=qEFUx5zPYk2OYi9XOpPBbE9oWyqudHu6YXTkcE35QPA,200
|
|
78
|
-
jac_client/examples/basic-full-stack/app.jac,sha256=T2DbREtr7AaWskTIvvmrl6PCAtxclXwXhxity65I-6M,12080
|
|
79
|
-
jac_client/examples/basic-full-stack/package.json,sha256=d6UHZRCoahxOXEMeDb38r-eWamqVO0VXOjSGyT_Nrm8,711
|
|
80
|
-
jac_client/examples/basic-full-stack/vite.config.js,sha256=-ZxgXIX81Nw_EZupSJGPEr3BP744q6raKEBcOCN4pvs,670
|
|
81
|
-
jac_client/examples/css-styling/js-styling/.babelrc,sha256=hbksHBMOJhU8iQeWqMk9fBu1Ym5NiR1AxgbBBdwnvW8,131
|
|
82
|
-
jac_client/examples/css-styling/js-styling/README.md,sha256=duI1ApGtzApSaPHGfk-BBPIT-tCUG62MVaXGMcpTYoQ,4263
|
|
83
|
-
jac_client/examples/css-styling/js-styling/app.jac,sha256=hNNaAMwiLZeZOi8Q_NyeA6tbVlGBx1uggFtIkP87PV8,2509
|
|
84
|
-
jac_client/examples/css-styling/js-styling/package.json,sha256=r5_9twBgnsrxphvujWxAp-X8mfTixnMDMDSwt_HAGgY,714
|
|
85
|
-
jac_client/examples/css-styling/js-styling/styles.js,sha256=fhphoGb5G02yGokIS_vvIKbdnzbGjL-f2s4V_zOsz28,2368
|
|
86
|
-
jac_client/examples/css-styling/js-styling/vite.config.js,sha256=-ZxgXIX81Nw_EZupSJGPEr3BP744q6raKEBcOCN4pvs,670
|
|
87
|
-
jac_client/examples/css-styling/material-ui/.babelrc,sha256=hbksHBMOJhU8iQeWqMk9fBu1Ym5NiR1AxgbBBdwnvW8,131
|
|
88
|
-
jac_client/examples/css-styling/material-ui/README.md,sha256=2DGfAKCZ04cbRFPS8DFTKi7Ks_nSwGDq1nwbDlc_eqA,193
|
|
89
|
-
jac_client/examples/css-styling/material-ui/app.jac,sha256=2v44PAwLiKH1LPoUC5NAGI8oUn6WK9ai1qCIB_EjkSc,4785
|
|
90
|
-
jac_client/examples/css-styling/material-ui/package.json,sha256=R9VkXxM9TPtW-32rJUnARm8sjKyq9zRh7CnqHryNZyw,839
|
|
91
|
-
jac_client/examples/css-styling/material-ui/vite.config.js,sha256=-ZxgXIX81Nw_EZupSJGPEr3BP744q6raKEBcOCN4pvs,670
|
|
92
|
-
jac_client/examples/css-styling/pure-css/.babelrc,sha256=hbksHBMOJhU8iQeWqMk9fBu1Ym5NiR1AxgbBBdwnvW8,131
|
|
93
|
-
jac_client/examples/css-styling/pure-css/README.md,sha256=2DGfAKCZ04cbRFPS8DFTKi7Ks_nSwGDq1nwbDlc_eqA,193
|
|
94
|
-
jac_client/examples/css-styling/pure-css/app.jac,sha256=5bIb8opK7idlLoVLxzurJZtZOZbJ0cyGIsFjcvjAQ40,2093
|
|
95
|
-
jac_client/examples/css-styling/pure-css/package.json,sha256=yc41R8NU9l-RL1uC-S_pBtFfWv1hZm-A0jMhoSqYht0,702
|
|
96
|
-
jac_client/examples/css-styling/pure-css/styles.css,sha256=aRHewl0jY-kAFmTTW2SOJpSDEuE29xTJsc4xuHEYZiY,1888
|
|
97
|
-
jac_client/examples/css-styling/pure-css/vite.config.js,sha256=-ZxgXIX81Nw_EZupSJGPEr3BP744q6raKEBcOCN4pvs,670
|
|
98
|
-
jac_client/examples/css-styling/sass-example/.babelrc,sha256=hbksHBMOJhU8iQeWqMk9fBu1Ym5NiR1AxgbBBdwnvW8,131
|
|
99
|
-
jac_client/examples/css-styling/sass-example/README.md,sha256=0xUQHIZ2WMv2yyxLPCI3YNA-ybgEJl8YnPUTBqxcHbY,194
|
|
100
|
-
jac_client/examples/css-styling/sass-example/app.jac,sha256=Cq99ibAIzHW15QScNxXrxbJUvs33cVIIUUQfIyQOmqo,2094
|
|
101
|
-
jac_client/examples/css-styling/sass-example/package.json,sha256=LB_jXVnyH-ZJWSWKt1jOYKiAlV9xS1sN7z9GaeDvBlE,727
|
|
102
|
-
jac_client/examples/css-styling/sass-example/styles.scss,sha256=HoU19oR-ewhP8S0ueXxd3TS7Pn2GVOt-4WL8mjbCUHk,2665
|
|
103
|
-
jac_client/examples/css-styling/sass-example/vite.config.js,sha256=-ZxgXIX81Nw_EZupSJGPEr3BP744q6raKEBcOCN4pvs,670
|
|
104
|
-
jac_client/examples/css-styling/styled-components/.babelrc,sha256=hbksHBMOJhU8iQeWqMk9fBu1Ym5NiR1AxgbBBdwnvW8,131
|
|
105
|
-
jac_client/examples/css-styling/styled-components/README.md,sha256=aUHMXm48JXtMcWoo6WU6KcuNTBw7Fy09qF6Deau-RIE,199
|
|
106
|
-
jac_client/examples/css-styling/styled-components/app.jac,sha256=Bn9rRR4g-sTRXv3OSc_oiXXO2DOQl_WzMItr8c_unV0,1974
|
|
107
|
-
jac_client/examples/css-styling/styled-components/package.json,sha256=DRiwbo7YI294CdtaIAjekAc0N9tgrBiDC_VxYbP7Mzc,750
|
|
108
|
-
jac_client/examples/css-styling/styled-components/styled.js,sha256=zD_TLMW_bOF3kGrT0_L2wzFldGora7YU-lUQCDjDOqA,2022
|
|
109
|
-
jac_client/examples/css-styling/styled-components/vite.config.js,sha256=-ZxgXIX81Nw_EZupSJGPEr3BP744q6raKEBcOCN4pvs,670
|
|
110
|
-
jac_client/examples/css-styling/tailwind-example/.babelrc,sha256=hbksHBMOJhU8iQeWqMk9fBu1Ym5NiR1AxgbBBdwnvW8,131
|
|
111
|
-
jac_client/examples/css-styling/tailwind-example/README.md,sha256=5NWjGfNn6DYEwvDgShseSuAkKPuURg1fmzjYQ5_eq4I,198
|
|
112
|
-
jac_client/examples/css-styling/tailwind-example/app.jac,sha256=T9KSJbEMiCLCr9ijNDbudr6WCq2uZ5B0f3JW1ObPWBk,3024
|
|
113
|
-
jac_client/examples/css-styling/tailwind-example/global.css,sha256=QgcOC0W7IBsrg4pSqqpull-WTgtULZfx_lF_5ZxLdag,23
|
|
114
|
-
jac_client/examples/css-styling/tailwind-example/package.json,sha256=_GzsqRDrd0Qt7gyMEGlSicv6LvSHlDZDwFw8hvN3LhI,778
|
|
115
|
-
jac_client/examples/css-styling/tailwind-example/vite.config.js,sha256=mcOzATWDNvFtgw8SOIPIB8VJMzV43Ch4fdW4CR1eGmw,749
|
|
116
|
-
jac_client/examples/full-stack-with-auth/.babelrc,sha256=hbksHBMOJhU8iQeWqMk9fBu1Ym5NiR1AxgbBBdwnvW8,131
|
|
117
|
-
jac_client/examples/full-stack-with-auth/README.md,sha256=lQL3mQIxxHSujm0-xN95D-lh_7VfS94BmKnk1w30CLE,202
|
|
118
|
-
jac_client/examples/full-stack-with-auth/app.jac,sha256=bIqDyv8BDz-bZfTs2mZrkQ2BpH55Lg5NtSrnoXlo2yE,22195
|
|
119
|
-
jac_client/examples/full-stack-with-auth/package.json,sha256=KRZPkC-qEfXwrb93plOPfRIxrfUhSqz9VAxGGjZE3RA,720
|
|
120
|
-
jac_client/examples/full-stack-with-auth/vite.config.js,sha256=LAJOA61_P4dgLUs0aAx5aKQ6ej3mOW0gFWTdQhmtBis,710
|
|
121
|
-
jac_client/examples/little-x/app.jac,sha256=Jkpz2vJyHtPw1gqGThZOcJq7u6zH6K89CmDhL09aV9c,19280
|
|
122
|
-
jac_client/examples/little-x/package.json,sha256=XaXpijPuRDojT-yQFJwkaopDgqMiriepqEk0LsFQ-cU,521
|
|
123
|
-
jac_client/examples/little-x/submit-button.jac,sha256=_o1IAn_Bjc194H059FH77SMhfSL9iYGkLmPfEgw-u34,325
|
|
124
|
-
jac_client/examples/nested-folders/nested-advance/.babelrc,sha256=hbksHBMOJhU8iQeWqMk9fBu1Ym5NiR1AxgbBBdwnvW8,131
|
|
125
|
-
jac_client/examples/nested-folders/nested-advance/ButtonRoot.jac,sha256=TNbSn989jM9vaHhTIxwlk1gKibs78peNgh5fX29w-cU,194
|
|
126
|
-
jac_client/examples/nested-folders/nested-advance/README.md,sha256=jD_ttE8-6nP40qiEhhA46Iy8tcy8HptcOdaht9kV914,2148
|
|
127
|
-
jac_client/examples/nested-folders/nested-advance/app.jac,sha256=-uSCez8dgl4BMzUNNbb-O1vqVajxFDKOAbILTNY_PUo,799
|
|
128
|
-
jac_client/examples/nested-folders/nested-advance/level1/ButtonSecondL.jac,sha256=t4MvP_1bNXupIXRGjhHrP7MqhaD4td6x8ZW7RgmCu68,424
|
|
129
|
-
jac_client/examples/nested-folders/nested-advance/level1/Card.jac,sha256=GNsN7aXrZKWFStgaF3noHWTV4bmgG1af3l4Q7xcvMY0,993
|
|
130
|
-
jac_client/examples/nested-folders/nested-advance/level1/level2/ButtonThirdL.jac,sha256=YWrLQ9dc8HGdK4-xBwm9D-jnDSAlHt6KfG6TkvPb8h4,602
|
|
131
|
-
jac_client/examples/nested-folders/nested-advance/package.json,sha256=kkSYWP9pOEKdIJUa_22j0xNebK3iJ_jOoKc5u52a3CQ,730
|
|
132
|
-
jac_client/examples/nested-folders/nested-advance/vite.config.js,sha256=GvS14Uox94Q3hb1pgJQXc8ShYyNrDRrDpnWIIQ8X8VA,737
|
|
133
|
-
jac_client/examples/nested-folders/nested-basic/.babelrc,sha256=hbksHBMOJhU8iQeWqMk9fBu1Ym5NiR1AxgbBBdwnvW8,131
|
|
134
|
-
jac_client/examples/nested-folders/nested-basic/README.md,sha256=duI1ApGtzApSaPHGfk-BBPIT-tCUG62MVaXGMcpTYoQ,4263
|
|
135
|
-
jac_client/examples/nested-folders/nested-basic/app.jac,sha256=gN6hx5FAekww08rrharZOfMaRSx3YId6Nq4J4DrOGY4,272
|
|
136
|
-
jac_client/examples/nested-folders/nested-basic/app.js,sha256=cRHpS1cKTl5OaWMdyqnzQJeK0fngEUtgzuMf4wPfxKc,211
|
|
137
|
-
jac_client/examples/nested-folders/nested-basic/button.jac,sha256=dai-kbbsJOmuCdD3NY1gGG1yKMwZFXBDmtmDDyDnc7A,122
|
|
138
|
-
jac_client/examples/nested-folders/nested-basic/components/button.jac,sha256=kCDNaHEcxMEFdezfnecyVc56cnZU_ZnqdBDOB4kCFeE,118
|
|
139
|
-
jac_client/examples/nested-folders/nested-basic/package.json,sha256=r5_9twBgnsrxphvujWxAp-X8mfTixnMDMDSwt_HAGgY,714
|
|
140
|
-
jac_client/examples/nested-folders/nested-basic/vite.config.js,sha256=-ZxgXIX81Nw_EZupSJGPEr3BP744q6raKEBcOCN4pvs,670
|
|
141
|
-
jac_client/examples/with-router/.babelrc,sha256=hbksHBMOJhU8iQeWqMk9fBu1Ym5NiR1AxgbBBdwnvW8,131
|
|
142
|
-
jac_client/examples/with-router/README.md,sha256=Vj66hInHSqvv_5wxJlaH-fsvuBfwKd-qHoZFz53eqUs,189
|
|
143
|
-
jac_client/examples/with-router/app.jac,sha256=qw1_J4YmqfrWqClFGfb0Ed9lcaGpDRsxrj3Wx6cVP6o,8673
|
|
144
|
-
jac_client/examples/with-router/package.json,sha256=XrntNTvKzi9h0sy_EDPsH6TFEsp7RpT8-X_Tm63tLXI,692
|
|
145
|
-
jac_client/examples/with-router/vite.config.js,sha256=-ZxgXIX81Nw_EZupSJGPEr3BP744q6raKEBcOCN4pvs,670
|
|
146
|
-
jac_client/plugin/cli.py,sha256=L4GIIFBIzOji3Ro00KhUjgkCnSvdEFgwR7tAI_FrUT4,8105
|
|
147
|
-
jac_client/plugin/client.py,sha256=n9DPmESJsgaH2yT50baosQJQqoC839Wvd-hYs4UfFlU,5079
|
|
148
|
-
jac_client/plugin/client_runtime.jac,sha256=0d9650T4YLtxOjp7jzCyCOOX27YlkvERP44T4_BLdP0,7601
|
|
149
|
-
jac_client/plugin/vite_client_bundle.py,sha256=DCrc4RZiTiYXNzA9Q8D0Z_c5oqvJmg-DMTeKZuI2uVA,19800
|
|
150
|
-
jac_client/tests/__init__.py,sha256=HSr78dvKyvNmP7bLmAssfYItAn4puFwAe1oWnV8l7pA,36
|
|
151
|
-
jac_client/tests/fixtures/basic-app/app.jac,sha256=TI_4lmp_IP0tnv23vl3WnsYlXY3ZMonJthVpoQ7YoB0,492
|
|
152
|
-
jac_client/tests/fixtures/cl_file/app.cl.jac,sha256=NzCq30JX2ZJIB_zEj-hb_U690LuunIYpMdPZ03ngmw0,1165
|
|
153
|
-
jac_client/tests/fixtures/cl_file/app.jac,sha256=GmuOisnyOGfDnQ_-6juBumliLDUt1t9HQtfRpJ8xuqk,277
|
|
154
|
-
jac_client/tests/fixtures/client_app_with_antd/app.jac,sha256=K1_nJ_N8hgsq_-s4gdR_vUG-qnO5khhYpFmUZwJftdA,574
|
|
155
|
-
jac_client/tests/fixtures/js_import/app.jac,sha256=w6lXMMSeT_Lfz8lPWCzeyyYXrrINcR36WzCP8MGhnv8,811
|
|
156
|
-
jac_client/tests/fixtures/js_import/utils.js,sha256=zoK21SC50rY1hC_5_ysaysK-EFoALeYfVcDVXoxws7c,412
|
|
157
|
-
jac_client/tests/fixtures/package-lock.json,sha256=RKNoyMoGXx3IOm3B5d1Kt0vrgMac9intCLXGew51AAQ,19358
|
|
158
|
-
jac_client/tests/fixtures/package.json,sha256=1hotRU8pfxWaX_iH7E9nDSNALdAVIC5fTKmFuqG9fHI,279
|
|
159
|
-
jac_client/tests/fixtures/relative_import/app.jac,sha256=Su4UVwZeXV32wnKWvrESaLPR30C-kqyKDUrZPyaw5gQ,188
|
|
160
|
-
jac_client/tests/fixtures/relative_import/button.jac,sha256=kCDNaHEcxMEFdezfnecyVc56cnZU_ZnqdBDOB4kCFeE,118
|
|
161
|
-
jac_client/tests/fixtures/spawn_test/app.jac,sha256=MoeA_JQuhyZYhnuX5lM45FY2Zpo1LTlMyaxfJqotauU,3999
|
|
162
|
-
jac_client/tests/fixtures/test_fragments_spread/app.jac,sha256=CMzAz4Ydx_5eAV82-io8sJdy8_xy-mR7YOVc7FcozlU,1277
|
|
163
|
-
jac_client/tests/test_asset_examples.py,sha256=ridlTcylMxTip6yWl_Vbkn9puwgXSB3Jn_NqO-Ipd6M,9804
|
|
164
|
-
jac_client/tests/test_cl.py,sha256=Su-SNUKq4LA_3u5Ug7Ykyl58pRMUq3MincupAghNdiA,19039
|
|
165
|
-
jac_client/tests/test_create_jac_app.py,sha256=_cVF8jdb3gXxCBig9y9oZz4OYuNw-gmccksG82nyF9s,4305
|
|
166
|
-
jac_client/tests/test_it.py,sha256=eRgUfFtzPv-Eu05N9hWUvvzZZr_9RZMtzFzlKZADLLg,15075
|
|
167
|
-
jac_client/tests/test_nested_file.py,sha256=0f2OHE_XQJYuP2Jqw6bi2-ytzIS5GLRP7-HcpcHj6KI,11837
|
|
168
|
-
jac_client-0.2.3.dist-info/METADATA,sha256=Oqcud97KS5eSMPWPEjAZ3-oqtLGV08MKoeCizG3Gmgg,4909
|
|
169
|
-
jac_client-0.2.3.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
|
|
170
|
-
jac_client-0.2.3.dist-info/entry_points.txt,sha256=WxzPDwDUGAvQyJ_RkIOSk3cJgJChESQGP839Kb70_vo,92
|
|
171
|
-
jac_client-0.2.3.dist-info/RECORD,,
|