@newt-app/templates 0.17.1 → 0.18.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.
Files changed (2) hide show
  1. package/dist/index.js +27 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1330,6 +1330,31 @@ var ui = {
1330
1330
  };
1331
1331
  var ui_default = ui;
1332
1332
 
1333
+ // src/shadcn-ui/templates/components-json.ts
1334
+ var components_json_default = {
1335
+ filename: "packages/ui/components.json",
1336
+ template: `{
1337
+ "$schema": "https://ui.shadcn.com/schema.json",
1338
+ "style": "base-nova",
1339
+ "rsc": true,
1340
+ "tsx": true,
1341
+ "tailwind": {
1342
+ "config": "",
1343
+ "css": "src/styles/globals.css",
1344
+ "baseColor": "neutral",
1345
+ "cssVariables": true
1346
+ },
1347
+ "iconLibrary": "lucide",
1348
+ "aliases": {
1349
+ "components": "@<%= projectName %>/ui/components",
1350
+ "utils": "@<%= projectName %>/ui/lib/utils",
1351
+ "hooks": "@<%= projectName %>/ui/hooks",
1352
+ "lib": "@<%= projectName %>/ui/lib",
1353
+ "ui": "@<%= projectName %>/ui/components"
1354
+ }
1355
+ }`
1356
+ };
1357
+
1333
1358
  // src/shadcn-ui/templates/package-json.ts
1334
1359
  var package_json_default6 = {
1335
1360
  filename: "packages/ui/package.json",
@@ -9027,7 +9052,8 @@ var shadcnUi = {
9027
9052
  toggle_group_default,
9028
9053
  toggle_default,
9029
9054
  tooltip_default,
9030
- mode_toggle_default
9055
+ mode_toggle_default,
9056
+ components_json_default
9031
9057
  ],
9032
9058
  packages: [
9033
9059
  { package: "next-themes", module: "apps/web", version: "^0.4.6" }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@newt-app/templates",
3
- "version": "0.17.1",
3
+ "version": "0.18.0",
4
4
  "private": false,
5
5
  "description": "Templates for newt-app",
6
6
  "type": "module",