Skip to content

Commit 6d3732e

Browse files
authored
Merge pull request #22 from mapmanager/dev
Refactor
2 parents 1fd6e7a + 395cd73 commit 6d3732e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+12203
-9262
lines changed

.github/workflows/deploy-pages.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,6 @@ jobs:
4848
- name: Install dependencies
4949
run: yarn install
5050

51-
- name: Build python
52-
run: yarn run build-python
53-
5451
- name: Build the React app
5552
run: yarn run build
5653

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,3 +135,7 @@ venv/
135135
src/wheel_info.json
136136
public/py/
137137
build/
138+
139+
.yarn/
140+
141+
**/*.whl

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[submodule "src/MapManagerCore"]
2-
path = MapManagerCore
2+
path = packages/core/MapManagerCore
33
url = https://github.com/mapmanager/MapManagerCore.git

.vscode/settings.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@
44
},
55
"python.formatting.provider": "none",
66
"python.analysis.extraPaths": [
7-
"./src/MapManagerCore",
7+
"./packages/core/MapManagerCore"
88
],
9-
}
9+
"search.exclude": {
10+
"**/.yarn": true,
11+
"**/.pnp.*": true
12+
},
13+
"typescript.tsdk": ".yarn/sdks/typescript/lib",
14+
"typescript.enablePromptUseWorkspaceTsdk": true
15+
}

.yarnrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
2+
# yarn lockfile v1
3+
4+
5+
yarn-path ".yarn/releases/yarn-1.22.22.cjs"

.yarnrc.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
nodeLinker: node-modules

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,8 @@ A web version of PyMapManager.
3232
```
3333

3434
## Running WebMapManager
35-
3635
* Run the server:
3736
```bash
38-
yarn start
37+
yarn dev
3938
```
40-
* Open [http://localhost:3000](http://localhost:3000) to view it in the browser (Tested on Google Chrome).
39+
* Open [http://localhost:3000](http://localhost:3000) to view it in the browser (Tested on Google Chrome).

index.html

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,13 @@
55
<link rel="icon" href="/favicon.ico" />
66
<meta name="viewport" content="width=device-width, initial-scale=1" />
77
<meta name="theme-color" content="#000000" />
8-
<meta
9-
name="description"
10-
content="Web Map Manager"
11-
/>
12-
<script src="https://cdn.jsdelivr.net/pyodide/v0.27.2/full/pyodide.js"></script>
13-
<link rel="apple-touch-icon" href="/logo192.png" />
8+
<meta name="description" content="Web Map Manager" />
149
<link rel="manifest" href="/manifest.json" />
15-
<link rel="stylesheet" href="/src/index.css" />
1610
<script type="module" src="/src/index.tsx"></script>
1711
<title>Web Map Manager</title>
1812
</head>
1913
<body>
2014
<noscript>You need to enable JavaScript to run this app.</noscript>
21-
<div class="layout">
22-
<div id="main-view"></div>
23-
</div>
15+
<div id="main-view"></div>
2416
</body>
2517
</html>

next-env.d.ts

Lines changed: 0 additions & 5 deletions
This file was deleted.

next.config.mjs

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)