Skip to content

Commit 12d44de

Browse files
committed
chore: move plugin source into plugin/ directory
In order to prepare making a docs folder, lets separate the packages cleanly
1 parent 38a23b5 commit 12d44de

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+14
-13
lines changed

.github/workflows/premerge.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ jobs:
1515
uses: DeterminateSystems/magic-nix-cache-action@main
1616

1717
- name: Install dependencies
18-
run: nix develop ./nix --impure --command npm install
18+
run: nix develop ./nix --impure --command bash -c "cd plugin && npm install"
1919

2020
- name: Check
21-
run: nix develop ./nix --impure --command npm run check
21+
run: nix develop ./nix --impure --command bash -c "cd plugin && npm run check"
2222

2323
- name: Build
24-
run: nix develop ./nix --impure --command npm run build
24+
run: nix develop ./nix --impure --command bash -c "cd plugin && npm run build"
2525

2626
- name: Test
27-
run: nix develop ./nix --impure --command npm run test
27+
run: nix develop ./nix --impure --command bash -c "cd plugin && npm run test"

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ jobs:
1818
uses: DeterminateSystems/magic-nix-cache-action@main
1919

2020
- name: Install dependencies
21-
run: nix develop ./nix --impure --command npm install
21+
run: nix develop ./nix --impure --command bash -c "cd plugin && npm install"
2222

2323
- name: Build
24-
run: nix develop ./nix --impure --command npm run build
24+
run: nix develop ./nix --impure --command bash -c "cd plugin && npm run build"
2525

2626
- name: Release
2727
id: create_release
@@ -33,6 +33,6 @@ jobs:
3333
name: Obsidian x Todoist - v${{ github.ref }}
3434
draft: true
3535
files: |
36-
dist/main.js
37-
dist/manifest.json
38-
dist/styles.css
36+
plugin/dist/main.js
37+
plugin/dist/manifest.json
38+
plugin/dist/styles.css

.gitignore

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
node_modules/
2-
dist/
3-
package-lock.json
1+
# Plugin things
2+
plugin/node_modules/
3+
plugin/dist/
4+
plugin/package-lock.json
45

56
# Nix-related things
67
.direnv/
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)