Skip to content

Commit

Permalink
all.vue
Browse files Browse the repository at this point in the history
  • Loading branch information
rishi-raj-jain committed Oct 10, 2024
1 parent badea0f commit 76fe9d1
Show file tree
Hide file tree
Showing 9 changed files with 8 additions and 10 deletions.
1 change: 0 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ jobs:
uses: oven-sh/setup-bun@v1
with:
bun-version: latest

- name: Install dependencies
run: bun install
- name: Generate static pages
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ jobs:
uses: oven-sh/setup-bun@v1
with:
bun-version: latest

- name: Install dependencies
run: bun install
- name: Generate static pages
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
"preview": "astro preview",
"types": "node ./scripts/getTypes.mjs",
"fmt": "prettier --write '**/*' --ignore-unknown",
"generate:locale:translations": "tsx generate_locale_translations.tsx",
"generate:blog:translations": "tsx generate_blog_translations.tsx",
"generate:translation.ts": "tsx generate_translation_ts_file.tsx",
"generate:plugin:translations": "tsx generate_plugin_translations.tsx",
"setup:new:locale": "tsx setup_new_locale.tsx"
"generate:locale:translations": "tsx scripts/generate_locale_translations.tsx",
"generate:blog:translations": "tsx scripts/generate_blog_translations.tsx",
"generate:translation.ts": "tsx scripts/generate_translation_ts_file.tsx",
"generate:plugin:translations": "tsx scripts/generate_plugin_translations.tsx",
"setup:new:locale": "tsx scripts/setup_new_locale.tsx"
},
"dependencies": {
"@astrojs/sitemap": "^3.2.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { appendFileSync, existsSync, mkdirSync, readdirSync, readFileSync, writeFileSync } from 'fs'
import matter from 'gray-matter'
import { join } from 'path'
import { defaultLocale, locales } from './src/services/locale'
import { defaultLocale, locales } from '../src/services/locale'
import { translateText } from './translate'

const languages = locales.filter((lang) => lang !== defaultLocale)
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { appendFileSync, existsSync, mkdirSync, readdirSync, readFileSync, writeFileSync } from 'fs'
import matter from 'gray-matter'
import { join } from 'path'
import { defaultLocale, locales } from './src/services/locale'
import { defaultLocale, locales } from '../src/services/locale'
import { translateText } from './translate'

const languages = locales.filter((lang) => lang !== defaultLocale)
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion setup_new_locale.tsx → scripts/setup_new_locale.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { locales } from '@/services/locale'
import { locales } from '../src/services/locale'
import { execSync } from 'child_process'
import fg from 'fast-glob'
import fs from 'fs'
Expand Down
File renamed without changes.

0 comments on commit 76fe9d1

Please sign in to comment.