create-oc 1.1.33 → 1.1.34
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 +1 -1
- package/templates/elm/package.json +1 -1
- package/templates/es6/package.json +1 -1
- package/templates/esm.react/package.json +3 -3
- package/templates/esm.react/vite.config.ts +2 -1
- package/templates/esm.remix/package.json +3 -3
- package/templates/esm.remix/vite.config.ts +2 -0
- package/templates/preact/package.json +1 -1
- package/templates/react/package.json +1 -1
- package/templates/solid/package.json +1 -1
- package/templates/svelte/package.json +1 -1
- package/templates/vue/package.json +1 -1
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"lint": "eslint --max-warnings 0 --ext .js,.jsx,.ts,.tsx src",
|
|
8
|
-
"dev": "
|
|
8
|
+
"dev": "vite dev",
|
|
9
9
|
"build": "tsc --noEmit && oc package .",
|
|
10
10
|
"test": "vitest"
|
|
11
11
|
},
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
"@types/react-dom": "^19.1.6",
|
|
29
29
|
"@vitejs/plugin-react": "^4.6.0",
|
|
30
30
|
"happy-dom": "^18.0.1",
|
|
31
|
-
"oc-server": "^4.0.
|
|
32
|
-
"oc-template-esm-compiler": "^4.0.
|
|
31
|
+
"oc-server": "^4.0.1",
|
|
32
|
+
"oc-template-esm-compiler": "^4.0.1",
|
|
33
33
|
"react": "19.1.0",
|
|
34
34
|
"react-dom": "19.1.0",
|
|
35
35
|
"typescript": "5.8.3",
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { defineConfig } from 'vite';
|
|
2
2
|
import react from '@vitejs/plugin-react';
|
|
3
|
+
import { oc } from 'oc-server/vite';
|
|
3
4
|
|
|
4
5
|
// https://vitejs.dev/config/
|
|
5
6
|
export default defineConfig({
|
|
6
7
|
// Add your own plugins here for thinkgs like eslint or typecheckers
|
|
7
|
-
plugins: [react()],
|
|
8
|
+
plugins: [oc(), react()],
|
|
8
9
|
build: {
|
|
9
10
|
rollupOptions: {
|
|
10
11
|
external: ['react', 'react-dom'],
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"lint": "eslint --max-warnings 0 --ext .js,.jsx,.ts,.tsx src",
|
|
8
|
-
"dev": "
|
|
8
|
+
"dev": "vite dev",
|
|
9
9
|
"build": "tsc --noEmit && oc package .",
|
|
10
10
|
"test": "vitest"
|
|
11
11
|
},
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
"@remix-run/dom": "^0.0.0-experimental-remix-jam.6",
|
|
26
26
|
"@remix-run/events": "^0.0.0-experimental-remix-jam.5",
|
|
27
27
|
"happy-dom": "^18.0.1",
|
|
28
|
-
"oc-server": "^4.0.
|
|
29
|
-
"oc-template-esm-compiler": "^4.0.
|
|
28
|
+
"oc-server": "^4.0.1",
|
|
29
|
+
"oc-template-esm-compiler": "^4.0.1",
|
|
30
30
|
"typescript": "5.8.3",
|
|
31
31
|
"vite": "^7.1.12",
|
|
32
32
|
"vitest": "^3.2.4"
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"@testing-library/jest-dom": "^6.5.0",
|
|
27
27
|
"@types/testing-library__jest-dom": "^5.14.5",
|
|
28
28
|
"jsdom": "^21.1.1",
|
|
29
|
-
"oc-server": "^4.0.
|
|
29
|
+
"oc-server": "^4.0.1",
|
|
30
30
|
"oc-template-solid-compiler": "^4.0.0",
|
|
31
31
|
"solid-js": "^1.9.5",
|
|
32
32
|
"typescript": "5.5.4",
|