Skip to content

Commit

Permalink
fresh examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Aslemammad committed Aug 8, 2024
1 parent c40b352 commit b25fae1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/cr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,10 @@ jobs:
- name: Build packages
run: yarn build:packages

- name: Fresh templates
run: |
yarn create-docusaurus fresh-examples/docusaurus-classic classic --javascript -p npm -s
yarn create-docusaurus fresh-examples/docusaurus-classic-typescript classic --typescript -p npm -s
- name: Release
run: npx pkg-pr-new publish './packages/*' --template './examples/*' --compact
run: npx pkg-pr-new publish './packages/*' --template './fresh-examples/*' --compact --comment=off
1 change: 1 addition & 0 deletions examples/classic/docusaurus.config.js

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

1 change: 0 additions & 1 deletion packages/create-docusaurus/bin/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import logger from '@docusaurus/logger';
import semver from 'semver';
import {program} from 'commander';

console.log('A test!');
const packageJson = /** @type {import("../package.json")} */ (
createRequire(import.meta.url)('../package.json')
);
Expand Down

0 comments on commit b25fae1

Please sign in to comment.