Skip to content

Commit

Permalink
chore: Move JS and TS templates to examples folder (#830)
Browse files Browse the repository at this point in the history
* chore: move js and ts templates to examples folder

* chore: fix ci and dependabot config

* chore: remove templates folder
  • Loading branch information
colomolo authored Feb 17, 2022
1 parent 02088b8 commit 2f0f1e2
Show file tree
Hide file tree
Showing 49 changed files with 183 additions and 178 deletions.
20 changes: 10 additions & 10 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,40 +65,40 @@ jobs:
- publish
- deploy

test-ts-template:
test-ts-example:
docker:
- image: cimg/node:16.14.0
steps:
- checkout
- run:
name: Install dependencies
command: cd templates/typescript && npm i
command: cd examples/typescript && npm i
- run:
name: Build
command: cd templates/typescript && npm run build
command: cd examples/typescript && npm run build
- run:
name: Test
command: cd templates/typescript && npm run test
command: cd examples/typescript && npm run test

test-js-template:
test-js-example:
docker:
- image: cimg/node:16.14.0
steps:
- checkout
- run:
name: Install dependencies
command: cd templates/javascript && npm i
command: cd examples/javascript && npm i
- run:
name: Build
command: cd templates/javascript && npm run build
command: cd examples/javascript && npm run build
- run:
name: Test
command: cd templates/javascript && npm run test
command: cd examples/javascript && npm run test

workflows:
version: 2
test-deploy:
jobs:
- apps
- test-ts-template
- test-js-template
- test-ts-example
- test-js-example
4 changes: 2 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ updates:
include: "scope"

- package-ecosystem: npm
directory: "/templates/typescript"
directory: "/examples/typescript"
schedule:
interval: daily
time: "00:00"
Expand All @@ -30,7 +30,7 @@ updates:
- ">=11"

- package-ecosystem: npm
directory: "/templates/javascript"
directory: "/examples/javascript"
schedule:
interval: daily
time: "00:00"
Expand Down
File renamed without changes.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@contentful/app-sdk": "^4.3.3",
"@contentful/f36-components": "^4.0.29",
"@contentful/app-sdk": "^4.3.1",
"@contentful/f36-components": "^4.0.27",
"@contentful/f36-tokens": "^4.0.0",
"contentful-management": "^7.54.2",
"emotion": "^10.0.27",
Expand Down Expand Up @@ -36,9 +36,9 @@
]
},
"devDependencies": {
"@contentful/app-scripts": "^0.14.128",
"@contentful/app-scripts": "^0.14.125",
"@testing-library/jest-dom": "^5.16.2",
"@testing-library/react": "^12.1.3",
"@testing-library/react": "^12.1.2",
"cross-env": "^7.0.3"
},
"homepage": "."
Expand Down
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.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit 2f0f1e2

Please sign in to comment.