@master/create-css 2.0.0-rc.85 → 2.0.0-rc.87
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/dist/constants.d.ts +13 -13
- package/dist/core.d.ts +0 -1
- package/dist/index.d.ts +0 -1
- package/dist/modes.d.ts +1 -1
- package/dist/transforms.d.ts +0 -1
- package/package.json +1 -1
package/dist/constants.d.ts
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
//#region src/constants.d.ts
|
|
2
2
|
declare const MASTER_CSS_VERSION = "rc";
|
|
3
3
|
declare const MASTER_CSS_PACKAGES: {
|
|
4
|
-
readonly css:
|
|
5
|
-
readonly runtime:
|
|
6
|
-
readonly preset:
|
|
7
|
-
readonly cli:
|
|
8
|
-
readonly vite:
|
|
9
|
-
readonly next:
|
|
10
|
-
readonly nuxt:
|
|
11
|
-
readonly astro:
|
|
12
|
-
readonly svelte:
|
|
13
|
-
readonly svelteAddon:
|
|
14
|
-
readonly webpack:
|
|
15
|
-
readonly eslintConfig:
|
|
16
|
-
readonly mcp:
|
|
4
|
+
readonly css: '@master/css';
|
|
5
|
+
readonly runtime: '@master/css-runtime';
|
|
6
|
+
readonly preset: '@master/css-preset';
|
|
7
|
+
readonly cli: '@master/css-cli';
|
|
8
|
+
readonly vite: '@master/css.vite';
|
|
9
|
+
readonly next: '@master/css.next';
|
|
10
|
+
readonly nuxt: '@master/css.nuxt';
|
|
11
|
+
readonly astro: '@master/css.astro';
|
|
12
|
+
readonly svelte: '@master/css.svelte';
|
|
13
|
+
readonly svelteAddon: '@master/css-sv';
|
|
14
|
+
readonly webpack: '@master/css.webpack';
|
|
15
|
+
readonly eslintConfig: '@master/eslint-config-css';
|
|
16
|
+
readonly mcp: '@master/css-mcp';
|
|
17
17
|
};
|
|
18
18
|
declare const CANONICAL_ESLINT_CONFIG = "import { defineConfig } from 'eslint/config'\nimport css from '@master/eslint-config-css'\n\nexport default defineConfig([\n ...css\n])\n";
|
|
19
19
|
declare const AGENT_RULES_BLOCK = "## Master CSS\n\n- Use https://rc.css.master.co as the source of truth.\n- Inspect the framework, package manager, CSS entry, rendering mode, theme tokens, component classes, utilities, custom variants, and validation commands before editing styles.\n- Prefer existing @theme tokens, @components, @utilities, and @custom-variant definitions.\n- Use the Master CSS MCP server when available.\n- Use ESLint for class policy diagnostics and the Master CSS Language Service for completion, hover, colors, highlighting, and directive formatting.\n- Do not invent Master CSS APIs, directives, package names, or Tailwind-style syntax.\n- Preserve semantic HTML, accessibility attributes, and behavior.\n";
|
package/dist/core.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { RenderingMode } from "./modes.js";
|
|
2
|
-
|
|
3
2
|
//#region src/core.d.ts
|
|
4
3
|
type CommandFramework = 'none' | 'vite' | 'react' | 'react-router' | 'tanstack-start' | 'vue' | 'nextjs' | 'svelte' | 'nuxt' | 'astro' | 'webpack' | 'rspack' | 'rsbuild' | 'laravel' | 'lit' | 'angular';
|
|
5
4
|
type CommandFrameworkOption = CommandFramework | 'auto';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { RenderingMode } from "./modes.js";
|
|
2
|
-
|
|
3
2
|
//#region src/index.d.ts
|
|
4
3
|
type Framework = 'none' | 'vite' | 'react' | 'react-router' | 'tanstack-start' | 'vue' | 'nextjs' | 'svelte' | 'nuxt' | 'astro' | 'webpack' | 'rspack' | 'rsbuild' | 'laravel' | 'lit' | 'angular';
|
|
5
4
|
type FrameworkOption = Framework | 'auto';
|
package/dist/modes.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region src/modes.d.ts
|
|
2
|
-
declare const renderingModes: readonly [
|
|
2
|
+
declare const renderingModes: readonly ['runtime', 'static', 'progressive', 'pre-render'];
|
|
3
3
|
type RenderingMode = typeof renderingModes[number];
|
|
4
4
|
declare function isRenderingMode(value: unknown): value is RenderingMode;
|
|
5
5
|
declare function formatRenderingModes(): string;
|
package/dist/transforms.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"commander": "^14.0.3"
|
|
43
43
|
},
|
|
44
|
-
"version": "2.0.0-rc.
|
|
44
|
+
"version": "2.0.0-rc.87",
|
|
45
45
|
"scripts": {
|
|
46
46
|
"build": "tsdown --config ../../shared/tsdown-package.config.ts",
|
|
47
47
|
"dev": "tsdown --config ../../shared/tsdown-package.config.ts --watch",
|