-
Notifications
You must be signed in to change notification settings - Fork 40
/
zip-archives.ts
229 lines (225 loc) · 6.57 KB
/
zip-archives.ts
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
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
// Portions of this file are Copyright 2021 Google LLC, and licensed under GPL2+. See COPYING.
import { Symlinks } from "./filesystem";
export type ZipArchives = {
[name: string]: {
deployed?: boolean,
description?: string,
gitOrigin?: {
repoUrl: string,
branch: string,
include: {
glob: string | string[],
ignore?: string | string[],
replacePrefix?: {[path: string]: string},
}[]
}
symlinks?: Symlinks,
docs?: {[name: string]: string}
}
};
export const zipArchives: ZipArchives = {
'fonts': {},
'openscad': {
description: 'OpenSCAD',
gitOrigin: {
branch: 'master',
repoUrl: 'https://github.com/openscad/openscad',
include: [{glob: ['examples/*.scad', 'LICENSE']}],
},
docs: {
'CheatSheet': 'https://openscad.org/cheatsheet/index.html',
'Documentation': 'https://openscad.org/documentation.html',
},
},
'MCAD': {
description: 'OpenSCAD Parametric CAD Library',
gitOrigin: {
branch: 'master',
repoUrl: 'https://github.com/openscad/MCAD',
include: [{glob: ['*.scad', 'bitmap/*.scad', 'LICENSE']}],
},
},
'BOSL': {
description: 'The Belfry OpenScad Library',
gitOrigin: {
branch: 'master',
repoUrl: 'https://github.com/revarbat/BOSL',
include: [{glob: ['**/*.scad', 'LICENSE']}],
},
},
'BOSL2': {
description: 'The Belfry OpenScad Library, v2.0',
gitOrigin: {
branch: 'master',
repoUrl: 'https://github.com/BelfrySCAD/BOSL2',
include: [{glob: ['**/*.scad', 'LICENSE']}],
},
docs: {
'CheatSheet': 'https://github.com/BelfrySCAD/BOSL2/wiki/CheatSheet',
'Wiki': 'https://github.com/BelfrySCAD/BOSL2/wiki',
},
},
'NopSCADlib': {
gitOrigin: {
branch: 'master',
repoUrl: 'https://github.com/nophead/NopSCADlib',
include: [{
glob: '**/*.scad',
ignore: 'test/**',
}],
},
},
'boltsparts': {
description: 'OpenSCAD library for generating bolt/nut models',
gitOrigin: {
branch: 'main',
repoUrl: 'https://github.com/boltsparts/boltsparts',
include: [{
glob: 'openscad/**/*.scad',
ignore: 'test/**',
}],
},
docs: {
'Usage': 'https://boltsparts.github.io/en/docs/0.3/document/openscad/usage.html',
},
},
'brailleSCAD': {
gitOrigin: {
branch: 'main',
repoUrl: 'https://github.com/BelfrySCAD/brailleSCAD',
include: [{
glob: ['**/*.scad', 'LICENSE'],
ignore: 'test/**',
}],
},
docs: {
'Documentation': 'https://github.com/BelfrySCAD/brailleSCAD/wiki/TOC',
},
},
'FunctionalOpenSCAD': {
description: 'Implementing OpenSCAD in OpenSCAD',
gitOrigin: {
branch: 'master',
repoUrl: 'https://github.com/thehans/FunctionalOpenSCAD',
include: [{glob: ['**/*.scad', 'LICENSE']}],
},
},
'OpenSCAD-Snippet': {
description: 'OpenSCAD Snippet Library',
gitOrigin: {
branch: 'main',
repoUrl: 'https://github.com/AngeloNicoli/OpenSCAD-Snippet',
include: [{glob: ['**/*.scad', 'LICENSE']}],
},
symlinks: {
'Asset_SCAD': 'Asset_SCAD',
'Import_Library.scad': 'Import_Library.scad',
},
},
'funcutils': {
description: 'OpenSCAD collection of functional programming utilities, making use of function-literals.',
gitOrigin: {
branch: 'master',
repoUrl: 'https://github.com/thehans/funcutils',
include: [{glob: '**/*.scad'}],
},
},
'smooth-prim': {
description: 'OpenSCAD smooth primitives library',
gitOrigin: {
branch: 'master',
repoUrl: 'https://github.com/rcolyer/smooth-prim',
include: [{glob: ['**/*.scad', 'LICENSE.txt']}],
},
symlinks: {'smooth_prim.scad': 'smooth_prim.scad'},
},
'closepoints': {
description: 'OpenSCAD ClosePoints Library',
gitOrigin: {
branch: 'master',
repoUrl: 'https://github.com/rcolyer/closepoints',
include: [{glob: ['**/*.scad', 'LICENSE.txt']}],
},
symlinks: {'closepoints.scad': 'closepoints.scad'},
},
'plot-function': {
description: 'OpenSCAD Function Plotting Library',
gitOrigin: {
branch: 'master',
repoUrl: 'https://github.com/colyer/plot-function',
include: [{glob: ['**/*.scad', 'LICENSE.txt']}],
},
symlinks: {'plot_function.scad': 'plot_function.scad'},
},
// 'threads': {
// deployed: false,
// gitOrigin: {
// branch: 'master',
// repoUrl: 'https://github.com/colyer/threads',
// include: [{glob: ['**/*.scad', 'LICENSE.txt']}],
// },
// },
'openscad-tray': {
description: 'OpenSCAD library to create rounded rectangular trays with optional subdividers.',
gitOrigin: {
branch: 'main',
repoUrl: 'https://github.com/sofian/openscad-tray',
include: [{glob: ['**/*.scad', 'LICENSE']}],
},
symlinks: {'tray.scad': 'tray.scad'},
},
'lasercut': {
description: 'Module for OpenSCAD, allowing 3D models to be created from 2D lasercut parts.',
gitOrigin: {
branch: 'master',
repoUrl: 'https://github.com/bmsleight/lasercut',
include: [{glob: ['**/*.scad', 'LICENSE']}],
},
symlinks: {'lasercut.scad': 'lasercut.scad'},
},
'YAPP_Box': {
description: 'Yet Another Parametric Projectbox Box',
gitOrigin: {
branch: 'main',
repoUrl: 'https://github.com/mrWheel/YAPP_Box',
include: [{glob: ['**/*.scad', 'LICENSE']}],
},
},
'Stemfie_OpenSCAD': {
description: 'OpenSCAD Stemfie Library',
gitOrigin: {
branch: 'main',
repoUrl: 'https://github.com/Cantareus/Stemfie_OpenSCAD',
include: [{glob: ['**/*.scad', 'LICENSE']}],
},
},
'UB.scad': {
gitOrigin: {
branch: 'main',
repoUrl: 'https://github.com/UBaer21/UB.scad',
include: [{glob: ['libraries/*.scad', 'LICENSE', 'examples/UBexamples/*.scad'], replacePrefix: {
'libraries/': '',
'examples/UBexamples/': 'examples/',
}}],
},
symlinks: {"ub.scad": "libraries/ub.scad"}, // TODO change this after the replaces work
},
'pathbuilder': {
gitOrigin: {
branch: 'main',
repoUrl: 'https://github.com/dinther/pathbuilder.git',
include: [{glob: ['**/*.scad', 'LICENSE']}],
},
},
'openscad_attachable_text3d': {
gitOrigin: {
branch: 'main',
repoUrl: 'https://github.com/jon-gilbert/openscad_attachable_text3d.git',
include: [{glob: ['**/*.scad', 'LICENSE']}],
},
},
};
export const deployedArchiveNames =
Object.entries(zipArchives)
.filter(([_, {deployed}]) => deployed == null || deployed)
.map(([n]) => n);