Skip to content

Commit

Permalink
Merge pull request #608 from dzcode-io/chore/cleanup
Browse files Browse the repository at this point in the history
Chore: cleanup
  • Loading branch information
ZibanPirate authored Oct 5, 2024
2 parents a7c6a52 + ab4629b commit 869676a
Show file tree
Hide file tree
Showing 27 changed files with 12,895 additions and 12,996 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ jobs:
uses: ./.github/workflows/ci.reusable.test-e2e.yml
strategy:
matrix:
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
# @TODO-ZM: add back windows once we replace cypress with playwright
os: ["ubuntu-latest", "macos-latest"]
node-version: ["20"]
# @TODO-ZM: add other browsers once we replace cypress with playwright
browser: ["chrome"]
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/ci.pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ jobs:
uses: ./.github/workflows/ci.reusable.test-e2e.yml
strategy:
matrix:
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
# @TODO-ZM: add back windows once we replace cypress with playwright
os: ["ubuntu-latest", "macos-latest"]
node-version: ["20"]
# @TODO-ZM: add other browsers once we replace cypress with playwright
browser: ["chrome"]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.reusable.test-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
type: string

jobs:
lint:
e2e:
runs-on: ${{ inputs.os }}

steps:
Expand Down
12 changes: 6 additions & 6 deletions api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,20 +65,20 @@
"clean": "lerna run clean:alone [email protected]/api --include-dependencies --stream",
"clean:alone": "del dist coverage fetch_cache oracle-cloud/build",
"db:generate-migration": "drizzle-kit generate",
"deploy": "del ./oracle-cloud/build && ts-node oracle-cloud/deploy.ts production",
"deploy:stg": "del ./oracle-cloud/build && ts-node oracle-cloud/deploy.ts staging",
"generate:bundle-info": "ts-node ../packages/tooling/bundle-info.ts",
"generate:sentry-release": "ts-node ../packages/tooling/sentry-release.ts api dist",
"deploy": "del ./oracle-cloud/build && tsx oracle-cloud/deploy.ts production",
"deploy:stg": "del ./oracle-cloud/build && tsx oracle-cloud/deploy.ts staging",
"generate:bundle-info": "tsx ../packages/tooling/bundle-info.ts",
"generate:sentry-release": "tsx ../packages/tooling/sentry-release.ts api dist",
"lint": "npm run build && npm run lint:alone",
"lint:alone": "npm run lint:eslint . && npm run lint:prettier --check . && npm run lint:tsc && npm run lint:ts-prune",
"lint:eslint": "eslint --config ../packages/tooling/eslint.config.mjs",
"lint:fix": "npm run build && npm run lint:fix:alone",
"lint:fix:alone": "npm run lint:eslint --fix . && npm run lint:prettier --write .",
"lint:prettier": "prettier --config ../packages/tooling/.prettierrc --ignore-path ../packages/tooling/.prettierignore --log-level warn",
"lint:ts-prune": "ts-node ../packages/tooling/setup-ts-prune.ts && ts-prune --error",
"lint:ts-prune": "tsx ../packages/tooling/setup-ts-prune.ts && ts-prune --error",
"lint:tsc": "tspc --noEmit",
"start": "node dist/app/index.js",
"start:dev": "ts-node ../packages/tooling/nodemon.ts \"@dzcode.io/api\" && nodemon dist/app/index.js",
"start:dev": "tsx ../packages/tooling/nodemon.ts \"@dzcode.io/api\" && nodemon dist/app/index.js",
"test": "npm run build && npm run test:alone",
"test:alone": "jest --config ../packages/tooling/jest.config.ts --rootDir .",
"test:watch": "npm-run-all build --parallel build:watch \"test:alone --watch {@}\" --"
Expand Down
5 changes: 0 additions & 5 deletions data/models/projects/Algeria_Startup_Jobs/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@
"provider": "github",
"owner": "algeriastartupjobs",
"name": "algeriastartupjobs.com"
},
{
"provider": "github",
"owner": "algeriastartupjobs",
"name": "diagrams"
}
]
}
30 changes: 30 additions & 0 deletions data/models/projects/Algerian_Administrative_Division/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,36 @@
"provider": "github",
"owner": "mohsenuss91",
"name": "AlgerianAdministrativeDivision"
},
{
"provider": "github",
"owner": "elaborate-code",
"name": "laravel-algerian-provinces"
},
{
"provider": "github",
"owner": "dzcode-io",
"name": "leblad"
},
{
"provider": "github",
"owner": "abderrahmaneMustapha",
"name": "leblad-py"
},
{
"provider": "github",
"owner": "omdxp",
"name": "leblad"
},
{
"provider": "github",
"owner": "omdxp",
"name": "leblad-rs"
},
{
"provider": "github",
"owner": "dfourcfive",
"name": "dzair_data_usage"
}
]
}
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
{
"name": "Laravel Algerian education system",
"name": "Algerian education system",
"repositories": [
{
"provider": "github",
"owner": "elaborate-code",
"name": "laravel-algerian-education-system"
},
{
"provider": "github",
"owner": "dzcode-io",
"name": "kuliya"
}
]
}
10 changes: 0 additions & 10 deletions data/models/projects/Dzair_Data_Usage/info.json

This file was deleted.

5 changes: 5 additions & 0 deletions data/models/projects/Godaddy_Reseller/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
"provider": "github",
"owner": "bychis",
"name": "godaddy-reseller"
},
{
"provider": "github",
"owner": "Omar-Belghaouti",
"name": "godaddy-reseller-api-client"
}
]
}
10 changes: 0 additions & 10 deletions data/models/projects/Godaddy_Reseller_Api_Client/info.json

This file was deleted.

10 changes: 0 additions & 10 deletions data/models/projects/Kuliya/info.json

This file was deleted.

10 changes: 0 additions & 10 deletions data/models/projects/Laravel_Algerian_Provinces/info.json

This file was deleted.

25 changes: 0 additions & 25 deletions data/models/projects/Leblad/info.json

This file was deleted.

10 changes: 0 additions & 10 deletions data/models/projects/Madinati_Meteo/info.json

This file was deleted.

7 changes: 6 additions & 1 deletion data/models/projects/Open-listings/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,12 @@
{
"provider": "github",
"owner": "bacloud23",
"name": "open-listings"
"name": "open-listings-rep"
},
{
"provider": "github",
"owner": "bacloud23",
"name": "open-listings-front"
}
]
}
10 changes: 0 additions & 10 deletions data/models/projects/React_Help_Create/info.json

This file was deleted.

10 changes: 0 additions & 10 deletions data/models/projects/React_Native_Help_Create/info.json

This file was deleted.

12 changes: 11 additions & 1 deletion data/models/projects/React_Project_Builder/info.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,20 @@
{
"name": "React Project Builder",
"name": "React and React Native Project Builder",
"repositories": [
{
"provider": "github",
"owner": "AmineVolk",
"name": "react-project-builder"
},
{
"provider": "github",
"owner": "Omar-Belghaouti",
"name": "react-help-create"
},
{
"provider": "github",
"owner": "Omar-Belghaouti",
"name": "react-native-help-create"
}
]
}
5 changes: 5 additions & 0 deletions data/models/projects/Weather_Forecast/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
"provider": "github",
"owner": "jidmaa",
"name": "weather-forecast"
},
{
"provider": "github",
"owner": "khalilpreview",
"name": "madinateo"
}
]
}
2 changes: 1 addition & 1 deletion data/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"lint:fix": "npm run build && npm run lint:fix:alone",
"lint:fix:alone": "npm run lint:eslint --fix . && npm run lint:prettier --write .",
"lint:prettier": "prettier --config ../packages/tooling/.prettierrc --ignore-path ../packages/tooling/.prettierignore --log-level warn",
"lint:ts-prune": "ts-node ../packages/tooling/setup-ts-prune.ts && ts-prune --error",
"lint:ts-prune": "tsx ../packages/tooling/setup-ts-prune.ts && ts-prune --error",
"lint:tsc": "tsc --noEmit",
"test": "npm run build && npm run test:alone",
"test:alone": "jest --config ../packages/tooling/jest.config.ts --rootDir .",
Expand Down
Loading

0 comments on commit 869676a

Please sign in to comment.