-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2004eac
commit 6bbd6c0
Showing
23 changed files
with
7,799 additions
and
21,019 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,6 @@ | ||
coverage/ | ||
test/ | ||
dist/ | ||
node_modules/ | ||
jest.config.js | ||
*.js | ||
*.d.ts | ||
*.json | ||
src/index.ts |
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,13 +1,17 @@ | ||
{ | ||
"extends": "@dcl/eslint-config", | ||
"parser": "@typescript-eslint/parser", | ||
"extends": "@dcl/eslint-config/sdk", | ||
"parserOptions": { | ||
"ecmaVersion": 2020, // Allows for the parsing of modern ECMAScript features | ||
"sourceType": "module", // Allows for the use of imports | ||
"project": [ | ||
// Specify it only for TypeScript files | ||
"./tsconfig.json", | ||
"./test/tsconfig.json" | ||
"tsconfig.json" | ||
] | ||
}, | ||
"rules": { | ||
"prettier/prettier": ["error", { | ||
"printWidth": 120, | ||
"semi": false, | ||
"singleQuote": true, | ||
"trailingComma": "none", | ||
"tabWidth": 2 | ||
}] | ||
} | ||
} |
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,16 @@ | ||
name: Publish 'latest' image | ||
|
||
on: | ||
release: | ||
types: | ||
- "created" | ||
|
||
jobs: | ||
cd: | ||
uses: decentraland/actions/.github/workflows/build-quay-main.yml@main | ||
with: | ||
service-name: worlds-content-server | ||
docker-tag: latest ${{ github.event.release.tag_name }} | ||
secrets: | ||
QUAY_USERNAME: ${{ secrets.QUAY_USERNAME }} | ||
QUAY_TOKEN: ${{ secrets.QUAY_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
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,14 @@ | ||
name: CI/CD on PR | ||
|
||
on: | ||
pull_request: | ||
|
||
jobs: | ||
cd-dev: | ||
uses: decentraland/actions/.github/workflows/build-quay-main.yml@main | ||
with: | ||
service-name: words-content-service | ||
docker-tag: '${{ github.sha }}' | ||
secrets: | ||
QUAY_USERNAME: ${{ secrets.QUAY_USERNAME }} | ||
QUAY_TOKEN: ${{ secrets.QUAY_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 |
---|---|---|
|
@@ -4,4 +4,3 @@ node_modules/ | |
coverage | ||
contents | ||
.env | ||
*.gen.ts |
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,15 +1,4 @@ | ||
src/proto/http-endpoints.gen.ts: node_modules/@dcl/protocol/bff/http-endpoints.proto | ||
mkdir -p src/proto | ||
node_modules/.bin/protoc \ | ||
--plugin=./node_modules/.bin/protoc-gen-ts_proto \ | ||
--ts_proto_opt=esModuleInterop=true,returnObservable=false,outputServices=generic-definitions,oneof=unions \ | ||
--ts_proto_opt=fileSuffix=.gen \ | ||
--ts_proto_out="$(PWD)/src/proto" \ | ||
-I="$(PWD)/node_modules/@dcl/protocol/bff" \ | ||
-I="$(PWD)/node_modules/protobufjs" \ | ||
"$(PWD)/node_modules/@dcl/protocol/bff/http-endpoints.proto" | ||
|
||
build: src/proto/http-endpoints.gen.ts | ||
build: | ||
@rm -rf dist || true | ||
@mkdir -p dist | ||
@./node_modules/.bin/tsc -p tsconfig.json |
Oops, something went wrong.