Skip to content

Commit

Permalink
Merge pull request #68 from vordgi/nt-65
Browse files Browse the repository at this point in the history
nt-65 configure pnpm
  • Loading branch information
vordgi authored Apr 11, 2024
2 parents 408b2b3 + 93dffe2 commit bad8ba4
Show file tree
Hide file tree
Showing 6 changed files with 369 additions and 537 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +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 .
working-directory: ./package
pnpm install
pnpm nimpl:i18n run build
cp README.md ./package
cp LICENSE ./package
- name: Publish on main
if: "!contains(github.ref_name, 'canary')"
Expand Down
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2023 Alexander Savelyev <[email protected]>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
11 changes: 11 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"name": "nimpl-i18n",
"version": "1.0.0",
"description": "",
"scripts": {
"nimpl:i18n": "pnpm --filter @nimpl/i18n"
},
"keywords": [],
"author": "",
"license": "MIT"
}
Loading

0 comments on commit bad8ba4

Please sign in to comment.