@asd14/vblocks 2.1.0 → 3.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.
@@ -6,7 +6,7 @@
6
6
  "scripts": {
7
7
  "start": "vblocks serve",
8
8
  "build": "vblocks build",
9
- "build:single": "vblocks build --env single",
9
+ "build:single": "vblocks build --single-file",
10
10
  "typecheck": "tsc --noEmit"
11
11
  },
12
12
  "dependencies": {
@@ -0,0 +1,14 @@
1
+ #!/bin/sh
2
+
3
+ # Runs in the project root, after `vblocks init` copies the plumbing files.
4
+ # vblocks exports VB_VERSION
5
+
6
+ set -eu
7
+
8
+ # npm leaves every `.gitignore` out of the package, so the template ships
9
+ # `_gitignore`
10
+ mv -- _gitignore .gitignore
11
+
12
+ npm pkg set \
13
+ "name=$(basename "$PWD")" \
14
+ "devDependencies.@asd14/vblocks=^${VB_VERSION}"
@@ -0,0 +1,3 @@
1
+ /* Scan only this app. With `--prefix`, you run VBlocks from the project folder,
2
+ where Tailwind would also scan every other app */
3
+ @import "tailwindcss" source(".");
@@ -0,0 +1,11 @@
1
+ #!/bin/sh
2
+
3
+ # Runs in the app folder, after `vblocks init` copies the app files. npm writes
4
+ # the nearest package.json, the project root's
5
+
6
+ set -eu
7
+
8
+ npm pkg set \
9
+ "dependencies.@xyflow/react=^12" \
10
+ "devDependencies.@tailwindcss/postcss=^4" \
11
+ "devDependencies.tailwindcss=^4"
@@ -1,26 +0,0 @@
1
- {
2
- "$schema": "https://json.schemastore.org/package.json",
3
- "name": "vblocks-app",
4
- "private": true,
5
- "type": "module",
6
- "scripts": {
7
- "start": "vblocks serve",
8
- "build": "vblocks build",
9
- "build:single": "vblocks build --env single",
10
- "typecheck": "tsc --noEmit"
11
- },
12
- "dependencies": {
13
- "@xyflow/react": "^12",
14
- "react": "^19",
15
- "react-dom": "^19"
16
- },
17
- "devDependencies": {
18
- "@asd14/ts-config": "^1.6.0",
19
- "@asd14/vblocks": "*",
20
- "@tailwindcss/postcss": "^4",
21
- "@types/react": "^19",
22
- "@types/react-dom": "^19",
23
- "tailwindcss": "^4",
24
- "typescript": "^6"
25
- }
26
- }
@@ -1 +0,0 @@
1
- @import "tailwindcss";
File without changes
File without changes
File without changes
File without changes