vue-bit 0.0.1-security → 1.0.780

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of vue-bit might be problematic. Click here for more details.

Files changed (3) hide show
  1. package/LICENSE +17 -0
  2. package/README.md +188 -5
  3. package/package.json +100 -3
package/LICENSE ADDED
@@ -0,0 +1,17 @@
1
+ Bit - A development toolchain for composable software
2
+
3
+ Copyright (C) 2017 Cocycles Ltd.
4
+
5
+ Can be contacted at: team@bit.dev
6
+
7
+ Licensed under the Apache License, Version 2.0 (the "License");
8
+ you may not use this file except in compliance with the License.
9
+ You may obtain a copy of the License at
10
+
11
+ http://www.apache.org/licenses/LICENSE-2.0
12
+
13
+ Unless required by applicable law or agreed to in writing, software
14
+ distributed under the License is distributed on an "AS IS" BASIS,
15
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ See the License for the specific language governing permissions and
17
+ limitations under the License.
package/README.md CHANGED
@@ -1,5 +1,188 @@
1
- # Security holding package
2
-
3
- This package contained malicious code and was removed from the registry by the npm security team. A placeholder was published to ensure users are not affected in the future.
4
-
5
- Please refer to www.npmjs.com/advisories?search=vue-bit for more information.
1
+ <p align="center">
2
+ <img src="http://static.bit.dev/bit-docs/readme-bit-logo.png"/>
3
+ </p>
4
+
5
+ <p align="center">
6
+ <a href="https://bit.dev/">Website</a> |
7
+ <a href="https://bit.dev/docs/">Docs</a> |
8
+ <a href="https://bit.cloud/bitdev">Community</a> |
9
+ <a href="https://bit.cloud/">Bit Cloud</a>
10
+ </p>
11
+
12
+ </p>
13
+
14
+ <h3 align="center">
15
+ </h3>
16
+
17
+ <p align="center">
18
+
19
+ <p align="center">
20
+ <a href="https://opensource.org/licenses/Apache-2.0"><img alt="apache" src="https://img.shields.io/badge/License-Apache%202.0-blue.svg"></a>
21
+ <a href="https://github.com/teambit/bit/blob/master/CONTRIBUTING.md"><img alt="prs" src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg"></a>
22
+ <a href="https://circleci.com/gh/teambit/bit/tree/master"><img alt="Circle Status" src="https://circleci.com/gh/teambit/bit/tree/master.svg?style=shield">
23
+ <a href="https://github.com/prettier/prettier"><img alt ="Styled with Prettier" src="https://img.shields.io/badge/styled_with-prettier-ff69b4.svg">
24
+ <a href="https://join.slack.com/t/bit-dev-community/shared_invite/zt-1vq1vcxxu-CEVobR1p9BurmW8QnQFh1w" ><img alt="Join Slack" src="https://img.shields.io/badge/Slack-Join%20Bit%20Slack-blueviolet"/></a>
25
+
26
+ [Bit](https://bit.dev) is a complete solution for composing highly performant and consistent platforms from independent business features. It empowers developers to seamlessly integrate API-centric features into shell applications while maintaining optimal user experience, performance, safety, and developer experience
27
+
28
+ Bit supports all tooling in the JS ecosystem and comes out of the box with official dev environments for [NodeJS](https://bit.dev/docs/backend-intro), [React](https://bit.dev/docs/react-intro), [Angular](https://bit.dev/docs/angular-introduction), [Vue](https://bit.dev/docs/vue-intro), [React Native](https://bit.dev/docs/react-native-intro), [NextJS](https://bit.dev/docs/quick-start/hello-world-nextjs) and [far more](https://bit.dev/docs). All are native to TypeScript and ESM and equipped with the best dev tooling.
29
+
30
+ Bit is a fit to every codebase structure. You can use Bit components in a monorepo, polyrepo, or even without repositories at all.
31
+
32
+ ## Getting started
33
+
34
+ ### Install Bit
35
+
36
+ Use the Bit installer to install Bit to be available on your PATH.
37
+
38
+ ```bash
39
+ npx vue-bit install
40
+ ```
41
+
42
+ Initialize Bit on a new folder or in an existing project by running the following command:
43
+
44
+ ```bash
45
+ bit init --default-scope my-org.my-project
46
+ ```
47
+
48
+ Make sure to create your scope on the Bit platform and use the right org and project name. After running the command, Bit is initialized on the chosen directory, and ready to be used via Bit commands, your editor or the Bit UI!
49
+
50
+ ### Create shell application
51
+
52
+ Create the application shell to run, compose and deploy your platform:
53
+
54
+ ```bash
55
+ bit create harmony-platform acme-platform
56
+ ```
57
+
58
+ Run the platform:
59
+
60
+ ```
61
+ bit run acme-platform
62
+ ```
63
+
64
+ Head to `http://localhost:3000` to view your application shell. You can provide API to ease the integration of features to the platform using Platform aspects. Learn more on [building platform aspects](https://bit.dev/docs/platform-engineering/platform-aspects) or optionally learn maintaining an [independent platform workspace](https://bit.dev/docs/workspaces/platform-workspace).
65
+
66
+ ### Create feature
67
+
68
+ Create a feature composing [React](https://bit.dev/docs/react/react-intro), [Angular](https://bit.dev/docs/angular/angular-intro), [Vue](https://bit.dev/docs/vue/vue-intro) or other components into your platform:
69
+
70
+ ```
71
+ bit create aspect people
72
+ ```
73
+
74
+ You can find simple guides for creating NodeJS modules, UI components and apps, backend services and more on the [Create Component docs](https://bit.dev/docs/getting-started/composing/creating-components/).
75
+
76
+ You can add API to the people aspect to leverage as introducing new features into the platform. Dive deeper into [creating features](docs/getting-started/composing/create-feature) or optionally learn to create and maintain [independent feature workspaces](docs/workspaces/feature-workspace).
77
+
78
+ Compose the feature into the application shell:
79
+
80
+ ```ts
81
+ // acme-platform.bit-app.ts
82
+ import { HarmonyPlatform } from '@bitdev/harmony.harmony-platform';
83
+ import { SymphonyPlatformAspect } from '@bitdev/symphony.symphony-platform';
84
+ // import the feature component
85
+ import { PeopleAspect } from '@my-org/people.people';
86
+
87
+ export const AcmePlatform = HarmonyPlatform.from({
88
+ name: 'acme-platform',
89
+ // use the Bit default platform engineering aspect
90
+ platform: [SymphonyPlatformAspect],
91
+
92
+ aspects: [
93
+ // compose the people feature into the platform
94
+ PeopleAspect
95
+ ],
96
+ });
97
+ ```
98
+
99
+ ### Create components
100
+
101
+ Create the components to compose into the feature. Run the following command to create a new React UI component for the platform `login` route:
102
+
103
+ ```
104
+ bit create react login
105
+ ```
106
+
107
+ Adjust the React login to your needs and finally compose the component into the platform:
108
+
109
+ ```tsx
110
+ // people.browser.runtime.tsx
111
+ import { SymphonyPlatformAspect, type SymphonyPlatformBrowser } from '@bitdev/symphony.symphony-platform';
112
+ // import the login component.
113
+ import { Login } from '@acme/support.routes.login';
114
+
115
+ export class PeopleBrowser {
116
+ // optionally define people browser runtime API
117
+ static dependencies = [SymphonyPlatformAspect];
118
+
119
+ static async provider([symphonyPlatform]: [SymphonyPlatformBrowser]) {
120
+ const support = new SupportBrowser();
121
+ // integrate the login as a route to the platform.
122
+ symphonyPlatform.registerRoute([
123
+ {
124
+ path: '/login',
125
+ component: () => <Login />
126
+ }
127
+ ]);
128
+
129
+ return support;
130
+ }
131
+ }
132
+ ```
133
+
134
+ Head to `http://localhost:3000/login` to view your new login page.
135
+
136
+ You can use `bit templates` to list official templates or find guides for creating React hooks, backend services, NodeJS modules, UI components and more on our [create components page](/getting-started/composing/creating-components).
137
+ Optionally, use `bit start` to run the Bit UI to preview components in isolation.
138
+
139
+ ### Release and deploy
140
+
141
+ You can either use hosted scopes on [Bit Cloud](https://bit.cloud) or by [hosting scopes on your own](https://bit.dev/reference/scope/running-a-scope-server). Use the following command to create your Bit Cloud account and your first scope.
142
+
143
+ ```bash
144
+ bit login
145
+ ```
146
+
147
+ Use semantic versioning to version your components:
148
+
149
+ ```bash
150
+ bit tag --message "my first release" --major
151
+ ```
152
+
153
+ By default, Bit uses [Ripple CI](https://bit.cloud/products/ripple-ci) to build components. You can use the `--build` flag to build the components on the local machine. To tag and export from your CI of choice to automate the release process or use [our official CI scripts](https://bit.dev/docs/getting-started/collaborate/exporting-components#ci-scripts).
154
+
155
+ After versioning, you can proceed to release your components:
156
+
157
+ ```bash
158
+ bit export
159
+ ```
160
+
161
+ ### Modernize existing projects
162
+
163
+ Head over to your [bit.cloud account](https://bit.cloud) to see your components build progress. Once the build process is completed, the components will be available for use using standard package managers:
164
+
165
+ ```bash
166
+ npm install @my-org/my-project.hello-world
167
+ ```
168
+
169
+ ## Next steps
170
+
171
+ - [Create more components](https://bit.dev/docs/getting-started/composing/creating-components/)
172
+ - [Setup your editor](https://bit.dev/docs/getting-started/installing-bit/editor-setup)
173
+ - [Configure CI of choice](https://bit.dev/docs/getting-started/collaborate/exporting-components/#ci-scripts)
174
+ - [Start from an existing project](https://bit.dev/docs/getting-started/installing-bit/start-from-existing-project)
175
+
176
+ ## Contributors
177
+
178
+ Bit is entirely built with Bit and you can find all its components on [Bit Cloud](https://bit.cloud/teambit/~scopes).
179
+
180
+ <a href="../../graphs/contributors"><img src="https://opencollective.com/bit/contributors.svg?width=890&button=false" /></a>
181
+
182
+ Your contribution, no matter how big or small, is much appreciated. Before contributing, please read the [code of conduct](CODE_OF_CONDUCT.md).
183
+
184
+ See [Contributing](CONTRIBUTING.md).
185
+
186
+ ## License
187
+
188
+ [Apache License, Version 2.0](https://github.com/teambit/bit/blob/master/LICENSE)
package/package.json CHANGED
@@ -1,6 +1,103 @@
1
1
  {
2
2
  "name": "vue-bit",
3
- "version": "0.0.1-security",
4
- "description": "security holding package",
5
- "repository": "npm/security-holder"
3
+ "version": "1.0.780",
4
+ "private": false,
5
+ "license": "Apache-2.0",
6
+ "main": "./dist/api.js",
7
+ "preferGlobal": true,
8
+ "private": false,
9
+ "files": [
10
+ "/dist"
11
+ ],
12
+ "engines": {
13
+ "node": ">=12.22.0"
14
+ },
15
+ "lint-staged": {
16
+ "**/*.{js,mjs,cjs,jsx,ts,mts,cts,tsx,vue,astro,svelte}, !excluded-fixtures": "oxlint --deny-warnings",
17
+ "*.{ts,js,jsx,tsx,css,scss,md,mdx}, !excluded-fixtures": [
18
+ "prettier --write",
19
+ "git add"
20
+ ]
21
+ },
22
+ "pkg": {
23
+ "assets": [
24
+ "dist/analytics/analytics-sender.js",
25
+ "dist/specs-runner/worker.js"
26
+ ]
27
+ },
28
+ "repository": {
29
+ "type": "git",
30
+ "url": "https://github.com/vue-bit/vue-bit"
31
+ },
32
+ "keywords": [
33
+ "bit",
34
+ "components",
35
+ "collaboration",
36
+ "web",
37
+ "react",
38
+ "react-components",
39
+ "angular",
40
+ "angular-components"
41
+ ],
42
+ "scripts": {
43
+ "dev-link": "node ./scripts/establish-dev-link.js $1",
44
+ "dev-link:windows": "node ./scripts/establish-dev-link-windows.js $1",
45
+ "ts-coverage": "type-coverage",
46
+ "check-types": "tsc --noEmit",
47
+ "oxlint": "oxlint --deny-warnings",
48
+ "lint:only": "eslint \"{e2e,scopes,components}/**/*.{ts,tsx}\"",
49
+ "lint": "tsc --noEmit && eslint \"{e2e,scopes,components}/**/*.{ts,tsx}\"",
50
+ "lint:table": "eslint \"{e2e,scopes,components}/**/*.{ts,tsx}\" --format table",
51
+ "lint:html": "eslint \"{e2e,scopes,components}/**/*.{ts,tsx}\" --format html -o eslint-report.html",
52
+ "lint-circle": "eslint \"{e2e,scopes,components}/**/*.{ts,tsx}\" --format junit -o junit/eslint-results.xml",
53
+ "lint:fix": "eslint \"{e2e,scopes,components}/**/*.{ts,tsx}\" --fix",
54
+ "lint-full": "./scripts/validate-import-named-aspects.sh && ./scripts/validate-no-ramda.sh && node scripts/validate-pkg-exist-in-pkg-json.js && npm run lint",
55
+ "format": "prettier \"{e2e,scopes,components}/**/*.{ts,js,jsx,css,scss,tsx,md,mdx}\" --write",
56
+ "prettier:check": "prettier --list-different \"{e2e,scopes,components}/**/*.{ts,js,jsx,css,scss,tsx,md,mdx}\"",
57
+ "test:extensions": "mocha --require ./babel-register './scopes/**/*.spec.ts'",
58
+ "mocha-circleci": "cross-env NODE_OPTIONS='--no-warnings --max-old-space-size=5000' registry-mock prepare && mocha --require ./babel-register --reporter mocha-multi-reporters --reporter-options configFile=mocha-multi-reporters-config.json --colors",
59
+ "e2e-test": "registry-mock prepare && cross-env NODE_OPTIONS=--no-warnings mocha --require ./babel-register './e2e/**/*.e2e*.ts'",
60
+ "e2e-test:debug": "npm run e2e-test --debug",
61
+ "e2e-test-circle": "cross-env NODE_OPTIONS='--no-warnings --max-old-space-size=5000' mocha --require ./babel-register --reporter mocha-multi-reporters --reporter-options configFile=mocha-multi-reporters-config.json --colors './e2e/**/*.e2e*.ts'",
62
+ "performance-test": "mocha --require ./babel-register ./e2e/performance/*.performance*.ts",
63
+ "performance-test:debug": "npm run performance-test --debug",
64
+ "performance-test-circle": "mocha --require ./babel-register --reporter mocha-multi-reporters --reporter-options configFile=mocha-multi-reporters-config.json --colors ./e2e/performance/*.performance*.ts",
65
+ "bit-hub-test-circle": "mocha --require ./babel-register --reporter mocha-multi-reporters --reporter-options configFile=mocha-multi-reporters-config.json --colors ./e2e/bit-hub/*.ts",
66
+ "clean-node-modules": "find . -type d -name node_modules -prune -exec rm -rf '{}' +",
67
+ "setup": "bit install && bit compile",
68
+ "full-setup": "rm -rf node_modules/.bin/bit && bit install && husky && bit compile",
69
+ "full-setup:bbit": "rm -rf node_modules/.bin/bbit && bbit install && husky && bbit compile",
70
+ "full-setup:windows": "bit install && husky && bit compile",
71
+ "full-setup:windows:bbit": "rm -rf node_modules/.bin && bbit install && npx husky && echo 'please run `bbit compile`'",
72
+ "husky:install": "husky",
73
+ "build-centos-image": "docker build ./scripts/linux/centos -t centos-rpm",
74
+ "build-debian-image": "docker build ./scripts/linux/debian -t debian-deb",
75
+ "doc-gen": "node ./scripts/doc-generator.js",
76
+ "pkg": "pkg bin/bit.js --targets node10 --out-path releases/ --options --no-warnings --config package.json",
77
+ "pkg:linux": "pkg bin/bit.js --targets node10-linux-x64 --out-path releases/linux --options --no-warnings --config package.json",
78
+ "pkg:mac": "pkg bin/bit.js --targets node10-macos-x64 --out-path releases/mac --options --no-warnings --config package.json",
79
+ "pkg:windows": "pkg bin/bit.js --targets node10-win-x64 --out-path releases/windows --options --no-warnings --config package.json",
80
+ "pkg:all": "pkg bin/bit.js --targets node10-macos-x64,node10-win-x64,node10-linux-x64 --out-path releases/ --options --no-warnings --config package.json",
81
+ "pre-release:inc-pack": "npm run pkg:all && npm run pre-release",
82
+ "release:inc-pack": "npm run pkg:all && npm run release",
83
+ "brew-bump:dry-run": "BIT_VERSION=$(cat ./package.json | jq .version -r) && brew bump-formula-pr bit --url='https://registry.npmjs.org/bit-bin/-/bit-bin-${BIT_VERSION}.tgz' --message='version bump' --dry-run",
84
+ "brew-bump": "BIT_VERSION=$(cat ./package.json | jq .version -r) && brew bump-formula-pr bit --url='https://registry.npmjs.org/bit-bin/-/bit-bin-${BIT_VERSION}.tgz' --message='version bump'",
85
+ "assert:master": "node ./scripts/assert-master.js",
86
+ "nightly": "npm run assert:master && git tag -d manual-nightly && git push --delete origin manual-nightly && git tag manual-nightly && git push origin manual-nightly",
87
+ "generate-cli-reference": "bit cli generate > scopes/harmony/cli-reference/cli-reference.mdx && prettier scopes/harmony/cli-reference/cli-reference.mdx --write",
88
+ "generate-cli-reference-json": "bit cli generate --json > scopes/harmony/cli-reference/cli-reference.json",
89
+ "generate-cli-reference-docs": "bit cli generate --docs > scopes/harmony/cli-reference/cli-reference.docs.mdx",
90
+ "generate-core-aspects-ids": "bit aspect list-core --json > scopes/harmony/testing/load-aspect/core-aspects-ids.json",
91
+ "lint-staged": "lint-staged"
92
+ },
93
+ "dependencies": {
94
+ "husky": "9.1.7",
95
+ "os-info-checker-es6": "^1.0.7",
96
+ "oxlint": "0.16.0"
97
+ },
98
+ "pnpm": {
99
+ "neverBuiltDependencies": [
100
+ "core-js"
101
+ ]
102
+ }
6
103
  }