-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: convert repo to a turborepo monorepo (#783)
* feat: add turbo, remove lerna.json * refactor: move current design system package into packages/camp * feat: move token-gen into tooling/camp/token-gen * feat: update github action workflows * feat: npm i with workspace * fix: lint/package errors due to regenerated package-lock * feat: remove extraneous default working-directory in chromatic ci yml * fix: setup-node ci settings * fix: update storybook build process due to package-lock change * fix: package-lock desync * feat: add back required vite plugins, update vite * feat: simplify turbo.json * fix: add all tooling packages into npm workspace * feat: remove husky config
- Loading branch information
Showing
907 changed files
with
30,707 additions
and
40,854 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
name: CI (Camp) | ||
|
||
defaults: | ||
run: | ||
working-directory: packages/camp | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
|
||
jobs: | ||
install: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: "lts/*" | ||
cache: 'npm' | ||
- run: npm ci | ||
|
||
lint: | ||
needs: install | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: "lts/*" | ||
cache: 'npm' | ||
- run: npm ci | ||
- run: npm run lint | ||
|
||
build: | ||
needs: lint | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: "lts/*" | ||
cache: 'npm' | ||
- run: npm ci | ||
- run: npm run build |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,6 @@ build-storybook.log | |
storybook-static | ||
.DS_Store | ||
|
||
token-gen/tokens-generated | ||
**/token-gen/tokens-generated | ||
|
||
.turbo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
[submodule "token-gen/tokens"] | ||
path = token-gen/tokens | ||
url = https://github.com/opengovsg/design-tokens.git | ||
branch = develop | ||
[submodule "tooling/camp/token-gen/tokens"] | ||
path = tooling/camp/token-gen/tokens | ||
url = https://github.com/opengovsg/design-tokens |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.