Skip to content
This repository has been archived by the owner on Jul 10, 2024. It is now read-only.

Commit

Permalink
Migrate website (#5750)
Browse files Browse the repository at this point in the history
  • Loading branch information
harshraj8843 authored Jun 16, 2024
1 parent e95c9da commit ad30f1e
Show file tree
Hide file tree
Showing 335 changed files with 15,669 additions and 24 deletions.
7 changes: 7 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
GITHUB_API_URL=https://api.github.com

NPM_API_URL=https://registry.npmjs.org

CODINASION_GITHUB_TOKEN=insert_your_token_here

PROGRAM_DATA_URL=https://raw.githubusercontent.com/codinasion/codinasion/program-data
CONTRIBUTORS_DATA_URL=https://raw.githubusercontent.com/codinasion/codinasion/contributors-data
TOOLS_DATA_URL=https://raw.githubusercontent.com/codinasion/codinasion/tools-data
BLOG_DATA_URL=https://raw.githubusercontent.com/codinasion/codinasion/blog-data

TWITTER_APP_KEY=insert_twitter_credentials_here
TWITTER_APP_SECRET=insert_twitter_credentials_here
TWITTER_ACCESS_TOKEN=insert_twitter_credentials_here
TWITTER_ACCESS_SECRET=insert_twitter_credentials_here

# production or development
BUILD_MODE=development
12 changes: 9 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,27 +10,33 @@
"lint": "turbo lint",
"lint:action": "pnpm lint --filter action",
"lint:bot": "pnpm lint --filter bot",
"lint:packages": "pnpm lint --filter !./action --filter !./bot",
"lint:packages": "pnpm lint --filter !./website --filter !./action --filter !./bot",
"lint:website": "pnpm lint --filter website",
"dev": "dotenv -- turbo dev",
"build": "dotenv -- turbo build",
"build:action": "turbo build --filter action",
"build:bot": "turbo build --filter bot",
"build:packages": "pnpm build --filter !./action --filter !./bot",
"build:packages": "pnpm build --filter !./website --filter !./action --filter !./bot",
"build:website": "dotenv -- turbo build --filter website",
"test": "turbo test",
"test:action": "pnpm test --filter action",
"test:bot": "pnpm test --filter bot",
"test:examples": "pnpm test --filter *-example*",
"test:packages": "pnpm test --filter !./packages/npm/examples/** --filter !./action --filter !./bot",
"test:packages": "pnpm test --filter !./website --filter !./packages/npm/examples/** --filter !./action --filter !./bot",
"test:website": "pnpm test --filter website",
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,md,mdx,json,yml,yaml}\"",
"format:action": "prettier --write \"action/**/*.{js,jsx,ts,tsx,md,mdx,json,yml,yaml}\"",
"format:bot": "prettier --write \"bot/**/*.{js,jsx,ts,tsx,md,mdx,json,yml,yaml}\"",
"format:content": "prettier --write \"content/**/*.{js,jsx,ts,tsx,md,mdx,json,yml,yaml}\"",
"format:examples": "prettier --write \"packages/npm/examples/**/*.{js,jsx,ts,tsx,md,mdx,json,yml,yaml}\"",
"format:packages": "prettier --write \"packages/npm/packages/**/*.{js,jsx,ts,tsx,md,mdx,json,yml,yaml}\"",
"format:website": "prettier --write \"website/**/*.{js,jsx,ts,tsx,md,mdx,json,yml,yaml}\"",
"all": "pnpm clone-submodules && pnpm format && turbo lint && pnpm build && pnpm test",
"all:action": "pnpm format:action && pnpm lint:action && pnpm build:action && pnpm test:action",
"all:bot": "pnpm format:bot && pnpm lint:bot && pnpm build:bot && pnpm test:bot",
"all:examples": "pnpm format:examples && pnpm test:examples",
"all:packages": "pnpm format:packages && pnpm lint:packages && pnpm build:packages && pnpm test:packages",
"all:website": "pnpm format:website && pnpm lint:website && pnpm build:website && pnpm test:website",
"version-packages": "pnpm changeset version && pnpm all:packages",
"publish-packages": "pnpm all:packages && changeset version && changeset publish"
},
Expand Down
Loading

0 comments on commit ad30f1e

Please sign in to comment.