@live-codes/browser-compilers 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.editorconfig +17 -0
- package/.eslintignore +9 -0
- package/.eslintrc.js +198 -0
- package/.github/workflows/CI.yml +29 -0
- package/.prettierignore +3 -0
- package/.stylelintrc.json +11 -0
- package/CHANGELOG.md +0 -0
- package/LICENSE +21 -0
- package/README.md +10 -0
- package/package.json +90 -0
- package/scripts/vendors.js +308 -0
- package/tsconfig.eslint.json +12 -0
- package/tsconfig.json +49 -0
- package/vendor-licenses.md +71 -0
- package/vendor_modules/imports/autoprefixer.ts +3 -0
- package/vendor_modules/imports/babel-preset-solid.js +2 -0
- package/vendor_modules/imports/less.js +5 -0
- package/vendor_modules/imports/mdx.ts +2 -0
- package/vendor_modules/imports/monaco-editor.ts +1 -0
- package/vendor_modules/imports/postcss-preset-env.ts +3 -0
- package/vendor_modules/imports/postcss.ts +3 -0
- package/vendor_modules/imports/react-native-web.js +32 -0
- package/vendor_modules/imports/typescript.js +1 -0
- package/vendor_modules/imports/wast-refmt.ts +3 -0
- package/vendor_modules/src/asciidoctor.css/asciidoctor.css +407 -0
- package/vendor_modules/src/asciidoctor.css/readme.md +1 -0
- package/vendor_modules/src/clientside-haml-js/haml.js +22 -0
- package/vendor_modules/src/clientside-haml-js/readme.md +4 -0
- package/vendor_modules/src/coffeescript/coffeescript.js +8 -0
- package/vendor_modules/src/coffeescript/readme.md +1 -0
- package/vendor_modules/src/jszip/jszip.js +17 -0
- package/vendor_modules/src/jszip/readme.md +1 -0
- package/vendor_modules/src/livescript/livescript-min.js +1646 -0
- package/vendor_modules/src/livescript/prelude-browser-min.js +18 -0
- package/vendor_modules/src/livescript/readme.md +3 -0
- package/vendor_modules/src/perlito/perlito5.js +30663 -0
- package/vendor_modules/src/perlito/readme.md +1 -0
- package/vendor_modules/src/pug/pug.min.js +104 -0
- package/vendor_modules/src/stylus/stylus.min.js +6 -0
- package/vendor_modules/src/svelte/compiler.js +31611 -0
- package/vendor_modules/src/svelte/readme.md +1 -0
- package/vendor_modules/src/tailwindcss/tailwindcss.js +203 -0
- package/vendor_modules/src/typescript/typescriptServices.js +156785 -0
- package/vendor_modules/types/assemblyscript.d.ts +2304 -0
- package/vendor_modules/types/solid-js.d.ts +4304 -0
- package/vendor_modules/types/stencil-core.d.ts +6040 -0
|
@@ -0,0 +1,308 @@
|
|
|
1
|
+
var fs = require('fs');
|
|
2
|
+
var path = require('path');
|
|
3
|
+
|
|
4
|
+
const esbuild = require('esbuild');
|
|
5
|
+
const NodeModulesPolyfills = require('@esbuild-plugins/node-modules-polyfill').default;
|
|
6
|
+
const GlobalsPolyfills = require('@esbuild-plugins/node-globals-polyfill').default;
|
|
7
|
+
const Bundler = require('parcel-bundler');
|
|
8
|
+
|
|
9
|
+
const nodePolyfills = [
|
|
10
|
+
NodeModulesPolyfills(),
|
|
11
|
+
GlobalsPolyfills({
|
|
12
|
+
process: true,
|
|
13
|
+
buffer: true,
|
|
14
|
+
define: { global: 'window', 'process.env.NODE_ENV': '"production"' },
|
|
15
|
+
}),
|
|
16
|
+
];
|
|
17
|
+
|
|
18
|
+
function mkdirp(dir) {
|
|
19
|
+
if (!fs.existsSync(path.resolve(dir))) {
|
|
20
|
+
fs.mkdirSync(path.resolve(dir));
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
function deleteContent(file, content) {
|
|
25
|
+
var data = fs.readFileSync(file, 'utf-8');
|
|
26
|
+
var newValue = data.replace(content, '');
|
|
27
|
+
fs.writeFileSync(file, newValue, 'utf-8');
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
var node_modules = path.resolve(__dirname + '/../node_modules');
|
|
31
|
+
var vendor_modules = path.resolve(__dirname + '/../vendor_modules/src');
|
|
32
|
+
var targetDir = path.resolve(__dirname + '/../dist');
|
|
33
|
+
|
|
34
|
+
/** @type {Partial<esbuild.BuildOptions>} */
|
|
35
|
+
const baseOptions = {
|
|
36
|
+
bundle: true,
|
|
37
|
+
minify: true,
|
|
38
|
+
format: 'iife',
|
|
39
|
+
define: { global: 'window', 'process.env.NODE_ENV': '"production"' },
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
// Monaco editor
|
|
43
|
+
esbuild.buildSync({
|
|
44
|
+
...baseOptions,
|
|
45
|
+
entryPoints: ['vendor_modules/imports/monaco-editor.ts'],
|
|
46
|
+
outfile: 'dist/monaco-editor/monaco-editor.js',
|
|
47
|
+
loader: { '.ttf': 'file' },
|
|
48
|
+
format: 'esm',
|
|
49
|
+
});
|
|
50
|
+
|
|
51
|
+
// Monaco editor workers
|
|
52
|
+
const entryFiles = [
|
|
53
|
+
'node_modules/monaco-editor/esm/vs/language/json/json.worker.js',
|
|
54
|
+
'node_modules/monaco-editor/esm/vs/language/css/css.worker.js',
|
|
55
|
+
'node_modules/monaco-editor/esm/vs/language/html/html.worker.js',
|
|
56
|
+
'node_modules/monaco-editor/esm/vs/language/typescript/ts.worker.js',
|
|
57
|
+
'node_modules/monaco-editor/esm/vs/editor/editor.worker.js',
|
|
58
|
+
];
|
|
59
|
+
|
|
60
|
+
/** @type {Bundler.ParcelOptions} */
|
|
61
|
+
const options = {
|
|
62
|
+
outDir: './dist/monaco-editor',
|
|
63
|
+
minify: true,
|
|
64
|
+
target: 'browser',
|
|
65
|
+
sourceMaps: false,
|
|
66
|
+
watch: false,
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
entryFiles.forEach(async (file) => {
|
|
70
|
+
const parcelBundler = new Bundler([file], options);
|
|
71
|
+
await parcelBundler.bundle();
|
|
72
|
+
});
|
|
73
|
+
|
|
74
|
+
// Patch and build Typescript
|
|
75
|
+
var tsOutDir = path.resolve(__dirname + '/../vendor_modules/src/typescript');
|
|
76
|
+
if (!fs.existsSync(tsOutDir)) {
|
|
77
|
+
fs.mkdirSync(tsOutDir);
|
|
78
|
+
}
|
|
79
|
+
fs.copyFileSync(
|
|
80
|
+
path.resolve(
|
|
81
|
+
__dirname +
|
|
82
|
+
'/../node_modules/monaco-editor/esm/vs/language/typescript/lib/typescriptServices.js',
|
|
83
|
+
),
|
|
84
|
+
path.resolve(tsOutDir + '/typescriptServices.js'),
|
|
85
|
+
);
|
|
86
|
+
fs.appendFileSync(
|
|
87
|
+
path.resolve(tsOutDir + '/typescriptServices.js'),
|
|
88
|
+
'export var transpile = ts.transpile;\n',
|
|
89
|
+
);
|
|
90
|
+
esbuild.buildSync({
|
|
91
|
+
...baseOptions,
|
|
92
|
+
entryPoints: ['vendor_modules/imports/typescript.js'],
|
|
93
|
+
outfile: 'dist/typescript/typescript.min.js',
|
|
94
|
+
globalName: 'typescript',
|
|
95
|
+
});
|
|
96
|
+
|
|
97
|
+
// Marked
|
|
98
|
+
mkdirp(targetDir + '/marked');
|
|
99
|
+
fs.copyFileSync(
|
|
100
|
+
path.resolve(node_modules + '/marked/marked.min.js'),
|
|
101
|
+
path.resolve(targetDir + '/marked/marked.min.js'),
|
|
102
|
+
);
|
|
103
|
+
|
|
104
|
+
// Sass
|
|
105
|
+
mkdirp(targetDir + '/sass.js');
|
|
106
|
+
fs.copyFileSync(
|
|
107
|
+
path.resolve(node_modules + '/sass.js/dist/sass.sync.js'),
|
|
108
|
+
path.resolve(targetDir + '/sass.js/sass.sync.js'),
|
|
109
|
+
);
|
|
110
|
+
|
|
111
|
+
// Less
|
|
112
|
+
esbuild.buildSync({
|
|
113
|
+
...baseOptions,
|
|
114
|
+
entryPoints: ['vendor_modules/imports/less.js'],
|
|
115
|
+
outfile: 'dist/less/less.js',
|
|
116
|
+
globalName: 'less',
|
|
117
|
+
});
|
|
118
|
+
|
|
119
|
+
// github-markdown-css
|
|
120
|
+
mkdirp(targetDir + '/github-markdown-css');
|
|
121
|
+
fs.copyFileSync(
|
|
122
|
+
path.resolve(node_modules + '/github-markdown-css/github-markdown.css'),
|
|
123
|
+
path.resolve(targetDir + '/github-markdown-css/github-markdown.css'),
|
|
124
|
+
);
|
|
125
|
+
|
|
126
|
+
// asciidoctor.css
|
|
127
|
+
mkdirp(targetDir + '/asciidoctor.css');
|
|
128
|
+
fs.copyFileSync(
|
|
129
|
+
path.resolve(vendor_modules + '/asciidoctor.css/asciidoctor.css'),
|
|
130
|
+
path.resolve(targetDir + '/asciidoctor.css/asciidoctor.css'),
|
|
131
|
+
);
|
|
132
|
+
|
|
133
|
+
// normalize.css
|
|
134
|
+
mkdirp(targetDir + '/normalize.css');
|
|
135
|
+
fs.copyFileSync(
|
|
136
|
+
path.resolve(node_modules + '/normalize.css/normalize.css'),
|
|
137
|
+
path.resolve(targetDir + '/normalize.css/normalize.css'),
|
|
138
|
+
);
|
|
139
|
+
|
|
140
|
+
// reset-css
|
|
141
|
+
mkdirp(targetDir + '/reset-css');
|
|
142
|
+
fs.copyFileSync(
|
|
143
|
+
path.resolve(node_modules + '/reset-css/reset.css'),
|
|
144
|
+
path.resolve(targetDir + '/reset-css/reset.css'),
|
|
145
|
+
);
|
|
146
|
+
|
|
147
|
+
// stylus
|
|
148
|
+
mkdirp(targetDir + '/stylus');
|
|
149
|
+
fs.copyFileSync(
|
|
150
|
+
path.resolve(vendor_modules + '/stylus/stylus.min.js'),
|
|
151
|
+
path.resolve(targetDir + '/stylus/stylus.min.js'),
|
|
152
|
+
);
|
|
153
|
+
|
|
154
|
+
// pug
|
|
155
|
+
mkdirp(targetDir + '/pug');
|
|
156
|
+
fs.copyFileSync(
|
|
157
|
+
path.resolve(vendor_modules + '/pug/pug.min.js'),
|
|
158
|
+
path.resolve(targetDir + '/pug/pug.min.js'),
|
|
159
|
+
);
|
|
160
|
+
|
|
161
|
+
// asciidoctor
|
|
162
|
+
mkdirp(targetDir + '/asciidoctor');
|
|
163
|
+
fs.copyFileSync(
|
|
164
|
+
path.resolve(node_modules + '/@asciidoctor/core/dist/browser/asciidoctor.min.js'),
|
|
165
|
+
path.resolve(targetDir + '/asciidoctor/asciidoctor.min.js'),
|
|
166
|
+
);
|
|
167
|
+
|
|
168
|
+
// coffeescript
|
|
169
|
+
mkdirp(targetDir + '/coffeescript');
|
|
170
|
+
fs.copyFileSync(
|
|
171
|
+
path.resolve(vendor_modules + '/coffeescript/coffeescript.js'),
|
|
172
|
+
path.resolve(targetDir + '/coffeescript/coffeescript.js'),
|
|
173
|
+
);
|
|
174
|
+
|
|
175
|
+
// postcss
|
|
176
|
+
esbuild.build({
|
|
177
|
+
...baseOptions,
|
|
178
|
+
entryPoints: ['vendor_modules/imports/postcss.ts'],
|
|
179
|
+
outfile: 'dist/postcss/postcss.js',
|
|
180
|
+
globalName: 'postcss',
|
|
181
|
+
plugins: nodePolyfills,
|
|
182
|
+
});
|
|
183
|
+
|
|
184
|
+
// autoprefixer
|
|
185
|
+
esbuild.build({
|
|
186
|
+
...baseOptions,
|
|
187
|
+
entryPoints: ['vendor_modules/imports/autoprefixer.ts'],
|
|
188
|
+
outfile: 'dist/autoprefixer/autoprefixer.js',
|
|
189
|
+
globalName: 'autoprefixer',
|
|
190
|
+
plugins: nodePolyfills,
|
|
191
|
+
});
|
|
192
|
+
|
|
193
|
+
// postcss-preset-env
|
|
194
|
+
esbuild.build({
|
|
195
|
+
...baseOptions,
|
|
196
|
+
entryPoints: ['vendor_modules/imports/postcss-preset-env.ts'],
|
|
197
|
+
outfile: 'dist/postcss-preset-env/postcss-preset-env.js',
|
|
198
|
+
globalName: 'postcssPresetEnv',
|
|
199
|
+
plugins: nodePolyfills,
|
|
200
|
+
});
|
|
201
|
+
|
|
202
|
+
// tailwindcss
|
|
203
|
+
mkdirp(targetDir + '/tailwindcss');
|
|
204
|
+
fs.copyFileSync(
|
|
205
|
+
path.resolve(node_modules + '/tailwindcss-browser-plugin/dist/tailwindcss.umd.min.js'),
|
|
206
|
+
path.resolve(targetDir + '/tailwindcss/tailwindcss.js'),
|
|
207
|
+
);
|
|
208
|
+
|
|
209
|
+
// prettier
|
|
210
|
+
mkdirp(targetDir + '/prettier');
|
|
211
|
+
fs.copyFileSync(
|
|
212
|
+
path.resolve(node_modules + '/prettier/standalone.js'),
|
|
213
|
+
path.resolve(targetDir + '/prettier/standalone.js'),
|
|
214
|
+
);
|
|
215
|
+
esbuild.buildSync({
|
|
216
|
+
...baseOptions,
|
|
217
|
+
entryPoints: ['node_modules/@prettier/plugin-pug/dist/index.js'],
|
|
218
|
+
outfile: 'dist/prettier/parser-pug.js',
|
|
219
|
+
globalName: 'pluginPug',
|
|
220
|
+
});
|
|
221
|
+
|
|
222
|
+
// babel
|
|
223
|
+
mkdirp(targetDir + '/babel');
|
|
224
|
+
fs.copyFileSync(
|
|
225
|
+
path.resolve(node_modules + '/@babel/standalone/babel.min.js'),
|
|
226
|
+
path.resolve(targetDir + '/babel/babel.min.js'),
|
|
227
|
+
);
|
|
228
|
+
|
|
229
|
+
// solid
|
|
230
|
+
esbuild.build({
|
|
231
|
+
...baseOptions,
|
|
232
|
+
entryPoints: ['vendor_modules/imports/babel-preset-solid.js'],
|
|
233
|
+
outfile: 'dist/babel-preset-solid/babel-preset-solid.js',
|
|
234
|
+
globalName: 'babelPresetSolid',
|
|
235
|
+
plugins: nodePolyfills,
|
|
236
|
+
});
|
|
237
|
+
|
|
238
|
+
// svelte
|
|
239
|
+
esbuild.buildSync({
|
|
240
|
+
...baseOptions,
|
|
241
|
+
entryPoints: ['vendor_modules/src/svelte/compiler.js'],
|
|
242
|
+
outfile: 'dist/svelte/svelte-compiler.3.42.4.min.js',
|
|
243
|
+
globalName: 'svelte',
|
|
244
|
+
});
|
|
245
|
+
|
|
246
|
+
// clientside-haml-js
|
|
247
|
+
mkdirp(targetDir + '/clientside-haml-js');
|
|
248
|
+
fs.copyFileSync(
|
|
249
|
+
path.resolve(vendor_modules + '/clientside-haml-js/haml.js'),
|
|
250
|
+
path.resolve(targetDir + '/clientside-haml-js/haml.js'),
|
|
251
|
+
);
|
|
252
|
+
|
|
253
|
+
// MDX
|
|
254
|
+
esbuild.build({
|
|
255
|
+
...baseOptions,
|
|
256
|
+
entryPoints: ['vendor_modules/imports/mdx.ts'],
|
|
257
|
+
outfile: 'dist/mdx/mdx.js',
|
|
258
|
+
globalName: 'MDX',
|
|
259
|
+
plugins: nodePolyfills,
|
|
260
|
+
});
|
|
261
|
+
|
|
262
|
+
// livescript
|
|
263
|
+
mkdirp(targetDir + '/livescript');
|
|
264
|
+
fs.copyFileSync(
|
|
265
|
+
path.resolve(vendor_modules + '/livescript/livescript-min.js'),
|
|
266
|
+
path.resolve(targetDir + '/livescript/livescript-min.js'),
|
|
267
|
+
);
|
|
268
|
+
// prelude.ls (livescript base library)
|
|
269
|
+
fs.copyFileSync(
|
|
270
|
+
path.resolve(vendor_modules + '/livescript/prelude-browser-min.js'),
|
|
271
|
+
path.resolve(targetDir + '/livescript/prelude-browser-min.js'),
|
|
272
|
+
);
|
|
273
|
+
|
|
274
|
+
// perlito
|
|
275
|
+
esbuild.buildSync({
|
|
276
|
+
minify: true,
|
|
277
|
+
entryPoints: ['vendor_modules/src/perlito/perlito5.js'],
|
|
278
|
+
outfile: 'dist/perlito/perlito5.min.js',
|
|
279
|
+
format: 'esm',
|
|
280
|
+
logLevel: 'error',
|
|
281
|
+
});
|
|
282
|
+
|
|
283
|
+
// es-module-shims
|
|
284
|
+
mkdirp(targetDir + '/es-module-shims');
|
|
285
|
+
fs.copyFileSync(
|
|
286
|
+
path.resolve(node_modules + '/es-module-shims/dist/es-module-shims.min.js'),
|
|
287
|
+
path.resolve(targetDir + '/es-module-shims/es-module-shims.min.js'),
|
|
288
|
+
);
|
|
289
|
+
fs.copyFileSync(
|
|
290
|
+
path.resolve(node_modules + '/es-module-shims/dist/es-module-shims.min.js.map'),
|
|
291
|
+
path.resolve(targetDir + '/es-module-shims/es-module-shims.min.js.map'),
|
|
292
|
+
);
|
|
293
|
+
|
|
294
|
+
// wast-refmt
|
|
295
|
+
esbuild.buildSync({
|
|
296
|
+
...baseOptions,
|
|
297
|
+
entryPoints: ['vendor_modules/imports/wast-refmt.ts'],
|
|
298
|
+
outfile: 'dist/wast-refmt/wast-refmt.js',
|
|
299
|
+
globalName: 'wastRefmt',
|
|
300
|
+
});
|
|
301
|
+
|
|
302
|
+
// react-native-web
|
|
303
|
+
esbuild.build({
|
|
304
|
+
...baseOptions,
|
|
305
|
+
entryPoints: ['vendor_modules/imports/react-native-web.js'],
|
|
306
|
+
outfile: 'dist/react-native-web/react-native-web.js',
|
|
307
|
+
format: 'esm',
|
|
308
|
+
});
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"rootDir": "src",
|
|
4
|
+
"outDir": "build",
|
|
5
|
+
"moduleResolution": "node",
|
|
6
|
+
"target": "es6",
|
|
7
|
+
"module": "esnext",
|
|
8
|
+
"declaration": true,
|
|
9
|
+
"inlineSourceMap": true,
|
|
10
|
+
"esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */,
|
|
11
|
+
"noImplicitThis": false,
|
|
12
|
+
"strict": true /* Enable all strict type-checking options. */,
|
|
13
|
+
"allowUmdGlobalAccess": true,
|
|
14
|
+
"forceConsistentCasingInFileNames": true,
|
|
15
|
+
"importHelpers": true,
|
|
16
|
+
"removeComments": true,
|
|
17
|
+
|
|
18
|
+
/* Strict Type-Checking Options */
|
|
19
|
+
// "noImplicitAny": true /* Raise error on expressions and declarations with an implied 'any' type. */,
|
|
20
|
+
// "strictNullChecks": true /* Enable strict null checks. */,
|
|
21
|
+
// "strictFunctionTypes": true /* Enable strict checking of function types. */,
|
|
22
|
+
// "strictPropertyInitialization": true /* Enable strict checking of property initialization in classes. */,
|
|
23
|
+
// "noImplicitThis": true /* Raise error on 'this' expressions with an implied 'any' type. */,
|
|
24
|
+
// "alwaysStrict": true /* Parse in strict mode and emit "use strict" for each source file. */,
|
|
25
|
+
|
|
26
|
+
/* Additional Checks */
|
|
27
|
+
"noUnusedLocals": true /* Report errors on unused locals. */,
|
|
28
|
+
"noUnusedParameters": true /* Report errors on unused parameters. */,
|
|
29
|
+
"noImplicitReturns": true /* Report error when not all code paths in function return a value. */,
|
|
30
|
+
"noFallthroughCasesInSwitch": true /* Report errors for fallthrough cases in switch statement. */,
|
|
31
|
+
|
|
32
|
+
/* Debugging Options */
|
|
33
|
+
"traceResolution": false /* Report module resolution log messages. */,
|
|
34
|
+
"listEmittedFiles": false /* Print names of generated files part of the compilation. */,
|
|
35
|
+
"listFiles": false /* Print names of files part of the compilation. */,
|
|
36
|
+
"pretty": true /* Stylize errors and messages using color and context. */,
|
|
37
|
+
|
|
38
|
+
/* Experimental Options */
|
|
39
|
+
// "experimentalDecorators": true /* Enables experimental support for ES7 decorators. */,
|
|
40
|
+
// "emitDecoratorMetadata": true /* Enables experimental support for emitting type metadata for decorators. */,
|
|
41
|
+
|
|
42
|
+
"lib": ["es2020", "dom"],
|
|
43
|
+
"types": ["node", "jest"],
|
|
44
|
+
"typeRoots": ["node_modules/@types"]
|
|
45
|
+
},
|
|
46
|
+
"compileOnSave": true,
|
|
47
|
+
"include": ["src/**/*.ts"],
|
|
48
|
+
"exclude": ["**/node_modules/**", "src/modules/**"]
|
|
49
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
# Third Party Licenses
|
|
2
|
+
|
|
3
|
+
This is a list of software packages distributed with LiveCodes (sorted alphabetically) and links to their licenses:
|
|
4
|
+
|
|
5
|
+
Asciidoctor.js: [MIT License](https://github.com/asciidoctor/asciidoctor.js/blob/9d57b34084966f35d5c542ae4feed4941bf57903/LICENSE)
|
|
6
|
+
|
|
7
|
+
asciidoctor-skins: [MIT License](https://github.com/darshandsoni/asciidoctor-skins/blob/c98a8ab9b27571e5b63d75912a3c753cc72ed8e4/LICENSE)
|
|
8
|
+
|
|
9
|
+
Autoprefixer: [MIT License](https://github.com/postcss/autoprefixer/blob/61f71e9a8613b0c90357472d58fdcce26324ef4f/LICENSE)
|
|
10
|
+
|
|
11
|
+
Babel: [MIT License](https://github.com/babel/babel/blob/672a58660f0b15691c44582f1f3fdcdac0fa0d2f/LICENSE)
|
|
12
|
+
|
|
13
|
+
clientside-haml-js: [MIT License](https://github.com/uglyog/clientside-haml-js/blob/d814d16f46e1629c149c18d7692ba16f249f436b/LICENSE)
|
|
14
|
+
|
|
15
|
+
CoffeeScript: [MIT License](https://github.com/jashkenas/coffeescript/tree/07f644c39223e016aceedd2cd71b5941579b5659)
|
|
16
|
+
|
|
17
|
+
ES Module Shims: [MIT License](https://github.com/guybedford/es-module-shims/blob/986733009f4c9374decd4c0348740134ff499157/LICENSE)
|
|
18
|
+
|
|
19
|
+
github-markdown-css: [MIT License](https://github.com/sindresorhus/github-markdown-css/blob/888d5a03223a2c14a8d3eb40e90a22f62469a46b/license)
|
|
20
|
+
|
|
21
|
+
Less: [Apache License 2.0](https://github.com/less/less.js/blob/870f9b2d8136bfbcdc9e1293bb0def51b54f9276/LICENSE)
|
|
22
|
+
|
|
23
|
+
LiveScript: [MIT License](https://github.com/gkz/LiveScript/blob/bd9faa4d484b6abb110473f96c28bf8686e7b7a0/LICENSE)
|
|
24
|
+
|
|
25
|
+
Marked: [MIT License](https://github.com/markedjs/marked/blob/57d41b88801566eb063cd66a210d7c34249cb7dc/LICENSE.md)
|
|
26
|
+
|
|
27
|
+
MDX: [MIT License](https://github.com/mdx-js/mdx/blob/02509286b5a39d6df233225545cf87e070130588/license)
|
|
28
|
+
|
|
29
|
+
Monaco-editor: [MIT License](https://github.com/microsoft/monaco-editor/blob/f849d3f2653d1097652a7d9e1d01d242cc225da8/LICENSE.md)
|
|
30
|
+
|
|
31
|
+
normalize.css: [MIT License](https://github.com/necolas/normalize.css/blob/fc091cce1534909334c1911709a39c22d406977b/LICENSE.md)
|
|
32
|
+
|
|
33
|
+
Opal: [MIT License](https://github.com/opal/opal/blob/631503c8957d1c6df60d158daf7db03b099b5129/LICENSE)
|
|
34
|
+
|
|
35
|
+
Perlito5: [Artistic License 2.0](https://github.com/fglock/Perlito/blob/f217cdac3771de31e009d4e099bac7013a619987/LICENSE.md)
|
|
36
|
+
|
|
37
|
+
PostCSS: [MIT License](https://github.com/postcss/postcss/blob/af8311a9c4c940c3e159f81bb205786677687e15/LICENSE)
|
|
38
|
+
|
|
39
|
+
PostCSS Preset Env: [CC0-1.0 License](https://github.com/csstools/postcss-preset-env/blob/d7652b1e6196e8f55bf3f0aac4ac090fec7ed54e/LICENSE.md)
|
|
40
|
+
|
|
41
|
+
prelude<span>.ls</span>: [MIT License](https://github.com/gkz/prelude-ls/blob/41d048799bdd063e0592c1413d238ad95ceda1d9/LICENSE)
|
|
42
|
+
|
|
43
|
+
Prettier: [MIT License](https://github.com/prettier/prettier/blob/2c1b8f6fab1f9c63ab5d937908d090d8e75e8072/LICENSE)
|
|
44
|
+
|
|
45
|
+
Prettier Pug Plugin: [MIT License](https://github.com/prettier/plugin-pug/blob/27ab92b27a062bb187fc33f82b2fad436ec31c25/LICENSE)
|
|
46
|
+
|
|
47
|
+
Pug: [MIT License](https://github.com/pugjs/pug/blob/bb0731f75813aa30d8e077808b5465a67ef284ef/packages/pug/LICENSE)
|
|
48
|
+
|
|
49
|
+
reset.css: [The Unlicense](https://github.com/shannonmoeller/reset-css/blob/d4b2236cb260016e8f57d532a602b4e58acf6f03/license)
|
|
50
|
+
|
|
51
|
+
ReScript: [License](https://github.com/rescript-lang/rescript-compiler/blob/d93260cb2d4be63e387959e69f3204af85e5b1b3/LICENSE)
|
|
52
|
+
|
|
53
|
+
ReScript/React: [MIT License](https://github.com/rescript-lang/rescript-react/blob/c3017ec4bbce5847c3b2da8d2d536450a3e2fd6d/LICENSE)
|
|
54
|
+
|
|
55
|
+
Sass.js: [MIT License](https://github.com/medialize/sass.js/blob/71d9bed2cad10969efda9905aa1bddacc480f372/LICENSE)
|
|
56
|
+
|
|
57
|
+
Solid: [MIT License](https://github.com/solidjs/solid/blob/0d83a1947aab4bea4223460d6756a38374ba391e/LICENSE)
|
|
58
|
+
|
|
59
|
+
Stencil: [MIT License](https://github.com/ionic-team/stencil/blob/8d580b12b96cc5acc817d7efbd29dc7ad0d98457/LICENSE.mds)
|
|
60
|
+
|
|
61
|
+
Stylus: [MIT License](https://github.com/stylus/stylus/blob/59bc665db295981d4e3f702e7275c5589a3c6d15/LICENSE)
|
|
62
|
+
|
|
63
|
+
Svelte: [MIT License](https://github.com/sveltejs/svelte/blob/dafbdc286eef3de2243088a9a826e6899e20465c/LICENSE)
|
|
64
|
+
|
|
65
|
+
Tailwind CSS: [MIT License](https://github.com/tailwindlabs/tailwindcss/blob/6acb051f67e72a8061ad306a7fa385c36d955fb9/LICENSE)
|
|
66
|
+
|
|
67
|
+
TypeScript: [Apache License 2.0](https://github.com/microsoft/TypeScript/blob/8523ca4fa392b5b3d7ff28058503a12ef8569c7f/LICENSE.txt)
|
|
68
|
+
|
|
69
|
+
vue3-sfc-loader: [MIT License](https://github.com/FranckFreiburger/vue3-sfc-loader/blob/84b05a091fe5a283c7ed909c06cc31c0153ed103/LICENSE)
|
|
70
|
+
|
|
71
|
+
wasm-refmt:[MIT License](https://github.com/xtuc/webassemblyjs/blob/45f733aa96476d74c8ac57598e13406a48a6fdc8/LICENSE)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * as monaco from 'monaco-editor';
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export * from 'react-native-web';
|
|
2
|
+
export {
|
|
3
|
+
Children,
|
|
4
|
+
Component,
|
|
5
|
+
Fragment,
|
|
6
|
+
Profiler,
|
|
7
|
+
PureComponent,
|
|
8
|
+
StrictMode,
|
|
9
|
+
Suspense,
|
|
10
|
+
cloneElement,
|
|
11
|
+
createContext,
|
|
12
|
+
createElement,
|
|
13
|
+
createFactory,
|
|
14
|
+
createRef,
|
|
15
|
+
forwardRef,
|
|
16
|
+
isValidElement,
|
|
17
|
+
lazy,
|
|
18
|
+
memo,
|
|
19
|
+
useCallback,
|
|
20
|
+
useContext,
|
|
21
|
+
useDebugValue,
|
|
22
|
+
useEffect,
|
|
23
|
+
useImperativeHandle,
|
|
24
|
+
useLayoutEffect,
|
|
25
|
+
useMemo,
|
|
26
|
+
useReducer,
|
|
27
|
+
useRef,
|
|
28
|
+
useState,
|
|
29
|
+
version,
|
|
30
|
+
} from 'react';
|
|
31
|
+
import React from 'react';
|
|
32
|
+
export default React;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { transpile } from '../src/typescript/typescriptServices';
|