Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump libs #556

Merged
merged 16 commits into from
Nov 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .changeset/strange-weeks-pay.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
"cli-utils": patch
"@telegram-apps/create-mini-app": patch
"@telegram-apps/init-data-node": patch
"@telegram-apps/mate": patch
"@telegram-apps/sdk-react": patch
"@telegram-apps/sdk-svelte": patch
"svelte-template": patch
"vue-template": patch
---

Bump repository libraries
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: 'github-actions'
directory: '/'
schedule:
interval: 'weekly'
12 changes: 4 additions & 8 deletions .github/workflows/run-changeset.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
registry-url: 'https://registry.npmjs.org'

- name: Install pnpm
uses: pnpm/action-setup@v2
id: pnpm-install
with:
version: 9
run_install: false
uses: pnpm/action-setup@v4

- name: Rollup
run: pnpm run ci:packages:rollup
Expand Down
12 changes: 4 additions & 8 deletions .github/workflows/test-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
registry-url: 'https://registry.npmjs.org'

- name: Install pnpm
uses: pnpm/action-setup@v2
id: pnpm-install
with:
version: 9
run_install: false
uses: pnpm/action-setup@v4

- name: Rollup
run: pnpm run ci:packages:rollup
2 changes: 1 addition & 1 deletion apps/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
"author": "",
"license": "ISC",
"devDependencies": {
"vitepress": "1.2.0"
"vitepress": "1.5.0"
}
}
40 changes: 20 additions & 20 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,32 +20,32 @@
"prepare": "husky"
},
"devDependencies": {
"@changesets/cli": "^2.27.5",
"@eslint/js": "^9.2.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"@turbo/gen": "^1.13.3",
"@changesets/cli": "^2.27.10",
"@eslint/js": "^9.15.0",
"@rollup/plugin-node-resolve": "^15.3.0",
"@turbo/gen": "^2.3.1",
"@types/eslint__js": "^8.42.3",
"@vitest/coverage-v8": "^2.1.1",
"@vitest/ui": "^2.1.1",
"commitizen": "^4.3.0",
"@vitest/coverage-v8": "^2.1.5",
"@vitest/ui": "^2.1.5",
"commitizen": "^4.3.1",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^9.3.0",
"husky": "^9.0.11",
"rimraf": "^5.0.5",
"eslint": "^9.15.0",
"husky": "^9.1.7",
"rimraf": "^6.0.1",
"rollup-plugin-preserve-shebang": "^1.0.1",
"tslib": "^2.6.2",
"tsx": "^4.16.2",
"turbo": "^2.0.6",
"typescript": "5.4.5",
"typescript-eslint": "^8.0.0-alpha.20",
"vite": "^5.4.8",
"vite-plugin-dts": "^4.2.3",
"tslib": "^2.8.1",
"tsx": "^4.19.2",
"turbo": "^2.3.1",
"typescript": "5.6.3",
"typescript-eslint": "^8.15.0",
"vite": "^5.4.11",
"vite-plugin-dts": "^4.3.0",
"vite-plugin-solid": "^2.10.2",
"vite-tsconfig-paths": "^5.0.1",
"vitest": "^2.1.1"
"vite-tsconfig-paths": "^5.1.3",
"vitest": "^2.1.5"
},
"type": "module",
"packageManager": "pnpm@9.1.0",
"packageManager": "pnpm@9.13.2",
"name": "monorepo",
"config": {
"commitizen": {
Expand Down
4 changes: 2 additions & 2 deletions packages/cli-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
"author": "",
"license": "ISC",
"devDependencies": {
"@types/node": "^20.14.10",
"@types/node": "^22.9.0",
"tsconfig": "workspace:*"
},
"dependencies": {
"chalk": "^5.3.0",
"ora": "^8.0.1"
"ora": "^8.1.1"
}
}
10 changes: 5 additions & 5 deletions packages/create-mini-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,18 +32,18 @@
"watch": "vite build --watch"
},
"devDependencies": {
"@types/node": "^20.0.0",
"@types/node": "^22.9.0",
"tsconfig": "workspace:*"
},
"publishConfig": {
"access": "public"
},
"dependencies": {
"@inquirer/core": "^8.2.1",
"ansi-escapes": "^6.2.1",
"@inquirer/core": "^10.1.0",
"ansi-escapes": "^7.0.0",
"chalk": "^5.3.0",
"commander": "^12.0.0",
"commander": "^12.1.0",
"figures": "^6.1.0",
"ora": "^8.0.1"
"ora": "^8.1.1"
}
}
2 changes: 1 addition & 1 deletion packages/create-mini-app/src/prompts/promptDirName.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export const promptDirName = createPrompt<string, Config>(
return [
spaces(
usePromptPrefix(completed),
theme.style.message('Directory name:'),
theme.style.message('Directory name:', 'idle'),
useInputPrefix(completed),
completed
? theme.style.answer(value)
Expand Down
2 changes: 1 addition & 1 deletion packages/create-mini-app/src/prompts/promptGitRepo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export const promptGitRepo = createPrompt<string, {}>((_, done) => {
return [
spaces(
usePromptPrefix(completed),
theme.style.message('Git remote repository URL:'),
theme.style.message('Git remote repository URL:', 'idle'),
useInputPrefix(completed),
completed
? theme.style.answer(value ? value : chalk.italic('not specified'))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export const promptTemplate = createPrompt<Template, {}>(
const paddingLeft = ' '.repeat(PADDING_HOR_LEFT);
const paddingRight = ' '.repeat(PADDING_HOR_RIGHT);

const message = spaces(usePromptPrefix(completed), theme.style.message('Preferred technologies:'));
const message = spaces(usePromptPrefix(completed), theme.style.message('Preferred technologies:', 'idle'));

if (completed) {
const lang = findTitleByNameAndValue('language', template!.language);
Expand Down
4 changes: 2 additions & 2 deletions packages/create-mini-app/src/spawnWithSpinner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,11 @@ export function spawnWithSpinner({
}: TerminalOptions | OperationOptions): Promise<void> {
const { style } = theme;
const spinner = ora({
text: style.message(title),
text: style.message(title, 'loading'),
hideCursor: false,
}).start();

const success = titleSuccess && style.message(titleSuccess);
const success = titleSuccess && style.message(titleSuccess, 'done');

if (typeof command === 'function') {
return command()
Expand Down
10 changes: 5 additions & 5 deletions packages/init-data-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,16 +53,16 @@
"build": "rimraf dist && pnpm run build:node && pnpm run build:web"
},
"devDependencies": {
"@types/node": "^20.0.0",
"tsconfig": "workspace:*",
"test-utils": "workspace:*"
"@types/node": "^22.9.0",
"test-utils": "workspace:*",
"tsconfig": "workspace:*"
},
"publishConfig": {
"access": "public"
},
"dependencies": {
"@telegram-apps/toolkit": "workspace:^",
"@telegram-apps/types": "workspace:^",
"@telegram-apps/transformers": "workspace:^"
"@telegram-apps/transformers": "workspace:^",
"@telegram-apps/types": "workspace:^"
}
}
14 changes: 7 additions & 7 deletions packages/mate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,20 +37,20 @@
"devDependencies": {
"@types/js-yaml": "^4.0.9",
"@types/mime-db": "^1.43.5",
"@types/node": "^20.0.0",
"@types/node": "^22.9.0",
"@types/ramda": "^0.30.2",
"rollup-plugin-preserve-shebang": "^1.0.1",
"vite": "^5.3.3",
"vite-tsconfig-paths": "^4.3.2",
"tsconfig": "workspace:*"
"tsconfig": "workspace:*",
"vite": "^5.4.11",
"vite-tsconfig-paths": "^5.1.2"
},
"dependencies": {
"@aws-sdk/client-s3": "^3.613.0",
"@aws-sdk/client-s3": "^3.693.0",
"chalk": "^5.3.0",
"commander": "^12.0.0",
"commander": "^12.1.0",
"figures": "^6.1.0",
"js-yaml": "^4.1.0",
"ora": "^8.0.1",
"ora": "^8.1.1",
"ramda": "^0.30.1",
"tar": "^7.4.3",
"zod": "^3.23.8"
Expand Down
6 changes: 3 additions & 3 deletions packages/sdk-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@
}
},
"devDependencies": {
"tsconfig": "workspace:*",
"@types/react": "^18.0.0",
"react": "^18.0.0"
"@types/react": "^18.3.12",
"react": "^18.3.1",
"tsconfig": "workspace:*"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk-svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"@telegram-apps/sdk": "workspace:^"
},
"peerDependencies": {
"svelte": "^5.1.3"
"svelte": "^5.2.3"
},
"devDependencies": {
"tsconfig": "workspace:*"
Expand Down
28 changes: 14 additions & 14 deletions playgrounds/next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,23 @@
"lint": "next lint"
},
"dependencies": {
"@telegram-apps/telegram-ui": "^2.1.4",
"@telegram-apps/sdk-react": "workspace:*",
"@tonconnect/ui-react": "^2.0.5",
"eruda": "^3.0.1",
"next": "14.2.4",
"@telegram-apps/telegram-ui": "^2.1.8",
"@tonconnect/ui-react": "^2.0.9",
"eruda": "^3.4.1",
"next": "14.2.18",
"normalize.css": "^8.0.1",
"react": "^18",
"react-dom": "^18"
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
"devDependencies": {
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18",
"eslint": "^8",
"eslint-config-next": "14.2.4",
"postcss": "^8",
"tailwindcss": "^3.4.1",
"typescript": "^5"
"@types/node": "^22.9.0",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"eslint": "^8.57.1",
"eslint-config-next": "14.2.18",
"postcss": "^8.4.49",
"tailwindcss": "^3.4.15",
"typescript": "^5.6.3"
}
}
24 changes: 19 additions & 5 deletions playgrounds/next/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
{
"compilerOptions": {
"lib": ["dom", "dom.iterable", "esnext"],
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
Expand All @@ -18,9 +22,19 @@
}
],
"paths": {
"@/*": ["./src/*"]
}
"@/*": [
"./src/*"
]
},
"target": "ES2017"
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
"exclude": ["node_modules"]
"include": [
"next-env.d.ts",
"**/*.ts",
"**/*.tsx",
".next/types/**/*.ts"
],
"exclude": [
"node_modules"
]
}
4 changes: 3 additions & 1 deletion playgrounds/react/.eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ module.exports = {
node: true
},
files: [
'.eslintrc.{js,cjs}'
'.eslintrc.{js,cjs}',
'*.ts',
'*.tsx'
],
parserOptions: {
'sourceType': 'script'
Expand Down
Loading