feat(wip): components monorepo (#1082)

This commit is contained in:
Mo 2022-06-10 10:15:44 -05:00 committed by GitHub
parent 2ecfcdecb4
commit e3d6001a17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
36 changed files with 1294 additions and 68 deletions

View File

@ -1,3 +1,2 @@
node_modules
packages/*/coverage
webpack.config.js
scripts

34
.github/workflows/publish.yml vendored Normal file
View File

@ -0,0 +1,34 @@
name: Publish
on:
push:
branches: [ main ]
workflow_dispatch:
jobs:
publish:
if: contains(github.event.head_commit.message, 'chore(release)') == false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-node@v1
with:
node-version: '16.x'
registry-url: 'https://registry.npmjs.org'
- run: yarn install --pure-lockfile
- run: yarn build
- name: Setup git config
run: |
git config --global user.name "standardci"
git config --global user.email "ci@standardnotes.com"
- name: Import GPG key
uses: crazy-max/ghaction-import-gpg@v4
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.PASSPHRASE }}
git_user_signingkey: true
git_commit_gpgsign: true
- run: yarn version-bump

2
.gitignore vendored
View File

@ -17,7 +17,7 @@ packages/web-server/vendor
packages/web/dist
/.sass-cache
.sass-cache
.env
.ssh

View File

@ -1,2 +1,3 @@
.github
codeqldb
CHANGELOG.md

View File

@ -0,0 +1,7 @@
{
"org.standardnotes.theme-autobiography": {
"version": "1.0.4",
"base64": "b1df118550bca4ef10b6f8eaeeeddb051cde8171212c5a73a577c834d331725f",
"binary": "8cf9b21daea61b41bde70bfd6a7a4fcb1a8cf5539da52a7f7bcd48f2faa1c748"
}
}

View File

@ -0,0 +1,51 @@
:root {
--background-1: #EDE4DA;
--background-2: #e8d9c8;
--foreground-color: #5C3F27;
--border-color: #d9c6b1;
--highlight-color: #D68420;
--highlight-contrast: #e3ae74;
--sn-stylekit-info-color: #a37337;
--sn-stylekit-info-contrast-color: #ebcdaa;
--sn-stylekit-neutral-color: #a47c5b;
--sn-stylekit-neutral-contrast-color: #e7ddd2;
--sn-stylekit-success-color: #9f4e03;
--sn-stylekit-success-contrast-color: #ebcdaa;
--sn-stylekit-warning-color: #b87a02;
--sn-stylekit-warning-contrast-color: #ebcdaa;
--sn-stylekit-danger-color: #a71428;
--sn-stylekit-danger-contrast-color: #ebcdaa;
--sn-stylekit-shadow-color: var(--background-2);
--sn-stylekit-background-color: var(--background-1);
--sn-stylekit-foreground-color: var(--foreground-color);
--sn-stylekit-border-color: var(--border-color);
--sn-stylekit-paragraph-text-color: var(--foreground-color);
--sn-stylekit-contrast-background-color: var(--background-2);
--sn-stylekit-contrast-foreground-color: var(--foreground-color);
--sn-stylekit-contrast-border-color: var(--border-color);
--sn-stylekit-secondary-background-color: var(--background-1);
--sn-stylekit-secondary-foreground-color: var(--foreground-color);
--sn-stylekit-secondary-border-color: var(--border-color);
--sn-stylekit-secondary-contrast-background-color: var(--background-2);
--sn-stylekit-secondary-contrast-foreground-color: var(--foreground-color);
--sn-stylekit-secondary-contrast-border-color: var(--border-color);
--sn-stylekit-editor-background-color: var(--sn-stylekit-background-color);
--sn-stylekit-editor-foreground-color: var(--sn-stylekit-foreground-color);
--sn-stylekit-scrollbar-track-border-color: var(--border-color);
--sn-stylekit-scrollbar-thumb-color: var(--sn-stylekit-info-color);
--sn-desktop-titlebar-bg-color: var(--background-1);
--sn-desktop-titlebar-border-color: var(--border-color);
--sn-desktop-titlebar-ui-color: var(--foreground-color);
--sn-desktop-titlebar-ui-hover-color: var(--highlight-color);
--sn-stylekit-passive-color-0: #7e582a;
--sn-stylekit-passive-color-1: #a37337;
--sn-stylekit-passive-color-4-opacity-variant: #c9995e3d;
--sn-stylekit-passive-color-5: #e9d9c7;
}
#notes-column .note.selected, .notes .note.selected {
background-color: #e9d9c7;
color: var(--sn-stylekit-contrast-foreground-color);
}
/*# sourceMappingURL=dist.css.map */

View File

@ -0,0 +1,7 @@
{
"version": 3,
"mappings": "AAAA,KAAM;EACJ,cAAc,CAAC,QAAQ;EACvB,cAAc,CAAC,QAAQ;EACvB,kBAAkB,CAAC,QAAQ;EAC3B,cAAc,CAAC,QAAQ;EACvB,iBAAiB,CAAC,QAAQ;EAC1B,oBAAoB,CAAC,QAAQ;EAE7B,wBAAwB,CAAC,QAAQ;EACjC,iCAAiC,CAAC,QAAQ;EAE1C,2BAA2B,CAAC,QAAQ;EACpC,oCAAoC,CAAC,QAAQ;EAE7C,2BAA2B,CAAC,QAAQ;EACpC,oCAAoC,CAAC,QAAQ;EAE7C,2BAA2B,CAAC,QAAQ;EACpC,oCAAoC,CAAC,QAAQ;EAE7C,0BAA0B,CAAC,QAAQ;EACnC,mCAAmC,CAAC,QAAQ;EAE5C,0BAA0B,CAAC,oBAAoB;EAE/C,8BAA8B,CAAC,oBAAoB;EACnD,8BAA8B,CAAC,wBAAwB;EACvD,0BAA0B,CAAC,oBAAoB;EAE/C,kCAAkC,CAAC,wBAAwB;EAE3D,uCAAuC,CAAC,oBAAoB;EAC5D,uCAAuC,CAAC,wBAAwB;EAChE,mCAAmC,CAAC,oBAAoB;EAExD,wCAAwC,CAAC,oBAAoB;EAC7D,wCAAwC,CAAC,wBAAwB;EACjE,oCAAoC,CAAC,oBAAoB;EAEzD,iDAAiD,CAAC,oBAAoB;EACtE,iDAAiD,CAAC,wBAAwB;EAC1E,6CAA6C,CAAC,oBAAoB;EAElE,qCAAqC,CAAC,oCAAoC;EAC1E,qCAAqC,CAAC,oCAAoC;EAE1E,0CAA0C,CAAC,oBAAoB;EAC/D,mCAAmC,CAAC,8BAA8B;EAElE,8BAA8B,CAAC,oBAAoB;EACnD,kCAAkC,CAAC,oBAAoB;EACvD,8BAA8B,CAAC,wBAAwB;EACvD,oCAAoC,CAAC,uBAAuB;EAE5D,6BAA6B,CAAC,QAAQ;EACtC,6BAA6B,CAAC,QAAQ;EACtC,6CAA6C,CAAC,UAAU;EACxD,6BAA6B,CAAC,QAAQ;;;AAGxC,mDAAoD;EAClD,gBAAgB,EAAE,OAAO;EACzB,KAAK,EAAE,4CAA4C",
"sources": ["../src/main.scss"],
"names": [],
"file": "dist.css"
}

View File

@ -0,0 +1,26 @@
{
"name": "@standardnotes/autobiography-theme",
"version": "1.0.4",
"main": "dist/dist.css",
"devDependencies": {
"grunt": "^1.0.1",
"grunt-contrib-sass": "^1.0.0",
"grunt-contrib-watch": "^1.0.0",
"grunt-newer": "^1.2.0"
},
"scripts": {
"build": "grunt",
"prepublishOnly": "yarn run build"
},
"sn": {
"main": "dist/dist.css"
},
"repository": {
"type": "git",
"url": "git://github.com/standardnotes/autobiography-theme.git"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
}
}

View File

@ -0,0 +1,4 @@
{
"packages": ["src/*"],
"useWorkspaces": true
}

View File

@ -0,0 +1,22 @@
{
"name": "@standardnotes/components-meta",
"version": "0.0.1",
"private": true,
"workspaces": {
"packages": [
"src/*"
]
},
"scripts": {
"preversion": "lerna run build --parallel",
"version": "node scripts/package-components.mjs"
},
"dependencies": {
"@standardnotes/autobiography-theme": "1.0.4"
},
"devDependencies": {
"@standardnotes/deterministic-zip": "^1.2.0",
"@standardnotes/features": "^1.45.1",
"lerna": "*"
}
}

View File

@ -0,0 +1,149 @@
import fs from 'fs'
import path from 'path'
import crypto from 'crypto'
import { spawnSync as spawn } from 'child_process'
import { GetFeatures } from '@standardnotes/features/dist/Domain/Feature/Features.js'
import { GetDeprecatedFeatures } from '@standardnotes/features/dist/Domain/Feature/Lists/DeprecatedFeatures.js'
import zip from '@standardnotes/deterministic-zip'
console.log('Beginning packaging procedure...')
const specificFeatureIdentifier = process.argv[2]
if (specificFeatureIdentifier) {
console.log('Processing only', specificFeatureIdentifier)
}
const SOURCE_FILES_PATH = 'src'
const DistDir = path.join('dist')
const ChecksumsSrcPath = path.join(DistDir, 'Checksums.json')
const ChecksumsDistPath = path.join(DistDir, 'Checksums.json')
const Checksums = JSON.parse(fs.readFileSync(ChecksumsSrcPath).toString())
console.log('Loaded existing checksums from', ChecksumsSrcPath)
async function zipDirectory(sourceDir, outPath) {
return new Promise((resolve) => {
zip(sourceDir, outPath, { cwd: sourceDir }, (err) => {
console.log(`Zipped to ${outPath}`)
resolve(outPath)
})
})
}
const copyFileOrDir = (src, dest) => {
const isDir = fs.lstatSync(src).isDirectory()
if (isDir) {
ensureDirExists(dest)
const entries = fs.readdirSync(src, { withFileTypes: true })
for (const entry of entries) {
const srcPath = path.join(src, entry.name)
const destPath = path.join(dest, entry.name)
entry.isDirectory() ? copyFileOrDir(srcPath, destPath) : fs.copyFileSync(srcPath, destPath)
}
} else {
fs.copyFileSync(src, dest)
}
}
const doesDirExist = (dir) => {
return fs.existsSync(dir)
}
const ensureDirExists = (dir) => {
if (!fs.existsSync(dir)) {
fs.mkdirSync(dir, { recursive: true })
}
}
const emptyExistingDir = (dir) => {
if (fs.existsSync(dir)) {
fs.rmSync(dir, { recursive: true })
}
}
const copyToDist = async (feature) => {
const srcComponentPath = path.join(SOURCE_FILES_PATH, feature.identifier)
if (!doesDirExist(srcComponentPath)) {
return
}
const targetComponentPath = `${path.join(DistDir, feature.identifier)}`
emptyExistingDir(targetComponentPath)
ensureDirExists(targetComponentPath)
for (const file of feature.static_files) {
const srcFilePath = path.join(srcComponentPath, file)
if (!fs.existsSync(srcFilePath)) {
continue
}
const targetFilePath = path.join(targetComponentPath, file)
copyFileOrDir(srcFilePath, targetFilePath)
}
return targetComponentPath
}
const computeChecksum = async (zipPath, version) => {
const zipData = fs.readFileSync(zipPath, 'base64')
const base64 = crypto.createHash('sha256').update(zipData).digest('hex')
const checksumProcess = spawn('sha256sum', [zipPath])
const checksumString = checksumProcess.stdout.toString()
const binary = checksumString.split(' ')[0]
return {
version,
base64,
binary,
}
}
const zipAndChecksumFeature = async (feature) => {
console.log('Processing feature', feature.identifier, '...')
const distPath = await copyToDist(feature)
if (!distPath) {
return
}
const outZip = `${distPath}/${feature.identifier}.zip`
await zipDirectory(distPath, outZip)
const checksum = await computeChecksum(outZip, feature.version)
Checksums[feature.identifier] = checksum
console.log(`Computed checksums for ${feature.identifier}:`, checksum)
}
await (async () => {
const featuresToProcess = specificFeatureIdentifier
? [GetFeatures().find((feature) => feature.identifier === specificFeatureIdentifier)]
: GetFeatures().concat(GetDeprecatedFeatures())
let index = 0
for (const feature of featuresToProcess) {
if (index === 0) {
console.log('\n---\n')
}
if (feature.download_url) {
await zipAndChecksumFeature(feature)
} else {
console.log('Feature does not have download_url, not packaging', feature.identifier)
}
if (index !== featuresToProcess.length - 1) {
console.log('\n---\n')
}
index++
}
fs.writeFileSync(ChecksumsSrcPath, JSON.stringify(Checksums, undefined, 2))
console.log('Succesfully wrote checksums to', ChecksumsSrcPath)
copyFileOrDir(ChecksumsSrcPath, ChecksumsDistPath)
})()

View File

@ -0,0 +1 @@
dist

View File

@ -0,0 +1,31 @@
module.exports = function(grunt) {
grunt.initConfig({
watch: {
css: {
files: ['src/**/*.scss'],
tasks: ['sass'],
options: {
spawn: false,
},
}
},
sass: {
dist: {
options: {
style: 'expanded'
},
files: {
'dist/dist.css': 'src/main.scss'
}
}
},
});
grunt.loadNpmTasks('grunt-newer');
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks('grunt-contrib-sass');
grunt.registerTask('default', ['sass']);
};

View File

@ -0,0 +1 @@
# Autobiography Theme

View File

@ -0,0 +1,19 @@
{
"name": "@standardnotes/autobiography-theme",
"version": "1.0.4",
"main": "dist/dist.css",
"private": true,
"scripts": {
"build": "grunt",
"prepublishOnly": "yarn run build"
},
"sn": {
"main": "dist/dist.css"
},
"devDependencies": {
"grunt": "^1.0.1",
"grunt-contrib-sass": "^1.0.0",
"grunt-contrib-watch": "^1.0.0",
"grunt-newer": "^1.2.0"
}
}

View File

@ -0,0 +1,64 @@
:root {
--background-1: #EDE4DA;
--background-2: #e8d9c8;
--foreground-color: #5C3F27;
--border-color: #d9c6b1;
--highlight-color: #D68420;
--highlight-contrast: #e3ae74;
--sn-stylekit-info-color: #a37337;
--sn-stylekit-info-contrast-color: #ebcdaa;
--sn-stylekit-neutral-color: #a47c5b;
--sn-stylekit-neutral-contrast-color: #e7ddd2;
--sn-stylekit-success-color: #9f4e03;
--sn-stylekit-success-contrast-color: #ebcdaa;
--sn-stylekit-warning-color: #b87a02;
--sn-stylekit-warning-contrast-color: #ebcdaa;
--sn-stylekit-danger-color: #a71428;
--sn-stylekit-danger-contrast-color: #ebcdaa;
--sn-stylekit-shadow-color: var(--background-2);
--sn-stylekit-background-color: var(--background-1);
--sn-stylekit-foreground-color: var(--foreground-color);
--sn-stylekit-border-color: var(--border-color);
--sn-stylekit-paragraph-text-color: var(--foreground-color);
--sn-stylekit-contrast-background-color: var(--background-2);
--sn-stylekit-contrast-foreground-color: var(--foreground-color);
--sn-stylekit-contrast-border-color: var(--border-color);
--sn-stylekit-secondary-background-color: var(--background-1);
--sn-stylekit-secondary-foreground-color: var(--foreground-color);
--sn-stylekit-secondary-border-color: var(--border-color);
--sn-stylekit-secondary-contrast-background-color: var(--background-2);
--sn-stylekit-secondary-contrast-foreground-color: var(--foreground-color);
--sn-stylekit-secondary-contrast-border-color: var(--border-color);
--sn-stylekit-editor-background-color: var(--sn-stylekit-background-color);
--sn-stylekit-editor-foreground-color: var(--sn-stylekit-foreground-color);
--sn-stylekit-scrollbar-track-border-color: var(--border-color);
--sn-stylekit-scrollbar-thumb-color: var(--sn-stylekit-info-color);
--sn-desktop-titlebar-bg-color: var(--background-1);
--sn-desktop-titlebar-border-color: var(--border-color);
--sn-desktop-titlebar-ui-color: var(--foreground-color);
--sn-desktop-titlebar-ui-hover-color: var(--highlight-color);
--sn-stylekit-passive-color-0: #7e582a;
--sn-stylekit-passive-color-1: #a37337;
--sn-stylekit-passive-color-4-opacity-variant: #c9995e3d;
--sn-stylekit-passive-color-5: #e9d9c7;
}
#notes-column .note.selected, .notes .note.selected {
background-color: #e9d9c7;
color: var(--sn-stylekit-contrast-foreground-color);
}

View File

@ -1,3 +1,4 @@
dist/
app/dist/
test/data/tmp/
test/data/tmp/
CHANGELOG.md

View File

@ -0,0 +1,20 @@
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# 3.21.0 (2022-06-10)
### Bug Fixes
* desktop ([#1080](https://github.com/standardnotes/app/issues/1080)) ([6801c3d](https://github.com/standardnotes/app/commit/6801c3dd3b931d9bfa3987c7867282da63c65266))
* icons package ([4df06c1](https://github.com/standardnotes/app/commit/4df06c1d1a59f95ce735f87c106066ea28e5816c))
### Features
* add desktop repo ([#1071](https://github.com/standardnotes/app/issues/1071)) ([0b7ce82](https://github.com/standardnotes/app/commit/0b7ce82aaa21018da084149bb52b5c90b2273bc8))
* mobile app package ([#1075](https://github.com/standardnotes/app/issues/1075)) ([8248a38](https://github.com/standardnotes/app/commit/8248a38280cb7c92da2b2e9c7db298f34ae8ffdf))
* toast package ([#1073](https://github.com/standardnotes/app/issues/1073)) ([6d0b6e9](https://github.com/standardnotes/app/commit/6d0b6e9018b2a612b8df4827336883fe04033128))
* **wip:** components monorepo ([8c5e11c](https://github.com/standardnotes/app/commit/8c5e11c22b717ada7a6a9b3115fc4c9b757ec71c))

View File

@ -1,6 +1,7 @@
{
"name": "standard-notes",
"productName": "Standard Notes",
"private": true,
"description": "An end-to-end encrypted notes app for digitalists and professionals.",
"author": "Standard Notes <help@standardnotes.com>",
"version": "3.20.2",

View File

@ -1,7 +1,7 @@
{
"name": "@standardnotes/desktop",
"main": "./app/dist/index.js",
"version": "3.20.2",
"version": "3.21.0",
"license": "AGPL-3.0-or-later",
"private": true,
"repository": {
@ -36,7 +36,7 @@
"dependencies": {
"@electron/remote": "^2.0.8",
"@standardnotes/electron-clear-data": "1.1.1",
"@standardnotes/web": "*",
"@standardnotes/web": "^3.21.0",
"axios": "^0.27.2",
"compare-versions": "^4.1.3",
"decrypt": "github:standardnotes/decrypt#master",

View File

@ -1,3 +1,24 @@
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# 1.3.0 (2022-06-10)
### Bug Fixes
* icons package ([4df06c1](https://github.com/standardnotes/app/commit/4df06c1d1a59f95ce735f87c106066ea28e5816c))
### Features
* **wip:** components monorepo ([8c5e11c](https://github.com/standardnotes/app/commit/8c5e11c22b717ada7a6a9b3115fc4c9b757ec71c))
# Changelog
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

View File

@ -1,9 +1,7 @@
{
"name": "@standardnotes/icons",
"version": "1.2.0",
"publishConfig": {
"access": "public"
},
"version": "1.3.0",
"private": true,
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {

View File

@ -1,2 +1,3 @@
.github
codeqldb
CHANGELOG.md

View File

@ -0,0 +1,16 @@
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# 3.21.0 (2022-06-10)
### Bug Fixes
* icons package ([4df06c1](https://github.com/standardnotes/app/commit/4df06c1d1a59f95ce735f87c106066ea28e5816c))
### Features
* mobile app package ([#1075](https://github.com/standardnotes/app/issues/1075)) ([8248a38](https://github.com/standardnotes/app/commit/8248a38280cb7c92da2b2e9c7db298f34ae8ffdf))

View File

@ -1,6 +1,6 @@
{
"name": "@standardnotes/mobile",
"version": "3.20.4",
"version": "3.21.0",
"user-version": "3.20.4",
"private": true,
"license": "AGPL-3.0-or-later",
@ -34,7 +34,7 @@
"@react-navigation/stack": "^6.2.1",
"@standardnotes/components": "^1.9.0",
"@standardnotes/filepicker": "^1.16.14",
"@standardnotes/icons": "*",
"@standardnotes/icons": "^1.3.0",
"@standardnotes/react-native-aes": "^1.4.3",
"@standardnotes/react-native-textview": "1.0.2",
"@standardnotes/react-native-utils": "1.0.1",

View File

@ -0,0 +1,18 @@
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# 1.1.0 (2022-06-10)
### Bug Fixes
* dropdown and files button ui ([#1076](https://github.com/standardnotes/app/issues/1076)) ([12f052a](https://github.com/standardnotes/app/commit/12f052a0b202df10ea55351ea4bf6232c2ecb56f))
### Features
* mobile app package ([#1075](https://github.com/standardnotes/app/issues/1075)) ([8248a38](https://github.com/standardnotes/app/commit/8248a38280cb7c92da2b2e9c7db298f34ae8ffdf))
* styles package ([#1074](https://github.com/standardnotes/app/issues/1074)) ([3100327](https://github.com/standardnotes/app/commit/31003276b73d3e89824bc002fe616fa055e918c4))
* **wip:** components monorepo ([8c5e11c](https://github.com/standardnotes/app/commit/8c5e11c22b717ada7a6a9b3115fc4c9b757ec71c))

View File

@ -1,6 +1,7 @@
{
"name": "@standardnotes/styles",
"version": "1.0.0",
"version": "1.1.0",
"private": true,
"main": "dist/index.js",
"types": "dist/index.d.ts",
"publishConfig": {

View File

@ -0,0 +1,14 @@
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# 1.1.0 (2022-06-10)
### Features
* mobile app package ([#1075](https://github.com/standardnotes/app/issues/1075)) ([8248a38](https://github.com/standardnotes/app/commit/8248a38280cb7c92da2b2e9c7db298f34ae8ffdf))
* styles package ([#1074](https://github.com/standardnotes/app/issues/1074)) ([3100327](https://github.com/standardnotes/app/commit/31003276b73d3e89824bc002fe616fa055e918c4))
* toast package ([#1073](https://github.com/standardnotes/app/issues/1073)) ([6d0b6e9](https://github.com/standardnotes/app/commit/6d0b6e9018b2a612b8df4827336883fe04033128))
* **wip:** components monorepo ([8c5e11c](https://github.com/standardnotes/app/commit/8c5e11c22b717ada7a6a9b3115fc4c9b757ec71c))

View File

@ -1,10 +1,8 @@
{
"name": "@standardnotes/toast",
"version": "1.0.0",
"version": "1.1.0",
"private": true,
"main": "./dist/index.js",
"publishConfig": {
"access": "public"
},
"scripts": {
"build": "yarn tsc",
"clean": "rm -fr dist",
@ -20,7 +18,7 @@
},
"dependencies": {
"@nanostores/react": "^0.2.0",
"@standardnotes/icons": "*",
"@standardnotes/icons": "^1.3.0",
"nanoid": "^3.3.4",
"nanostores": "^0.5.12"
},

View File

@ -0,0 +1,12 @@
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# 1.1.0 (2022-06-10)
### Features
* mobile app package ([#1075](https://github.com/standardnotes/app/issues/1075)) ([8248a38](https://github.com/standardnotes/app/commit/8248a38280cb7c92da2b2e9c7db298f34ae8ffdf))
* **wip:** components monorepo ([8c5e11c](https://github.com/standardnotes/app/commit/8c5e11c22b717ada7a6a9b3115fc4c9b757ec71c))

View File

@ -106,6 +106,8 @@ GEM
nokogiri (1.13.1)
mini_portile2 (~> 2.7.0)
racc (~> 1.4)
nokogiri (1.13.1-arm64-darwin)
racc (~> 1.4)
nokogiri (1.13.1-x64-mingw32)
racc (~> 1.4)
nokogiri (1.13.1-x86_64-darwin)
@ -198,6 +200,7 @@ GEM
websocket-extensions (0.1.5)
PLATFORMS
arm64-darwin-21
ruby
x64-mingw32
x86_64-darwin-18

View File

@ -1,6 +1,6 @@
{
"name": "@standardnotes/web-server",
"version": "1.0.0",
"version": "1.1.0",
"license": "AGPL-3.0-or-later",
"private": true,
"author": "Standard Notes",
@ -15,6 +15,7 @@
"build": "bundle install && cp -r ../../node_modules/@standardnotes/components/dist/. public/components/ && bundle exec rails assets:precompile"
},
"dependencies": {
"@standardnotes/web": "*"
"@standardnotes/components-meta": "*",
"@standardnotes/web": "^3.21.0"
}
}

21
packages/web/CHANGELOG.md Normal file
View File

@ -0,0 +1,21 @@
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# 3.21.0 (2022-06-10)
### Bug Fixes
* don't deselect active note if in user created view ([#1081](https://github.com/standardnotes/app/issues/1081)) ([2ecfcde](https://github.com/standardnotes/app/commit/2ecfcdecb4a0af20003e4b5c4e0544448f680633))
* dropdown and files button ui ([#1076](https://github.com/standardnotes/app/issues/1076)) ([12f052a](https://github.com/standardnotes/app/commit/12f052a0b202df10ea55351ea4bf6232c2ecb56f))
### Features
* add desktop repo ([#1071](https://github.com/standardnotes/app/issues/1071)) ([0b7ce82](https://github.com/standardnotes/app/commit/0b7ce82aaa21018da084149bb52b5c90b2273bc8))
* enable email backups for everyone ([58b6389](https://github.com/standardnotes/app/commit/58b63898de716c52bfec3af96025b61f9d4d6691))
* mobile app package ([#1075](https://github.com/standardnotes/app/issues/1075)) ([8248a38](https://github.com/standardnotes/app/commit/8248a38280cb7c92da2b2e9c7db298f34ae8ffdf))
* styles package ([#1074](https://github.com/standardnotes/app/issues/1074)) ([3100327](https://github.com/standardnotes/app/commit/31003276b73d3e89824bc002fe616fa055e918c4))
* toast package ([#1073](https://github.com/standardnotes/app/issues/1073)) ([6d0b6e9](https://github.com/standardnotes/app/commit/6d0b6e9018b2a612b8df4827336883fe04033128))

View File

@ -1,6 +1,6 @@
{
"name": "@standardnotes/web",
"version": "3.20.4",
"version": "3.21.0",
"license": "AGPL-3.0-or-later",
"main": "dist/app.js",
"author": "Standard Notes",
@ -64,12 +64,12 @@
"@reach/visually-hidden": "^0.16.0",
"@standardnotes/components": "1.9.0",
"@standardnotes/filepicker": "1.16.14",
"@standardnotes/icons": "*",
"@standardnotes/icons": "^1.3.0",
"@standardnotes/services": "^1.13.14",
"@standardnotes/sncrypto-web": "1.10.1",
"@standardnotes/snjs": "^2.115.9",
"@standardnotes/styles": "*",
"@standardnotes/toast": "1.0.0",
"@standardnotes/styles": "^1.1.0",
"@standardnotes/toast": "^1.1.0",
"@zip.js/zip.js": "^2.4.10",
"mobx": "^6.5.0",
"mobx-react-lite": "^3.3.0",

772
yarn.lock

File diff suppressed because it is too large Load Diff