-8
.idea/jsLibraryMappings.xml
-8
.idea/jsLibraryMappings.xml
···
1
-
<?xml version="1.0" encoding="UTF-8"?>
2
-
<project version="4">
3
-
<component name="JavaScriptLibraryMappings">
4
-
<file url="file://$PROJECT_DIR$/backend" libraries="{clippr/backend/node_modules}" />
5
-
<file url="file://$PROJECT_DIR$/frontend" libraries="{clippr/frontend/node_modules}" />
6
-
<file url="PROJECT" libraries="{clippr/backend/node_modules, clippr/frontend/node_modules}" />
7
-
</component>
8
-
</project>
···
+26
.tangled/workflows/build_backend.yaml
+26
.tangled/workflows/build_backend.yaml
···
···
1
+
when:
2
+
- event: [ "push", "pull_request" ]
3
+
branch: [ "main" ]
4
+
- event: [ "manual" ]
5
+
6
+
dependencies:
7
+
nixpkgs:
8
+
- nodejs
9
+
10
+
steps:
11
+
- name: "Move to backend folder"
12
+
command: "cd backend"
13
+
14
+
- name: "Install dependencies"
15
+
command: "npm install"
16
+
environment:
17
+
NODE_ENV: "development"
18
+
CI: true
19
+
20
+
- name: "Run linter"
21
+
command: "npm run lint"
22
+
23
+
- name: "Build application"
24
+
command: "npm run build"
25
+
environment:
26
+
NODE_ENV: "production"
+21
.tangled/workflows/build_frontend.yaml
+21
.tangled/workflows/build_frontend.yaml
···
···
1
+
when:
2
+
- event: [ "push", "pull_request" ]
3
+
branch: [ "main" ]
4
+
- event: [ "manual" ]
5
+
6
+
dependencies:
7
+
nixpkgs:
8
+
- nodejs
9
+
10
+
steps:
11
+
- name: "Move to frontend folder"
12
+
command: "cd frontend"
13
+
14
+
- name: "Install dependencies"
15
+
command: "npm install"
16
+
environment:
17
+
NODE_ENV: "development"
18
+
CI: true
19
+
20
+
- name: "Build frontend"
21
+
command: "npm run build"
+26
.tangled/workflows/build_lexicons.yaml
+26
.tangled/workflows/build_lexicons.yaml
···
···
1
+
when:
2
+
- event: [ "push", "pull_request" ]
3
+
branch: [ "main" ]
4
+
- event: [ "manual" ]
5
+
6
+
dependencies:
7
+
nixpkgs:
8
+
- nodejs
9
+
10
+
steps:
11
+
- name: "Move to lexicons folder"
12
+
command: "cd lexicons"
13
+
14
+
- name: "Install dependencies"
15
+
command: "npm install"
16
+
environment:
17
+
NODE_ENV: "development"
18
+
CI: true
19
+
20
+
- name: "Generate lexicons"
21
+
command: "npm run generate"
22
+
23
+
- name: "Build package"
24
+
command: "npm run prepublish"
25
+
environment:
26
+
NODE_ENV: "production"