-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1c450c7
commit b27c883
Showing
85 changed files
with
9,211 additions
and
9,785 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: CI | ||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
token: ${{ secrets.REPO_PAT }} | ||
- name: Use Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: '18.x' | ||
- name: configure git | ||
run: | | ||
git config user.name "${GITHUB_ACTOR}" | ||
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com" | ||
- name: Install dependencies | ||
run: | | ||
corepack enable | ||
yarn | ||
- name: Build | ||
run: yarn build | ||
- name: Run tests | ||
run: yarn test | ||
- name: Release | ||
if: github.ref == 'refs/heads/main' | ||
run: yarn semantic-release | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |
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,2 +1,14 @@ | ||
node_modules | ||
dist | ||
dist | ||
output | ||
yarn-error.log | ||
|
||
.pnp.* | ||
.yarn/* | ||
!.yarn/patches | ||
!.yarn/plugins | ||
!.yarn/releases | ||
!.yarn/sdks | ||
!.yarn/versions | ||
|
||
.nx/cache |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
nodeLinker: node-modules |
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,9 +1,3 @@ | ||
# utilz | ||
|
||
Small node utilties | ||
|
||
## types | ||
|
||
## merge | ||
|
||
## deepmerge |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"extends": "nx/presets/npm.json", | ||
"$schema": "./node_modules/nx/schemas/nx-schema.json", | ||
"tasksRunnerOptions": { | ||
"default": { | ||
"runner": "nx/tasks-runners/default", | ||
"options": { | ||
"cacheableOperations": ["build", "lint", "test", "e2e"] | ||
} | ||
} | ||
}, | ||
"namedInputs": { | ||
"default": ["{projectRoot}/**/*"], | ||
"nonTest": ["!{projectRoot}/**/*.spec.tsx"] | ||
}, | ||
"targetDefaults": { | ||
"build": { | ||
"inputs": ["default", "^nonTest"], | ||
"dependsOn": ["^build"] | ||
}, | ||
"dev": { | ||
"dependsOn": ["^build"] | ||
}, | ||
"test": { | ||
"inputs": ["default", "^nonTest"] | ||
} | ||
}, | ||
"affected": { | ||
"defaultBase": "origin/main" | ||
} | ||
} |
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,3 @@ | ||
module.exports = { | ||
repositoryUrl: 'https://github.com/devdigital/tson', | ||
}; |
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,24 +1,20 @@ | ||
{ | ||
"name": "root", | ||
"version": "0.0.0", | ||
"license": "MIT", | ||
"private": true, | ||
"packageManager": "[email protected]", | ||
"workspaces": [ | ||
"packages/*" | ||
], | ||
"scripts": { | ||
"commit": "./node_modules/cz-customizable/standalone.js", | ||
"test": "lerna run test", | ||
"clean": "lerna clean", | ||
"bootstrap": "lerna bootstrap", | ||
"prepare": "lerna run prepare", | ||
"release": "lerna publish", | ||
"release:canary": "lerna publish --canary", | ||
"release:next": "lerna publish --dist-tag=next --bump=prerelease", | ||
"diff": "lerna diff", | ||
"changed": "lerna changed" | ||
"test": "nx run-many --target=test", | ||
"build": "nx run-many --target=build", | ||
"semantic-release": "nx run-many --target=semantic-release --parallel=false" | ||
}, | ||
"devDependencies": { | ||
"cz-customizable": "^6.2.0", | ||
"lerna": "^4.0.0", | ||
"microbundle": "^0.13.3" | ||
"@theunderscorer/nx-semantic-release": "^2.7.1", | ||
"@tsconfig/node20": "^20.1.2", | ||
"nx": "17.1.2" | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"name": "@utilz/deepmerge", | ||
"targets": { | ||
"semantic-release": { | ||
"executor": "@theunderscorer/nx-semantic-release:semantic-release", | ||
"options": { | ||
"buildTarget": "${PROJECT_NAME}:build", | ||
"outputPath": "${PROJECT_DIR}/output" | ||
} | ||
} | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
export * from './deepmerge' | ||
export * from './configure' | ||
export * from "./merge"; | ||
export * from "./configure"; |
Oops, something went wrong.