Skip to content
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
1 change: 0 additions & 1 deletion .eslintrc.js

This file was deleted.

37 changes: 19 additions & 18 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
name: test
on:
push:
branches:
- master
pull_request:
branches:
- master
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
name: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16'
cache: 'yarn'
- run: |
make install
make check
build:
name: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: pnpm/action-setup@v6
- uses: actions/setup-node@v7
with:
node-version: "26"
cache: "pnpm"
- run: |
make install
make check
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,4 @@
.env
dist/
node_modules/
stamp-yarn
stats.json
yarn-error.log
1 change: 0 additions & 1 deletion .husky/.gitignore

This file was deleted.

4 changes: 0 additions & 4 deletions .husky/commit-msg

This file was deleted.

14 changes: 6 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,11 @@
-include .env
export

PNPM ?= npx pnpm

.PHONY: install
stamp-yarn install:
npx yarn install
# Install pre commit hook
npx yarn husky install
touch stamp-yarn
pnpm-lock.yaml install: .git/hooks/commit-msg
$(PNPM) install


#
.git/hooks/commit-msg:
echo "npx commitlint --edit" > .git/hooks/commit-msg
chmod u+x .git/hooks/commit-msg
1 change: 1 addition & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require("@patternslib/dev/eslint.config.js");
10 changes: 6 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,15 @@
"description": "A pattern for a code-editor",
"license": "MIT",
"main": "./src/code-editor.js",
"packageManager": "pnpm@12.16.1",
"dependencies": {
"codejar": "^3.6.0",
"highlight.js": "<11"
"codejar": "^4.3.0",
"codejar-linenumbers": "^1.0.1",
"highlight.js": "^11.12.0"
},
"devDependencies": {
"@patternslib/dev": "^3.1.6",
"@patternslib/patternslib": ">=9.8.0-beta.0"
"@patternslib/dev": "^4.4.0",
"@patternslib/patternslib": ">=9.11.1"
},
"scripts": {
"start": "NODE_ENV=development webpack serve --config webpack.config.js",
Expand Down
Loading
Loading