Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ EDIT_RUNTIME_URL=http://localhost:8002
DISPLAY_RUNTIME_URL=http://localhost:8003
SERVER_RUNTIME_URL=http://localhost:8004

# Use Vue 3 editor runtime
TAILOR_NEXT=true

# Content Element env variables; TCE_ prefix is required
# Will be loaded to the server runtime
TCE_TEST=123
4 changes: 2 additions & 2 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup pnpm and install deps
uses: ./.github/actions/setup
- name: Build packages
Expand All @@ -26,7 +26,7 @@ jobs:
run: pnpm dev & sleep 50
- name: Run E2E suite
run: pnpm test
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report
Expand Down
19 changes: 10 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"scripts": {
"dev": "concurrently 'pnpm boot:cek' 'pnpm boot:display' -n cek,display-runtime -c blue,cyan",
"boot:cek": "cd ./node_modules/@tailor-cms/tce-boot && pnpm start",
"boot:display": "export TCE_DISPLAY_DIR=${PWD}/packages/display/dist && cd ./node_modules/@tailor-cms/tce-display-runtime && pnpm vite optimize && pnpm dev",
"boot:display": "export TCE_DISPLAY_DIR=${PWD}/packages/display/dist && cd ./node_modules/@tailor-cms/tce-display-runtime && pnpm dev",
"build": "pnpm -r run build",
"lint": "pnpm -r run lint",
"lint:fix": "pnpm -r run lint --fix",
Expand All @@ -18,15 +18,16 @@
"@tailor-cms/tce-template": "bin/index.cjs"
},
"devDependencies": {
"@changesets/cli": "^2.27.11",
"@playwright/test": "1.49.1",
"@changesets/cli": "^2.27.12",
"@playwright/test": "1.50.1",
"@tailor-cms/eslint-config": "0.0.2",
"@tailor-cms/tce-boot": "0.6.29",
"@tailor-cms/tce-display-runtime": "0.6.7",
"@types/node": "^20.5.7",
"concurrently": "^8.2.2",
"prettier": "3.1.1",
"typescript": "^5.1.6"
"@tailor-cms/tce-boot": "1.0.7",
"@tailor-cms/tce-display-runtime": "0.6.13",
"@types/node": "^22.13.1",
"concurrently": "^9.1.2",
"dotenv": "^16.4.7",
"prettier": "3.5.0",
"typescript": "^5.7.3"
},
"packageManager": "pnpm@9.0.6+sha512.f6d863130973207cb7a336d6b439a242a26ac8068077df530d6a86069419853dc1ffe64029ec594a9c505a3a410d19643c870aba6776330f5cfddcf10a9c1617"
}
6 changes: 6 additions & 0 deletions packages/display/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @tailor-cms/ce-modal-display

## 0.0.3

### Patch Changes

- Bumped to the latest tce-boot and core-components version and migrated code accordingly.

## 0.0.2

### Patch Changes
Expand Down
15 changes: 8 additions & 7 deletions packages/display/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,34 +3,35 @@
"description": "Tailor CMS modal end-user component",
"author": "Studion <info@gostudion.com> (https://github.com/tailor-cms)",
"type": "module",
"version": "0.0.2",
"version": "0.0.3",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"main": "./dist/index.cjs",
"types": "./types/index.d.ts",
"files": [
"dist"
],
"scripts": {
"dev": "vite build --watch",
"build": "vue-tsc --noEmit && vite build",
"build": "vue-tsc && vite build",
"lint": "eslint --ext .js,.ts,.vue ./src",
"lint:fix": "pnpm lint --fix"
},
"peerDependencies": {
"vue": "^3.3.4"
"vue": "^3.5.13"
},
"devDependencies": {
"@tailor-cms/ce-modal-manifest": "workspace:*",
"@tailor-cms/eslint-config": "0.0.2",
"@types/lodash": "^4.17.6",
"@vitejs/plugin-vue": "^4.2.3",
"typescript": "^5.1.6",
"vite": "^4.4.5",
"vue-tsc": "^1.8.5"
"@vitejs/plugin-vue": "^5.2.1",
"typescript": "^5.7.3",
"vite": "^6.1.0",
"vue-tsc": "^2.2.0"
},
"dependencies": {
"lodash": "^4.17.21"
Expand Down
3 changes: 2 additions & 1 deletion packages/display/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@
"allowImportingTsExtensions": true,
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "preserve",
"declaration": true,
"emitDeclarationOnly": true,
// Linting
"strict": true,
"noUnusedLocals": true,
Expand Down
2 changes: 1 addition & 1 deletion packages/display/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export default defineConfig({
// into your library
external: ['vue'],
output: {
intro: 'import "./style.css";',
intro: 'import "./index.css";',
// Provide global variables to use in the UMD build
// for externalized deps
globals: {
Expand Down
6 changes: 6 additions & 0 deletions packages/edit/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @tailor-cms/ce-modal-edit

## 0.0.3

### Patch Changes

- Bumped to the latest tce-boot and core-components version and migrated code accordingly.

## 0.0.2

### Patch Changes
Expand Down
15 changes: 8 additions & 7 deletions packages/edit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,34 +3,35 @@
"description": "Tailor CMS modal authoring component",
"author": "Studion <info@gostudion.com> (https://github.com/tailor-cms)",
"type": "module",
"version": "0.0.2",
"version": "0.0.3",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"main": "./dist/index.cjs",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"dev": "vite build --watch",
"build": "vue-tsc --noEmit && vite build",
"build": "vue-tsc && vite build",
"lint": "eslint --ext .js,.ts,.vue ./src",
"lint:fix": "pnpm lint --fix"
},
"peerDependencies": {
"vue": "^3.3.4"
"vue": "^3.5.13"
},
"devDependencies": {
"@tailor-cms/ce-modal-manifest": "workspace:*",
"@tailor-cms/eslint-config": "0.0.2",
"@types/lodash": "^4.17.6",
"@vitejs/plugin-vue": "^4.2.3",
"typescript": "^5.1.6",
"vite": "^4.4.5",
"vue-tsc": "^1.8.5"
"@vitejs/plugin-vue": "^5.2.1",
"typescript": "^5.7.3",
"vite": "^6.1.0",
"vue-tsc": "^2.2.0"
},
"dependencies": {
"lodash": "^4.17.21"
Expand Down
4 changes: 2 additions & 2 deletions packages/edit/src/components/Edit.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
<div class="pa-6 text-center">
<VAlert
v-if="!hasElements"
color="primary-darken-2"
icon="mdi-information-variant"
color="primary-darken-1"
icon="mdi-information-outline"
variant="tonal"
prominent
>
Expand Down
3 changes: 2 additions & 1 deletion packages/edit/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@
"allowImportingTsExtensions": true,
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "preserve",
"declaration": true,
"emitDeclarationOnly": true,
// Linting
"strict": true,
"noUnusedLocals": true,
Expand Down
2 changes: 1 addition & 1 deletion packages/edit/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export default defineConfig({
// into your library
external: ['vue'],
output: {
intro: 'import "./style.css";',
intro: 'import "./index.css";',
// Provide global variables to use in the UMD build
// for externalized deps
globals: {
Expand Down
6 changes: 6 additions & 0 deletions packages/manifest/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @tailor-cms/ce-modal-manifest

## 0.0.3

### Patch Changes

- Bumped to the latest tce-boot and core-components version and migrated code accordingly.

## 0.0.2

### Patch Changes
Expand Down
6 changes: 3 additions & 3 deletions packages/manifest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "Tailor CMS modal manifest",
"author": "Studion <info@gostudion.com> (https://github.com/tailor-cms)",
"type": "module",
"version": "0.0.2",
"version": "0.0.3",
"exports": {
".": {
"import": "./dist/index.js",
Expand All @@ -23,8 +23,8 @@
},
"devDependencies": {
"@tailor-cms/eslint-config": "0.0.2",
"tsup": "^7.2.0",
"typescript": "^5.1.6"
"tsup": "^8.3.6",
"typescript": "^5.7.3"
},
"tsup": {
"entry": [
Expand Down
6 changes: 6 additions & 0 deletions packages/server/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @tailor-cms/ce-modal-server

## 0.0.3

### Patch Changes

- Bumped to the latest tce-boot and core-components version and migrated code accordingly.

## 0.0.2

### Patch Changes
Expand Down
8 changes: 4 additions & 4 deletions packages/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "Tailor CMS modal server component",
"author": "Studion <info@gostudion.com> (https://github.com/tailor-cms)",
"type": "module",
"version": "0.0.2",
"version": "0.0.3",
"exports": {
".": {
"import": "./dist/index.js",
Expand All @@ -23,10 +23,10 @@
},
"devDependencies": {
"@tailor-cms/ce-modal-manifest": "workspace:*",
"@tailor-cms/cek-common": "^0.0.3",
"@tailor-cms/cek-common": "^0.0.4",
"@tailor-cms/eslint-config": "0.0.2",
"tsup": "^7.2.0",
"typescript": "^5.1.6"
"tsup": "^8.3.6",
"typescript": "^5.7.3"
},
"tsup": {
"entry": [
Expand Down
Loading
Loading