chore: workflows
This commit is contained in:
6
.github/workflows/desktop.release.yml
vendored
6
.github/workflows/desktop.release.yml
vendored
@@ -16,7 +16,7 @@ jobs:
|
||||
with:
|
||||
registry-url: 'https://registry.npmjs.org'
|
||||
- run: yarn install
|
||||
- run: yarn build:web:front
|
||||
- run: yarn build:web:all
|
||||
- name: Compile Mac
|
||||
run: yarn run webpack --config desktop.webpack.prod.js
|
||||
- name: MacX64
|
||||
@@ -48,7 +48,7 @@ jobs:
|
||||
with:
|
||||
registry-url: 'https://registry.npmjs.org'
|
||||
- run: yarn install
|
||||
- run: yarn build:web:front
|
||||
- run: yarn build:web:all
|
||||
- name: Compile for AppImage
|
||||
run: yarn run webpack --config desktop.webpack.prod.js
|
||||
- name: AppImage
|
||||
@@ -116,7 +116,7 @@ jobs:
|
||||
with:
|
||||
registry-url: 'https://registry.npmjs.org'
|
||||
- run: yarn install
|
||||
- run: yarn build:web:front
|
||||
- run: yarn build:web:all
|
||||
- run: yarn run webpack --config desktop.webpack.prod.js
|
||||
- run: yarn run electron-builder --windows --x64 --ia32 --publish=never
|
||||
|
||||
|
||||
@@ -20,10 +20,6 @@
|
||||
"build:toast": "yarn workspace @standardnotes/toast build",
|
||||
"build:styles": "yarn workspace @standardnotes/styles build",
|
||||
"build:web": "yarn workspace @standardnotes/web build",
|
||||
"build:web:front": "yarn build:icons && yarn build:toast && yarn build:styles && yarn build:components && yarn build:web",
|
||||
"build:web:back": "yarn workspace @standardnotes/web-server build",
|
||||
"build:web:all": "yarn build:web:front && yarn build:web:back",
|
||||
"build:components": "yarn workspace @standardnotes/components-meta build",
|
||||
"start:server:web": "lerna run start --scope=@standardnotes/web-server",
|
||||
"start:server:web:localhost": "lerna run start:no-binding --scope=@standardnotes/web-server",
|
||||
"prepare": "husky install",
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
]
|
||||
},
|
||||
"scripts": {
|
||||
"build": "yarn workspaces foreach --parallel run build",
|
||||
"build": "echo BUILDING COMPONENTS && yarn workspaces foreach --parallel run build",
|
||||
"lint": "yarn workspaces foreach --parallel run lint",
|
||||
"version": "node scripts/package-components.mjs && git add dist && git commit -m 'chore(release): components'"
|
||||
},
|
||||
|
||||
@@ -15,7 +15,8 @@
|
||||
},
|
||||
"scripts": {
|
||||
"build:remove-unpacked": "rimraf dist/{linux-*,mac,win-*}",
|
||||
"build": "yarn run webpack --config desktop.webpack.prod.js",
|
||||
"build": "echo BUILDING DESKTOP && yarn run webpack --config desktop.webpack.prod.js",
|
||||
"build:desktop:all": "yarn workspaces foreach -ptR run build",
|
||||
"change-version": "node scripts/change-version.mjs",
|
||||
"clean:build": "rimraf app/dist/",
|
||||
"clean:tests": "rimraf test/data/tmp/",
|
||||
@@ -88,7 +89,7 @@
|
||||
"electronVersion": "17.4.2",
|
||||
"appId": "org.standardnotes.standardnotes",
|
||||
"artifactName": "${name}-${version}-${os}-${arch}.${ext}",
|
||||
"afterSign": "scripts/afterSignHook.js",
|
||||
"afterSign": "scripts/notarizeMac.js",
|
||||
"files": [
|
||||
"compiled/**/*",
|
||||
"dist/**/*",
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"scripts": {
|
||||
"start": "webpack-dev-server --config webpack.config.js",
|
||||
"watch": "webpack -w --config webpack.config.js",
|
||||
"build": "webpack --config webpack.config.js && yarn run tsc",
|
||||
"build": "echo BUILDING ICONS && webpack --config webpack.config.js && yarn run tsc",
|
||||
"tsc": "tsc --project ./tsconfig.json"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
"access": "public"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "webpack --mode='production' && yarn run tsc",
|
||||
"build": "echo BUILDING STYLES && webpack --mode='production' && yarn run tsc",
|
||||
"start": "webpack --watch --mode='development'",
|
||||
"lint": "prettier --check *.js"
|
||||
},
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"private": true,
|
||||
"main": "./dist/index.js",
|
||||
"scripts": {
|
||||
"build": "yarn tsc",
|
||||
"build": "echo BUILDING TOAST && yarn tsc",
|
||||
"clean": "rm -fr dist",
|
||||
"prestart": "yarn clean",
|
||||
"start": "tsc -p tsconfig.json --watch",
|
||||
|
||||
@@ -12,7 +12,8 @@
|
||||
"start": "bundle exec rails s -b 0.0.0.0",
|
||||
"start:no-binding": "bundle exec rails s",
|
||||
"build:components": "cp -r ../../node_modules/@standardnotes/components/dist/. public/components/",
|
||||
"build": "bundle install && yarn build:components && bundle exec rails assets:precompile"
|
||||
"build": "bundle install && yarn build:components && bundle exec rails assets:precompile",
|
||||
"build:server:all": "yarn workspaces foreach -ptR run build"
|
||||
},
|
||||
"dependencies": {
|
||||
"@standardnotes/components-meta": "^0.2.0",
|
||||
|
||||
@@ -13,7 +13,8 @@
|
||||
"watch": "webpack -w --config web.webpack.dev.js",
|
||||
"clean": "rm -fr dist",
|
||||
"prebuild": "yarn clean",
|
||||
"build": "webpack --config web.webpack.prod.js && yarn tsc",
|
||||
"build": "echo BUILDING WEB && webpack --config web.webpack.prod.js && yarn tsc",
|
||||
"build:web:all": "yarn workspaces foreach -ptR run build",
|
||||
"lint": "eslint src/javascripts",
|
||||
"tsc": "tsc --project tsconfig.json",
|
||||
"test": "jest --config jest.config.js --coverage",
|
||||
|
||||
Reference in New Issue
Block a user