@live-codes/browser-compilers 0.5.13 → 0.6.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@live-codes/browser-compilers",
3
- "version": "0.5.13",
3
+ "version": "0.6.0",
4
4
  "description": "Compilers that run in the browser, for use in livecodes.io",
5
5
  "author": "Hatem Hosny",
6
6
  "license": "MIT",
@@ -25,14 +25,15 @@
25
25
  "prepush": "run-s fix build"
26
26
  },
27
27
  "dependencies": {
28
+ "@danielx/civet": "0.5.86",
28
29
  "@esbuild-plugins/node-globals-polyfill": "0.1.1",
29
30
  "@esbuild-plugins/node-modules-polyfill": "0.1.4",
30
31
  "@fullhuman/postcss-purgecss": "5.0.0",
31
32
  "@mdx-js/mdx": "2.0.0",
32
33
  "@prettier/plugin-pug": "1.19.2",
33
- "@testing-library/dom": "8.12.0",
34
- "@testing-library/jest-dom": "5.16.3",
35
- "@testing-library/react": "12.1.4",
34
+ "@testing-library/dom": "9.2.0",
35
+ "@testing-library/jest-dom": "5.16.5",
36
+ "@testing-library/react": "14.0.0",
36
37
  "@tokencss/core": "0.1.0",
37
38
  "@tokencss/postcss": "0.0.5",
38
39
  "@unocss/core": "0.45.21",
@@ -61,9 +62,9 @@
61
62
  "patch-package": "6.4.7",
62
63
  "postcss": "8.4.6",
63
64
  "postcss-preset-env": "7.3.1",
64
- "react": "17.0.2",
65
- "react-dom": "17.0.2",
66
- "react-native-web": "0.17.5",
65
+ "react": "18.2.0",
66
+ "react-dom": "18.2.0",
67
+ "react-native-web": "0.19.1",
67
68
  "remark-gfm": "3.0.1",
68
69
  "sass": "1.49.7",
69
70
  "svelte": "3.44.1",
@@ -347,3 +347,12 @@ esbuild.build({
347
347
  globalName: 'purgecss',
348
348
  plugins: nodePolyfills,
349
349
  });
350
+
351
+ // Civet
352
+ esbuild.build({
353
+ ...baseOptions,
354
+ entryPoints: ['vendor_modules/imports/civet.js'],
355
+ outfile: 'dist/civet/civet.js',
356
+ globalName: 'civet',
357
+ plugins: nodePolyfills,
358
+ });
@@ -6,6 +6,8 @@ asciidoctor-skins: [MIT License](https://github.com/darshandsoni/asciidoctor-ski
6
6
 
7
7
  Autoprefixer: [MIT License](https://github.com/postcss/autoprefixer/blob/61f71e9a8613b0c90357472d58fdcce26324ef4f/LICENSE)
8
8
 
9
+ Civet: [MIT License](https://github.com/DanielXMoore/Civet/blob/9b28e3a351d130ce031c7b28b50bcb6d2a499315/LICENSE)
10
+
9
11
  clientside-haml-js: [MIT License](https://github.com/uglyog/clientside-haml-js/blob/d814d16f46e1629c149c18d7692ba16f249f436b/LICENSE)
10
12
 
11
13
  CoffeeScript: [MIT License](https://github.com/jashkenas/coffeescript/tree/07f644c39223e016aceedd2cd71b5941579b5659)
@@ -0,0 +1 @@
1
+ export { compile } from '@danielx/civet';