Skip to content

Commit cc4a957

Browse files
authored
refactor: monorepo, microbundler, docs, deprecation (#1913)
* build: upgrade to 1.11.0 * tests(fix): emit exit code 1 on fail * refactor: microbundle and typescript * ci: ensure lerna is globally available * build: use yarn and workspaces * use lerna * build: add private to sortbale repo * v1.11.1 * ci: use yarn and lerna together * fix ci * tests: fix tests
1 parent aa19cf3 commit cc4a957

82 files changed

Lines changed: 21377 additions & 15472 deletions

Some content is hidden

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

.circleci/config.yml

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,24 @@ jobs:
77
- checkout
88

99
- restore_cache:
10+
name: Restore Yarn Package Cache
1011
keys:
11-
- v1-dependencies-{{ checksum "package.json" }}
12-
- v1-dependencies-
13-
14-
- run: npm install
12+
- yarn-packages-{{ checksum "yarn.lock" }}
13+
- run:
14+
name: Install Dependencies
15+
command: yarn install --immutable
1516

1617
- save_cache:
18+
name: Save Yarn Package Cache
19+
key: yarn-packages-{{ checksum "yarn.lock" }}
1720
paths:
18-
- node_modules
19-
key: v1-dependencies-{{ checksum "package.json" }}
21+
- ~/.cache/yarn
22+
23+
- run:
24+
name: Bootstrap with Lerna
25+
command: yarn lerna bootstrap
2026

21-
- run: npm run build:umd
27+
- run: yarn build:umd
2228

2329
- run:
2430
name: Compatibility Test
@@ -27,9 +33,9 @@ jobs:
2733
command: |
2834
if [ -z "$CIRCLE_PR_NUMBER" ];
2935
then
30-
npm run test:compat
36+
yarn test:compat
3137
fi
32-
- run: npm run test
38+
- run: yarn test
3339

3440
- store_test_results:
3541
path: /tmp/test-results

.prettierignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"typescript.tsdk": "/home/wayne/Documents/code/nodejs/sortable/node_modules/typescript/lib"
3+
}

0 commit comments

Comments
 (0)