@windwalker-io/core 4.2.0 → 4.2.1

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.
@@ -1,95 +0,0 @@
1
- :root {
2
- font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
3
- line-height: 1.5;
4
- font-weight: 400;
5
-
6
- color-scheme: light dark;
7
- color: rgba(255, 255, 255, 0.87);
8
- background-color: #242424;
9
-
10
- font-synthesis: none;
11
- text-rendering: optimizeLegibility;
12
- -webkit-font-smoothing: antialiased;
13
- -moz-osx-font-smoothing: grayscale;
14
- }
15
-
16
- a {
17
- font-weight: 500;
18
- color: #646cff;
19
- text-decoration: inherit;
20
- }
21
- a:hover {
22
- color: #535bf2;
23
- }
24
-
25
- body {
26
- margin: 0;
27
- display: flex;
28
- place-items: center;
29
- min-width: 320px;
30
- min-height: 100vh;
31
- }
32
-
33
- h1 {
34
- font-size: 3.2em;
35
- line-height: 1.1;
36
- }
37
-
38
- #app {
39
- max-width: 1280px;
40
- margin: 0 auto;
41
- padding: 2rem;
42
- text-align: center;
43
- }
44
-
45
- .logo {
46
- height: 6em;
47
- padding: 1.5em;
48
- will-change: filter;
49
- }
50
- .logo:hover {
51
- filter: drop-shadow(0 0 2em #646cffaa);
52
- }
53
- .logo.vanilla:hover {
54
- filter: drop-shadow(0 0 2em #3178c6aa);
55
- }
56
-
57
- .card {
58
- padding: 2em;
59
- }
60
-
61
- .read-the-docs {
62
- color: #888;
63
- }
64
-
65
- button {
66
- border-radius: 8px;
67
- border: 1px solid transparent;
68
- padding: 0.6em 1.2em;
69
- font-size: 1em;
70
- font-weight: 500;
71
- font-family: inherit;
72
- background-color: #1a1a1a;
73
- cursor: pointer;
74
- transition: border-color 0.25s;
75
- }
76
- button:hover {
77
- border-color: #646cff;
78
- }
79
- button:focus,
80
- button:focus-visible {
81
- outline: 4px auto -webkit-focus-ring-color;
82
- }
83
-
84
- @media (prefers-color-scheme: light) {
85
- :root {
86
- color: #213547;
87
- background-color: #ffffff;
88
- }
89
- a:hover {
90
- color: #747bff;
91
- }
92
- button {
93
- background-color: #f9f9f9;
94
- }
95
- }
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="32" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 256"><path fill="#007ACC" d="M0 128v128h256V0H0z"></path><path fill="#FFF" d="m56.612 128.85l-.081 10.483h33.32v94.68h23.568v-94.68h33.321v-10.28c0-5.69-.122-10.444-.284-10.566c-.122-.162-20.4-.244-44.983-.203l-44.74.122l-.121 10.443Zm149.955-10.742c6.501 1.625 11.459 4.51 16.01 9.224c2.357 2.52 5.851 7.111 6.136 8.208c.08.325-11.053 7.802-17.798 11.988c-.244.162-1.22-.894-2.317-2.52c-3.291-4.795-6.745-6.867-12.028-7.233c-7.76-.528-12.759 3.535-12.718 10.321c0 1.992.284 3.17 1.097 4.795c1.707 3.536 4.876 5.649 14.832 9.956c18.326 7.883 26.168 13.084 31.045 20.48c5.445 8.249 6.664 21.415 2.966 31.208c-4.063 10.646-14.14 17.879-28.323 20.276c-4.388.772-14.79.65-19.504-.203c-10.28-1.828-20.033-6.908-26.047-13.572c-2.357-2.6-6.949-9.387-6.664-9.874c.122-.163 1.178-.813 2.356-1.504c1.138-.65 5.446-3.129 9.509-5.485l7.355-4.267l1.544 2.276c2.154 3.29 6.867 7.801 9.712 9.305c8.167 4.307 19.383 3.698 24.909-1.26c2.357-2.153 3.332-4.388 3.332-7.68c0-2.966-.366-4.266-1.91-6.501c-1.99-2.845-6.054-5.242-17.595-10.24c-13.206-5.69-18.895-9.224-24.096-14.832c-3.007-3.25-5.852-8.452-7.03-12.8c-.975-3.617-1.22-12.678-.447-16.335c2.723-12.76 12.353-21.659 26.25-24.3c4.51-.853 14.994-.528 19.424.569Z"></path></svg>
@@ -1 +0,0 @@
1
- /// <reference types="vite/client" />
package/postcss.config.js DELETED
@@ -1,12 +0,0 @@
1
- /**
2
- * Part of starter project.
3
- *
4
- * @copyright Copyright (C) 2021 __ORGANIZATION__.
5
- * @license __LICENSE__
6
- */
7
-
8
- export default {
9
- plugins: {
10
- tailwindcss: {}
11
- }
12
- };
@@ -1,32 +0,0 @@
1
- module.exports = {
2
- prefix: 'wd-',
3
- purge: {
4
- enabled: true,
5
- mode: 'layers',
6
- layers: ['base', 'components', 'utilities'],
7
- content: [
8
- '../../views/debugger/console.blade.php',
9
- // './src/**/*.vue',
10
- ],
11
- },
12
- darkMode: 'media', // or 'media' or 'class'
13
- theme: {
14
- container: {
15
- center: true,
16
- padding: {
17
- default: '1rem',
18
- sm: '2rem',
19
- lg: '3rem',
20
- xl: '4rem',
21
- },
22
- },
23
- extend: {},
24
- },
25
- variants: {
26
- extend: {},
27
- },
28
- plugins: [
29
- require('@tailwindcss/ui'),
30
- require('@tailwindcss/custom-forms'),
31
- ],
32
- }
@@ -1,10 +0,0 @@
1
- export default {
2
- prefix: 'wd-',
3
- content: [
4
- "../../views/debugger/console.blade.php",
5
- ],
6
- theme: {
7
- extend: {},
8
- },
9
- plugins: [],
10
- }
@@ -1,94 +0,0 @@
1
- import vuePlugin from '@vitejs/plugin-vue';
2
- import fs from 'fs-extra';
3
- import { resolve } from 'node:path';
4
- import { rimraf } from 'rimraf';
5
- import { defineConfig } from 'vite';
6
- import publicPath from 'vite-plugin-public-path';
7
- import { injectSystemJS, resolveModuleRealpath, systemCSSFix } from './dist/next';
8
-
9
- // const dependencies = JSON.parse(readFileSync('./package.json', 'utf8')).dependencies || {};
10
-
11
- export default defineConfig(({ mode }) => {
12
- return {
13
- resolve: {
14
- alias: {
15
- '@': resolve('./src')
16
- }
17
- },
18
- base: '/__vite_base__/',
19
- build: {
20
- rollupOptions: {
21
- input: {
22
- debugger: './src/debugger/debugger.js',
23
- console: './scss/debugger-console.scss',
24
- },
25
- output: {
26
- format: 'system',
27
- inlineDynamicImports: false,
28
- entryFileNames(chunkInfo) {
29
- if (chunkInfo.name === 'debugger') {
30
- return 'debugger.js';
31
- }
32
-
33
- if (chunkInfo.name === 'console') {
34
- return 'debugger-console.css';
35
- }
36
-
37
- return '[name].js';
38
- },
39
- chunkFileNames(chunkInfo) {
40
- return '[name]-[hash].js';
41
- },
42
- assetFileNames(assetInfo) {
43
- if (assetInfo.name === 'console.css') {
44
- return 'debugger-console.css';
45
- }
46
-
47
- return '[name][extname]';
48
- },
49
- },
50
- // preserveEntrySignatures: 'strict',
51
- // external: []
52
- },
53
- outDir: 'dist/debugger',
54
- emptyOutDir: false,
55
- minify: mode === 'production',
56
- },
57
- css: {
58
- preprocessorOptions: {
59
- scss: {
60
- silenceDeprecations: ['mixed-decls', 'color-functions', 'global-builtin', 'import']
61
- },
62
- }
63
- },
64
- plugins: [
65
- vuePlugin(),
66
- {
67
- name: 'custom',
68
- async buildStart() {
69
- await rimraf('./dist/debugger');
70
- },
71
- writeBundle() {
72
- fs.moveSync('./dist/debugger/debugger-console.css', './dist/debugger-console.css', { overwrite: true });
73
-
74
- const systemJSFile = resolveModuleRealpath(import.meta.url, 'systemjs/dist/system.min.js');
75
- fs.copySync(systemJSFile, './dist/debugger/system.min.js', { overwrite: true });
76
- }
77
- },
78
- publicPath({
79
- publicPathExpression: "window.externalPublicPath",
80
- html: true,
81
- }),
82
- systemCSSFix(),
83
- // injectSystemJS(resolveModuleRealpath(import.meta.url, 'systemjs/dist/system.min.js'))
84
- // dtsPlugin({
85
- // outDir: 'dist',
86
- // // tsconfigPath: './tsconfig.json',
87
- // insertTypesEntry: true,
88
- // // merge to 1 file
89
- // rollupTypes: true,
90
- // // include: ['./src/next/index.ts'],
91
- // })
92
- ]
93
- };
94
- });
@@ -1,75 +0,0 @@
1
- import { readFileSync } from 'node:fs';
2
- import { resolve } from 'node:path';
3
- import { defineConfig } from 'vite';
4
- import dtsPlugin from 'unplugin-dts/vite';
5
-
6
- const dependencies = JSON.parse(readFileSync('./package.json', 'utf8')).dependencies || {};
7
-
8
- export default defineConfig(({ mode }) => {
9
- return {
10
- resolve: {
11
- alias: {
12
- '@': resolve('./src')
13
- }
14
- },
15
- build: {
16
- lib: {
17
- entry: './src/next/index.ts',
18
- formats: ['es'],
19
- name: 'next',
20
- fileName: (format) => `next.js`
21
- },
22
- rollupOptions: {
23
- // input: {
24
- // next: './src/next/index.ts',
25
- // },
26
- output: {
27
- // format: 'esm',
28
- // preserveModules: false,
29
- entryFileNames(chunkInfo) {
30
- if (chunkInfo.name === 'index') {
31
- return 'next.js';
32
- }
33
-
34
- return '[name].js';
35
- },
36
- assetFileNames(assetInfo) {
37
- return 'chunks/[name]-[hash].[extname]';
38
- },
39
- },
40
- preserveEntrySignatures: 'strict',
41
- external: [
42
- /^node:/,
43
- /fusion-next/,
44
- 'rollup',
45
- 'vite',
46
- 'fast-glob',
47
- 'fs-extra',
48
- 'micromatch',
49
- 'is-glob',
50
- ...Object.keys(dependencies),
51
- // 'util',
52
- // 'stream',
53
- // 'fs',
54
- // 'os',
55
- // 'path',
56
- // 'path',
57
- ]
58
- },
59
- outDir: 'dist',
60
- emptyOutDir: false,
61
- minify: false,
62
- },
63
- plugins: [
64
- dtsPlugin({
65
- outDirs: 'dist',
66
- tsconfigPath: './tsconfig.json',
67
- insertTypesEntry: true,
68
- // merge to 1 file
69
- bundleTypes: true,
70
- exclude: ['./src/*.mjs']
71
- // include: ['./src/next/index.ts'],
72
- }),
73
- ]
74
- };
75
- });