Skip to content

Commit

Permalink
Merge pull request #34 from vordgi/nic-33
Browse files Browse the repository at this point in the history
nic-33 release 0.6.1
  • Loading branch information
vordgi committed Apr 11, 2024
2 parents 2dded32 + 9563174 commit f92534a
Show file tree
Hide file tree
Showing 27 changed files with 1,529 additions and 984 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,17 @@ jobs:
with:
node-version: '20'

- name: Install dependencies and build
- name: Install pnpm
uses: pnpm/action-setup@v3
with:
version: 8

- name: Install deps and Build package
run: |
npm ci
npm run build
cp ../README.md .
cp ../LICENSE .
working-directory: ./package
pnpm install
pnpm nimpl:config run build
cp README.md ./package
cp LICENSE ./package
- name: Publish on main
if: "!contains(github.ref_name, 'canary')"
Expand Down
38 changes: 38 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# dependencies
node_modules
.pnp
.pnp.js
.turbo
yarn.lock

# testing
coverage

# next.js
.next/
out/

# production
build
!config/build
!app/build
*.tgz

# misc
.DS_Store
*.pem

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.pnpm-debug.log*

# local env files
.env*.local

# vercel
.vercel

# typescript
*.tsbuildinfo
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pnpm run lint
22 changes: 22 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import eslintPluginPrettierRecommended from "eslint-plugin-prettier/recommended";
import tseslint from "typescript-eslint";

const ignores = ["**/node_modules/**", "**/dist/**"];

export default [
{
rules: {
"prettier/prettier": [
"error",
{
endOfLine: "auto",
tabWidth: 4,
printWidth: 120,
arrowParens: "always",
},
],
},
},
...tseslint.configs.recommended,
eslintPluginPrettierRecommended,
].map((r) => Object.assign(r, { ignores }));
Loading

0 comments on commit f92534a

Please sign in to comment.