likec4 0.40.0-build.1 → 0.40.0-build.2
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/app/index.html +1 -1
- package/app/postcss.config.cjs +1 -1
- package/app/src/App.tsx +4 -6
- package/app/tailwind.config.cjs +2 -2
- package/package.json +6 -6
- package/dist/cli/index.js +0 -348
package/app/index.html
CHANGED
package/app/postcss.config.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const autoprefixer = require('autoprefixer');
|
|
2
2
|
const nesting = require('tailwindcss/nesting/index.js');
|
|
3
3
|
const tailwindcss = require('tailwindcss');
|
|
4
|
-
const { resolve } = require('path');
|
|
4
|
+
const { resolve } = require('node:path');
|
|
5
5
|
|
|
6
6
|
const tailwindCfg = resolve(__dirname, './tailwind.config.cjs');
|
|
7
7
|
|
package/app/src/App.tsx
CHANGED
|
@@ -24,12 +24,10 @@ const Routes = () => {
|
|
|
24
24
|
)
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
const AtomsDevTools = import.meta.env.DEV
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
}
|
|
32
|
-
: Fragment
|
|
27
|
+
const AtomsDevTools = import.meta.env.DEV ? ({ children }: PropsWithChildren) => {
|
|
28
|
+
useAtomsDevtools('demo')
|
|
29
|
+
return <>{children}</>
|
|
30
|
+
} : Fragment
|
|
33
31
|
|
|
34
32
|
export default function App() {
|
|
35
33
|
return (
|
package/app/tailwind.config.cjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
const { radixThemePreset } = require('radix-themes-tw');
|
|
2
2
|
const tailwindcssAnimate = require('tailwindcss-animate');
|
|
3
|
-
const { resolve } = require('path');
|
|
3
|
+
const { resolve } = require('node:path');
|
|
4
4
|
|
|
5
5
|
/** @type {import('tailwindcss').Config} */
|
|
6
6
|
module.exports = {
|
|
7
7
|
presets: [radixThemePreset],
|
|
8
|
-
darkMode: ['class'],
|
|
8
|
+
darkMode: ['class', '[data-mode="dark"]'],
|
|
9
9
|
content: [
|
|
10
10
|
resolve(__dirname, './src') + '/**/*.{js,jsx,ts,tsx,md,mdx}',
|
|
11
11
|
resolve(__dirname, './index.html'),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "likec4",
|
|
3
|
-
"version": "0.40.0-build.
|
|
3
|
+
"version": "0.40.0-build.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"homepage": "https://likec4.dev",
|
|
6
6
|
"author": "Denis Davydkov <denis@davydkov.com>",
|
|
@@ -28,7 +28,8 @@
|
|
|
28
28
|
"typecheck": "tsc --emitDeclarationOnly && run 'typecheck:app'",
|
|
29
29
|
"build:watch": "tsc --watch",
|
|
30
30
|
"build": "$npm_node_execpath esbuild.mjs",
|
|
31
|
-
"
|
|
31
|
+
"prepublish": "run clean",
|
|
32
|
+
"pack": "NODE_ENV=production run build",
|
|
32
33
|
"lint": "run -T eslint src/ --fix",
|
|
33
34
|
"test": "run -T vitest run",
|
|
34
35
|
"test:watch": "run -T vitest",
|
|
@@ -49,8 +50,8 @@
|
|
|
49
50
|
"@radix-ui/themes": "^2.0.0-rc.3",
|
|
50
51
|
"@react-hookz/web": "^23.1.0",
|
|
51
52
|
"@vitejs/plugin-react": "^4.1.0",
|
|
53
|
+
"autoprefixer": "^10.4.15",
|
|
52
54
|
"jotai": "^2.4.2",
|
|
53
|
-
"jotai-devtools": "^0.6.2",
|
|
54
55
|
"nanostores": "^0.9.3",
|
|
55
56
|
"playwright-core": "^1.38.1",
|
|
56
57
|
"postcss": "^8.4.29",
|
|
@@ -75,9 +76,9 @@
|
|
|
75
76
|
"boxen": "^7.1.1",
|
|
76
77
|
"esbuild": "^0.19.2",
|
|
77
78
|
"esbuild-node-externals": "^1.9.0",
|
|
78
|
-
"esbuild-plugins-node-modules-polyfill": "^1.6.1",
|
|
79
79
|
"execa": "^8.0.1",
|
|
80
80
|
"get-port": "^7.0.0",
|
|
81
|
+
"jotai-devtools": "^0.6.2",
|
|
81
82
|
"kleur": "^4.1.5",
|
|
82
83
|
"mkdirp": "^3.0.1",
|
|
83
84
|
"p-queue": "^7.4.1",
|
|
@@ -90,8 +91,7 @@
|
|
|
90
91
|
},
|
|
91
92
|
"publishConfig": {
|
|
92
93
|
"registry": "https://registry.npmjs.org",
|
|
93
|
-
"access": "public"
|
|
94
|
-
"provenance": true
|
|
94
|
+
"access": "public"
|
|
95
95
|
},
|
|
96
96
|
"packageManager": "yarn@3.6.3"
|
|
97
97
|
}
|