Skip to content

Commit 92f8b5c

Browse files
committed
feat: next 16
1 parent 2ba6476 commit 92f8b5c

File tree

218 files changed

+2691
-2073
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

218 files changed

+2691
-2073
lines changed

.npmrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
//registry.npmjs.org/:_authToken=${NPM_TOKEN}
1+
//registry.npmjs.org/:_authToken=${NPM_TOKEN}
2+
node-linker=hoisted

README.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Run `npx @uniformdev/cli new` and pick `Next.js` -> `Component Starter Kit` from
4747
> Make sure your API key has "Developer" role to be able to push content.
4848
1. `npm install` to install dependencies
4949
1. Run `npm run init` to initialize your project.
50-
> This will push all content from disk (`.\content` folder) and your design settings (colors, fonts, borders, etc. for this default theme).
50+
> This command uses `@uniformdev/csk-cli` to push all content from disk (`./content` folder), design settings (colors, fonts, borders, etc.), and publish the context manifest. If CSK variants are available, you'll be prompted to select which one to initialize.
5151
5252
### Step 2. Run locally in dev mode
5353

@@ -66,7 +66,16 @@ This integration brings new parameter types for design and layout control via Un
6666

6767
The following scripts are created to facilitate sync of content between the `./content` folder and your project.
6868

69-
1. Run `npm run push:content` to push data from disk (see `./content`) to your Uniformproject.
69+
### Complete Project Sync
70+
71+
1. Run `npm run init` to initialize/push everything (content, design extensions, and context manifest) to your Uniform project.
72+
2. Run `npm run uniform:pull` to pull everything (content and design extensions) from your Uniform project to disk.
73+
74+
These commands use `@uniformdev/csk-cli` and handle the complete synchronization workflow. If CSK variants are available, you'll be prompted to select which one to sync.
75+
76+
### Granular Content Sync
77+
78+
1. Run `npm run push:content` to push data from disk (see `./content`) to your Uniform project.
7079
1. Run `npm run pull:content` to pull data from your Uniform project to `./content` folder.
7180

7281
Alternatively you can use `npm run pull:content:dev` and `npm run push:content:dev` to pull and push developer-owned content to your local project. The scope of the developer-owned content is defined in the `uniform.config.dev.ts` file.

content/componentPattern/7befe27a-102c-439b-8295-19d060112631.yaml

Lines changed: 0 additions & 47 deletions
This file was deleted.

content/componentPattern/b83eebba-34e9-4c62-a5b4-454022f44957.yaml

Lines changed: 0 additions & 42 deletions
This file was deleted.

content/componentPattern/d39ed051-35dc-447d-8be0-fc0afb98e694.yaml

Lines changed: 0 additions & 39 deletions
This file was deleted.

content/componentPattern/db25526c-e9e6-45f1-acb6-230bf6c0efb4.yaml

Lines changed: 0 additions & 47 deletions
This file was deleted.

0 commit comments

Comments
 (0)