mirror of
https://github.com/strapi/strapi.git
synced 2025-06-27 00:41:25 +00:00
chore: use yarn3
chore: commit yarn release chore: don't use -s fix: eslint deps https://eslint.org/docs/latest/extend/shareable-configs#publishing-a-shareable-config chore: fix eslint chore: remove -s fix: lint chore: yarn 3 amends chore: dont use npm run all chore: fix securitylockfile action chore: update lockfile post rebase Revert "Delete index.js" This reverts commit e6009ec7cf13fb9edd93a7bf820b0f50af5dcb54. Delete index.js chore: remove validate-https because how yarn3 works chore: remove validate-https chore: use same time of cache everywhere
This commit is contained in:
parent
403c098fe3
commit
0f008b4913
5
.gitattributes
vendored
5
.gitattributes
vendored
@ -104,3 +104,8 @@ AUTHORS text
|
|||||||
*.woff binary
|
*.woff binary
|
||||||
*.pyc binary
|
*.pyc binary
|
||||||
*.pdf binary
|
*.pdf binary
|
||||||
|
|
||||||
|
# yarn
|
||||||
|
/.yarn/** linguist-vendored
|
||||||
|
/.yarn/releases/* binary
|
||||||
|
/.yarn/plugins/**/* binary
|
File diff suppressed because one or more lines are too long
180
.github/actions/check-pr-status/yarn.lock
vendored
180
.github/actions/check-pr-status/yarn.lock
vendored
@ -1,180 +0,0 @@
|
|||||||
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
|
|
||||||
# yarn lockfile v1
|
|
||||||
|
|
||||||
|
|
||||||
"@actions/core@1.6.0":
|
|
||||||
version "1.6.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/@actions/core/-/core-1.6.0.tgz#0568e47039bfb6a9170393a73f3b7eb3b22462cb"
|
|
||||||
integrity sha512-NB1UAZomZlCV/LmJqkLhNTqtKfFXJZAUPcfl/zqG7EfsQdeUJtaWO98SGbuQ3pydJ3fHl2CvI/51OKYlCYYcaw==
|
|
||||||
dependencies:
|
|
||||||
"@actions/http-client" "^1.0.11"
|
|
||||||
|
|
||||||
"@actions/github@5.0.0":
|
|
||||||
version "5.0.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/@actions/github/-/github-5.0.0.tgz#1754127976c50bd88b2e905f10d204d76d1472f8"
|
|
||||||
integrity sha512-QvE9eAAfEsS+yOOk0cylLBIO/d6WyWIOvsxxzdrPFaud39G6BOkUwScXZn1iBzQzHyu9SBkkLSWlohDWdsasAQ==
|
|
||||||
dependencies:
|
|
||||||
"@actions/http-client" "^1.0.11"
|
|
||||||
"@octokit/core" "^3.4.0"
|
|
||||||
"@octokit/plugin-paginate-rest" "^2.13.3"
|
|
||||||
"@octokit/plugin-rest-endpoint-methods" "^5.1.1"
|
|
||||||
|
|
||||||
"@actions/http-client@^1.0.11":
|
|
||||||
version "1.0.11"
|
|
||||||
resolved "https://registry.yarnpkg.com/@actions/http-client/-/http-client-1.0.11.tgz#c58b12e9aa8b159ee39e7dd6cbd0e91d905633c0"
|
|
||||||
integrity sha512-VRYHGQV1rqnROJqdMvGUbY/Kn8vriQe/F9HR2AlYHzmKuM/p3kjNuXhmdBfcVgsvRWTz5C5XW5xvndZrVBuAYg==
|
|
||||||
dependencies:
|
|
||||||
tunnel "0.0.6"
|
|
||||||
|
|
||||||
"@octokit/auth-token@^2.4.4":
|
|
||||||
version "2.5.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/@octokit/auth-token/-/auth-token-2.5.0.tgz#27c37ea26c205f28443402477ffd261311f21e36"
|
|
||||||
integrity sha512-r5FVUJCOLl19AxiuZD2VRZ/ORjp/4IN98Of6YJoJOkY75CIBuYfmiNHGrDwXr+aLGG55igl9QrxX3hbiXlLb+g==
|
|
||||||
dependencies:
|
|
||||||
"@octokit/types" "^6.0.3"
|
|
||||||
|
|
||||||
"@octokit/core@^3.4.0":
|
|
||||||
version "3.5.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/@octokit/core/-/core-3.5.1.tgz#8601ceeb1ec0e1b1b8217b960a413ed8e947809b"
|
|
||||||
integrity sha512-omncwpLVxMP+GLpLPgeGJBF6IWJFjXDS5flY5VbppePYX9XehevbDykRH9PdCdvqt9TS5AOTiDide7h0qrkHjw==
|
|
||||||
dependencies:
|
|
||||||
"@octokit/auth-token" "^2.4.4"
|
|
||||||
"@octokit/graphql" "^4.5.8"
|
|
||||||
"@octokit/request" "^5.6.0"
|
|
||||||
"@octokit/request-error" "^2.0.5"
|
|
||||||
"@octokit/types" "^6.0.3"
|
|
||||||
before-after-hook "^2.2.0"
|
|
||||||
universal-user-agent "^6.0.0"
|
|
||||||
|
|
||||||
"@octokit/endpoint@^6.0.1":
|
|
||||||
version "6.0.12"
|
|
||||||
resolved "https://registry.yarnpkg.com/@octokit/endpoint/-/endpoint-6.0.12.tgz#3b4d47a4b0e79b1027fb8d75d4221928b2d05658"
|
|
||||||
integrity sha512-lF3puPwkQWGfkMClXb4k/eUT/nZKQfxinRWJrdZaJO85Dqwo/G0yOC434Jr2ojwafWJMYqFGFa5ms4jJUgujdA==
|
|
||||||
dependencies:
|
|
||||||
"@octokit/types" "^6.0.3"
|
|
||||||
is-plain-object "^5.0.0"
|
|
||||||
universal-user-agent "^6.0.0"
|
|
||||||
|
|
||||||
"@octokit/graphql@^4.5.8":
|
|
||||||
version "4.8.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/@octokit/graphql/-/graphql-4.8.0.tgz#664d9b11c0e12112cbf78e10f49a05959aa22cc3"
|
|
||||||
integrity sha512-0gv+qLSBLKF0z8TKaSKTsS39scVKF9dbMxJpj3U0vC7wjNWFuIpL/z76Qe2fiuCbDRcJSavkXsVtMS6/dtQQsg==
|
|
||||||
dependencies:
|
|
||||||
"@octokit/request" "^5.6.0"
|
|
||||||
"@octokit/types" "^6.0.3"
|
|
||||||
universal-user-agent "^6.0.0"
|
|
||||||
|
|
||||||
"@octokit/openapi-types@^11.2.0":
|
|
||||||
version "11.2.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/@octokit/openapi-types/-/openapi-types-11.2.0.tgz#b38d7fc3736d52a1e96b230c1ccd4a58a2f400a6"
|
|
||||||
integrity sha512-PBsVO+15KSlGmiI8QAzaqvsNlZlrDlyAJYcrXBCvVUxCp7VnXjkwPoFHgjEJXx3WF9BAwkA6nfCUA7i9sODzKA==
|
|
||||||
|
|
||||||
"@octokit/plugin-paginate-rest@^2.13.3":
|
|
||||||
version "2.17.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-2.17.0.tgz#32e9c7cab2a374421d3d0de239102287d791bce7"
|
|
||||||
integrity sha512-tzMbrbnam2Mt4AhuyCHvpRkS0oZ5MvwwcQPYGtMv4tUa5kkzG58SVB0fcsLulOZQeRnOgdkZWkRUiyBlh0Bkyw==
|
|
||||||
dependencies:
|
|
||||||
"@octokit/types" "^6.34.0"
|
|
||||||
|
|
||||||
"@octokit/plugin-rest-endpoint-methods@^5.1.1":
|
|
||||||
version "5.13.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-5.13.0.tgz#8c46109021a3412233f6f50d28786f8e552427ba"
|
|
||||||
integrity sha512-uJjMTkN1KaOIgNtUPMtIXDOjx6dGYysdIFhgA52x4xSadQCz3b/zJexvITDVpANnfKPW/+E0xkOvLntqMYpviA==
|
|
||||||
dependencies:
|
|
||||||
"@octokit/types" "^6.34.0"
|
|
||||||
deprecation "^2.3.1"
|
|
||||||
|
|
||||||
"@octokit/request-error@^2.0.5", "@octokit/request-error@^2.1.0":
|
|
||||||
version "2.1.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/@octokit/request-error/-/request-error-2.1.0.tgz#9e150357831bfc788d13a4fd4b1913d60c74d677"
|
|
||||||
integrity sha512-1VIvgXxs9WHSjicsRwq8PlR2LR2x6DwsJAaFgzdi0JfJoGSO8mYI/cHJQ+9FbN21aa+DrgNLnwObmyeSC8Rmpg==
|
|
||||||
dependencies:
|
|
||||||
"@octokit/types" "^6.0.3"
|
|
||||||
deprecation "^2.0.0"
|
|
||||||
once "^1.4.0"
|
|
||||||
|
|
||||||
"@octokit/request@^5.6.0":
|
|
||||||
version "5.6.3"
|
|
||||||
resolved "https://registry.yarnpkg.com/@octokit/request/-/request-5.6.3.tgz#19a022515a5bba965ac06c9d1334514eb50c48b0"
|
|
||||||
integrity sha512-bFJl0I1KVc9jYTe9tdGGpAMPy32dLBXXo1dS/YwSCTL/2nd9XeHsY616RE3HPXDVk+a+dBuzyz5YdlXwcDTr2A==
|
|
||||||
dependencies:
|
|
||||||
"@octokit/endpoint" "^6.0.1"
|
|
||||||
"@octokit/request-error" "^2.1.0"
|
|
||||||
"@octokit/types" "^6.16.1"
|
|
||||||
is-plain-object "^5.0.0"
|
|
||||||
node-fetch "^2.6.7"
|
|
||||||
universal-user-agent "^6.0.0"
|
|
||||||
|
|
||||||
"@octokit/types@^6.0.3", "@octokit/types@^6.16.1", "@octokit/types@^6.34.0":
|
|
||||||
version "6.34.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/@octokit/types/-/types-6.34.0.tgz#c6021333334d1ecfb5d370a8798162ddf1ae8218"
|
|
||||||
integrity sha512-s1zLBjWhdEI2zwaoSgyOFoKSl109CUcVBCc7biPJ3aAf6LGLU6szDvi31JPU7bxfla2lqfhjbbg/5DdFNxOwHw==
|
|
||||||
dependencies:
|
|
||||||
"@octokit/openapi-types" "^11.2.0"
|
|
||||||
|
|
||||||
"@vercel/ncc@0.33.1":
|
|
||||||
version "0.33.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/@vercel/ncc/-/ncc-0.33.1.tgz#b240080a3c1ded9446a30955a06a79851bb38f71"
|
|
||||||
integrity sha512-Mlsps/P0PLZwsCFtSol23FGqT3FhBGb4B1AuGQ52JTAtXhak+b0Fh/4T55r0/SVQPeRiX9pNItOEHwakGPmZYA==
|
|
||||||
|
|
||||||
before-after-hook@^2.2.0:
|
|
||||||
version "2.2.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/before-after-hook/-/before-after-hook-2.2.2.tgz#a6e8ca41028d90ee2c24222f201c90956091613e"
|
|
||||||
integrity sha512-3pZEU3NT5BFUo/AD5ERPWOgQOCZITni6iavr5AUw5AUwQjMlI0kzu5btnyD39AF0gUEsDPwJT+oY1ORBJijPjQ==
|
|
||||||
|
|
||||||
deprecation@^2.0.0, deprecation@^2.3.1:
|
|
||||||
version "2.3.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/deprecation/-/deprecation-2.3.1.tgz#6368cbdb40abf3373b525ac87e4a260c3a700919"
|
|
||||||
integrity sha512-xmHIy4F3scKVwMsQ4WnVaS8bHOx0DmVwRywosKhaILI0ywMDWPtBSku2HNxRvF7jtwDRsoEwYQSfbxj8b7RlJQ==
|
|
||||||
|
|
||||||
is-plain-object@^5.0.0:
|
|
||||||
version "5.0.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/is-plain-object/-/is-plain-object-5.0.0.tgz#4427f50ab3429e9025ea7d52e9043a9ef4159344"
|
|
||||||
integrity sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==
|
|
||||||
|
|
||||||
node-fetch@^2.6.7:
|
|
||||||
version "2.6.7"
|
|
||||||
resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.7.tgz#24de9fba827e3b4ae44dc8b20256a379160052ad"
|
|
||||||
integrity sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==
|
|
||||||
dependencies:
|
|
||||||
whatwg-url "^5.0.0"
|
|
||||||
|
|
||||||
once@^1.4.0:
|
|
||||||
version "1.4.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1"
|
|
||||||
integrity sha1-WDsap3WWHUsROsF9nFC6753Xa9E=
|
|
||||||
dependencies:
|
|
||||||
wrappy "1"
|
|
||||||
|
|
||||||
tr46@~0.0.3:
|
|
||||||
version "0.0.3"
|
|
||||||
resolved "https://registry.yarnpkg.com/tr46/-/tr46-0.0.3.tgz#8184fd347dac9cdc185992f3a6622e14b9d9ab6a"
|
|
||||||
integrity sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o=
|
|
||||||
|
|
||||||
tunnel@0.0.6:
|
|
||||||
version "0.0.6"
|
|
||||||
resolved "https://registry.yarnpkg.com/tunnel/-/tunnel-0.0.6.tgz#72f1314b34a5b192db012324df2cc587ca47f92c"
|
|
||||||
integrity sha512-1h/Lnq9yajKY2PEbBadPXj3VxsDDu844OnaAo52UVmIzIvwwtBPIuNvkjuzBlTWpfJyUbG3ez0KSBibQkj4ojg==
|
|
||||||
|
|
||||||
universal-user-agent@^6.0.0:
|
|
||||||
version "6.0.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/universal-user-agent/-/universal-user-agent-6.0.0.tgz#3381f8503b251c0d9cd21bc1de939ec9df5480ee"
|
|
||||||
integrity sha512-isyNax3wXoKaulPDZWHQqbmIx1k2tb9fb3GGDBRxCscfYV2Ch7WxPArBsFEG8s/safwXTT7H4QGhaIkTp9447w==
|
|
||||||
|
|
||||||
webidl-conversions@^3.0.0:
|
|
||||||
version "3.0.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-3.0.1.tgz#24534275e2a7bc6be7bc86611cc16ae0a5654871"
|
|
||||||
integrity sha1-JFNCdeKnvGvnvIZhHMFq4KVlSHE=
|
|
||||||
|
|
||||||
whatwg-url@^5.0.0:
|
|
||||||
version "5.0.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-5.0.0.tgz#966454e8765462e37644d3626f6742ce8b70965d"
|
|
||||||
integrity sha1-lmRU6HZUYuN2RNNib2dCzotwll0=
|
|
||||||
dependencies:
|
|
||||||
tr46 "~0.0.3"
|
|
||||||
webidl-conversions "^3.0.0"
|
|
||||||
|
|
||||||
wrappy@1:
|
|
||||||
version "1.0.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f"
|
|
||||||
integrity sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=
|
|
6
.github/actions/run-api-tests/script.sh
vendored
6
.github/actions/run-api-tests/script.sh
vendored
@ -10,6 +10,6 @@ export JWT_SECRET="aSecret"
|
|||||||
|
|
||||||
opts=($DB_OPTIONS)
|
opts=($DB_OPTIONS)
|
||||||
|
|
||||||
yarn run -s build:ts
|
yarn run build:ts
|
||||||
yarn run -s test:generate-app "${opts[@]}"
|
yarn run test:generate-app "${opts[@]}"
|
||||||
yarn run -s test:api --no-generate-app
|
yarn run test:api --no-generate-app
|
||||||
|
6
.github/actions/security/lockfile/script.sh
vendored
6
.github/actions/security/lockfile/script.sh
vendored
@ -1,7 +1,5 @@
|
|||||||
yarn global add lockfile-lint
|
yarn dlx lockfile-lint \
|
||||||
|
|
||||||
lockfile-lint \
|
|
||||||
--type $LOCKFILE_TYPE \
|
--type $LOCKFILE_TYPE \
|
||||||
--path $LOCKFILE_PATH \
|
--path $LOCKFILE_PATH \
|
||||||
--allowed-hosts $LOCKFILE_ALLOWED_HOSTS \
|
--allowed-hosts $LOCKFILE_ALLOWED_HOSTS \
|
||||||
--validate-https
|
--allowed-schemes "npm:" "workspace:" "patch:"
|
||||||
|
3
.github/workflows/adminBundleSize.yml
vendored
3
.github/workflows/adminBundleSize.yml
vendored
@ -27,7 +27,8 @@ jobs:
|
|||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: 18
|
node-version: 18
|
||||||
cache: yarn
|
path: '**/node_modules'
|
||||||
|
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
|
||||||
|
|
||||||
- uses: preactjs/compressed-size-action@v2
|
- uses: preactjs/compressed-size-action@v2
|
||||||
with:
|
with:
|
||||||
|
3
.github/workflows/checks.yml
vendored
3
.github/workflows/checks.yml
vendored
@ -24,5 +24,6 @@ jobs:
|
|||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
cache: yarn
|
path: '**/node_modules'
|
||||||
|
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
|
||||||
- uses: ./.github/actions/security/lockfile
|
- uses: ./.github/actions/security/lockfile
|
||||||
|
5
.github/workflows/contributor-doc.yml
vendored
5
.github/workflows/contributor-doc.yml
vendored
@ -33,10 +33,11 @@ jobs:
|
|||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: 18
|
node-version: 18
|
||||||
cache: yarn
|
path: '**/node_modules'
|
||||||
|
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: yarn install --frozen-lockfile
|
run: yarn install --immutable
|
||||||
|
|
||||||
- name: Build website
|
- name: Build website
|
||||||
run: yarn build
|
run: yarn build
|
||||||
|
22
.github/workflows/tests.yml
vendored
22
.github/workflows/tests.yml
vendored
@ -36,7 +36,7 @@ jobs:
|
|||||||
path: '**/node_modules'
|
path: '**/node_modules'
|
||||||
key: ${{ runner.os }}-${{ matrix.node }}-${{ hashFiles('**/yarn.lock') }}
|
key: ${{ runner.os }}-${{ matrix.node }}-${{ hashFiles('**/yarn.lock') }}
|
||||||
- uses: nrwl/nx-set-shas@v3
|
- uses: nrwl/nx-set-shas@v3
|
||||||
- run: yarn install --frozen-lockfile
|
- run: yarn install --immutable
|
||||||
- name: Run build:ts
|
- name: Run build:ts
|
||||||
run: yarn nx run-many --target=build:ts --nx-ignore-cycles
|
run: yarn nx run-many --target=build:ts --nx-ignore-cycles
|
||||||
- name: Run lint
|
- name: Run lint
|
||||||
@ -61,7 +61,7 @@ jobs:
|
|||||||
path: '**/node_modules'
|
path: '**/node_modules'
|
||||||
key: ${{ runner.os }}-${{ matrix.node }}-${{ hashFiles('**/yarn.lock') }}
|
key: ${{ runner.os }}-${{ matrix.node }}-${{ hashFiles('**/yarn.lock') }}
|
||||||
- uses: nrwl/nx-set-shas@v3
|
- uses: nrwl/nx-set-shas@v3
|
||||||
- run: yarn install --frozen-lockfile
|
- run: yarn install --immutable
|
||||||
- name: Run build:ts
|
- name: Run build:ts
|
||||||
run: yarn nx run-many --target=build:ts --nx-ignore-cycles
|
run: yarn nx run-many --target=build:ts --nx-ignore-cycles
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
@ -86,7 +86,7 @@ jobs:
|
|||||||
path: '**/node_modules'
|
path: '**/node_modules'
|
||||||
key: ${{ runner.os }}-${{ matrix.node }}-${{ hashFiles('**/yarn.lock') }}
|
key: ${{ runner.os }}-${{ matrix.node }}-${{ hashFiles('**/yarn.lock') }}
|
||||||
- uses: nrwl/nx-set-shas@v3
|
- uses: nrwl/nx-set-shas@v3
|
||||||
- run: yarn install --frozen-lockfile
|
- run: yarn install --immutable
|
||||||
- name: Run test
|
- name: Run test
|
||||||
run: yarn nx affected --target=test:front --nx-ignore-cycles
|
run: yarn nx affected --target=test:front --nx-ignore-cycles
|
||||||
|
|
||||||
@ -106,7 +106,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
path: '**/node_modules'
|
path: '**/node_modules'
|
||||||
key: ${{ runner.os }}-${{ matrix.node }}-${{ hashFiles('**/yarn.lock') }}
|
key: ${{ runner.os }}-${{ matrix.node }}-${{ hashFiles('**/yarn.lock') }}
|
||||||
- run: yarn install --frozen-lockfile
|
- run: yarn install --immutable
|
||||||
- name: Build
|
- name: Build
|
||||||
run: yarn build --projects=@strapi/admin,@strapi/helper-plugin
|
run: yarn build --projects=@strapi/admin,@strapi/helper-plugin
|
||||||
|
|
||||||
@ -145,7 +145,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
path: '**/node_modules'
|
path: '**/node_modules'
|
||||||
key: ${{ runner.os }}-${{ matrix.node }}-${{ hashFiles('**/yarn.lock') }}
|
key: ${{ runner.os }}-${{ matrix.node }}-${{ hashFiles('**/yarn.lock') }}
|
||||||
- run: yarn install --frozen-lockfile
|
- run: yarn install --immutable
|
||||||
- uses: ./.github/actions/run-api-tests
|
- uses: ./.github/actions/run-api-tests
|
||||||
with:
|
with:
|
||||||
dbOptions: '--dbclient=postgres --dbhost=localhost --dbport=5432 --dbname=strapi_test --dbusername=strapi --dbpassword=strapi'
|
dbOptions: '--dbclient=postgres --dbhost=localhost --dbport=5432 --dbname=strapi_test --dbusername=strapi --dbpassword=strapi'
|
||||||
@ -183,7 +183,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
path: '**/node_modules'
|
path: '**/node_modules'
|
||||||
key: ${{ runner.os }}-${{ matrix.node }}-${{ hashFiles('**/yarn.lock') }}
|
key: ${{ runner.os }}-${{ matrix.node }}-${{ hashFiles('**/yarn.lock') }}
|
||||||
- run: yarn install --frozen-lockfile
|
- run: yarn install --immutable
|
||||||
- uses: ./.github/actions/run-api-tests
|
- uses: ./.github/actions/run-api-tests
|
||||||
with:
|
with:
|
||||||
dbOptions: '--dbclient=mysql --dbhost=localhost --dbport=3306 --dbname=strapi_test --dbusername=strapi --dbpassword=strapi'
|
dbOptions: '--dbclient=mysql --dbhost=localhost --dbport=3306 --dbname=strapi_test --dbusername=strapi --dbpassword=strapi'
|
||||||
@ -220,7 +220,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
path: '**/node_modules'
|
path: '**/node_modules'
|
||||||
key: ${{ runner.os }}-${{ matrix.node }}-${{ hashFiles('**/yarn.lock') }}
|
key: ${{ runner.os }}-${{ matrix.node }}-${{ hashFiles('**/yarn.lock') }}
|
||||||
- run: yarn install --frozen-lockfile
|
- run: yarn install --immutable
|
||||||
- uses: ./.github/actions/run-api-tests
|
- uses: ./.github/actions/run-api-tests
|
||||||
with:
|
with:
|
||||||
dbOptions: '--dbclient=mysql --dbhost=localhost --dbport=3306 --dbname=strapi_test --dbusername=strapi --dbpassword=strapi'
|
dbOptions: '--dbclient=mysql --dbhost=localhost --dbport=3306 --dbname=strapi_test --dbusername=strapi --dbpassword=strapi'
|
||||||
@ -242,7 +242,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
path: '**/node_modules'
|
path: '**/node_modules'
|
||||||
key: ${{ runner.os }}-${{ matrix.node }}-${{ hashFiles('**/yarn.lock') }}
|
key: ${{ runner.os }}-${{ matrix.node }}-${{ hashFiles('**/yarn.lock') }}
|
||||||
- run: yarn install --frozen-lockfile
|
- run: yarn install --immutable
|
||||||
- uses: ./.github/actions/run-api-tests
|
- uses: ./.github/actions/run-api-tests
|
||||||
env:
|
env:
|
||||||
SQLITE_PKG: ${{ matrix.sqlite_pkg }}
|
SQLITE_PKG: ${{ matrix.sqlite_pkg }}
|
||||||
@ -288,7 +288,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
path: '**/node_modules'
|
path: '**/node_modules'
|
||||||
key: ${{ runner.os }}-${{ matrix.node }}-${{ hashFiles('**/yarn.lock') }}
|
key: ${{ runner.os }}-${{ matrix.node }}-${{ hashFiles('**/yarn.lock') }}
|
||||||
- run: yarn install --frozen-lockfile
|
- run: yarn install --immutable
|
||||||
- uses: ./.github/actions/run-api-tests
|
- uses: ./.github/actions/run-api-tests
|
||||||
with:
|
with:
|
||||||
dbOptions: '--dbclient=postgres --dbhost=localhost --dbport=5432 --dbname=strapi_test --dbusername=strapi --dbpassword=strapi'
|
dbOptions: '--dbclient=postgres --dbhost=localhost --dbport=5432 --dbname=strapi_test --dbusername=strapi --dbpassword=strapi'
|
||||||
@ -330,7 +330,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
path: '**/node_modules'
|
path: '**/node_modules'
|
||||||
key: ${{ runner.os }}-${{ matrix.node }}-${{ hashFiles('**/yarn.lock') }}
|
key: ${{ runner.os }}-${{ matrix.node }}-${{ hashFiles('**/yarn.lock') }}
|
||||||
- run: yarn install --frozen-lockfile
|
- run: yarn install --immutable
|
||||||
- uses: ./.github/actions/run-api-tests
|
- uses: ./.github/actions/run-api-tests
|
||||||
with:
|
with:
|
||||||
dbOptions: '--dbclient=mysql --dbhost=localhost --dbport=3306 --dbname=strapi_test --dbusername=strapi --dbpassword=strapi'
|
dbOptions: '--dbclient=mysql --dbhost=localhost --dbport=3306 --dbname=strapi_test --dbusername=strapi --dbpassword=strapi'
|
||||||
@ -356,7 +356,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
path: '**/node_modules'
|
path: '**/node_modules'
|
||||||
key: ${{ runner.os }}-${{ matrix.node }}-${{ hashFiles('**/yarn.lock') }}
|
key: ${{ runner.os }}-${{ matrix.node }}-${{ hashFiles('**/yarn.lock') }}
|
||||||
- run: yarn install --frozen-lockfile
|
- run: yarn install --immutable
|
||||||
- uses: ./.github/actions/run-api-tests
|
- uses: ./.github/actions/run-api-tests
|
||||||
env:
|
env:
|
||||||
SQLITE_PKG: ${{ matrix.sqlite_pkg }}
|
SQLITE_PKG: ${{ matrix.sqlite_pkg }}
|
||||||
|
12
.gitignore
vendored
12
.gitignore
vendored
@ -137,5 +137,15 @@ schema.graphql
|
|||||||
.vscode/
|
.vscode/
|
||||||
!.vscode/settings.json
|
!.vscode/settings.json
|
||||||
front-workspace.code-workspace
|
front-workspace.code-workspace
|
||||||
.yarn
|
|
||||||
.yarnrc
|
.yarnrc
|
||||||
|
|
||||||
|
############################
|
||||||
|
# Yarn
|
||||||
|
############################
|
||||||
|
.pnp.*
|
||||||
|
.yarn/*
|
||||||
|
!.yarn/patches
|
||||||
|
!.yarn/plugins
|
||||||
|
!.yarn/releases
|
||||||
|
!.yarn/sdks
|
||||||
|
!.yarn/versions
|
541
.yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
vendored
Normal file
541
.yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
vendored
Normal file
File diff suppressed because one or more lines are too long
873
.yarn/releases/yarn-3.5.0.cjs
vendored
Executable file
873
.yarn/releases/yarn-3.5.0.cjs
vendored
Executable file
File diff suppressed because one or more lines are too long
11
.yarnrc.yml
Normal file
11
.yarnrc.yml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
nodeLinker: node-modules
|
||||||
|
|
||||||
|
plugins:
|
||||||
|
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
|
||||||
|
spec: '@yarnpkg/plugin-interactive-tools'
|
||||||
|
|
||||||
|
defaultSemverRangePrefix: ''
|
||||||
|
|
||||||
|
preferInteractive: true
|
||||||
|
|
||||||
|
yarnPath: .yarn/releases/yarn-3.5.0.cjs
|
@ -1,9 +1,6 @@
|
|||||||
{
|
{
|
||||||
"version": "4.8.2",
|
"version": "4.8.2",
|
||||||
"packages": [
|
"packages": ["packages/*", "examples/*"],
|
||||||
"packages/*",
|
|
||||||
"examples/*"
|
|
||||||
],
|
|
||||||
"npmClient": "yarn",
|
"npmClient": "yarn",
|
||||||
"useWorkspaces": true,
|
"useWorkspaces": true,
|
||||||
"useNx": true
|
"useNx": true
|
||||||
|
10
package.json
10
package.json
@ -40,9 +40,9 @@
|
|||||||
"lint:css": "stylelint packages/**/admin/src/**/*.js",
|
"lint:css": "stylelint packages/**/admin/src/**/*.js",
|
||||||
"lint:fix": "nx run-many --target=lint --nx-ignore-cycles -- --fix",
|
"lint:fix": "nx run-many --target=lint --nx-ignore-cycles -- --fix",
|
||||||
"lint:other": "npm run prettier:other -- --check",
|
"lint:other": "npm run prettier:other -- --check",
|
||||||
"format": "npm-run-all -p format:*",
|
"format": "yarn format:code && yarn format:other",
|
||||||
"format:code": "npm run prettier:code -- --write",
|
"format:code": "yarn prettier:code --write",
|
||||||
"format:other": "npm run prettier:other -- --write",
|
"format:other": "yarn prettier:other --write",
|
||||||
"prettier:code": "prettier --cache --cache-strategy content \"**/*.{js,ts}\"",
|
"prettier:code": "prettier --cache --cache-strategy content \"**/*.{js,ts}\"",
|
||||||
"prettier:other": "prettier --cache --cache-strategy content \"**/*.{md,css,scss,yaml,yml}\"",
|
"prettier:other": "prettier --cache --cache-strategy content \"**/*.{md,css,scss,yaml,yml}\"",
|
||||||
"test:front": "cross-env IS_EE=true nx run-many --target=test:front --nx-ignore-cycles",
|
"test:front": "cross-env IS_EE=true nx run-many --target=test:front --nx-ignore-cycles",
|
||||||
@ -87,7 +87,6 @@
|
|||||||
"lerna": "6.5.1",
|
"lerna": "6.5.1",
|
||||||
"lint-staged": "13.0.3",
|
"lint-staged": "13.0.3",
|
||||||
"lodash": "4.17.21",
|
"lodash": "4.17.21",
|
||||||
"npm-run-all": "4.1.5",
|
|
||||||
"nx": "15.8.3",
|
"nx": "15.8.3",
|
||||||
"plop": "2.7.6",
|
"plop": "2.7.6",
|
||||||
"prettier": "2.8.4",
|
"prettier": "2.8.4",
|
||||||
@ -106,5 +105,6 @@
|
|||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=14.19.1 <=18.x.x",
|
"node": ">=14.19.1 <=18.x.x",
|
||||||
"npm": ">=6.0.0"
|
"npm": ">=6.0.0"
|
||||||
}
|
},
|
||||||
|
"packageManager": "yarn@3.5.0"
|
||||||
}
|
}
|
||||||
|
@ -36,9 +36,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"main": "./index.js",
|
"main": "./index.js",
|
||||||
"bin": {
|
"bin": "./index.js",
|
||||||
"create-strapi-app": "./index.js"
|
|
||||||
},
|
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"lint": "eslint ."
|
"lint": "eslint ."
|
||||||
},
|
},
|
||||||
|
@ -31,9 +31,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"main": "./index.js",
|
"main": "./index.js",
|
||||||
"bin": {
|
"bin": "./index.js",
|
||||||
"create-strapi-starter": "./index.js"
|
|
||||||
},
|
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"lint": "eslint ."
|
"lint": "eslint ."
|
||||||
},
|
},
|
||||||
|
@ -66,9 +66,7 @@
|
|||||||
],
|
],
|
||||||
"main": "./lib",
|
"main": "./lib",
|
||||||
"types": "./lib/index.d.ts",
|
"types": "./lib/index.d.ts",
|
||||||
"bin": {
|
"bin": "./bin/strapi.js",
|
||||||
"strapi": "./bin/strapi.js"
|
|
||||||
},
|
|
||||||
"directories": {
|
"directories": {
|
||||||
"lib": "./lib",
|
"lib": "./lib",
|
||||||
"bin": "./bin",
|
"bin": "./bin",
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@strapi/babel-plugin-switch-ee-ce",
|
"name": "@strapi/babel-plugin-switch-ee-ce",
|
||||||
"version": "4.8.2",
|
"version": "4.8.2",
|
||||||
"private": false,
|
|
||||||
"description": "Babel plugin to switch from CE to EE at runtime",
|
"description": "Babel plugin to switch from CE to EE at runtime",
|
||||||
"repository": "git://github.com/strapi/strapi.git",
|
"repository": "git://github.com/strapi/strapi.git",
|
||||||
"license": "SEE LICENSE IN LICENSE",
|
"license": "SEE LICENSE IN LICENSE",
|
||||||
|
@ -6,8 +6,19 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/eslint-parser": "^7.19.1",
|
"@babel/eslint-parser": "^7.19.1",
|
||||||
"@strapi/eslint-config": "0.1.2",
|
"@strapi/eslint-config": "0.1.2",
|
||||||
|
"@typescript-eslint/eslint-plugin": "^5.55.0",
|
||||||
"@typescript-eslint/parser": "5.43.0",
|
"@typescript-eslint/parser": "5.43.0",
|
||||||
|
"babel-eslint": "10.1.0",
|
||||||
"eslint": "8.27.0",
|
"eslint": "8.27.0",
|
||||||
"babel-eslint": "10.1.0"
|
"eslint-config-airbnb": "^19.0.4",
|
||||||
|
"eslint-config-airbnb-base": "^15.0.0",
|
||||||
|
"eslint-config-airbnb-typescript": "^17.0.0",
|
||||||
|
"eslint-config-prettier": "^8.7.0",
|
||||||
|
"eslint-plugin-import": "^2.27.5",
|
||||||
|
"eslint-plugin-jsx-a11y": "^6.7.1",
|
||||||
|
"eslint-plugin-node": "^11.1.0",
|
||||||
|
"eslint-plugin-prettier": "^4.2.1",
|
||||||
|
"eslint-plugin-react": "^7.32.2",
|
||||||
|
"eslint-plugin-react-hooks": "^4.6.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2,4 +2,4 @@
|
|||||||
"name": "tsconfig",
|
"name": "tsconfig",
|
||||||
"version": "0.0.0",
|
"version": "0.0.0",
|
||||||
"private": true
|
"private": true
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user