Skip to content

Commit

Permalink
chore: codebase update (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
mew-ton authored Jul 24, 2023
1 parent 8825bfb commit 93310f6
Show file tree
Hide file tree
Showing 9 changed files with 6,883 additions and 3,834 deletions.
5 changes: 5 additions & 0 deletions .changeset/silent-nails-rule.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"type-assurer": minor
---

chore: codebase update
4 changes: 4 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/.yarn/** linguist-vendored
/.yarn/releases/* binary
/.yarn/plugins/**/* binary
/.pnp.* binary linguist-generated
3 changes: 2 additions & 1 deletion .github/actions/init-node/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ runs:
uses: actions/cache@v3
with:
path: |
./.yarn/cache
./node_modules
key: node-modules-${{ runner.os }}-${{ hashFiles('./yarn.lock') }}
restore-keys: |
Expand All @@ -24,5 +25,5 @@ runs:
node-modules--
- if: steps.cache_node_modules.outputs.cache-hit != 'true'
run: yarn --ignore-scripts --frozen-lockfile --check-files --non-interactive
run: yarn --immutable
shell: bash
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Create Release Pull Request or Publish to npm
uses: changesets/action@v1
with:
publish: yarn publish
publish: yarn run changeset publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -102,3 +102,10 @@ dist

# TernJS port file
.tern-port

# yarn v2
.yarn/cache
.yarn/unplugged
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*
874 changes: 874 additions & 0 deletions .yarn/releases/yarn-3.6.1.cjs

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
nodeLinker: node-modules
yarnPath: .yarn/releases/yarn-3.6.1.cjs

npmAuthToken: ${NODE_AUTH_TOKEN:-''}
npmPublishRegistry: "https://registry.npmjs.org/"
20 changes: 14 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
{
"name": "type-assurer",
"version": "0.0.1",
"description": "type-assurer: TypeScript library that provides shorthand type assertions and type guard functions for multiple types.",
"description": "TypeScript library that provides shorthand type assertions and type guard functions for multiple types.",
"keywords": [
"TypeScript",
"type guard",
"type assertion"
],
"repository": {
"url": "git@github.com:hacomono-lib/type-assurer.git",
"url": "https://github.com/hacomono-lib/type-assurer",
"type": "git"
},
"author": "mew-ton <[email protected]>",
Expand All @@ -23,12 +28,11 @@
"test:spec-d": "vitest typecheck --run",
"test:type": "tsc --noEmit -p tsconfig.json",
"lint": "eslint --ext .ts .",
"format": "prettier --write . --ignore-path=.eslintignore",
"dedup": "yarn-deduplicate --strategy fewer"
"format": "prettier --write . --ignore-path=.eslintignore"
},
"devDependencies": {
"@changesets/cli": "^2.26.2",
"@changesets/changelog-github": "^0.4.8",
"@changesets/cli": "^2.26.2",
"@types/lodash": "^4.14.195",
"@typescript-eslint/eslint-plugin": "^6.2.0",
"@typescript-eslint/parser": "^6.2.0",
Expand All @@ -40,7 +44,6 @@
"tsup": "^7.1.0",
"typescript": "^5.1.6",
"vitest": "^0.32.2",
"yarn-deduplicate": "^6.0.2",
"yarn-run-all": "latest"
},
"peerDependencies": {
Expand All @@ -50,5 +53,10 @@
"typescript": {
"optional": true
}
},
"packageManager": "[email protected]",
"volta": {
"node": "18.17.0",
"yarn": "3.6.1"
}
}
Loading

0 comments on commit 93310f6

Please sign in to comment.