-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathkist.yml
More file actions
161 lines (140 loc) · 5.69 KB
/
kist.yml
File metadata and controls
161 lines (140 loc) · 5.69 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
# =============================================================================
# font.gl - Production Build Configuration
# =============================================================================
---
options:
mode: production
logLevel: info
# =============================================================================
# Stages
# =============================================================================
stages:
- name: Build
description: "Production build for font.gl"
steps:
# Clean dist directory
# -----------------------------------------------------------------
- name: CleanDistDirectory
action: DirectoryCleanAction
options:
dirPath: "./dist"
# Process SCSS to CSS (compressed)
# Note: Main index.scss has external imports - use font.scss for standalone
# -----------------------------------------------------------------
# - name: ProcessMainStylesMinified
# action: StyleProcessingAction
# options:
# inputFile: "./src/scss/index.scss"
# outputFile: "./dist/css/font.gl.min.css"
# styleOption: "compressed"
# Process SCSS to CSS (expanded)
# -----------------------------------------------------------------
# - name: ProcessMainStylesExpanded
# action: StyleProcessingAction
# options:
# inputFile: "./src/scss/index.scss"
# outputFile: "./dist/css/font.gl.css"
# styleOption: "expanded"
# Compile TypeScript to JavaScript
# Note: TS compilation disabled due to tsconfig moduleResolution conflict
# -----------------------------------------------------------------
# - name: CompileTypeScript
# action: TypeScriptCompilerAction
# options:
# tsConfigPath: "./tsconfig.json"
# filePaths:
# - "src/ts/index.ts"
# outputDir: "./dist/js"
# compilerOptions:
# target: "ES2020"
# module: "ES2020"
# declaration: true
# Rename JS files
# -----------------------------------------------------------------
# - name: RenameMainJS
# action: FileRenameAction
# options:
# srcPath: "./dist/js/index.js"
# targetPath: "./dist/js/font.gl.js"
# - name: RenameMainJSMap
# action: FileRenameAction
# options:
# srcPath: "./dist/js/index.js.map"
# targetPath: "./dist/js/font.gl.js.map"
# - name: RenameMainDTS
# action: FileRenameAction
# options:
# srcPath: "./dist/js/index.d.ts"
# targetPath: "./dist/js/font.gl.d.ts"
# Copy source files
# -----------------------------------------------------------------
- name: CopySrcSCSS
action: DirectoryCopyAction
options:
srcDir: "./src/scss"
destDir: "./dist/scss"
- name: CopySrcTS
action: DirectoryCopyAction
options:
srcDir: "./src/ts"
destDir: "./dist/ts"
# Copy fonts
# -----------------------------------------------------------------
- name: CopyFonts
action: DirectoryCopyAction
options:
srcDir: "./src/font"
destDir: "./dist/font"
# Copy HTML
# -----------------------------------------------------------------
- name: CopyHTML
action: DirectoryCopyAction
options:
srcDir: "./src/html"
destDir: "./dist/html"
# Copy license and readme
# -----------------------------------------------------------------
- name: CopyLICENSE
action: FileCopyAction
options:
srcFile: "./LICENSE"
destDir: "./dist"
- name: CopyREADME
action: FileCopyAction
options:
srcFile: "./README.md"
destDir: "./dist"
# Generate package.json for distribution
# -----------------------------------------------------------------
- name: GeneratePackageJSON
action: PackageManagerAction
options:
packageJsonPath: "./package.json"
outputDir: "./dist"
fields:
- name
- version
- description
- keywords
- license
- homepage
- author
- contributors
- repository
- funding
- main
- module
- style
- sass
- exports
- files
# Version synchronization
# -----------------------------------------------------------------
- name: SyncVersion
action: VersionWriteAction
options:
files:
- path: "./CITATION.cff"
key: "version: "
- path: "./VERSION"
key: "v"