-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from pubpub/feat/integrate
- Loading branch information
Showing
100 changed files
with
37,356 additions
and
11,186 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,27 @@ | ||
IMPORT_TEST_COMMUNITY_ID=94873d35-f9ca-4e2d-9c33-681dc893d302 | ||
# This is the url of the community you want to test things imports on | ||
# these don't work locally unfortunately, so we gotta do it in prod baby | ||
IMPORT_TEST_COMMUNITY_URL=https://client-test.pubpub.org | ||
|
||
# admin email | ||
EMAIL= | ||
# Admin pw | ||
PASSWORD= | ||
|
||
# Community you want to test things on | ||
# Probably should be one that already exists, and yuu are an admin of | ||
COMMUNITY_ID= | ||
THOMAS_ATTR_ID= | ||
|
||
# Currently you cannot run the tests properly without having access to pubpub's (dev) database | ||
# We are working on changing this, for now you can run the tests in CI | ||
DATABASE_URL= | ||
DATABASE_CONNECTION_POOL_URL= | ||
|
||
# These are some values core needs to not be undefined, they are not particularly important | ||
MAILCHIMP_API_KEY=something | ||
MAILGUN_API_KEY=something | ||
ALGOLIA_SEARCH_KEY=ooo | ||
JWT_SIGNING_SECRET=shhhhhh | ||
FIREBASE_TEST_DB_URL=http://localhost:9875?ns=pubpub-v6 | ||
ZOTERO_CLIENT_KEY=abc | ||
ZOTERO_CLIENT_SECRET=def |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
core | ||
prettier.config.cjs | ||
node_modules | ||
dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"env": { | ||
"browser": true, | ||
"es2021": true | ||
}, | ||
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended"], | ||
"parser": "@typescript-eslint/parser", | ||
"parserOptions": { | ||
"ecmaVersion": "latest", | ||
"sourceType": "module" | ||
}, | ||
"rules": { | ||
"@typescript-eslint/consistent-type-imports": "error" | ||
}, | ||
"plugins": ["@typescript-eslint"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,34 @@ | ||
name: Publish | ||
on: | ||
push: | ||
branches: | ||
- 'main' | ||
# name: Publish | ||
# on: | ||
# push: | ||
# branches: | ||
# - 'main' | ||
|
||
concurrency: ${{ github.workflow }}-${{ github.ref }} | ||
# concurrency: ${{ github.workflow }}-${{ github.ref }} | ||
|
||
jobs: | ||
publish: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: pnpm/action-setup@v2 | ||
with: | ||
version: 7 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18.x | ||
cache: 'pnpm' | ||
# jobs: | ||
# publish: | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - uses: actions/checkout@v3 | ||
# - uses: pnpm/action-setup@v2 | ||
# with: | ||
# version: 7 | ||
# - uses: actions/setup-node@v3 | ||
# with: | ||
# node-version: 18.x | ||
# cache: 'pnpm' | ||
|
||
- run: pnpm install --frozen-lockfile | ||
- name: Create Release Pull Request or Publish | ||
id: changesets | ||
uses: changesets/action@v1 | ||
with: | ||
publish: pnpm run release | ||
env: | ||
EMAIL: ${{ secrets.EMAIL }} | ||
COMMUNITY_ID: ${{ secrets.COMMUNITY_ID }} | ||
COMMUNITY_URL: ${{ secrets.COMMUNITY_URL }} | ||
PASSWORD: ${{ secrets.PASSWORD }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
# - run: pnpm install --frozen-lockfile | ||
# - name: Create Release Pull Request or Publish | ||
# id: changesets | ||
# uses: changesets/action@v1 | ||
# with: | ||
# publish: pnpm run release | ||
# env: | ||
# EMAIL: ${{ secrets.EMAIL }} | ||
# COMMUNITY_ID: ${{ secrets.COMMUNITY_ID }} | ||
# COMMUNITY_URL: ${{ secrets.COMMUNITY_URL }} | ||
# PASSWORD: ${{ secrets.PASSWORD }} | ||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
# NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -130,4 +130,8 @@ dist | |
.pnp.* | ||
|
||
# incomplete docxs files | ||
~$* | ||
~$* | ||
|
||
docgen/docs | ||
temp.md | ||
docs.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[submodule "core"] | ||
path = core | ||
url = https://github.com/pubpub/pubpub | ||
branch = tfk/derive-sdk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,5 @@ | ||
//registry.npmjs.org/:_authToken=${NPM_TOKEN} | ||
enable-pre-post-scripts=true | ||
ignore-workspace-root-check=true | ||
hoist-pattern[]=!@types/react | ||
hoist-pattern[]=!@ts-rest/core |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
{ | ||
"typescript.tsdk": "node_modules/typescript/lib", | ||
// "prettier.prettierPath": "node_modules/prettier", | ||
"[svelte]": { | ||
"editor.defaultFormatter": "svelte.svelte-vscode" | ||
}, | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.