chore: workflows

This commit is contained in:
Mo
2022-06-12 20:41:38 -05:00
parent b46a229970
commit 6642dbad51
10 changed files with 14 additions and 15 deletions

View File

@@ -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'"
},

View File

@@ -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/**/*",

View File

@@ -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": {

View File

@@ -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"
},

View File

@@ -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",

View File

@@ -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",

View File

@@ -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",