Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: codebase update #36

Merged
merged 6 commits into from
Jul 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 <mxl_usmarc@slmail.mewton.jp>",
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": "yarn@3.6.1",
"volta": {
"node": "18.17.0",
"yarn": "3.6.1"
}
}
Loading