Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
2be3c44
move client coffeescript to javascript source location
paul90 Oct 11, 2024
9c61551
convert client coffeescript to javascript
paul90 Oct 12, 2024
034c14f
rename test.coffee to test.js
paul90 Oct 12, 2024
538ee48
covert tests to javascript
paul90 Oct 12, 2024
b0e999b
replace grunt with esbuild and build script
paul90 Oct 12, 2024
198794d
replace obsolete travis with github action
paul90 Oct 12, 2024
0a9cad6
some tidying
paul90 Oct 12, 2024
bc6dded
remove use of lodash
paul90 Oct 12, 2024
04ab4b8
Update test.yml
paul90 Oct 21, 2024
edcdbc8
update contributors
paul90 Nov 9, 2024
75143a4
some tidying up
paul90 Nov 12, 2024
35a415b
add eslint and prettier config
paul90 Nov 12, 2024
fa7ea7a
reformatted with prettier
paul90 Nov 12, 2024
a7862fd
remove need for declaration in case
paul90 Nov 12, 2024
e607789
resolve scoping of `omitted`
paul90 Nov 16, 2024
f6bb789
prettier and eslint config changes
paul90 Nov 16, 2024
3ec6cd4
Some editor config, for vscode (and related), and zed.
paul90 Nov 16, 2024
4ba2704
warn `no-unused-vars` rather than error.
paul90 Nov 16, 2024
1faf1c8
update configs, and apply
paul90 Nov 17, 2024
65e0eb3
0.7.0-rc.0
paul90 Nov 17, 2024
37682ed
npm package trimming
paul90 Nov 17, 2024
2f5d080
0.7.0-rc.1
paul90 Nov 17, 2024
49896e3
fix typo
paul90 Nov 17, 2024
9419e46
some final linting, and package trimming
paul90 Dec 5, 2024
c67b982
add missing script/config
paul90 Dec 14, 2024
a5bf527
move client source to `src/client`
paul90 Dec 15, 2024
c13f489
0.7.0-rc.2
paul90 Dec 15, 2024
9b12edb
corrent include in test
paul90 Dec 15, 2024
9b5f5b4
don't ignore source code!
paul90 Dec 15, 2024
74ac2f6
add back 'grunt-git-authors'
paul90 Jan 28, 2025
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 .babelrc

This file was deleted.

28 changes: 28 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: CI

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
# Releases https://github.com/nodejs/release#release-schedule
node-version:
- 18.x # Maintenance
- 20.x # Maintenance
- 22.x # Active

steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm test
6 changes: 3 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*/*.js
/*/*.map
/pages/activity-test---*
client/activity.*
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we sure this fixes ignoring the source, or does it need a leading / in front?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If there is a separator at the beginning or middle (or both) of the pattern, then the pattern is relative to the directory level of the particular .gitignore file itself. Otherwise the pattern may also match at any level below the .gitignore level.
-- gitignore documentation

coverage
node_modules
npm-debug.log
meta-client.json
13 changes: 10 additions & 3 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/**/*.coffee
Gruntfile.js
/pages/activity-test---*
coverage
scripts
src
test
meta-client.json
eslint.config.js
.github
.prettier*
.vscode
.zed
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
client/*.js
coverage
8 changes: 8 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"semi": false,
"singleQuote": true,
"bracketSpacing": true,
"bracketSameLine": true,
"arrowParens": "avoid",
"printWidth": 120
}
12 changes: 0 additions & 12 deletions .travis.yml

This file was deleted.

3 changes: 3 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"recommendations": ["esbenp.prettier-vscode", "dbaeumer.vscode-eslint"]
}
7 changes: 7 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
},
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true
}
7 changes: 7 additions & 0 deletions .zed/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
// Folder-specific settings
//
// For a full list of overridable settings, and general information on folder-specific settings,
// see the documentation: https://zed.dev/docs/configuring-zed#settings-files
{
"format_on_save": "on"
}
14 changes: 0 additions & 14 deletions ChangeLog

This file was deleted.

56 changes: 0 additions & 56 deletions Gruntfile.js

This file was deleted.

5 changes: 5 additions & 0 deletions ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,8 @@

The Activity plugin lists pages in your neighborhood. It expands as your neighborhood grows.
Page names used on multiple sites are grouped together, with the most current site on the right.

The client source code is in `src/activity.js`, tests in `test/test.js`

Running `npm run build` will use `scripts/build-client.js` to build the client `client/activity.js`
together with a map file.
Loading
Loading