Skip to content

Commit

Permalink
chore(clerk-js): Merge ui.retheme into ui directory (#2334)
Browse files Browse the repository at this point in the history
* chore(clerk-js): Merge `ui.retheme` into `ui` directory

* chore(clerk-js): Add empty changeset

* fix(clerk-js): Fix lint issues
  • Loading branch information
anagstef authored Dec 13, 2023
1 parent 118a58b commit fca2b7e
Show file tree
Hide file tree
Showing 750 changed files with 1,736 additions and 48,879 deletions.
2 changes: 2 additions & 0 deletions .changeset/smooth-pets-rhyme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
5 changes: 0 additions & 5 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,3 @@ actions:

integration:
- integration/**

# TODO @retheme: Remove
retheme:
- packages/clerk-js/src/ui.retheme/**
- packages/**/*.retheme.*
35 changes: 0 additions & 35 deletions .github/workflows/ui-retheme-build.yml

This file was deleted.

50 changes: 0 additions & 50 deletions .github/workflows/ui-retheme-changes-reminder.yml

This file was deleted.

4 changes: 1 addition & 3 deletions packages/clerk-js/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
const { name } = require('./package.json');

const uiRetheme = process.env.CLERK_RETHEME === '1' || process.env.CLERK_RETHEME === 'true';

/** @type {import('ts-jest').JestConfigWithTsJest} */
const config = {
displayName: name.replace('@clerk', ''),
Expand All @@ -16,7 +14,7 @@ const config = {
'/ui/.*/__tests__/.*.test.[jt]sx?$',
'/(core|utils)/.*.test.[jt]sx?$',
],
testPathIgnorePatterns: ['/node_modules/', uiRetheme ? '<rootDir>/src/ui/' : '<rootDir>/src/ui.retheme/'],
testPathIgnorePatterns: ['/node_modules/'],
collectCoverage: false,
coverageProvider: 'v8',
coverageDirectory: 'coverage',
Expand Down
2 changes: 1 addition & 1 deletion packages/clerk-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"build": "npm run build:bundle && npm run build:declarations",
"build:analyze": "webpack-bundle-analyzer stats.json dist/",
"build:bundle": "npm run clean && webpack --config webpack.config.js --env production",
"build:declarations": "if [ \"$CLERK_RETHEME\" = \"true\" ] || [ \"$CLERK_RETHEME\" = \"1\" ]; then tsc -p tsconfig.declarations.retheme.json; else tsc -p tsconfig.declarations.json; fi",
"build:declarations": "tsc -p tsconfig.declarations.json",
"build:stats": "webpack --config webpack.config.js --env production --json=stats.json --env variant=\"clerk.browser\"",
"bundlewatch": "npx bundlewatch --config bundlewatch.config.json",
"clean": "rimraf ./dist",
Expand Down
Loading

0 comments on commit fca2b7e

Please sign in to comment.