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 CHANGED
@@ -1,5 +1,5 @@
1
1
  <!DOCTYPE html>
2
- <html lang="en-US" class="dark">
2
+ <html lang="en-US">
3
3
  <head>
4
4
  <meta charset="utf-8" />
5
5
  <meta name="viewport" content="wwidth=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, shrink-to-fit=no" />
@@ -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
- ? ({ children }: PropsWithChildren) => {
29
- useAtomsDevtools('demo')
30
- return <>{children}</>
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 (
@@ -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.1",
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
- "prepack": "run -T rimraf dist && $npm_node_execpath esbuild.mjs",
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
  }