-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Starting fresh with strapi 5 and beginning to pull in old code
- Loading branch information
1 parent
eea96b6
commit 055dc17
Showing
115 changed files
with
10,269 additions
and
11,178 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
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,5 @@ | ||
## What changed? | ||
|
||
<!-- include a link to a GitHub issue, if applicable --> | ||
|
||
## How can you test this? |
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,29 @@ | ||
name: Checks | ||
on: | ||
- pull_request | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
env: | ||
DATABASE_FILENAME: .tmp/test_data.db | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version-file: package.json | ||
cache: yarn | ||
cache-dependency-path: yarn.lock | ||
- name: Install modules | ||
run: corepack yarn | ||
- name: "Configure" | ||
run: cp .env.example .env | ||
- name: Run type check | ||
run: corepack yarn run check:types | ||
- name: Run lint check | ||
run: corepack yarn run check:lint | ||
- name: Run format check | ||
run: corepack yarn run check:format | ||
- name: Run build check | ||
run: corepack yarn run check:build | ||
- name: Run test check | ||
run: corepack yarn run check:test |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
20.16.0 |
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,13 @@ | ||
# Ignore artifacts: | ||
build | ||
coverage | ||
dist | ||
.strapi | ||
.yarn | ||
.tmp | ||
*.example.ts | ||
*.example.js | ||
types/generated/* | ||
src/api/*/documentation | ||
src/extensions/documentation | ||
|
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 @@ | ||
{} |
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
This file was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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,3 +1,3 @@ | ||
nodeLinker: node-modules | ||
|
||
yarnPath: .yarn/releases/yarn-4.3.1.cjs | ||
yarnPath: .yarn/releases/yarn-4.4.0.cjs |
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,22 +1,27 @@ | ||
export default ({ env }) => ({ | ||
auth: { | ||
secret: env('ADMIN_JWT_SECRET'), | ||
secret: env("ADMIN_JWT_SECRET"), | ||
}, | ||
autoOpen: !env.bool("NO_OPEN_BROWSER", false), | ||
apiToken: { | ||
salt: env('API_TOKEN_SALT'), | ||
salt: env("API_TOKEN_SALT"), | ||
}, | ||
transfer: { | ||
token: { | ||
salt: env('TRANSFER_TOKEN_SALT'), | ||
salt: env("TRANSFER_TOKEN_SALT"), | ||
}, | ||
}, | ||
flags: { | ||
nps: env.bool("FLAG_NPS", true), | ||
promoteEE: env.bool("FLAG_PROMOTE_EE", true), | ||
}, | ||
watchIgnoreFiles: [ | ||
/* NOTE: this isn't a very specific path, but various combinations of | ||
* "./src/scripts/**" didn't work. Might need to make it more specific | ||
* if there's a reason to ever include script files in our Strapi server | ||
* build. Or better yet just refactor that functioality out of the | ||
* "src/scripts" folder and import it. | ||
*/ | ||
'**/scripts/**' | ||
] | ||
*/ | ||
"**/scripts/**", | ||
], | ||
}); |
Oops, something went wrong.