Skip to content

Commit

Permalink
update package names, commands
Browse files Browse the repository at this point in the history
  • Loading branch information
natemoo-re committed Feb 13, 2023
1 parent ca24168 commit 69e9bcf
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 159 deletions.
2 changes: 1 addition & 1 deletion .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
"access": "public",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": ["demo"]
"ignore": ["@example/*"]
}
63 changes: 0 additions & 63 deletions examples/basic-demo/index.ts

This file was deleted.

4 changes: 2 additions & 2 deletions examples/basic-demo/prompt.ts → examples/basic/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { text, select, confirm, intro, outro, cancel, spinner, isCancel, multiSelect } from '@clack/prompts';
import { text, select, confirm, intro, outro, cancel, spinner, isCancel, multiselect } from '@clack/prompts';
import color from 'picocolors';
import { setTimeout } from 'node:timers/promises';

Expand Down Expand Up @@ -43,7 +43,7 @@ async function main () {
process.exit(0);
}

const d = await multiSelect({
const d = await multiselect({
message: 'Select additional tools.',
options: [
{value: 'eslint', label: 'ESLint', hint: 'recommended' },
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
{
"name": "basic-demo",
"name": "@example/basic",
"private": true,
"version": "0.0.0",
"type": "module",
"dependencies": {
"@clack/core": "workspace:*",
"@clack/prompts": "workspace:*",
"boxen": "^7.0.1",
"picocolors": "^1.0.0"
},
"scripts": {
"start": "jiti ./index.ts",
"prompt": "jiti ./prompt.ts"
"start": "jiti ./index.ts"
},
"devDependencies": {
"jiti": "^1.17.0"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"scripts": {
"stub": "pnpm -r run prepack --stub",
"build": "pnpm -r run prepack",
"start": "pnpm --filter basic-demo run start"
"start": "pnpm --filter @example/basic run start"
},
"devDependencies": {
"@changesets/cli": "^2.26.0",
Expand Down
95 changes: 7 additions & 88 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 69e9bcf

Please sign in to comment.