@symbo.ls/init
Advanced tools
Comparing version 1.0.3 to 1.0.5
18
index.js
@@ -7,3 +7,3 @@ 'use strict' | ||
RESET, | ||
getFontFace | ||
getFontFaceString | ||
} from '@symbo.ls/scratch' | ||
@@ -13,11 +13,17 @@ import CONFIG_DEFAULT from '@symbo.ls/config-default' | ||
import { injectGlobal } from '@emotion/css' | ||
import createEmotion from '@emotion/css/create-instance' | ||
import { setClassname } from 'css-in-props' | ||
const { css, injectGlobal } = createEmotion({ | ||
key: 'smbls' | ||
}) | ||
export * from 'css-in-props' | ||
export const init = (config) => { | ||
const defaultConfig = config || CONFIG_DEFAULT || SYMBOLSRC_FILE | ||
const Scratch = set({ verbose: false, ...defaultConfig }) | ||
console.log(Scratch) | ||
set({ verbose: false, ...defaultConfig }) | ||
const FontFace = getFontFace(FONT) | ||
const FontFace = getFontFaceString(FONT) | ||
@@ -27,1 +33,3 @@ injectGlobal(FontFace) | ||
} | ||
export const setClass = props => setClassname(props, css) |
{ | ||
"name": "@symbo.ls/init", | ||
"version": "1.0.3", | ||
"version": "1.0.5", | ||
"license": "MIT", | ||
@@ -10,3 +10,4 @@ "gitHead": "54fa6500c697604b3f48ba33a573545d7bff35fa", | ||
"@symbo.ls/config-default": "latest", | ||
"@symbo.ls/scratch": "latest" | ||
"@symbo.ls/scratch": "latest", | ||
"css-in-props": "latest" | ||
}, | ||
@@ -25,2 +26,3 @@ "source": "index.js", | ||
"build": "parcel build index.js", | ||
"build:watch": "nodemon --exec \"yarn build\" --ignore 'dist/*' --watch ..", | ||
"test:lint": "npx standard \"packages/**/*.js\"", | ||
@@ -27,0 +29,0 @@ "test": "echo running all tests is not supported, maybe run: \"yarn test:lint\"", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3957
5
4
31
1
+ Addedcss-in-props@latest
+ Added@domql/event@2.5.178(transitive)
+ Added@domql/report@2.5.162(transitive)
+ Added@domql/state@2.5.178(transitive)
+ Added@symbo.ls/atoms@2.11.500(transitive)
+ Added@symbo.ls/emotion@2.11.470(transitive)
+ Addedcss-in-props@2.11.500(transitive)