Skip to content

Commit

Permalink
move @wq/map-gl to separate repo
Browse files Browse the repository at this point in the history
  • Loading branch information
sheppard committed Feb 3, 2025
1 parent 4058401 commit 79c363c
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 59 deletions.
48 changes: 1 addition & 47 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,6 @@ jobs:
python-version: ["3.10"]
node-version: [18]
package:
- app
- model
- outbox
- router
- store
- react
- material
- material-web
- material-native
- map
- map-gl
- map-gl-web
Expand All @@ -42,16 +33,10 @@ jobs:
- name: Install dependencies
run: npm ci && npm run build
- name: Install native dependencies
if: matrix.package == 'material-native' || matrix.package == 'map-gl-native'
if: matrix.package == 'map-gl-native'
run: cd packages/$PACKAGE && npm ci
- name: Lint with ESLint
run: npm run lint
- name: Check ESM Imports
run: |
echo 'export default "0.0.0";' > version.js
sed -i "s/@mui\/material\/utils\/index.js/@mui\/material\/node\/utils\/index.js/" modules.js
node index.js
git checkout modules.js
- name: Start test server
run: python -m tests.server &
- name: Test with Jest
Expand All @@ -73,34 +58,3 @@ jobs:
cp .npmrc packages/$PACKAGE/.npmrc # for native builds
cd packages/$PACKAGE
npm publish
pip:
name: Python Package
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: ["3.11"]
node-version: [18]
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Set up Node ${{ matrix.python-node }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install build
- name: Build Python Wheel
run: |
python -m build
python -m pip install `ls dist/*.whl`
- uses: actions/upload-artifact@v3
with:
name: wq.app
path: dist/*.whl
8 changes: 0 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,6 @@
"tabWidth": 4
},
"workspaces": [
"packages/store",
"packages/router",
"packages/model",
"packages/outbox",
"packages/app",
"packages/react",
"packages/material-web",
"packages/material",
"packages/map",
"packages/map-gl-web",
"packages/map-gl"
Expand Down
2 changes: 1 addition & 1 deletion packages/map-gl-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/wq/wq.app.git",
"url": "git+https://github.com/wq/map-gl.git",
"directory": "packages/map-gl-native"
},
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion packages/map-gl-web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/wq/wq.app.git",
"url": "git+https://github.com/wq/map-gl.git",
"directory": "packages/map-gl-web"
},
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion packages/map-gl/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/wq/wq.app.git",
"url": "git+https://github.com/wq/map-gl.git",
"directory": "packages/map-gl"
},
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion packages/map/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/wq/wq.app.git",
"url": "git+https://github.com/wq/map-gl.git",
"directory": "packages/map"
},
"keywords": [
Expand Down

0 comments on commit 79c363c

Please sign in to comment.