Skip to content

Commit 9b31441

Browse files
committed
revert: changes to examples
1 parent 9539f89 commit 9b31441

13 files changed

+47
-42
lines changed

.changeset/config.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@
77
"access": "public",
88
"baseBranch": "main",
99
"updateInternalDependencies": "patch",
10-
"ignore": []
11-
}
10+
"ignore": ["@example/*"]
11+
}
File renamed without changes.

examples/package.json renamed to examples/basic/package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@clack/examples",
2+
"name": "@example/basic",
33
"private": true,
44
"version": "0.0.0",
55
"type": "module",
@@ -10,7 +10,6 @@
1010
},
1111
"scripts": {
1212
"start": "jiti ./index.ts",
13-
"basic": "jiti ./basic.ts",
1413
"spinner": "jiti ./spinner.ts",
1514
"spinner-ci": "npx cross-env CI=\"true\" jiti ./spinner-ci.ts",
1615
"changesets": "jiti ./changesets.ts",
@@ -19,4 +18,4 @@
1918
"devDependencies": {
2019
"jiti": "^1.17.0"
2120
}
22-
}
21+
}
File renamed without changes.

examples/basic/tsconfig.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"extends": "../../tsconfig.json"
3+
}
File renamed without changes.
File renamed without changes.

examples/changesets/package.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"name": "@example/changesets",
3+
"private": true,
4+
"version": "0.0.0",
5+
"type": "module",
6+
"dependencies": {
7+
"@clack/core": "workspace:*",
8+
"@clack/prompts": "workspace:*",
9+
"picocolors": "^1.0.0"
10+
},
11+
"scripts": {
12+
"start": "jiti ./index.ts"
13+
},
14+
"devDependencies": {
15+
"jiti": "^1.17.0"
16+
}
17+
}

examples/changesets/tsconfig.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"extends": "../../tsconfig.json"
3+
}

examples/index.ts

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

examples/tsconfig.json

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

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
"private": true,
44
"type": "module",
55
"scripts": {
6-
"dev": "pnpm --filter @clack/examples run start",
76
"stub": "pnpm -r run build --stub",
87
"build": "pnpm --filter \"@clack/*\" run build",
98
"start": "pnpm run dev",
@@ -25,4 +24,4 @@
2524
"volta": {
2625
"node": "20.18.1"
2726
}
28-
}
27+
}

pnpm-lock.yaml

Lines changed: 19 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)