Skip to content

Commit 721d560

Browse files
authoredMar 24, 2024
feat: move postgres to the @sequelize/postgres package (sequelize#17190)
1 parent 9f86136 commit 721d560

File tree

122 files changed

+1044
-932
lines changed

Some content is hidden

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

122 files changed

+1044
-932
lines changed
 

‎.github/workflows/ci.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- name: Reset NX cache
3636
run: yarn nx reset
3737
- name: Compress artifact
38-
run: tar -cf install-build-node-${{ matrix.node-version }}.tar ./packages/core/lib ./packages/validator-js/lib ./packages/utils/lib ./node_modules
38+
run: tar -cf install-build-node-${{ matrix.node-version }}.tar ./packages/*/lib ./node_modules
3939
- uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
4040
with:
4141
name: install-build-artifact-node-${{ matrix.node-version }}
@@ -80,12 +80,16 @@ jobs:
8080
run: yarn test-unit-esm
8181
- name: Unit tests (validator.js)
8282
run: yarn lerna run test-unit --scope=@sequelize/validator.js
83+
- name: Unit tests (utils)
84+
run: yarn lerna run test-unit --scope=@sequelize/utils
8385
- name: Unit tests (mariadb)
8486
run: yarn lerna run test-unit-mariadb --scope=@sequelize/core
8587
- name: Unit tests (mysql)
8688
run: yarn lerna run test-unit-mysql --scope=@sequelize/core
87-
- name: Unit tests (postgres)
89+
- name: Unit tests (core - postgres)
8890
run: yarn lerna run test-unit-postgres --scope=@sequelize/core
91+
- name: Unit tests (postgres package)
92+
run: yarn lerna run test-unit --scope=@sequelize/postgres
8993
- name: Unit tests (sqlite)
9094
run: yarn lerna run test-unit-sqlite --scope=@sequelize/core
9195
- name: Unit tests (mssql)

‎.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ node_modules
1919
/packages/core/test/sqlite-databases
2020
/.nx
2121

22+
lib
23+
2224
.pnp.*
2325
.yarn/*
2426
!.yarn/patches

0 commit comments

Comments
 (0)
Please sign in to comment.