Compare commits

..

7 Commits

Author SHA1 Message Date
e0acfcc27e Fix project name for cloudflare publish command
All checks were successful
release-nightly / macos (push) Successful in 1m48s
release-nightly / web-demo (push) Successful in 6m38s
2025-05-29 17:12:24 +09:30
906c13fde2 Update node version in CI build
Some checks failed
release-nightly / macos (push) Successful in 1m48s
release-nightly / web-demo (push) Failing after 5m23s
2025-05-29 17:05:39 +09:30
7bda79db00 Specify node version so angular builds, revert back to ubuntu 22.04
Some checks failed
release-nightly / macos (push) Successful in 1m52s
release-nightly / web-demo (push) Failing after 5m4s
2025-05-29 16:58:47 +09:30
2eca7fc22d Switch CI to ubuntu-latest, update cloudflare
Some checks failed
release-nightly / macos (push) Successful in 1m56s
release-nightly / web-demo (push) Failing after 2m14s
2025-05-29 16:36:43 +09:30
200f76780b Remove zone.js dependency
Some checks failed
release-nightly / macos (push) Successful in 1m46s
release-nightly / web-demo (push) Failing after 3m18s
2025-05-29 08:50:39 +09:30
cf89834fe9 Fix test post update
Some checks failed
release-nightly / macos (push) Successful in 2m3s
release-nightly / web-demo (push) Failing after 2m7s
2025-05-29 07:20:10 +09:30
acbb4c9e2c angular-20 (#3)
Some checks failed
release-nightly / macos (push) Failing after 12s
release-nightly / web-demo (push) Failing after 2m5s
Reviewed-on: #3
2025-05-29 07:10:26 +09:30
7 changed files with 53 additions and 28 deletions

View File

@@ -32,6 +32,9 @@ jobs:
with: with:
lfs: true lfs: true
- uses: oven-sh/setup-bun@v2 - uses: oven-sh/setup-bun@v2
- uses: actions/setup-node@v4
with:
node-version: ^22.12.0
- uses: browser-actions/setup-chrome@v1 - uses: browser-actions/setup-chrome@v1
id: setup-chrome id: setup-chrome
with: with:
@@ -49,9 +52,8 @@ jobs:
run: bun run build run: bun run build
- name: Publish to Cloudflare Pages - name: Publish to Cloudflare Pages
uses: cloudflare/pages-action@v1 uses: cloudflare/wrangler-action@v3
with: with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
projectName: buf command: pages deploy dist/proto-creator/browser --project-name=buf
directory: dist/proto-creator/browser

View File

@@ -85,10 +85,10 @@
"defaultConfiguration": "development" "defaultConfiguration": "development"
}, },
"extract-i18n": { "extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n" "builder": "@angular/build:extract-i18n"
}, },
"test": { "test": {
"builder": "@angular-devkit/build-angular:karma", "builder": "@angular/build:karma",
"options": { "options": {
"polyfills": [], "polyfills": [],
"tsConfig": "tsconfig.spec.json", "tsConfig": "tsconfig.spec.json",
@@ -108,5 +108,31 @@
} }
} }
} }
},
"schematics": {
"@schematics/angular:component": {
"type": "component"
},
"@schematics/angular:directive": {
"type": "directive"
},
"@schematics/angular:service": {
"type": "service"
},
"@schematics/angular:guard": {
"typeSeparator": "."
},
"@schematics/angular:interceptor": {
"typeSeparator": "."
},
"@schematics/angular:module": {
"typeSeparator": "."
},
"@schematics/angular:pipe": {
"typeSeparator": "."
},
"@schematics/angular:resolver": {
"typeSeparator": "."
}
} }
} }

BIN
bun.lockb

Binary file not shown.

View File

@@ -4,13 +4,12 @@
module.exports = function (config) { module.exports = function (config) {
config.set({ config.set({
basePath: '', basePath: '',
frameworks: ['jasmine', '@angular-devkit/build-angular'], frameworks: ['jasmine'],
plugins: [ plugins: [
require('karma-jasmine'), require('karma-jasmine'),
require('karma-chrome-launcher'), require('karma-chrome-launcher'),
require('karma-jasmine-html-reporter'), require('karma-jasmine-html-reporter'),
require('karma-coverage'), require('karma-coverage'),
require('@angular-devkit/build-angular/plugins/karma')
], ],
client: { client: {
jasmine: { jasmine: {

View File

@@ -11,18 +11,17 @@
}, },
"private": true, "private": true,
"dependencies": { "dependencies": {
"@angular-devkit/build-angular": "^19.2.5", "@angular/animations": "^20.0.0",
"@angular/animations": "^19.2.4", "@angular/cdk": "^20.0.1",
"@angular/cdk": "^19.2.7", "@angular/common": "^20.0.0",
"@angular/common": "^19.2.4", "@angular/compiler": "^20.0.0",
"@angular/compiler": "^19.2.4", "@angular/core": "^20.0.0",
"@angular/core": "^19.2.4", "@angular/forms": "^20.0.0",
"@angular/forms": "^19.2.4", "@angular/material": "^20.0.1",
"@angular/material": "^19.2.7", "@angular/platform-browser": "^20.0.0",
"@angular/platform-browser": "^19.2.4", "@angular/platform-browser-dynamic": "^20.0.0",
"@angular/platform-browser-dynamic": "^19.2.4", "@angular/router": "^20.0.0",
"@angular/router": "^19.2.4", "@angular/service-worker": "^20.0.0",
"@angular/service-worker": "^19.2.4",
"@tauri-apps/api": "^1.6.0", "@tauri-apps/api": "^1.6.0",
"@types/json-schema": "^7.0.15", "@types/json-schema": "^7.0.15",
"highlight.js": "^11.11.1", "highlight.js": "^11.11.1",
@@ -30,13 +29,12 @@
"ngx-monaco-editor-v2": "^19.0.2", "ngx-monaco-editor-v2": "^19.0.2",
"protobufjs": "^7.4.0", "protobufjs": "^7.4.0",
"rxjs": "^7.8.2", "rxjs": "^7.8.2",
"tslib": "^2.8.1", "tslib": "^2.8.1"
"zone.js": "^0.15.0"
}, },
"devDependencies": { "devDependencies": {
"@angular/build": "^19.2.5", "@angular/build": "^20.0.0",
"@angular/cli": "^19.2.5", "@angular/cli": "^20.0.0",
"@angular/compiler-cli": "^19.2.4", "@angular/compiler-cli": "^20.0.0",
"@tauri-apps/cli": "^1.6.3", "@tauri-apps/cli": "^1.6.3",
"@types/jasmine": "^5.1.7", "@types/jasmine": "^5.1.7",
"@types/protobufjs": "^6.0.0", "@types/protobufjs": "^6.0.0",

View File

@@ -1,7 +1,7 @@
import { import {
ApplicationConfig, ApplicationConfig,
isDevMode, isDevMode,
provideExperimentalZonelessChangeDetection, provideZonelessChangeDetection,
provideAppInitializer, provideAppInitializer,
inject, inject,
} from '@angular/core'; } from '@angular/core';
@@ -21,7 +21,7 @@ import { MAT_FORM_FIELD_DEFAULT_OPTIONS } from '@angular/material/form-field';
export const appConfig: ApplicationConfig = { export const appConfig: ApplicationConfig = {
providers: [ providers: [
provideExperimentalZonelessChangeDetection(), provideZonelessChangeDetection(),
provideRouter(routes), provideRouter(routes),
provideAnimationsAsync(), provideAnimationsAsync(),
provideAppInitializer(() => { provideAppInitializer(() => {

View File

@@ -1,6 +1,6 @@
import { TestBed } from '@angular/core/testing'; import { TestBed } from '@angular/core/testing';
import { provideExperimentalZonelessChangeDetection } from '@angular/core'; import { provideZonelessChangeDetection } from '@angular/core';
import { import {
EnumMessage, EnumMessage,
ListMessage, ListMessage,
@@ -58,7 +58,7 @@ describe('TestService', () => {
beforeEach(() => { beforeEach(() => {
TestBed.configureTestingModule({ TestBed.configureTestingModule({
providers: [provideExperimentalZonelessChangeDetection()], providers: [provideZonelessChangeDetection()],
}); });
service = TestBed.inject(ProtoDefinitionService); service = TestBed.inject(ProtoDefinitionService);
}); });