251202:1000 Prepare to version 1.5 use spec-kit
This commit is contained in:
4
.prettierignore
Normal file
4
.prettierignore
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
node_modules
|
||||||
|
dist
|
||||||
|
build
|
||||||
|
*.min.js
|
||||||
3
.vscode/extensions.json
vendored
3
.vscode/extensions.json
vendored
@@ -1,3 +1,4 @@
|
|||||||
{
|
{
|
||||||
"recommendations": ["ms-vscode.powershell"]
|
"recommendations": [
|
||||||
|
"ms-vscode.powershell""]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,8 +3,16 @@
|
|||||||
-- Deploy Seed Data
|
-- Deploy Seed Data
|
||||||
-- ==========================================================
|
-- ==========================================================
|
||||||
-- Seed organization
|
-- Seed organization
|
||||||
insert into organizations (id, organization_code, organization_name)
|
insert into organizations (
|
||||||
values (1, 'กทท.', 'การท่าเรือแห่งประเทศไทย'),
|
id,
|
||||||
|
organization_code,
|
||||||
|
organization_name
|
||||||
|
)
|
||||||
|
values (
|
||||||
|
1,
|
||||||
|
'กทท.',
|
||||||
|
'การท่าเรือแห่งประเทศไทย'
|
||||||
|
),
|
||||||
(
|
(
|
||||||
10,
|
10,
|
||||||
'สคฉ.3',
|
'สคฉ.3',
|
||||||
@@ -15,7 +23,11 @@ values (1, 'กทท.', 'การท่าเรือแห่งประเ
|
|||||||
'สคฉ.3-01',
|
'สคฉ.3-01',
|
||||||
'ตรวจรับพัสดุ ที่ปรึกษาควบคุมงาน'
|
'ตรวจรับพัสดุ ที่ปรึกษาควบคุมงาน'
|
||||||
),
|
),
|
||||||
(12, 'สคฉ.3-02', 'ตรวจรับพัสดุ งานทางทะเล'),
|
(
|
||||||
|
12,
|
||||||
|
'สคฉ.3-02',
|
||||||
|
'ตรวจรับพัสดุ งานทางทะเล'
|
||||||
|
),
|
||||||
(
|
(
|
||||||
13,
|
13,
|
||||||
'สคฉ.3-03',
|
'สคฉ.3-03',
|
||||||
@@ -26,7 +38,11 @@ values (1, 'กทท.', 'การท่าเรือแห่งประเ
|
|||||||
'สคฉ.3-04',
|
'สคฉ.3-04',
|
||||||
'ตรวจรับพัสดุ ตรวจสอบผลกระทบสิ่งแวดล้อม'
|
'ตรวจรับพัสดุ ตรวจสอบผลกระทบสิ่งแวดล้อม'
|
||||||
),
|
),
|
||||||
(15, 'สคฉ.3-05', 'ตรวจรับพัสดุ เยียวยาการประมง'),
|
(
|
||||||
|
15,
|
||||||
|
'สคฉ.3-05',
|
||||||
|
'ตรวจรับพัสดุ เยียวยาการประมง'
|
||||||
|
),
|
||||||
(
|
(
|
||||||
16,
|
16,
|
||||||
'สคฉ.3-06',
|
'สคฉ.3-06',
|
||||||
@@ -42,14 +58,46 @@ values (1, 'กทท.', 'การท่าเรือแห่งประเ
|
|||||||
'สคฉ.3-xx',
|
'สคฉ.3-xx',
|
||||||
'ตรวจรับพัสดุ ที่ปรึกษาออกแบบ ส่วนที่ 4'
|
'ตรวจรับพัสดุ ที่ปรึกษาออกแบบ ส่วนที่ 4'
|
||||||
),
|
),
|
||||||
(21, 'TEAM', 'Designer Consulting Ltd.'),
|
(
|
||||||
(22, 'คคง.', 'Construction Supervision Ltd.'),
|
21,
|
||||||
(41, 'ผรม.1', 'Contractor งานทางทะเล'),
|
'TEAM',
|
||||||
(42, 'ผรม.2', 'Contractor อาคารและระบบ'),
|
'Designer Consulting Ltd.'
|
||||||
(43, 'ผรม.3', 'Contractor #3 Ltd.'),
|
),
|
||||||
(44, 'ผรม.4', 'Contractor #4 Ltd.'),
|
(
|
||||||
(31, 'EN', 'Third Party Environment'),
|
22,
|
||||||
(32, 'CAR', 'Third Party Fishery Care');
|
'คคง.',
|
||||||
|
'Construction Supervision Ltd.'
|
||||||
|
),
|
||||||
|
(
|
||||||
|
41,
|
||||||
|
'ผรม.1',
|
||||||
|
'Contractor งานทางทะเล'
|
||||||
|
),
|
||||||
|
(
|
||||||
|
42,
|
||||||
|
'ผรม.2',
|
||||||
|
'Contractor อาคารและระบบ'
|
||||||
|
),
|
||||||
|
(
|
||||||
|
43,
|
||||||
|
'ผรม.3',
|
||||||
|
'Contractor #3 Ltd.'
|
||||||
|
),
|
||||||
|
(
|
||||||
|
44,
|
||||||
|
'ผรม.4',
|
||||||
|
'Contractor #4 Ltd.'
|
||||||
|
),
|
||||||
|
(
|
||||||
|
31,
|
||||||
|
'EN',
|
||||||
|
'Third Party Environment'
|
||||||
|
),
|
||||||
|
(
|
||||||
|
32,
|
||||||
|
'CAR',
|
||||||
|
'Third Party Fishery Care'
|
||||||
|
);
|
||||||
-- Seed project
|
-- Seed project
|
||||||
insert into projects (project_code, project_name)
|
insert into projects (project_code, project_name)
|
||||||
values (
|
values (
|
||||||
|
|||||||
@@ -73,10 +73,21 @@
|
|||||||
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
|
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
|
||||||
},
|
},
|
||||||
"[sql]": {
|
"[sql]": {
|
||||||
"editor.defaultFormatter": "inferrinizzard.prettier-sql-vscode",
|
"editor.defaultFormatter": "mtxr.sqltools",
|
||||||
"editor.tabSize": 2,
|
"editor.tabSize": 2,
|
||||||
"editor.insertSpaces": true
|
"editor.insertSpaces": true
|
||||||
},
|
},
|
||||||
|
"sqltools.codelensLanguages": ["sql", ""],
|
||||||
|
"sqltools.format": {
|
||||||
|
"language": "sql",
|
||||||
|
"params": {
|
||||||
|
"keywordCase": "upper", // ทำให้ INSERT, VALUES เป็นตัวใหญ่
|
||||||
|
"tabWidth": 2, // เยื้อง 3 ช่องว่าง (ปรับจาก 4 เป็น 3 เพื่อ match ตัวอย่าง)
|
||||||
|
"expressionWidth": 80 // ความยาวสูงสุดต่อบรรทัดก่อนตีบรรทัดใหม่ (ป้องกันคอลัมน์แยกบรรทัด)
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"sqltools.formatOnSave": true,
|
||||||
|
"sqltools.formatOnSaveLanguage": "sql",
|
||||||
// ========================================
|
// ========================================
|
||||||
// CODE ACTION ON SAVE
|
// CODE ACTION ON SAVE
|
||||||
// ========================================
|
// ========================================
|
||||||
@@ -635,7 +646,18 @@
|
|||||||
"debug.console.lineHeight": 1.2,
|
"debug.console.lineHeight": 1.2,
|
||||||
"debug.internalConsoleOptions": "openOnSessionStart",
|
"debug.internalConsoleOptions": "openOnSessionStart",
|
||||||
"debug.openDebug": "openOnDebugBreak",
|
"debug.openDebug": "openOnDebugBreak",
|
||||||
"debug.showBreakpointsInOverviewRuler": true
|
"debug.showBreakpointsInOverviewRuler": true,
|
||||||
|
"prettier.configPath": "./.prettierrc",
|
||||||
|
"sqltools.connections": [
|
||||||
|
{
|
||||||
|
"name": "MariaDB",
|
||||||
|
"server": "localhost",
|
||||||
|
"port": 3306,
|
||||||
|
"user": "root",
|
||||||
|
"password": "",
|
||||||
|
"database": "lcbp3"
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
|
|
||||||
// ========================================
|
// ========================================
|
||||||
|
|||||||
22
package.json
Normal file
22
package.json
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
{
|
||||||
|
"name": "nap-dms.lcbp3",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"description": "> **Laem Chabang Port Phase 3 - Document Management System**\r >\r > ระบบบริหารจัดการเอกสารโครงการแบบครบวงจร สำหรับโครงการก่อสร้างท่าเรือแหลมฉบังระยะที่ 3",
|
||||||
|
"main": "index.js",
|
||||||
|
"directories": {
|
||||||
|
"doc": "docs",
|
||||||
|
"example": "examples"
|
||||||
|
},
|
||||||
|
"devDependencies": {},
|
||||||
|
"scripts": {
|
||||||
|
"test": "echo \"Error: no test specified\" && exit 1"
|
||||||
|
},
|
||||||
|
"repository": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "ssh://git@git.np-dms.work:2222/np-dms/lcbp3.git"
|
||||||
|
},
|
||||||
|
"keywords": [],
|
||||||
|
"author": "",
|
||||||
|
"license": "ISC",
|
||||||
|
"type": "commonjs"
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user