Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: change project name from pmpa to new #5

Closed
wants to merge 9 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/publish-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ jobs:
fail-fast: false
matrix:
include:
- name: pmpa-app
- name: soffit-order-admin-app
path: ./packages/app
context: .
- name: pmpa-api
- name: soffit-order-admin-api
path: ./packages/api
context: .

Expand Down Expand Up @@ -101,7 +101,7 @@ jobs:
labels: |
org.opencontainers.image.title="alwatr/${{matrix.name}}"
org.opencontainers.image.vendor="Alwatr"
org.opencontainers.image.documentation="https://github.com/Alwatr/pmpa"
org.opencontainers.image.documentation="https://github.com/Alwatr/soffit-order-admin"
org.opencontainers.image.authors="S. Ali Mihandoost <[email protected]> (https://ali.mihandoost.com), S. Amir Mohammad Najafi <[email protected]> (https://www.njfamirm.ir)"

- name: 🚀 Build and push container image
Expand Down
6 changes: 5 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
"typescript.enablePromptUseWorkspaceTsdk": true,
"typescript.tsdk": ".yarn/sdks/typescript/lib",
"cSpell.words": [
"alpinejs",
"alwatr",
"cssnano",
"fract",
Expand All @@ -59,5 +60,8 @@
"tailwindcss",
"tsbuildinfo",
"vazirmatn"
]
],
"[html]": {
"editor.defaultFormatter": "vscode.html-language-features"
}
}
120 changes: 0 additions & 120 deletions CHANGELOG.md

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Alwatr PMPA
# Soffit Order Admin

Progressive Multi Page (Web) Application.
16 changes: 8 additions & 8 deletions deploy/env/production.env
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
appId='pmpa'
appId='soffit-order-admin'
deployHost='mci2.alwatr.ir'
deployPath="/srv/${appId}"

appForceDomain='pmpa.alwatr.ir'
domain="pmpa.alwatr.ir"
appForceDomain='admin.order.soffit.co'
domain="admin.order.soffit.co"

appImage='ghcr.io/alwatr/pmpa-app:next'
apiImage='ghcr.io/alwatr/pmpa-api:next'
appImage='ghcr.io/alwatr/soffit-order-admin-app:next'
# apiImage='ghcr.io/alwatr/soffit-order-admin-api:next'

storageAccessToken='your_secret_token'
# storageAccessToken='your_secret_token'

apiDebug=1
storageApiDebug=1
# apiDebug=1
# storageApiDebug=1
# appAccessLog=off
# storageAccessLog=off
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@alwatr/pmpa-monorepo",
"name": "@alwatr/soffit-order-admin-monorepo",
"description": "Progressive Multi Page (Web) Application.",
"repository": "https://github.com/Alwatr/pmpa",
"repository": "https://github.com/Alwatr/soffit-order-admin",
"author": "S. Ali Mihandoost <[email protected]> (https://ali.mihandoost.com)",
"license": "MIT",
"type": "module",
Expand Down
10 changes: 5 additions & 5 deletions packages/api/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@alwatr/pmpa-api",
"version": "1.1.1",
"name": "@alwatr/soffit-order-admin-api",
"version": "0.0.0",
"description": "Alwatr Progressive Multi Page (Web) Application.",
"author": "S. Ali Mihandoost <[email protected]>",
"private": true,
Expand All @@ -12,12 +12,12 @@
},
"repository": {
"type": "git",
"url": "https://github.com/Alwatr/pmpa",
"url": "https://github.com/Alwatr/soffit-order-admin",
"directory": "packages/api"
},
"homepage": "https://github.com/Alwatr/pmpa#readme",
"homepage": "https://github.com/Alwatr/soffit-order-admin#readme",
"bugs": {
"url": "https://github.com/Alwatr/pmpa/issues"
"url": "https://github.com/Alwatr/soffit-order-admin/issues"
},
"prettier": "@alwatr/prettier-config",
"nano-build-development": {
Expand Down
2 changes: 1 addition & 1 deletion packages/api/src/lib/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {definePackage} from '@alwatr/logger';

import type {} from '@alwatr/nano-build'

export const logger = definePackage('@alwatr/pmpa-api', __package_version__);
export const logger = definePackage('@alwatr/soffit-order-admin-api', __package_version__);

if (process.env.NODE_ENV === 'production') {
if (process.env.STORAGE_TOKEN == null) {
Expand Down
2 changes: 1 addition & 1 deletion packages/api/src/route/home.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import type {StringifyableRecord} from '@alwatr/type';
nanoServer.route<StringifyableRecord>('GET', '/', () => ({
ok: true,
data: {
app: '..:: Alwatr PMPA API ::..',
app: '..:: Soffit Order Admin API ::..',
message: 'Hello ;)',
},
}));
3 changes: 3 additions & 0 deletions packages/app/.prettierrc.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
plugins: [require.resolve('prettier-plugin-tailwindcss')],
}
Loading