Skip to content

Commit 14a0fa6

Browse files
authored
[UIE-94] Multi-package MVP (#3992)
1 parent fc080ab commit 14a0fa6

File tree

88 files changed

+702
-224
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

88 files changed

+702
-224
lines changed

.circleci/config.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -227,10 +227,10 @@ jobs:
227227
keys:
228228
- deps-{{ .Branch }}-{{ checksum ".pnp.cjs" }}
229229
- run: yarn install --immutable-cache
230+
- run: yarn run build
230231
- run: yarn eslint --max-warnings=0 .
231-
- run: yarn test --coverage --maxWorkers=2
232+
- run: yarn workspaces foreach --exclude terra-integration-tests run test --coverage --maxWorkers=2 --passWithNoTests
232233
- run: yarn check-types
233-
- run: DISABLE_ESLINT_PLUGIN=true yarn build # already linted above
234234
- save_cache:
235235
key: deps-{{ .Branch }}-{{ checksum ".pnp.cjs" }}
236236
paths:

.dockerignore

+5
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,16 @@
11
# yarn "unplugged" packages
22
.yarn/unplugged
33

4+
# yarn state
5+
.yarn/install-state.gz
6+
47
# Build output
58
build
9+
packages/*/lib
610

711
# Jest coverage report
812
coverage
913

1014
# Build tool caches
1115
node_modules
16+
tsconfig.tsbuildinfo

.eslintignore

+1
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,4 @@ node_modules
1414
coverage
1515
lint-staged.config.mjs
1616
vite.config.js
17+
packages/*/lib

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,12 @@ node_modules
55

66
# testing
77
/coverage
8+
packages/*/coverage
89

910
# production
1011
/build
12+
packages/*/lib
13+
tsconfig.tsbuildinfo
1114

1215
# misc
1316
.DS_Store

.hooks/plugin-warning-logger.js

+6-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,12 @@ module.exports = {
1616
}
1717
},
1818
wrapScriptExecution(executor, project, locator, scriptName) {
19-
if (scriptName === 'build' && !process.env.CI) {
19+
let isAppWorkspace = false
20+
try {
21+
const workspace = project.getWorkspaceByLocator(locator);
22+
isAppWorkspace = workspace.relativeCwd === '.';
23+
} catch (err) {}
24+
if (isAppWorkspace && scriptName === 'build' && !process.env.CI) {
2025
return async () => {
2126
const status = await executor()
2227
console.warn('\x1b[1m' /* bold */ + '╔'.padEnd(79, '═') + '╗')

.pnp.cjs

+128-8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)