@launch77-shared/plugin-design-system 2.0.0 → 2.1.0

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/README.md CHANGED
@@ -167,6 +167,7 @@ Components will automatically use your theme tokens.
167
167
 
168
168
  For detailed documentation, see:
169
169
 
170
+ - **[Design Tokens Reference](docs/DESIGN-TOKENS.md)** - Complete list of all design tokens with descriptions and examples
170
171
  - Module README: `src/modules/design-system/README.md` (installed with plugin)
171
172
  - Library README: `@launch77-shared/lib-design-system` package
172
173
 
package/dist/generator.js CHANGED
@@ -157,16 +157,16 @@ var DesignSystemGenerator = class extends StandardGenerator {
157
157
  await this.updateTailwindConfig();
158
158
  }
159
159
  async updateGlobalsCss() {
160
- const globalsCssPath = path.join(this.context.appPath, "app/globals.css");
161
- const result = await insertCssImports(globalsCssPath, ["@import '@launch77-shared/lib-design-system/tokens.css';", "@import '../src/modules/design-system/config/brand.css';"]);
160
+ const globalsCssPath = path.join(this.context.appPath, "src/app/globals.css");
161
+ const result = await insertCssImports(globalsCssPath, ["@import '@launch77-shared/lib-design-system/tokens.css';", "@import '../modules/design-system/config/brand.css';"]);
162
162
  if (result.success) {
163
163
  if (result.alreadyExists) {
164
- console.log(chalk.gray(" \u2713 CSS imports already exist in app/globals.css"));
164
+ console.log(chalk.gray(" \u2713 CSS imports already exist in src/app/globals.css"));
165
165
  } else {
166
- console.log(chalk.green(" \u2713 Added CSS imports to app/globals.css"));
166
+ console.log(chalk.green(" \u2713 Added CSS imports to src/app/globals.css"));
167
167
  }
168
168
  } else {
169
- console.log(chalk.yellow(` \u26A0\uFE0F Could not auto-configure app/globals.css: ${result.error}`));
169
+ console.log(chalk.yellow(` \u26A0\uFE0F Could not auto-configure src/app/globals.css: ${result.error}`));
170
170
  console.log(chalk.gray(" You will need to add imports manually"));
171
171
  }
172
172
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@launch77-shared/plugin-design-system",
3
- "version": "2.0.0",
3
+ "version": "2.1.0",
4
4
  "description": "Launch77 design system plugin - Setup design tokens and Tailwind preset for elegant web applications",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",
@@ -22,8 +22,8 @@
22
22
  "release:verify": "launch77-release-verify"
23
23
  },
24
24
  "dependencies": {
25
- "@launch77-shared/lib-design-system": "^1.0.0",
26
- "@launch77/plugin-runtime": "^0.2.0",
25
+ "@launch77/plugin-runtime": "^0.3.0",
26
+ "@launch77-shared/lib-design-system": "^1.1.0",
27
27
  "chalk": "^5.3.0"
28
28
  },
29
29
  "devDependencies": {
package/plugin.json CHANGED
@@ -1,7 +1,4 @@
1
1
  {
2
- "name": "design-system",
3
- "version": "1.0.0",
4
- "description": "Launch77 design system - Token-driven theming foundation with Tailwind preset",
5
2
  "targets": ["app", "library"],
6
3
  "pluginDependencies": {},
7
4
  "libraryDependencies": {