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

Move locales out into their own repo #1541

Merged
merged 7 commits into from
Feb 1, 2021
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
57 changes: 0 additions & 57 deletions .github/CODEOWNERS

This file was deleted.

3 changes: 3 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ jobs:
# Verify dependencies are hooked up right
- run: node test/verifyPackageVersions.js

# Grab localizations
- run: yarn docs-sync pull microsoft/TypeScript-Website-localizations#main 1

# Build the packages
- run: yarn bootstrap
- run: yarn workspace typescriptlang-org build
Expand Down
16 changes: 0 additions & 16 deletions .github/workflows/codeowners-merge.yml

This file was deleted.

6 changes: 1 addition & 5 deletions .github/workflows/deploy-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
- name: Build website v2
run: |
yarn install
yarn docs-sync pull microsoft/TypeScript-Website-localizations#main 1
yarn bootstrap
yarn build
yarn build-site
Expand All @@ -44,11 +45,6 @@ jobs:
APP_INSIGHTS_API_KEY: ${{ secrets.APP_INSIGHTS_API_KEY }}
APP_INSIGHTS_ID: ${{ secrets.APP_INSIGHTS_ID }}

# Update all the translation issues on a nightly basis
- run: node packages/typescriptlang-org/scripts/updateGitHubTranslationIssues.ts
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_BOT_TOKEN }}

- name: Send a message to Microsoft Teams
if: ${{ failure() }}
uses: aliencube/microsoft-teams-actions@v0.8.0
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/v2-merged-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
- name: Prepare website v2
run: |
yarn install
yarn docs-sync pull microsoft/TypeScript-Website-localizations#main 1
yarn bootstrap
yarn build
env:
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ code .

# Then:
yarn bootstrap
# Optional, grab the translations:
yarn docs-sync pull microsoft/TypeScript-Website-localizations#main 1

# Now you can start up the website
yarn start
```

Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
"update-test-snapshots": "CI=true yarn workspaces foreach --include gatsby-remark-shiki-twoslash --include @typescript/twoslash --include shiki-twoslash --include @typescript/vfs run test -u"
},
"dependencies": {
"@oss-docs/sync": "^1.0.0",
"@types/express": "^4.17.6",
"serve-handler": "^6.1.2"
},
Expand Down
3 changes: 3 additions & 0 deletions packages/documentation/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Handled by @oss-docs/sync
copy/**
!copy/**/en
80 changes: 0 additions & 80 deletions packages/documentation/copy/id/Nightly Builds.md

This file was deleted.

This file was deleted.

70 changes: 0 additions & 70 deletions packages/documentation/copy/id/javascript/Intro to JS with TS.md

This file was deleted.

Loading